- 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
79 lines
3.3 KiB
JSON
79 lines
3.3 KiB
JSON
{
|
|
"resourceType" : "PractitionerRole",
|
|
"id" : "example-01",
|
|
"meta" : {
|
|
"profile" : ["https://nrces.in/ndhm/fhir/r4/StructureDefinition/PractitionerRole"]
|
|
},
|
|
"text" : {
|
|
"status" : "generated",
|
|
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: PractitionerRole 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>: Employee number/23</p><p><b>active</b>: true</p><p><b>period</b>: 2012-01-01 --> 2012-03-31</p><p><b>practitioner</b>: <a href=\"Practitioner-example-01.html\">Dr DEF</a></p><p><b>organization</b>: <a href=\"Organization-example-01.html\">Organization XYZ Lab Pvt.Ltd.</a></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 85733003}\">General pathologist</span></p><p><b>specialty</b>: <span title=\"Codes:{http://snomed.info/sct 408443003}\">General medical practice</span></p><p><b>telecom</b>: ph: (03) 5555 6473(Work), <a href=\"mailto:def.southern@example.org\">def.southern@example.org</a></p><blockquote><p><b>availableTime</b></p><p><b>daysOfWeek</b>: Monday, Tuesday, Wednesday</p><p><b>availableStartTime</b>: 09:00:00</p><p><b>availableEndTime</b>: 16:30:00</p></blockquote><blockquote><p><b>availableTime</b></p><p><b>daysOfWeek</b>: Thursday, Friday</p><p><b>availableStartTime</b>: 09:00:00</p><p><b>availableEndTime</b>: 12:00:00</p></blockquote><h3>NotAvailables</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Description</b></td><td><b>During</b></td></tr><tr><td style=\"display: none\">*</td><td>DEF will be on extended leave during Nov 2020</td><td>2020-11-01 --> 2020-11-20</td></tr></table><p><b>availabilityExceptions</b>: Adam is generally unavailable on public holidays</p></div>"
|
|
},
|
|
"identifier" : [{
|
|
"type" : {
|
|
"coding" : [{
|
|
"system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
|
|
"code" : "EI",
|
|
"display" : "Employee number"
|
|
}]
|
|
},
|
|
"system" : "http://www.ndhm.in/practitioners",
|
|
"value" : "23"
|
|
}],
|
|
"active" : true,
|
|
"period" : {
|
|
"start" : "2012-01-01",
|
|
"end" : "2012-03-31"
|
|
},
|
|
"practitioner" : {
|
|
"reference" : "Practitioner/example-01",
|
|
"display" : "Dr DEF"
|
|
},
|
|
"organization" : {
|
|
"reference" : "Organization/example-01"
|
|
},
|
|
"code" : [{
|
|
"coding" : [{
|
|
"system" : "http://snomed.info/sct",
|
|
"code" : "85733003",
|
|
"display" : "General pathologist"
|
|
}]
|
|
}],
|
|
"specialty" : [{
|
|
"coding" : [{
|
|
"system" : "http://snomed.info/sct",
|
|
"code" : "408443003",
|
|
"display" : "General medical practice"
|
|
}]
|
|
}],
|
|
"telecom" : [{
|
|
"system" : "phone",
|
|
"value" : "(03) 5555 6473",
|
|
"use" : "work"
|
|
},
|
|
{
|
|
"system" : "email",
|
|
"value" : "def.southern@example.org",
|
|
"use" : "work"
|
|
}],
|
|
"availableTime" : [{
|
|
"daysOfWeek" : ["mon",
|
|
"tue",
|
|
"wed"],
|
|
"availableStartTime" : "09:00:00",
|
|
"availableEndTime" : "16:30:00"
|
|
},
|
|
{
|
|
"daysOfWeek" : ["thu",
|
|
"fri"],
|
|
"availableStartTime" : "09:00:00",
|
|
"availableEndTime" : "12:00:00"
|
|
}],
|
|
"notAvailable" : [{
|
|
"description" : "DEF will be on extended leave during Nov 2020",
|
|
"during" : {
|
|
"start" : "2020-11-01",
|
|
"end" : "2020-11-20"
|
|
}
|
|
}],
|
|
"availabilityExceptions" : "Adam is generally unavailable on public holidays"
|
|
} |