devsofttech_hms_ci4/ABDM_FHIR/examples.json/Observation-example-26.json
DevSoftTech Server 23cca1f9ba feat(abdm): proper FHIR bundles for lab reports and IPD discharge
- 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
2026-05-23 04:41:59 +05:30

35 lines
1.6 KiB
JSON

{
"resourceType" : "Observation",
"id" : "example-26",
"meta" : {
"profile" : ["https://nrces.in/ndhm/fhir/r4/StructureDefinition/ObservationLifestyle"]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation example-26</b></p><a name=\"example-26\"> </a><a name=\"hcexample-26\"> </a><a name=\"example-26-hi-IN\"> </a><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 365981007}\">Finding of tobacco smoking behavior</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>: <span title=\"Codes:{http://snomed.info/sct 266919005}\">Never smoked tobacco</span></p></div>"
},
"status" : "final",
"code" : {
"coding" : [{
"system" : "http://snomed.info/sct",
"code" : "365981007",
"display" : "Finding of tobacco smoking behavior"
}],
"text" : "Finding of tobacco smoking behavior"
},
"subject" : {
"reference" : "Patient/example-01"
},
"effectiveDateTime" : "2020-09-29",
"performer" : [{
"reference" : "Organization/example-01"
}],
"valueCodeableConcept" : {
"coding" : [{
"system" : "http://snomed.info/sct",
"code" : "266919005",
"display" : "Never smoked tobacco"
}],
"text" : "Never smoked tobacco"
}
}