“result”: { // object
“name”: “Comprehensive Metabolic Panel”, // string
“collected”: “2024-01-01 05:00:00”, // date OR null
“resulted”: “2024-01-01 05:00:00”, // date OR null
“components”: [ // array
{ // object
“name”: “AST”, // string
“low”: 13.8, // number OR null
“high”: 20.8, // number OR null
“value”: 14.8, // number OR string
“comment”: “Blah blah blah…” // number OR null
},
// …
],
“comment”: “text…” // string OR null
}
If only low is provided for a component, then it will be rendered as < X and if only high is provided it will be rendered as > X. If both are provided, it will be rendered as X — Y. If neither are provided, it is omitted from the UI entirely.
When either/both low and high are provided, the value will be rendered in a yellow box with a red arrow (indicating abnormal result) if out of bounds.
If value is a string type (i.e. an ECGREPORTCOMP value) it will be printed without low/high.
If resulted is null, but collected is a date, then Final result: No will be displayed, else Yes.
Resulting Agency is always hard-coded to Carle Foundation Hospital for this demo.
Do not include patient sharing and next appt with me fields.
Data Structure:
low
is provided for a component, then it will be rendered as< X
and if onlyhigh
is provided it will be rendered as> X
. If both are provided, it will be rendered asX — Y
. If neither are provided, it is omitted from the UI entirely.low
andhigh
are provided, thevalue
will be rendered in a yellow box with a red arrow (indicating abnormal result) if out of bounds.value
is astring
type (i.e. anECG
REPORTCOMP
value) it will be printed withoutlow
/high
.resulted
isnull
, butcollected
is adate
, thenFinal result: No
will be displayed, elseYes
.Resulting Agency
is always hard-coded toCarle Foundation Hospital
for this demo.patient sharing
andnext appt with me
fields.