Install using npm install result-config
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,
}
]
}
],
}
Name | Description |
---|---|
result-id | 'number' |
Name | Description |
---|---|
value | object |