BG (fasting) sample
Below is an example JSON for the resource having BG value with Fasting as health event
we will be using BG value with 41653-7 Loinc code in 'bg-observation'- resource having reference to 'health-event-observation' resource with Fasting code.
{
"resourceType": "Observation",
"id": "12",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/bg-observation"
]
},
"status": "final",
"category": [
{
"coding": [
{
"system": "http://roche.com/fhir/rdc/cs",
"code": "clinical-observation",
"display": "Clinical Observation"
}
]
}
],
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "41653-7",
"display": "Glucose [Mass/volume] in Capillary blood by Glucometer"
}
]
},
"subject": {
"reference": "Patient/FEoFwXp-KQ-10"
},
"effectiveDateTime": "2019-02-14T12:11:00+02:00",
"performer": [
{
"reference": "Patient/FEoFwXp-KQ-10"
}
],
"valueQuantity": {
"value": 78,
"unit": "mg/dL",
"system": "http://unitsofmeasure.org",
"code": "mg/dL"
},
"device": {
"reference": "DeviceMetric/4"
},
"related": [
{
"type": "has-member",
"target": {
"reference": "Observation/fz7KWvp-Iac-85286"
}
}
]
},
{
"resourceType": "Observation",
"id": "fz7KWvp-Iac-85286",
"status": "final",
"category": [
{
"coding": [
{
"system": "http://roche.com/fhir/rdc/cs",
"code": "observation-health-event",
"display": "Health Event Observation"
}
]
}
],
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "405157008",
"display": "Personal health status (observable entity)"
}
]
},
"subject": {
"reference": "Patient/FEoFwXp-KQ-10"
},
"effectiveDateTime": "2019-02-14T12:11:00+02:00",
"performer": [
{
"reference": "Patient/FEoFwXp-KQ-10"
}
],
"valueCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "16985007",
"display": "Fasting (finding)"
}
]
},
"device": {
"reference": "Device/2"
}
}