Carbs data - reduced FHIR
Sample Scenario
| Data Point | Value | unit |
|---|---|---|
| Carbs | 10 | grams |
| Time Stamp | 2020-08-04T15:00:16Z | UTC |
Note: Comments are provided in green in the JSON below
Below is an example JSON for the observation resource having Carbs information in reduced FHIR format
{
"resourceType": "Observation", //FHIR resource type
"meta": { //Should be sent by Confidence saying which profile the below resource conforms to. It is always the same for a Carbs resource
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/nutritional-value-observation-reduced"
]
},
"identifier": [
{
"system": "http://roche.com/fhir/rdc/sid/observation/confidence", //always same for resourceType Observation
"value": "<confidence unique identifier>" // Unique identifier from confidence
}
],
"status": "final", //Status will be 'final' for Carbs observation
"code": {
"text": "Carbs" //static text describing that the resource is for a Carbs value
},
"effectiveDateTime": "2020-08-04T15:00:16Z", //Timestamp of the measurement in zulu/UTC
"valueQuantity": {
"value": "10", //Carbs value quality in g
"unit": "g"
},
"extension": [
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/patient-timezone",
"valueString": "+02:00" //timezone of the patient when the Carbs reading was taken. **** Refer timezone extension page for possible combination of timezone displayed
}
]
}
** Refer timezone extension page for possible combination of timezone displayed HERE