From df22875684c0c78eb93e079eac12af8b56325c5a Mon Sep 17 00:00:00 2001 From: "Dr. B. M. Riazul Islam" Date: Tue, 7 Apr 2026 00:50:59 +0600 Subject: [PATCH] Prepare 0.4.0: DGDA Drug and LOINC Integration --- input/fsh/examples/BDEncounterExample.fsh | 25 +++++++++++++++ input/fsh/examples/BDPatientExample.fsh | 32 ++++++++++++++++++++ input/fsh/examples/BDPractitionerExample.fsh | 25 +++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 input/fsh/examples/BDEncounterExample.fsh create mode 100644 input/fsh/examples/BDPatientExample.fsh create mode 100644 input/fsh/examples/BDPractitionerExample.fsh diff --git a/input/fsh/examples/BDEncounterExample.fsh b/input/fsh/examples/BDEncounterExample.fsh new file mode 100644 index 0000000..f8dc87d --- /dev/null +++ b/input/fsh/examples/BDEncounterExample.fsh @@ -0,0 +1,25 @@ +Instance: BDEncounterExample +InstanceOf: BDEncounterProfile +Usage: #example +Title: "Example of a Bangladesh Patient Encounter" +Description: "An example of an outpatient encounter for a Bangladesh patient." + +* identifier[0].value = "ENC-2023-001" +* identifier[0].system = "https://fhir.dghs.gov.bd/core/identifier/encounter" + +* status = #finished + +// Must use a code from your BDEncounterClassSubsetVS +// Example using standard HL7 ActCode for ambulatory (outpatient) +* class = http://terminology.hl7.org/CodeSystem/v3-ActCode#AMB "ambulatory" + +// Reference the patient example we created in the previous step +* subject = Reference(BDPatientExample) + +// serviceProvider is 1..1 in your profile +* serviceProvider = Reference(BDOrganizationExample) + +// participant and participant.period are 1..1 +* participant[0].individual = Reference(BDPractitionerExample) +* participant[0].period.start = "2023-10-27T10:00:00Z" +* participant[0].period.end = "2023-10-27T10:30:00Z" \ No newline at end of file diff --git a/input/fsh/examples/BDPatientExample.fsh b/input/fsh/examples/BDPatientExample.fsh new file mode 100644 index 0000000..49bd2a9 --- /dev/null +++ b/input/fsh/examples/BDPatientExample.fsh @@ -0,0 +1,32 @@ +Instance: BDPatientExample +InstanceOf: BDPatientProfile +Usage: #example +Title: "Example of a Bangladesh Patient" +Description: "A minimal example for a patient satisfying name translations and address requirements." + +// Required Name with English and Bangla Translations +* name[0].use = #official +* name[0].text = "Abul Kashem" +* name[0].text.extension[nameEn].extension[lang].valueCode = #en +* name[0].text.extension[nameEn].extension[content].valueString = "Abul Kashem" +* name[0].text.extension[nameBn].extension[lang].valueCode = #bn +* name[0].text.extension[nameBn].extension[content].valueString = "আবুল কাশেম" + +// Required Gender and BirthDate (for clinical completeness) +* gender = #male +* birthDate = "1985-05-20" + +// Identifier Slice: NID Example +* identifier[NID].system = "http://dghs.gov.bd/identifier/nid" +* identifier[NID].value = "1234567890" +* identifier[NID].type = http://terminology.hl7.org/CodeSystem/v2-0203#NI "National unique individual identifier" + +// Required Address using BDAddress profile +* address[0].line = "123 Green Road" +* address[0].city = "Dhaka" +* address[0].district = "Dhaka" +* address[0].division = "Dhaka" +* address[0].country = "BD" + +// Optional Religion Extension +* extension[religion].valueCodeableConcept = https://fhir.dghs.gov.bd/core/CodeSystem/bd-religions-cs#islam "Islam" \ No newline at end of file diff --git a/input/fsh/examples/BDPractitionerExample.fsh b/input/fsh/examples/BDPractitionerExample.fsh new file mode 100644 index 0000000..6b64cf9 --- /dev/null +++ b/input/fsh/examples/BDPractitionerExample.fsh @@ -0,0 +1,25 @@ +Instance: BDPractitionerExample +InstanceOf: BDPractitioner +Usage: #example +Title: "Example of a Bangladesh Practitioner" +Description: "A licensed physician example for the Bangladesh HIE." + +// Required Identifier (1..* MS) +// Using BMDC (Bangladesh Medical & Dental Council) registration number +* identifier[0].system = "https://fhir.dghs.gov.bd/core/identifier/bmdc-registration" +* identifier[0].value = "A-12345" +* identifier[0].type = http://terminology.hl7.org/CodeSystem/v2-0203#MD "Medical License number" + +// Recommended Name +* name[0].use = #official +* name[0].family = "Ahmed" +* name[0].given[0] = "Tanvir" +* name[0].prefix[0] = "Dr." + +// Contact Information +* telecom[0].system = #phone +* telecom[0].value = "+8801712345678" +* telecom[0].use = #work + +// Gender (Commonly used in health records) +* gender = #male \ No newline at end of file