Example
BG sample
Below is an example JSON for the resource having BG value
{
{
{
}
]
}
],
{
}
]
},
},
],
},
}
}
BG Sample - Manual Method
{
"resourceType":"Observation",
"id":"b6a5f8cb-bdab-4bd6-af5e-62f16ccbd7f2",
"code":{
"coding":[
{
"system": "http://snomed.info/sct",
"code": "362943005",
"display": "Manual method (qualifier value)"
}
]
},
"subject":{
"reference": "Patient/bgip-patient-1"
},
"effectiveDateTime":"2005-04-27T11:14:00+02:00",
"performer":[
{
"reference":"Patient/SandboxPat1"
}
],
"valueQuantity":{
"value": "50",
"unit": "mg/dL",
"system": "http://unitsofmeasure.org",
"code": "mg/dL"
},
"device":{
"reference":"DeviceMetric/d4f6069e-250a-46b4-a808-c5cf0f5ed3be"
}
}
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"
}
}