- FhirR4Builder: rewrite buildLabReportBundle() with DiagnosticReportLab profile, structured Observation valueQuantity/valueString, reference ranges, interpretation codes, Binary+DocumentReference for HTML report, Encounter resource, HFR-based bundle identifier system - FhirR4Builder: rewrite buildDischargeSummaryBundle() with optional Practitioner/Organization params, structured ABDM sections (chief complaints 422843007, medical history 1003642006, investigations 721981007, procedures 1003640003, medications 721912009, follow-up 736271009), HFR-based bundle identifier system - AbdmGateway: shareIpdDischargeBundle() now builds a real DischargeSummaryRecord FHIR bundle and posts via pushRecord() (POST /v3/records/push) instead of the stale shareIpdDischargeBundle() - AbdmGateway: shareDiagnosisReportBundle() now builds a real DiagnosticReportRecord FHIR bundle and posts via pushRecord() instead of the stale shareDiagnosisReportBundle() - AbdmGateway: add getHospitalProfileForFhir() and mapLabTypeToTitle() helpers; fix pre-existing undefined \ bug in getActiveConsentRecord() - Add ABDM_FHIR reference package, AbdmBridgeLog controller/view, bridge record migration, debug scripts and misc UI/settings updates
41 lines
2.0 KiB
JSON
41 lines
2.0 KiB
JSON
{
|
|
"resourceType" : "Observation",
|
|
"id" : "lab-example-01",
|
|
"meta" : {
|
|
"profile" : ["https://nrces.in/ndhm/fhir/r4/StructureDefinition/Observation"]
|
|
},
|
|
"text" : {
|
|
"status" : "generated",
|
|
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation lab-example-01</b></p><a name=\"lab-example-01\"> </a><a name=\"hclab-example-01\"> </a><a name=\"lab-example-01-hi-IN\"> </a><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 2093-3}\">Cholesterol [Mass/volume] in Serum or Plasma</span></p><p><b>subject</b>: <a href=\"Patient-example-01.html\">ABC Male, DoB: 1981-01-12 ( Medical record number: 22-7225-4829-5255)</a></p><p><b>effective</b>: 2020-09-29</p><p><b>performer</b>: <a href=\"Organization-example-01.html\">Organization XYZ Lab Pvt.Ltd.</a></p><p><b>value</b>: 156 mg/dL<span style=\"background: LightGoldenRodYellow\"> (Details: SNOMED CT code258797006 = 'milligram/decilitre')</span></p><h3>ReferenceRanges</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>High</b></td></tr><tr><td style=\"display: none\">*</td><td>200 mg/dL<span style=\"background: LightGoldenRodYellow\"> (Details: SNOMED CT code258797006 = 'milligram/decilitre')</span></td></tr></table></div>"
|
|
},
|
|
"status" : "final",
|
|
"code" : {
|
|
"coding" : [{
|
|
"system" : "http://loinc.org",
|
|
"code" : "2093-3",
|
|
"display" : "Cholesterol [Mass/volume] in Serum or Plasma"
|
|
}],
|
|
"text" : "Cholesterol [Mass/volume] in Serum or Plasma"
|
|
},
|
|
"subject" : {
|
|
"reference" : "Patient/example-01"
|
|
},
|
|
"effectiveDateTime" : "2020-09-29",
|
|
"performer" : [{
|
|
"reference" : "Organization/example-01"
|
|
}],
|
|
"valueQuantity" : {
|
|
"value" : 156,
|
|
"unit" : "mg/dL",
|
|
"system" : "http://snomed.info/sct",
|
|
"code" : "258797006"
|
|
},
|
|
"referenceRange" : [{
|
|
"high" : {
|
|
"value" : 200,
|
|
"unit" : "mg/dL",
|
|
"system" : "http://snomed.info/sct",
|
|
"code" : "258797006"
|
|
}
|
|
}]
|
|
} |