The FHIR formatted data is not displayed in the mobile app. Mobile app throws an error “Error occurred while getting record”. The data I’m trying to send is very similar to the sample data found at FHIR Sample
{
“resourceType”: “Observation”,
“id”: “02ecf795-f6ea-4bc1-87b5-b63e5f399339”,
“text”: {
“status”: “generated”,
“div”: "<div xmlns=“http://www.w3.org/1999/xhtml”><table class=“hapiPropertyTable”>Id:02ecf795-f6ea-4bc1-87b5-b63e5f399339Status:FINALCategory: Exam Code: Weight (kg) Subject:<a href=“http://localhost:8080/openmrs/ws/fhir2/R4/Patient/a9cf311a-755c-41a1-bed8-32dd885f06e6”>Saqib Khaleel (OpenMRS ID: 10008D)Encounter:<a href=“http://localhost:8080/openmrs/ws/fhir2/R4/Encounter/f09b5958-ade8-4f9b-90d4-80f204d8b8a9”>Encounter/f09b5958-ade8-4f9b-90d4-80f204d8b8a9Effective: 29 December 2020 13:15:56 Issued:29/12/2020 01:15:56 PMValue:74.0 "
},
“status”: “final”,
“category”: [
{
“coding”: [
{
“system”: “http://terminology.hl7.org/CodeSystem/observation-category”,
“code”: “exam”,
“display”: “Exam”
}
]
}
],
“code”: {
“coding”: [
{
“code”: “5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA”,
“display”: “Weight (kg)”
},
{
“system”: “http://loinc.org”,
“code”: “3141-9”,
“display”: “Weight (kg)”
},
{
“system”: “https://openconceptlab.org/orgs/CIEL/sources/CIEL”,
“code”: “5089”,
“display”: “Weight (kg)”
}
]
},
“subject”: {
“reference”: “Patient/a9cf311a-755c-41a1-bed8-32dd885f06e6”,
“type”: “Patient”,
“display”: “Saqib Khaleel (OpenMRS ID: 10008D)”
},
“encounter”: {
“reference”: “Encounter/f09b5958-ade8-4f9b-90d4-80f204d8b8a9”,
“type”: “Encounter”
},
“effectiveDateTime”: “2020-12-29T13:15:56+00:00”,
“issued”: “2020-12-29T13:15:56.000+00:00”,
“valueQuantity”: {
“value”: 74
}
}