Vitals Fhir format

I want to share Heart Rate and BMI data in FHIR format. I’m aware of the Observation resource type that can be used for this purpose. However, I also need to include patient details in the same bundle. I know that the Bundle resource type is used to bundle different information. I attempted to use both the Bundle and Observation resources, but encountered issues. I tried to retrieve this vital data from Abha, but it wasn’t successful

Sample Used:

  1. Observation
    {
    “resourceType”: “Observation”,
    “id”: “hr-20240122”,
    “meta”: {
    “profile”: [
    “profile-url”
    ]
    },
    “status”: “final”,
    “code”: {
    “coding”: [
    {
    “system”: “system-url”,
    “code”: “8867-4”,
    “display”: “Heart rate”
    }
    ],
    “text”: “Heart rate”
    },
    “category”: [
    {
    “coding”: [
    {
    “system”: “observation-url”,
    “code”: “vital-signs”,
    “display”: “Vital Signs”
    }
    ],
    “text”: “Vital Signs”
    }
    ],
    “subject”: {
    “reference”: “Patient/169837562918755”
    },
    “effectiveDateTime”: “2024-01-22T17:53:05Z”,
    “valueQuantity”: {
    “value”: 45,
    “unit”: “beats/minute”,
    “system”: “system-url”,
    “code”: “/min”
    }
    }

  2. Bundle
    {
    “resourceType”: “Bundle”,
    “id”: “hr-20240122”,
    “meta”: {
    “versionId”: “1”,
    “lastUpdated”: “2024-01-03T20:01:44+05:30”,
    “profile”: [
    “profile-url”
    ],
    “security”: [
    {
    “system”: “system-url”,
    “code”: “V”,
    “display”: “very restricted”
    }
    ]
    },
    “identifier”: {
    “system”: “fhir-url”,
    “value”: “vitals.care”
    },
    “type”: “document”,
    “timestamp”: “2024-01-03T20:01:44+05:30”,
    “entry”: [
    {
    “fullUrl”: “composition-url”,
    “resource”: {
    “resourceType”: “Composition”,
    “id”: “hr-20240122”,
    “meta”: {
    “versionId”: “1”,
    “lastUpdated”: “2024-01-03T20:01:44+05:30”,
    “profile”: [
    “records-url”
    ]
    },
    “status”: “final”,
    “type”: {
    “coding”: [
    {
    “system”: “system-url”,
    “code”: “419891008”,
    “display”: “Record artifact”
    }
    ],
    “text”: “Record artifact”
    },
    “subject”: {
    “reference”: “Patient/169837562918755”,
    “display”: “Praveen”
    },
    “date”: “2024-01-03T20:01:44+05:30”,
    “author”: [
    {
    “reference”: “Patient/169837562918755”,
    “display”: “Praveen”
    }
    ],
    “title”: “Vitals Record”,
    “section”: [
    {
    “title”: “Vitals Record - hr-20240122”,
    “entry”: [
    {
    “reference”: “Observation/hr-20240122”
    }
    ]
    }
    ]
    }
    },
    {
    “fullUrl”: “patient-url”,
    “resource”: {
    “resourceType”: “Patient”,
    “id”: “169837562918755”,
    “meta”: {
    “versionId”: “1”,
    “lastUpdated”: “2024-01-03T20:01:44+05:30”,
    “profile”: [
    “profile-url”
    ]
    },
    “identifier”: [
    {
    “type” : {
    “coding” : [{
    “system” : “system-url”,
    “code” : “MR”,
    “display”: “Medical record number”
    }]
    },
    “system”: “system-url”,
    “value”: “praveenkshah@abdhm”
    }
    ],
    “name”: [
    {
    “text”: “Praveen”
    }
    ],
    “gender”: “male”
    }
    },
    {
    “fullUrl”: “observation-url”,
    “resource”: {
    “resourceType”: “Observation”,
    “id”: “hr-20240122”,
    “meta”: {
    “profile”: [
    “profile-url”
    ]
    },
    “status”: “final”,
    “code”: {
    “coding”: [
    {
    “system”: “system-url”,
    “code”: “8867-4”,
    “display”: “Heart rate”
    }
    ],
    “text”: “Heart rate”
    },
    “category”: [
    {
    “coding”: [
    {
    “system”: “observation-url”,
    “code”: “vital-signs”,
    “display”: “Vital Signs”
    }
    ],
    “text”: “Vital Signs”
    }
    ],
    “subject”: {
    “reference”: “Patient/169837562918755”
    },
    “effectiveDateTime”: “2024-01-22T17:53:05Z”,
    “valueQuantity”: {
    “value”: 45,
    “unit”: “beats/minute”,
    “system”: “http://unitsofmeasure.org”,
    “code”: “/min”
    }
    }
    }
    ]
    }