devsofttech_hms_ci4/ABDM_FHIR/examples.json/Appointment-example-01.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

52 lines
2.5 KiB
JSON

{
"resourceType" : "Appointment",
"id" : "example-01",
"meta" : {
"profile" : ["https://nrces.in/ndhm/fhir/r4/StructureDefinition/Appointment"]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Appointment example-01</b></p><a name=\"example-01\"> </a><a name=\"hcexample-01\"> </a><a name=\"example-01-hi-IN\"> </a><p><b>status</b>: Booked</p><p><b>serviceCategory</b>: <span title=\"Codes:{http://snomed.info/sct 408443003}\">General medical practice</span></p><p><b>serviceType</b>: <span title=\"Codes:{http://snomed.info/sct 11429006}\">Consultation</span></p><p><b>appointmentType</b>: <span title=\"Codes:{http://snomed.info/sct 185389009}\">Follow-up visit</span></p><p><b>reasonReference</b>: <a href=\"Condition-example-01.html\">Condition Abdominal pain</a></p><p><b>description</b>: Discussion on the results of your recent Lab Test and further consultation</p><p><b>start</b>: 2020-07-12 09:00:00+0000</p><p><b>end</b>: 2020-07-12 09:30:00+0000</p><p><b>created</b>: 2020-07-09 14:58:58+0530</p><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"Patient-example-01.html\">ABC Male, DoB: 1981-01-12 ( Medical record number: 22-7225-4829-5255)</a></p><p><b>status</b>: Accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"Practitioner-example-01.html\">Practitioner Dr. DEF</a></p><p><b>status</b>: Accepted</p></blockquote></div>"
},
"status" : "booked",
"serviceCategory" : [{
"coding" : [{
"system" : "http://snomed.info/sct",
"code" : "408443003",
"display" : "General medical practice"
}]
}],
"serviceType" : [{
"coding" : [{
"system" : "http://snomed.info/sct",
"code" : "11429006",
"display" : "Consultation"
}]
}],
"appointmentType" : {
"coding" : [{
"system" : "http://snomed.info/sct",
"code" : "185389009",
"display" : "Follow-up visit"
}]
},
"reasonReference" : [{
"reference" : "Condition/example-01"
}],
"description" : "Discussion on the results of your recent Lab Test and further consultation",
"start" : "2020-07-12T09:00:00Z",
"end" : "2020-07-12T09:30:00Z",
"created" : "2020-07-09T14:58:58.181+05:30",
"participant" : [{
"actor" : {
"reference" : "Patient/example-01"
},
"status" : "accepted"
},
{
"actor" : {
"reference" : "Practitioner/example-01"
},
"status" : "accepted"
}]
}