- 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
155 lines
7.4 KiB
JSON
155 lines
7.4 KiB
JSON
{
|
|
"resourceType" : "Bundle",
|
|
"id" : "TaskBundleForInsurancePlanRequest-example-01",
|
|
"meta" : {
|
|
"profile" : ["https://nrces.in/ndhm/fhir/r4/StructureDefinition/TaskBundle"],
|
|
"security" : [{
|
|
"system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
|
|
"code" : "V",
|
|
"display" : "very restricted"
|
|
}]
|
|
},
|
|
"identifier" : {
|
|
"value" : "bc3c6c57-2053-4d0e-ac40-139ccccff645"
|
|
},
|
|
"type" : "collection",
|
|
"timestamp" : "2025-03-07T15:32:26.605+05:30",
|
|
"entry" : [{
|
|
"fullUrl" : "urn:uuid:25046b39-7f54-47af-8457-2af69a7e95ff",
|
|
"resource" : {
|
|
"resourceType" : "Task",
|
|
"id" : "25046b39-7f54-47af-8457-2af69a7e95ff",
|
|
"meta" : {
|
|
"profile" : ["https://nrces.in/ndhm/fhir/r4/StructureDefinition/Task"]
|
|
},
|
|
"text" : {
|
|
"status" : "generated",
|
|
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Task_25046b39-7f54-47af-8457-2af69a7e95ff\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Task 25046b39-7f54-47af-8457-2af69a7e95ff</b></p><a name=\"25046b39-7f54-47af-8457-2af69a7e95ff\"> </a><a name=\"hc25046b39-7f54-47af-8457-2af69a7e95ff\"> </a><a name=\"25046b39-7f54-47af-8457-2af69a7e95ff-hi-IN\"> </a><p><b>status</b>: Completed</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/financialtaskcode poll}\">Poll</span></p><p><b>description</b>: Give the details of Insurance plan linked with the given policy number</p><p><b>authoredOn</b>: 2025-03-07 15:32:26+0530</p><p><b>requester</b>: <a href=\"Bundle-TaskBundleForInsurancePlanRequest-example-01.html#urn-uuid-6f602d6a-7263-470e-864f-97916c6d3bcb\">Organization-hospital</a></p><p><b>owner</b>: <a href=\"Bundle-TaskBundleForInsurancePlanRequest-example-01.html#urn-uuid-5fe335ab-cc1d-4208-9f22-919fc4bfce77\">Organization-insurance-company</a></p><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-task-input-type-code policyNumber}\">PolicyNumber</span></p><p><b>value</b>: ABC123456789</p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-task-input-type-code providerId}\">ProviderId</span></p><p><b>value</b>: 1234567890</p></blockquote></div>"
|
|
},
|
|
"status" : "completed",
|
|
"intent" : "order",
|
|
"code" : {
|
|
"coding" : [{
|
|
"system" : "http://terminology.hl7.org/CodeSystem/financialtaskcode",
|
|
"code" : "poll"
|
|
}]
|
|
},
|
|
"description" : "Give the details of Insurance plan linked with the given policy number",
|
|
"authoredOn" : "2025-03-07T15:32:26.605+05:30",
|
|
"requester" : {
|
|
"reference" : "urn:uuid:6f602d6a-7263-470e-864f-97916c6d3bcb",
|
|
"display" : "Organization-hospital"
|
|
},
|
|
"owner" : {
|
|
"reference" : "urn:uuid:5fe335ab-cc1d-4208-9f22-919fc4bfce77",
|
|
"display" : "Organization-insurance-company"
|
|
},
|
|
"input" : [{
|
|
"type" : {
|
|
"coding" : [{
|
|
"system" : "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-task-input-type-code",
|
|
"code" : "policyNumber",
|
|
"display" : "PolicyNumber"
|
|
}]
|
|
},
|
|
"valueString" : "ABC123456789"
|
|
},
|
|
{
|
|
"type" : {
|
|
"coding" : [{
|
|
"system" : "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-task-input-type-code",
|
|
"code" : "providerId",
|
|
"display" : "ProviderId"
|
|
}]
|
|
},
|
|
"valueString" : "1234567890"
|
|
}]
|
|
}
|
|
},
|
|
{
|
|
"fullUrl" : "urn:uuid:5fe335ab-cc1d-4208-9f22-919fc4bfce77",
|
|
"resource" : {
|
|
"resourceType" : "Organization",
|
|
"id" : "5fe335ab-cc1d-4208-9f22-919fc4bfce77",
|
|
"meta" : {
|
|
"profile" : ["https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization"]
|
|
},
|
|
"text" : {
|
|
"status" : "generated",
|
|
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_5fe335ab-cc1d-4208-9f22-919fc4bfce77\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization 5fe335ab-cc1d-4208-9f22-919fc4bfce77</b></p><a name=\"5fe335ab-cc1d-4208-9f22-919fc4bfce77\"> </a><a name=\"hc5fe335ab-cc1d-4208-9f22-919fc4bfce77\"> </a><a name=\"5fe335ab-cc1d-4208-9f22-919fc4bfce77-hi-IN\"> </a><p><b>identifier</b>: Registry of Hospitals in Network of Insurance (ROHINI) ID/4567878</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/organization-type ins}\">Insurance Company</span></p><p><b>name</b>: XYZ Insurance Co. Ltd.</p><p><b>telecom</b>: <a href=\"tel:+9124326341234\">+91 243 2634 1234</a>, <a href=\"mailto:contact@xyz.org\">contact@xyz.org</a></p></div>"
|
|
},
|
|
"identifier" : [{
|
|
"type" : {
|
|
"coding" : [{
|
|
"system" : "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-identifier-type-code",
|
|
"code" : "ROHINI",
|
|
"display" : "Registry of Hospitals in Network of Insurance (ROHINI) ID"
|
|
}]
|
|
},
|
|
"system" : "https://rohini.iib.gov.in/",
|
|
"value" : "4567878"
|
|
}],
|
|
"type" : [{
|
|
"coding" : [{
|
|
"system" : "http://terminology.hl7.org/CodeSystem/organization-type",
|
|
"code" : "ins",
|
|
"display" : "Insurance Company"
|
|
}]
|
|
}],
|
|
"name" : "XYZ Insurance Co. Ltd.",
|
|
"telecom" : [{
|
|
"system" : "phone",
|
|
"value" : "+91 243 2634 1234",
|
|
"use" : "work"
|
|
},
|
|
{
|
|
"system" : "email",
|
|
"value" : "contact@xyz.org",
|
|
"use" : "work"
|
|
}]
|
|
}
|
|
},
|
|
{
|
|
"fullUrl" : "urn:uuid:6f602d6a-7263-470e-864f-97916c6d3bcb",
|
|
"resource" : {
|
|
"resourceType" : "Organization",
|
|
"id" : "6f602d6a-7263-470e-864f-97916c6d3bcb",
|
|
"meta" : {
|
|
"profile" : ["https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization"]
|
|
},
|
|
"text" : {
|
|
"status" : "generated",
|
|
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_6f602d6a-7263-470e-864f-97916c6d3bcb\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization 6f602d6a-7263-470e-864f-97916c6d3bcb</b></p><a name=\"6f602d6a-7263-470e-864f-97916c6d3bcb\"> </a><a name=\"hc6f602d6a-7263-470e-864f-97916c6d3bcb\"> </a><a name=\"6f602d6a-7263-470e-864f-97916c6d3bcb-hi-IN\"> </a><p><b>identifier</b>: Provider number/1234567890</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/organization-type prov}\">Healthcare Provider</span></p><p><b>name</b>: XYZ Hospital Co. Ltd.</p><p><b>telecom</b>: <a href=\"tel:+9124326341278\">+91 243 2634 1278</a>, <a href=\"mailto:contact@xyz.org\">contact@xyz.org</a></p></div>"
|
|
},
|
|
"identifier" : [{
|
|
"type" : {
|
|
"coding" : [{
|
|
"system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
|
|
"code" : "PRN",
|
|
"display" : "Provider number"
|
|
}]
|
|
},
|
|
"system" : "https://facility.ndhm.gov.in",
|
|
"value" : "1234567890"
|
|
}],
|
|
"type" : [{
|
|
"coding" : [{
|
|
"system" : "http://terminology.hl7.org/CodeSystem/organization-type",
|
|
"code" : "prov",
|
|
"display" : "Healthcare Provider"
|
|
}]
|
|
}],
|
|
"name" : "XYZ Hospital Co. Ltd.",
|
|
"telecom" : [{
|
|
"system" : "phone",
|
|
"value" : "+91 243 2634 1278",
|
|
"use" : "work"
|
|
},
|
|
{
|
|
"system" : "email",
|
|
"value" : "contact@xyz.org",
|
|
"use" : "work"
|
|
}]
|
|
}
|
|
}]
|
|
} |