devsofttech_hms_ci4/ABDM_FHIR/examples.json/FamilyMemberHistory-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

51 lines
2.1 KiB
JSON

{
"resourceType" : "FamilyMemberHistory",
"id" : "example-01",
"meta" : {
"profile" : ["https://nrces.in/ndhm/fhir/r4/StructureDefinition/FamilyMemberHistory"]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: FamilyMemberHistory example-01</b></p><a name=\"example-01\"> </a><a name=\"hcexample-01\"> </a><a name=\"example-01-hi-IN\"> </a><p><b>identifier</b>: 12345</p><p><b>status</b>: Completed</p><p><b>patient</b>: <a href=\"Patient-example-01.html\">ABC</a></p><p><b>date</b>: 2011-03-18</p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode FTH}\">father</span></p><p><b>sex</b>: <span title=\"Codes:{http://hl7.org/fhir/administrative-gender male}\">Male</span></p><h3>Conditions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>ContributedToDeath</b></td><td><b>Onset[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 315619001}\">Heart Attack</span></td><td>true</td><td>84 yr<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM codea = 'a')</span></td></tr></table></div>"
},
"identifier" : [{
"value" : "12345"
}],
"status" : "completed",
"patient" : {
"reference" : "Patient/example-01",
"display" : "ABC"
},
"date" : "2011-03-18",
"relationship" : {
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"code" : "FTH",
"display" : "father"
}]
},
"sex" : {
"coding" : [{
"system" : "http://hl7.org/fhir/administrative-gender",
"code" : "male",
"display" : "Male"
}]
},
"condition" : [{
"code" : {
"coding" : [{
"system" : "http://snomed.info/sct",
"code" : "315619001",
"display" : "FH myocardial infarction male first degree age known"
}],
"text" : "Heart Attack"
},
"contributedToDeath" : true,
"onsetAge" : {
"value" : 84,
"unit" : "yr",
"system" : "http://unitsofmeasure.org",
"code" : "a"
}
}]
}