From 01951a31ca2d7fe407e305fa27a8e21a53e029d1 Mon Sep 17 00:00:00 2001 From: "Dr. B. M. Riazul Islam" Date: Mon, 29 Sep 2025 14:03:36 +0000 Subject: [PATCH 1/7] Updated README --- README.md | 43 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 3ddbd7b..28ff3e1 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,39 @@ -# sample-ig -A sample, template-driven implementation guide that provides a starting environment to use a base for defining new IGs +# Bangladesh Core FHIR Implementation Guide (BD-Core-FHIR-IG) +The **Bangladesh Core FHIR Implementation Guide (IG)** defines the national baseline for health data exchange in Bangladesh. +It ensures that health information systems can share and understand data consistently, supporting the goals of the **Bangladesh Digital Health Blueprint**. -See https://build.fhir.org/ig/FHIR/sample-ig/ +👉 Published IG: [https://fhir.dghs.gov.bd](https://fhir.dghs.gov.bd) +--- -## FHIR Foundation Project Statement +## Purpose -* Maintainers: Grahame Grieve / Lloyd Mckenzie -* Issues / Discussion: Use github issues -* License: Creative Commons Public Domain -* Contribution Policy: Make PRs. PRs have to build ok with the latest IG Publisher -* Security Information: There should be no security issues here - it's all static content. Can report issues with the standard github repotring method +- Provide a **national reference** for stakeholders building digital health solutions. +- Ensure alignment with **international FHIR standards**, making future **cross-border health information exchange** possible. +- Promote **patient-centered data exchange**, reducing duplication and improving continuity of care. + +--- + +## Using This IG + +- **For Health System Developers:** + Use the defined **profiles, value sets, and code systems** in this IG when designing or integrating digital health applications. This ensures interoperability with other systems in Bangladesh and beyond. + +- **For Policymakers and Implementers:** + Treat this IG as the **standard reference** for system requirements, data flows, and exchange formats when planning or evaluating digital health projects. + +- **For Vendors and Partners:** + Align your solutions with this IG to ensure **compliance with national standards** and **seamless integration** with Bangladesh’s digital health ecosystem. + +--- + +## Contributions + +Feedback and contributions are welcome. Issues can be raised through this repository to suggest improvements or alignments. + +--- + +## License + +This project is released under the [Creative Commons Public Domain License](https://creativecommons.org/publicdomain/). From 23586826bb34cb7f2e2b2e7ddf39b2dd49b8f95b Mon Sep 17 00:00:00 2001 From: JAHIRABBAS Date: Tue, 30 Sep 2025 07:59:59 +0600 Subject: [PATCH 2/7] updating location file --- input/fsh/profile/immunization-profile.fsh | 8 +++----- input/fsh/profile/location.fsh | 8 ++++++++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/input/fsh/profile/immunization-profile.fsh b/input/fsh/profile/immunization-profile.fsh index ad3c360..cc192c6 100644 --- a/input/fsh/profile/immunization-profile.fsh +++ b/input/fsh/profile/immunization-profile.fsh @@ -48,7 +48,7 @@ Description: "Bangladesh Immunization Profile" * location 0..1 * location ^definition = "Location where vaccine was administered" -* location only Reference(Location) +//* location only Reference(Location) * site 0..1 * site ^definition = "Body site of administration" @@ -60,13 +60,11 @@ Description: "Bangladesh Immunization Profile" * doseQuantity 0..1 * doseQuantity ^definition = "Amount of vaccine administered" -//* doseQuantity from UCUM Units -* ^url = "http://unitsofmeasure.org" +* doseQuantity.system = "http://unitsofmeasure.org" * performer 0..* * performer ^definition = "Individual who performed the immunization" -//* performer from BD Practitioner Profile -* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-practitioner" +* performer.actor only Reference(BDPractitioner) * reaction 0..* * reaction ^definition = "Adverse reaction following immunization" diff --git a/input/fsh/profile/location.fsh b/input/fsh/profile/location.fsh index e69de29..f2b7c1d 100644 --- a/input/fsh/profile/location.fsh +++ b/input/fsh/profile/location.fsh @@ -0,0 +1,8 @@ +Profile: Location +Id: bd-location +Parent: Location +Title: "Location of Immunization for Bangladesh" +Description: "Address for Bangladesh Standard" + +* address 1..1 +* address only Reference(BDAddress) From d2b35feca7281a3d944f3a7a6876ae82660f8f81 Mon Sep 17 00:00:00 2001 From: Rukshan Date: Tue, 30 Sep 2025 09:46:06 +0600 Subject: [PATCH 3/7] refactor: :recycle: change filename for consistance and change profile to BDLocation --- input/fsh/profile/{location.fsh => BDLocation.fsh} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename input/fsh/profile/{location.fsh => BDLocation.fsh} (72%) diff --git a/input/fsh/profile/location.fsh b/input/fsh/profile/BDLocation.fsh similarity index 72% rename from input/fsh/profile/location.fsh rename to input/fsh/profile/BDLocation.fsh index f2b7c1d..4aab6ef 100644 --- a/input/fsh/profile/location.fsh +++ b/input/fsh/profile/BDLocation.fsh @@ -1,8 +1,8 @@ -Profile: Location +Profile: BDLocation Id: bd-location Parent: Location Title: "Location of Immunization for Bangladesh" Description: "Address for Bangladesh Standard" * address 1..1 -* address only Reference(BDAddress) +* address only BDAddress From 804668dca5662a217467b85f7d73ed66e8e6af33 Mon Sep 17 00:00:00 2001 From: Rukshan Date: Tue, 30 Sep 2025 09:46:32 +0600 Subject: [PATCH 4/7] fix: :bug: fix requester reference and added missing references --- input/fsh/profile/BDMedicationRequest.fsh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/input/fsh/profile/BDMedicationRequest.fsh b/input/fsh/profile/BDMedicationRequest.fsh index 1b71220..e065fb5 100644 --- a/input/fsh/profile/BDMedicationRequest.fsh +++ b/input/fsh/profile/BDMedicationRequest.fsh @@ -7,8 +7,6 @@ Parent: MedicationRequest Title: "Medication Request Profile for Bangladesh-V2" Description: "Profile of MedicationRequest Bangladesh Standard V2" - - * identifier 1..* * medication[x] 1..1 MS * medication[x] only Reference(BDMedication) or CodeableConcept @@ -16,8 +14,10 @@ Description: "Profile of MedicationRequest Bangladesh Standard V2" // TODO: BDEncounter referencing * authoredOn 1..1 -* requester 1..1 * reported[x] 1..1 +* requester 1..1 -* requester only Reference(BDPractitioner) -* reported[x] only Reference(BDOrganization) +* reported[x] only Reference(BDOrganization) or boolean +* requester only Reference(BDPractitioner or BDOrganization) +* priorPrescription only Reference(BDMedicationRequest) +* basedOn only Reference(BDMedicationRequest or ServiceRequest or CarePlan or ImmunizationRecommendation) \ No newline at end of file From 6c6e2ed120a6f1970195742095571df42718f3ec Mon Sep 17 00:00:00 2001 From: Rukshan Date: Tue, 30 Sep 2025 09:46:58 +0600 Subject: [PATCH 5/7] fix: :bug: change location reference to BDLocation --- input/fsh/profile/immunization-profile.fsh | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/input/fsh/profile/immunization-profile.fsh b/input/fsh/profile/immunization-profile.fsh index cc192c6..a57e9a3 100644 --- a/input/fsh/profile/immunization-profile.fsh +++ b/input/fsh/profile/immunization-profile.fsh @@ -1,7 +1,7 @@ // @Name: Profile -// @Description: Immunization Profile of the Bangladeshi Patient. +// @Description: Immunization Profile of the Bangladeshi Patient. Profile: BDImmunizationProfile Id: bd-immunization Parent: Immunization @@ -28,7 +28,7 @@ Description: "Bangladesh Immunization Profile" * manufacturer ^definition = "Vaccine manufacturer" * ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-organization" -* lotNumber 0..1 +* lotNumber 0..1 * lotNumber ^short = "Vaccine Lot Number" * lotNumber ^definition = "Vaccine lot or batch number" @@ -38,17 +38,17 @@ Description: "Bangladesh Immunization Profile" * patient 1..1 * patient ^definition = "The patient receiving the vaccine" -* patient only Reference(BDPatientProfile) +* patient only Reference(BDPatientProfile) * encounter 1..1 * encounter ^definition = "Encounter during which vaccine was administered" * encounter only Reference(BDEncounterProfile) -* occurrence[x] 1..1 +* occurrence[x] 1..1 * location 0..1 * location ^definition = "Location where vaccine was administered" -//* location only Reference(Location) +* location only Reference(BDLocation) * site 0..1 * site ^definition = "Body site of administration" @@ -62,10 +62,13 @@ Description: "Bangladesh Immunization Profile" * doseQuantity ^definition = "Amount of vaccine administered" * doseQuantity.system = "http://unitsofmeasure.org" -* performer 0..* +* performer 0..* * performer ^definition = "Individual who performed the immunization" * performer.actor only Reference(BDPractitioner) * reaction 0..* * reaction ^definition = "Adverse reaction following immunization" -* reaction.detail only Reference(Observation) \ No newline at end of file +//TODO: change to BDObservation after creating the profile +* reaction.detail only Reference(Observation) +//TODO change to BDObservation after creating the profile +* reasonReference only Reference(Condition or Observation or DiagnosticReport) \ No newline at end of file From 94b28ce78f9539db49548c180a49a9431280ab0f Mon Sep 17 00:00:00 2001 From: Rukshan Date: Tue, 30 Sep 2025 09:47:49 +0600 Subject: [PATCH 6/7] fix: :bug: ig and sushi config to to supress the warninig --- ig.ini | 4 ++-- sushi-config.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ig.ini b/ig.ini index dca5267..ccecc2d 100644 --- a/ig.ini +++ b/ig.ini @@ -2,7 +2,7 @@ # ini file for the Implementation Guide publisher # see comments below for instructions -ig = input/myig.xml +ig = fsh-generated/resources/ImplementationGuide-bd.fhir.core.json template = #bd-national-template ########################## @@ -41,7 +41,7 @@ examples: # other parameters are defined in the ImplementationGuide resource: # https://confluence.hl7.org/display/FHIR/Implementation+Guide+Parameters -# for more documentation on implementation guides and templates, see the FHIR Guidance ImplementationGuide +# for more documentation on implementation guides and templates, see the FHIR Guidance ImplementationGuide # http://build.fhir.org/ig/FHIR/ig-guidance output = /var/www/html diff --git a/sushi-config.yaml b/sushi-config.yaml index 6df7cf0..d3645b4 100644 --- a/sushi-config.yaml +++ b/sushi-config.yaml @@ -10,7 +10,7 @@ version: 0.2.0 fhirVersion: 4.0.1 copyrightYear: 2025+ releaseLabel: CI Build -FSHOnly: true +FSHOnly: false publisher: name: Directorate General of Health Services (DGHS), Bangladesh url: https://dghs.gov.bd From 656499685861af712daeb2ea36279eceae32d230 Mon Sep 17 00:00:00 2001 From: Rukshan Date: Tue, 30 Sep 2025 10:17:50 +0600 Subject: [PATCH 7/7] fix: :bug: fix reportedReference reference --- input/fsh/profile/BDMedicationRequest.fsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/input/fsh/profile/BDMedicationRequest.fsh b/input/fsh/profile/BDMedicationRequest.fsh index e065fb5..0632d58 100644 --- a/input/fsh/profile/BDMedicationRequest.fsh +++ b/input/fsh/profile/BDMedicationRequest.fsh @@ -14,10 +14,9 @@ Description: "Profile of MedicationRequest Bangladesh Standard V2" // TODO: BDEncounter referencing * authoredOn 1..1 -* reported[x] 1..1 * requester 1..1 -* reported[x] only Reference(BDOrganization) or boolean +* reportedReference only Reference(BDPractitioner or BDOrganization or BDPatientProfile) * requester only Reference(BDPractitioner or BDOrganization) * priorPrescription only Reference(BDMedicationRequest) * basedOn only Reference(BDMedicationRequest or ServiceRequest or CarePlan or ImmunizationRecommendation) \ No newline at end of file