- 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
168 lines
8.9 KiB
JSON
168 lines
8.9 KiB
JSON
{
|
|
"resourceType" : "Claim",
|
|
"id" : "Claim-enhancement-example-01",
|
|
"meta" : {
|
|
"profile" : ["https://nrces.in/ndhm/fhir/r4/StructureDefinition/Claim"]
|
|
},
|
|
"text" : {
|
|
"status" : "generated",
|
|
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Claim Claim-enhancement-example-01</b></p><a name=\"Claim-enhancement-example-01\"> </a><a name=\"hcClaim-enhancement-example-01\"> </a><a name=\"Claim-enhancement-example-01-hi-IN\"> </a><p><b>identifier</b>: 7612345</p><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 737481003}\">Inpatient care management (procedure)</span></p><p><b>subType</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/ex-claimsubtype emergency}\">Emergency Claim</span></p><p><b>use</b>: Preauthorization</p><p><b>patient</b>: <a href=\"Patient-example-01.html\">ABC Male, DoB: 1981-01-12 ( Medical record number: 22-7225-4829-5255)</a></p><p><b>billablePeriod</b>: 2025-03-07 11:01:00+0500 --> 2025-04-07 11:01:00+0500</p><p><b>created</b>: 2025-03-13 11:01:00+0500</p><p><b>insurer</b>: <a href=\"Organization-example-02.html\">Organization XYZ Insurance Co. Ltd.</a></p><p><b>provider</b>: <a href=\"Organization-example-03.html\">Organization XYZ Hospital Co. Ltd.</a></p><p><b>priority</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/processpriority normal}\">Normal</span></p><h3>Relateds</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Claim</b></td><td><b>Relationship</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Claim-Claim-preauthorization-example-01.html\">Claim: identifier = 7612345; status = active; type = Inpatient care management (procedure); subType = Emergency Claim; use = preauthorization; billablePeriod = 2025-03-07 11:01:00+0500 --> 2025-04-07 11:01:00+0500; created = 2025-03-08 11:01:00+0500; priority = Normal</a></td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/ex-relatedclaimrelationship prior}\">Prior Claim</span></td></tr></table><h3>CareTeams</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Sequence</b></td><td><b>Provider</b></td><td><b>Role</b></td><td><b>Qualification</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td><a href=\"Practitioner-example-01.html\">Practitioner Dr. DEF</a></td><td><span title=\"Codes:{http://snomed.info/sct 223366009}\">Healthcare professional (occupation)</span></td><td><span title=\"Codes:{http://snomed.info/sct 394658006}\">Clinical specialty (qualifier value)</span></td></tr></table><h3>Diagnoses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Sequence</b></td><td><b>Diagnosis[x]</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td><span title=\"Codes:{http://hl7.org/fhir/sid/icd-10 I46.9}\">Cardiac arrest, unspecified</span></td><td><span title=\"Codes:{http://snomed.info/sct 89100005}\">Final diagnosis (discharge) (contextual qualifier) (qualifier value)</span></td></tr></table><blockquote><p><b>procedure</b></p><p><b>sequence</b>: 1</p><p><b>procedure</b>: <span title=\"Codes:{http://snomed.info/sct 77343006}\">Angiography</span></p></blockquote><blockquote><p><b>procedure</b></p><p><b>sequence</b>: 2</p><p><b>procedure</b>: <span title=\"Codes:{http://snomed.info/sct 418285008}\">Angioplasty of blood vessel</span></p></blockquote><h3>Insurances</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Sequence</b></td><td><b>Focal</b></td><td><b>Coverage</b></td><td><b>PreAuthRef</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>true</td><td><a href=\"Coverage-example-01.html\">Coverage: identifier = https://xyzinsurance.in/policynumber/#235037120; status = active; type = PAY; subscriberId = ABC123456BI007; relationship = Self; period = (?) --> 2026-03-17</a></td><td>123456</td></tr></table><blockquote><p><b>item</b></p><p><b>sequence</b>: 1</p><p><b>careTeamSequence</b>: 1</p><p><b>productOrService</b>: <span title=\"Codes:{http://snomed.info/sct 77343006}\">Angiography</span></p><h3>UnitPrices</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>10000</td><td>Indian rupee</td></tr></table><h3>Nets</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>10000</td><td>Indian rupee</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>sequence</b>: 2</p><p><b>careTeamSequence</b>: 1</p><p><b>productOrService</b>: <span title=\"Codes:{http://snomed.info/sct 418285008}\">Angioplasty of blood vessel</span></p><h3>UnitPrices</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>10000</td><td>Indian rupee</td></tr></table><h3>Nets</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>10000</td><td>Indian rupee</td></tr></table></blockquote><h3>Totals</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>20000</td><td>Indian rupee</td></tr></table></div>"
|
|
},
|
|
"identifier" : [{
|
|
"value" : "7612345"
|
|
}],
|
|
"status" : "active",
|
|
"type" : {
|
|
"coding" : [{
|
|
"system" : "http://snomed.info/sct",
|
|
"code" : "737481003",
|
|
"display" : "Inpatient care management (procedure)"
|
|
}]
|
|
},
|
|
"subType" : {
|
|
"coding" : [{
|
|
"system" : "http://terminology.hl7.org/CodeSystem/ex-claimsubtype",
|
|
"code" : "emergency"
|
|
}]
|
|
},
|
|
"use" : "preauthorization",
|
|
"patient" : {
|
|
"reference" : "Patient/example-01"
|
|
},
|
|
"billablePeriod" : {
|
|
"start" : "2025-03-07T11:01:00+05:00",
|
|
"end" : "2025-04-07T11:01:00+05:00"
|
|
},
|
|
"created" : "2025-03-13T11:01:00+05:00",
|
|
"insurer" : {
|
|
"reference" : "Organization/example-02"
|
|
},
|
|
"provider" : {
|
|
"reference" : "Organization/example-03"
|
|
},
|
|
"priority" : {
|
|
"coding" : [{
|
|
"system" : "http://terminology.hl7.org/CodeSystem/processpriority",
|
|
"code" : "normal"
|
|
}]
|
|
},
|
|
"related" : [{
|
|
"claim" : {
|
|
"reference" : "Claim/Claim-preauthorization-example-01"
|
|
},
|
|
"relationship" : {
|
|
"coding" : [{
|
|
"system" : "http://terminology.hl7.org/CodeSystem/ex-relatedclaimrelationship",
|
|
"code" : "prior",
|
|
"display" : "Prior Claim"
|
|
}]
|
|
}
|
|
}],
|
|
"careTeam" : [{
|
|
"sequence" : 1,
|
|
"provider" : {
|
|
"reference" : "Practitioner/example-01"
|
|
},
|
|
"role" : {
|
|
"coding" : [{
|
|
"system" : "http://snomed.info/sct",
|
|
"code" : "223366009",
|
|
"display" : "Healthcare professional (occupation)"
|
|
}]
|
|
},
|
|
"qualification" : {
|
|
"coding" : [{
|
|
"system" : "http://snomed.info/sct",
|
|
"code" : "394658006",
|
|
"display" : "Clinical specialty (qualifier value)"
|
|
}]
|
|
}
|
|
}],
|
|
"diagnosis" : [{
|
|
"sequence" : 1,
|
|
"diagnosisCodeableConcept" : {
|
|
"coding" : [{
|
|
"system" : "http://hl7.org/fhir/sid/icd-10",
|
|
"code" : "I46.9",
|
|
"display" : "Cardiac arrest, unspecified"
|
|
}]
|
|
},
|
|
"type" : [{
|
|
"coding" : [{
|
|
"system" : "http://snomed.info/sct",
|
|
"code" : "89100005",
|
|
"display" : "Final diagnosis (discharge) (contextual qualifier) (qualifier value)"
|
|
}]
|
|
}]
|
|
}],
|
|
"procedure" : [{
|
|
"sequence" : 1,
|
|
"procedureCodeableConcept" : {
|
|
"coding" : [{
|
|
"system" : "http://snomed.info/sct",
|
|
"code" : "77343006",
|
|
"display" : "Angiography"
|
|
}]
|
|
}
|
|
},
|
|
{
|
|
"sequence" : 2,
|
|
"procedureCodeableConcept" : {
|
|
"coding" : [{
|
|
"system" : "http://snomed.info/sct",
|
|
"code" : "418285008",
|
|
"display" : "Angioplasty of blood vessel"
|
|
}]
|
|
}
|
|
}],
|
|
"insurance" : [{
|
|
"sequence" : 1,
|
|
"focal" : true,
|
|
"coverage" : {
|
|
"reference" : "Coverage/example-01"
|
|
},
|
|
"preAuthRef" : ["123456"]
|
|
}],
|
|
"item" : [{
|
|
"sequence" : 1,
|
|
"careTeamSequence" : [1],
|
|
"productOrService" : {
|
|
"coding" : [{
|
|
"system" : "http://snomed.info/sct",
|
|
"code" : "77343006",
|
|
"display" : "Angiography"
|
|
}]
|
|
},
|
|
"unitPrice" : {
|
|
"value" : 10000,
|
|
"currency" : "INR"
|
|
},
|
|
"net" : {
|
|
"value" : 10000,
|
|
"currency" : "INR"
|
|
}
|
|
},
|
|
{
|
|
"sequence" : 2,
|
|
"careTeamSequence" : [1],
|
|
"productOrService" : {
|
|
"coding" : [{
|
|
"system" : "http://snomed.info/sct",
|
|
"code" : "418285008",
|
|
"display" : "Angioplasty of blood vessel"
|
|
}]
|
|
},
|
|
"unitPrice" : {
|
|
"value" : 10000,
|
|
"currency" : "INR"
|
|
},
|
|
"net" : {
|
|
"value" : 10000,
|
|
"currency" : "INR"
|
|
}
|
|
}],
|
|
"total" : {
|
|
"value" : 20000,
|
|
"currency" : "INR"
|
|
}
|
|
} |