BG sample

Below is an example JSON for the resource having BG value

{
    "resourceType": "Observation",
    "id": "aa9f1bd3-e354-4a1f-91b9-746aa1107fba",
    "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/SandboxPat1"
    },
    "effectiveDateTime": "2019-02-13T10:12:00+02:00",
    "performer":  [
        {
            "reference": "Patient/SandboxPat1"
        }
    ],
    "valueQuantity": {
        "value": "75",
        "unit": "mg/dL",
        "system": "http://unitsofmeasure.org",
        "code": "mg/dL"
    },
    "device": {
        "reference": "DeviceMetric/d4f6069e-250a-46b4-a808-c5cf0f5ed3be"
    }
}

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"
            }
         }