1.0.4 • Published 2 years ago
result-entry v1.0.4
Result Entry Configuration for PlateauMed Hospital Management Services
Install
Install using npm install result-config
Usage
In a React app, use the ResultEntryConfig component:import ResultEntryConfig from 'result-config'
ResultEntryConfig is an object with type ResultEntryObjInterface, accepts result-id
as an Object property and returns a ResultEntryObjInterface as shown in an example below:
{
"name": "Packed cell volume",
"sub_sections": [
{
"name": "Specimen",
"predictive_text": ['Whole blood'],
"config": [
{
"type": "sub_test",
"apiType": "range",
"groupName": "PCV",
"size": 6,
}
]
}
],
}
ResultEntryConfig props
Name | Description |
---|---|
result-id | 'number' |
ResultEntryObjInterface
Name | Description |
---|---|
value | object |