- 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
151 lines
7.3 KiB
JSON
151 lines
7.3 KiB
JSON
{
|
|
"resourceType" : "Bundle",
|
|
"id" : "TaskBundleForReprocessRequest-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:a9f8295b-a0cf-410d-9ed5-1370523e57bd",
|
|
"resource" : {
|
|
"resourceType" : "Task",
|
|
"id" : "a9f8295b-a0cf-410d-9ed5-1370523e57bd",
|
|
"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_a9f8295b-a0cf-410d-9ed5-1370523e57bd\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Task a9f8295b-a0cf-410d-9ed5-1370523e57bd</b></p><a name=\"a9f8295b-a0cf-410d-9ed5-1370523e57bd\"> </a><a name=\"hca9f8295b-a0cf-410d-9ed5-1370523e57bd\"> </a><a name=\"a9f8295b-a0cf-410d-9ed5-1370523e57bd-hi-IN\"> </a><p><b>status</b>: Requested</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/financialtaskcode reprocess}\">Reprocess</span></p><p><b>description</b>: Request for reprocesing the claim with number - 761234674365</p><p><b>authoredOn</b>: 2025-03-07 15:32:26+0530</p><p><b>requester</b>: <a href=\"Bundle-TaskBundleForReprocessRequest-example-01.html#urn-uuid-e5625392-6cc3-4410-b30e-1cf960a31303\">Organization</a></p><p><b>owner</b>: <a href=\"Bundle-TaskBundleForReprocessRequest-example-01.html#urn-uuid-9c17b15c-b9da-44db-9932-97c9c14cd432\">Organization</a></p><p><b>reasonCode</b>: <span title=\"Codes:{https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-reason-code claimrejected}\">Reprocess request due to claim rejected by payer</span></p><h3>Inputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-task-input-type-code claimNumber}\">ClaimNumber</span></td><td>761234674365</td></tr></table></div>"
|
|
},
|
|
"status" : "requested",
|
|
"intent" : "order",
|
|
"code" : {
|
|
"coding" : [{
|
|
"system" : "http://terminology.hl7.org/CodeSystem/financialtaskcode",
|
|
"code" : "reprocess"
|
|
}]
|
|
},
|
|
"description" : "Request for reprocesing the claim with number - 761234674365",
|
|
"authoredOn" : "2025-03-07T15:32:26.605+05:30",
|
|
"requester" : {
|
|
"reference" : "urn:uuid:e5625392-6cc3-4410-b30e-1cf960a31303",
|
|
"display" : "Organization"
|
|
},
|
|
"owner" : {
|
|
"reference" : "urn:uuid:9c17b15c-b9da-44db-9932-97c9c14cd432",
|
|
"display" : "Organization"
|
|
},
|
|
"reasonCode" : {
|
|
"coding" : [{
|
|
"system" : "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-reason-code",
|
|
"code" : "claimrejected",
|
|
"display" : "Reprocess request due to claim rejected by payer"
|
|
}]
|
|
},
|
|
"input" : [{
|
|
"type" : {
|
|
"coding" : [{
|
|
"system" : "https://nrces.in/ndhm/fhir/r4/CodeSystem/ndhm-task-input-type-code",
|
|
"code" : "claimNumber"
|
|
}]
|
|
},
|
|
"valueString" : "761234674365"
|
|
}]
|
|
}
|
|
},
|
|
{
|
|
"fullUrl" : "urn:uuid:9c17b15c-b9da-44db-9932-97c9c14cd432",
|
|
"resource" : {
|
|
"resourceType" : "Organization",
|
|
"id" : "9c17b15c-b9da-44db-9932-97c9c14cd432",
|
|
"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_9c17b15c-b9da-44db-9932-97c9c14cd432\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization 9c17b15c-b9da-44db-9932-97c9c14cd432</b></p><a name=\"9c17b15c-b9da-44db-9932-97c9c14cd432\"> </a><a name=\"hc9c17b15c-b9da-44db-9932-97c9c14cd432\"> </a><a name=\"9c17b15c-b9da-44db-9932-97c9c14cd432-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:e5625392-6cc3-4410-b30e-1cf960a31303",
|
|
"resource" : {
|
|
"resourceType" : "Organization",
|
|
"id" : "e5625392-6cc3-4410-b30e-1cf960a31303",
|
|
"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_e5625392-6cc3-4410-b30e-1cf960a31303\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization e5625392-6cc3-4410-b30e-1cf960a31303</b></p><a name=\"e5625392-6cc3-4410-b30e-1cf960a31303\"> </a><a name=\"hce5625392-6cc3-4410-b30e-1cf960a31303\"> </a><a name=\"e5625392-6cc3-4410-b30e-1cf960a31303-hi-IN\"> </a><p><b>identifier</b>: Provider number/456787448</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:+9124326347856\">+91 243 2634 7856</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" : "456787448"
|
|
}],
|
|
"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 7856",
|
|
"use" : "work"
|
|
},
|
|
{
|
|
"system" : "email",
|
|
"value" : "contact@xyz.org",
|
|
"use" : "work"
|
|
}]
|
|
}
|
|
}]
|
|
} |