From 1c45affa520e64b3b9efc307d9116ff138171fa5 Mon Sep 17 00:00:00 2001 From: fojlayrabbi Date: Mon, 29 Sep 2025 13:01:25 +0600 Subject: [PATCH 1/5] Immunization Code & value set created --- .../codeSystems/bd-immunization-reaction.fsh | 20 +++++++++++++ .../fsh/codeSystems/bd-immunization-route.fsh | 18 ++++++++++++ .../fsh/codeSystems/bd-immunization-site.fsh | 18 ++++++++++++ input/fsh/codeSystems/bd-vaccine-code.fsh | 28 +++++++++++++++++++ input/fsh/immunization.json | 26 +++++++++++++++++ input/fsh/profile/immunization.fsh | 17 +++++++++++ .../bd-immunization-reaction-valueset.fsh | 7 +++++ .../bd-immunization-route-valueset.fsh | 7 +++++ .../bd-immunization-site-valueset.fsh | 8 ++++++ input/fsh/valueSets/bd-vaccine-valueset.fsh | 7 +++++ 10 files changed, 156 insertions(+) create mode 100644 input/fsh/codeSystems/bd-immunization-reaction.fsh create mode 100644 input/fsh/codeSystems/bd-immunization-route.fsh create mode 100644 input/fsh/codeSystems/bd-immunization-site.fsh create mode 100644 input/fsh/codeSystems/bd-vaccine-code.fsh create mode 100644 input/fsh/immunization.json create mode 100644 input/fsh/profile/immunization.fsh create mode 100644 input/fsh/valueSets/bd-immunization-reaction-valueset.fsh create mode 100644 input/fsh/valueSets/bd-immunization-route-valueset.fsh create mode 100644 input/fsh/valueSets/bd-immunization-site-valueset.fsh create mode 100644 input/fsh/valueSets/bd-vaccine-valueset.fsh diff --git a/input/fsh/codeSystems/bd-immunization-reaction.fsh b/input/fsh/codeSystems/bd-immunization-reaction.fsh new file mode 100644 index 0000000..8d787f4 --- /dev/null +++ b/input/fsh/codeSystems/bd-immunization-reaction.fsh @@ -0,0 +1,20 @@ +CodeSystem: BDImmunizationReactionCodeSystem +Id: bd-immunization-reaction +Title: "Bangladesh Immunization Reaction Code System" +Description: "Codes for adverse reactions after vaccination in Bangladesh." +* ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-immunization-reaction" +* ^status = #active +* ^content = #complete + +* #NONE "No Reaction" + "No adverse reaction observed after vaccination." +* #FEVER "Fever" + "Elevated body temperature following vaccination." +* #SWELLING "Swelling" + "Local swelling at the injection site." +* #RASH "Rash" + "Generalized or localized rash after vaccination." +* #ANAPHYLAXIS "Anaphylaxis" + "Severe immediate allergic reaction following vaccination." +* #OTHER "Other Reaction" + "Any other adverse reaction not categorized above." diff --git a/input/fsh/codeSystems/bd-immunization-route.fsh b/input/fsh/codeSystems/bd-immunization-route.fsh new file mode 100644 index 0000000..7416d8e --- /dev/null +++ b/input/fsh/codeSystems/bd-immunization-route.fsh @@ -0,0 +1,18 @@ +CodeSystem: BDImmunizationRouteCodeSystem +Id: bd-immunization-route +Title: "Bangladesh Immunization Route Code System" +Description: "Codes for routes of vaccine administration in Bangladesh." +* ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-immunization-route" +* ^status = #active +* ^content = #complete + +* #IM "Intramuscular" + "Vaccine administered into a muscle." +* #SC "Subcutaneous" + "Vaccine administered under the skin." +* #ID "Intradermal" + "Vaccine administered into the dermis layer of the skin." +* #ORAL "Oral" + "Vaccine administered orally." +* #IN "Intranasal" + "Vaccine administered via the nose." diff --git a/input/fsh/codeSystems/bd-immunization-site.fsh b/input/fsh/codeSystems/bd-immunization-site.fsh new file mode 100644 index 0000000..3b2f551 --- /dev/null +++ b/input/fsh/codeSystems/bd-immunization-site.fsh @@ -0,0 +1,18 @@ +CodeSystem: BDImmunizationSiteCodeSystem +Id: bd-immunization-site +Title: "Bangladesh Immunization Site Code System" +Description: "Codes for anatomical site of vaccine administration in Bangladesh." +* ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-immunization-site" +* ^status = #active +* ^content = #complete + +* #LA "Left Arm" + "Vaccine administered in the left arm (intramuscular or subcutaneous)." +* #RA "Right Arm" + "Vaccine administered in the right arm." +* #LT "Left Thigh" + "Vaccine administered in the left thigh." +* #RT "Right Thigh" + "Vaccine administered in the right thigh." +* #ORAL "Oral" + "Vaccine administered orally (e.g., OPV, Rotavirus)." diff --git a/input/fsh/codeSystems/bd-vaccine-code.fsh b/input/fsh/codeSystems/bd-vaccine-code.fsh new file mode 100644 index 0000000..74689b2 --- /dev/null +++ b/input/fsh/codeSystems/bd-vaccine-code.fsh @@ -0,0 +1,28 @@ +CodeSystem: BDVaccineCodeSystem +Id: bd-vaccine-code +Title: "Bangladesh Vaccine Code System" +Description: "Vaccine codes used in Bangladesh EPI and immunization program." +* ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-vaccine-code" +* ^status = #active +* ^content = #complete + +* #BCG "BCG Vaccine" + "Bacillus Calmette-Guérin vaccine, used against tuberculosis." +* #OPV "Oral Polio Vaccine (OPV)" + "Live attenuated oral polio vaccine." +* #IPV "Inactivated Polio Vaccine (IPV)" + "Inactivated polio vaccine." +* #PENTA "Pentavalent Vaccine" + "DTP-HepB-Hib combined vaccine." +* #MR "Measles-Rubella (MR) Vaccine" + "Combined measles and rubella vaccine." +* #TT "Tetanus Toxoid (TT) Vaccine" + "Vaccine used for tetanus prevention." +* #PCV10 "Pneumococcal Conjugate Vaccine" + "10-valent pneumococcal conjugate vaccine." +* #ROTA "Rotavirus Vaccine" + "Live attenuated rotavirus vaccine for diarrheal disease prevention." +* #HPV "Human Papillomavirus (HPV) Vaccine" + "Vaccine used for prevention of cervical cancer and HPV-related diseases." +* #COVID19 "COVID-19 Vaccine" + "Vaccines against SARS-CoV-2 (various manufacturers)." diff --git a/input/fsh/immunization.json b/input/fsh/immunization.json new file mode 100644 index 0000000..551779b --- /dev/null +++ b/input/fsh/immunization.json @@ -0,0 +1,26 @@ +{ + "resourceType": "StructureDefinition", + "id": "bd-immunization", + "url": "https://fhir.dghs.gov.bd/core/identifier/bd-immunization", + "version": "1.0.0", + "name": "BDImmunizationProfile", + "title": "Patient Immunization Profile for Bangladesh", + "description": "Patients Immunization Bangladesh Standard", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Immunization", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Immunization", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Immunization.identifier", + "path": "Immunization.identifier", + "short": "Identifier", + "definition": "Unique identifier for the vaccination event", + "min": 1 + } + ] + } +} \ No newline at end of file diff --git a/input/fsh/profile/immunization.fsh b/input/fsh/profile/immunization.fsh new file mode 100644 index 0000000..937c123 --- /dev/null +++ b/input/fsh/profile/immunization.fsh @@ -0,0 +1,17 @@ +Profile: BDImmunizationProfile +Id: bd-immunization +Parent: Immunization +Title: "Patient Immunization Profile for Bangladesh" +Description: "Patients Immunization Bangladesh Standard" +* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-immunization" + +* identifier 1..* +* identifier ^short = "Identifier" +* identifier ^definition = "Unique identifier for the vaccination event" +* ^url = "https://fhir.dghs.gov.bd/core/identifier/bd-immunization" + +* vaccineCode 1..1 +* vaccineCode from BDVaccineValueSet (required) + + + diff --git a/input/fsh/valueSets/bd-immunization-reaction-valueset.fsh b/input/fsh/valueSets/bd-immunization-reaction-valueset.fsh new file mode 100644 index 0000000..c2b8efd --- /dev/null +++ b/input/fsh/valueSets/bd-immunization-reaction-valueset.fsh @@ -0,0 +1,7 @@ +ValueSet: BDImmunizationReactionValueSet +Id: bd-immunization-reaction-valueset +Title: "Bangladesh Immunization Reaction Value Set" +Description: "Allowed vaccine reactions for immunization in Bangladesh." +* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-immunization-reaction-valueset" +* ^status = #active +* include codes from system BDImmunizationReactionCodeSystem diff --git a/input/fsh/valueSets/bd-immunization-route-valueset.fsh b/input/fsh/valueSets/bd-immunization-route-valueset.fsh new file mode 100644 index 0000000..51feb10 --- /dev/null +++ b/input/fsh/valueSets/bd-immunization-route-valueset.fsh @@ -0,0 +1,7 @@ +ValueSet: BDImmunizationRouteValueSet +Id: bd-immunization-route-valueset +Title: "Bangladesh Immunization Route Value Set" +Description: "Allowed administration routes for vaccines in Bangladesh." +* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-immunization-route-valueset" +* ^status = #active +* include codes from system BDImmunizationRouteCodeSystem diff --git a/input/fsh/valueSets/bd-immunization-site-valueset.fsh b/input/fsh/valueSets/bd-immunization-site-valueset.fsh new file mode 100644 index 0000000..fb85f9e --- /dev/null +++ b/input/fsh/valueSets/bd-immunization-site-valueset.fsh @@ -0,0 +1,8 @@ +ValueSet: BDImmunizationSiteValueSet +Id: bd-immunization-site-valueset +Title: "Bangladesh Immunization Site Value Set" +Description: "Allowed administration sites for vaccines in Bangladesh." +* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-immunization-site-valueset" +* ^status = #active +* include codes from system BDImmunizationSiteCodeSystem + diff --git a/input/fsh/valueSets/bd-vaccine-valueset.fsh b/input/fsh/valueSets/bd-vaccine-valueset.fsh new file mode 100644 index 0000000..14f7c7d --- /dev/null +++ b/input/fsh/valueSets/bd-vaccine-valueset.fsh @@ -0,0 +1,7 @@ +ValueSet: BDVaccineValueSet +Id: bd-vaccine-valueset +Title: "Bangladesh Vaccine Value Set" +Description: "Allowed vaccines for immunization in Bangladesh." +* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-vaccine-valueset" +* ^status = #active +* include codes from system BDVaccineCodeSystem From 44d5defc634901f6554f8e37d50a4a899a8a1d22 Mon Sep 17 00:00:00 2001 From: JAHIRABBAS Date: Mon, 29 Sep 2025 13:06:45 +0600 Subject: [PATCH 2/5] Immunization profile --- input/fsh/immunization.json | 26 ++++++++ input/fsh/profile/immunization-profile.fsh | 77 ++++++++++++++++++++++ 2 files changed, 103 insertions(+) create mode 100644 input/fsh/immunization.json create mode 100644 input/fsh/profile/immunization-profile.fsh diff --git a/input/fsh/immunization.json b/input/fsh/immunization.json new file mode 100644 index 0000000..eeca3f3 --- /dev/null +++ b/input/fsh/immunization.json @@ -0,0 +1,26 @@ +{ + "resourceType": "StructureDefinition", + "id": "bd-Immunization", + "url": "http://example.org/StructureDefinition/bd-Immunization", + "version": "1.0.0", + "name": "BDImmunizationProfile", + "title": "Immunization Profile for Bangladesh", + "description": "Bangladesh Immunization Profile", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Immunization", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Immunization", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Immunization.identifier", + "path": "Immunization.identifier", + "short": "Unique identifier", + "definition": "Unique identifier for the vaccination event", + "min": 1 + } + ] + } +} \ No newline at end of file diff --git a/input/fsh/profile/immunization-profile.fsh b/input/fsh/profile/immunization-profile.fsh new file mode 100644 index 0000000..4a49076 --- /dev/null +++ b/input/fsh/profile/immunization-profile.fsh @@ -0,0 +1,77 @@ +// @Name: Profile +// @Description: Immunization Profile of the Bangladeshi Patient. +Profile: BDImmunizationProfile +Id: bd-immunization +Parent: Immunization +Title: "Immunization Profile for Bangladesh" +Description: "Bangladesh Immunization Profile" +* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-immunization" + + +* identifier 1..* +* identifier ^short = "Unique identifier" +* identifier ^definition = "Unique identifier for the vaccination event" + +* ^url = "https://fhir.dghs.gov.bd/core/identifier/bd-immunization" + +* reasonReference 0..* + + +* vaccineCode 1..1 +//* vaccineCode from BDVaccineValueSet (required) + +* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-medication" + +* manufacturer 0..1 +* manufacturer ^short = "Manufacturer" +* manufacturer ^definition = "Vaccine manufacturer" +* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-organization" + + +* lotNumber 0..1 +* lotNumber ^short = "Vaccine Lot Number" +* lotNumber ^definition = "Vaccine lot or batch number" + +* expirationDate 0..1 +* expirationDate ^short = "Expiration Date" +* expirationDate ^definition = "Expiration date of vaccine lot" + +* patient 1..1 +* patient ^definition = "The patient receiving the vaccine" +//* patient from BD Patient Profile + +* encounter 1..1 +* encounter ^definition = "Encounter during which vaccine was administered" +//* encounter from BD Encounter Profile + +* occurrence[x] 1..1 + +* location 0..1 +* location ^definition = "Location where vaccine was administered" +//* location from Location Profile +* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-location" + +* site 0..1 +* site ^definition = "Body site of administration" +//* site from BD Immunization Site + +* route 0..1 +* route ^definition = "Route of administration" +//* route from BD Immunization Route + +* doseQuantity 0..1 +* doseQuantity ^definition = "Amount of vaccine administered" +//* doseQuantity from UCUM Units +* ^url = "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" + +* reaction 0..* +* reaction ^definition = "Adverse reaction following immunization" +//* reaction from BD Immunization Reaction +* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-immunization-reaction" + + From 39262c35cfd62e8be947e9c1ee6ad6969a14f25a Mon Sep 17 00:00:00 2001 From: Fahim Hossain Date: Mon, 29 Sep 2025 13:43:00 +0600 Subject: [PATCH 3/5] BDMedication and BDMediciationRequest profiles added. BDPractitioner and BDOrganization profiles added. --- .../codeSystems/BDMedicationCodeSystem.fsh | 22 ++++++++++ input/fsh/codeSystems/BDMedicationForm.fsh | 41 +++++++++++++++++++ input/fsh/profile/BDMedication.fsh | 17 ++++++++ input/fsh/profile/BDMedicationRequest.fsh | 23 +++++++++++ input/fsh/profile/BDOrganization.fsh | 11 +++++ input/fsh/profile/BDPractitioner.fsh | 11 +++++ 6 files changed, 125 insertions(+) create mode 100644 input/fsh/codeSystems/BDMedicationCodeSystem.fsh create mode 100644 input/fsh/codeSystems/BDMedicationForm.fsh create mode 100644 input/fsh/profile/BDMedication.fsh create mode 100644 input/fsh/profile/BDMedicationRequest.fsh create mode 100644 input/fsh/profile/BDOrganization.fsh create mode 100644 input/fsh/profile/BDPractitioner.fsh diff --git a/input/fsh/codeSystems/BDMedicationCodeSystem.fsh b/input/fsh/codeSystems/BDMedicationCodeSystem.fsh new file mode 100644 index 0000000..a542bab --- /dev/null +++ b/input/fsh/codeSystems/BDMedicationCodeSystem.fsh @@ -0,0 +1,22 @@ +CodeSystem: BDMedicationCodeSystem +Id: bd-medication-cs +Title: "Bangladesh Medication Codes" +Description: "Bangladesh Medication Codes" +* ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-medication-code" +// DGDA DAR Code "Brand Name" +* #394-0010-030 "Tubutol" "Ethambutol" +* #394-0011-030 "AFDCDT-2" "Isoniazid + Rifampicin" +* #394-0012-030 "AFDCDT-3" "Isoniazid + Pyrazinamide + Rifampicin" +* #394-0017-046 "Levetiracetam 250" "Levetiracetam" +* #394-0021-028 "Donepezil Hydrochloride 5" "Donepezil Hydrochloride" +* #355-0065-023 "Cefufine" "Cefuroxime" + + +// --------------------------- +// ValueSet for BD Medication +// --------------------------- +ValueSet: BDMedicationVS +Id: bd-medication-vs +Title: "Bangladesh Medication ValueSet" +Description: "Bangladesh Medication ValueSet" +* include codes from system BDMedicationCodeSystem diff --git a/input/fsh/codeSystems/BDMedicationForm.fsh b/input/fsh/codeSystems/BDMedicationForm.fsh new file mode 100644 index 0000000..1189975 --- /dev/null +++ b/input/fsh/codeSystems/BDMedicationForm.fsh @@ -0,0 +1,41 @@ +// --------------------------- +// CodeSystem for BD Medication Dose Forms +// --------------------------- +CodeSystem: BDMedicationDoseForm +Id: bd-dose-form +Title: "Bangladesh Medication Dose Form CodeSystem" +Description: "Medication dose form codes according to CCDS guideline" +* ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-dose-form" +* ^content = #complete + +* #TAB "Tablet" + "Solid oral dosage form, usually uncoated or coated, intended for swallowing." +* #DTAB "Dispersible Tablet" + "Tablet designed to be dissolved/dispersed in water before administration." +* #CAP "Capsule" + "Solid dosage form with active ingredients enclosed in a gelatin shell." +* #SYP "Syrup" + "Liquid oral dosage form containing active substance(s) in solution." +* #SUSP "Suspension" + "Liquid oral dosage form with insoluble particles dispersed in a liquid." +* #PFS "Powder for Suspension" + "Powder that requires reconstitution into a liquid suspension before use." +* #INJ "Injection" + "Sterile solution or suspension intended for parenteral administration." +* #SOL "Solution" + "Liquid dosage form where drug is fully dissolved in a solvent." +* #CRM "Cream" + "Semi-solid topical dosage form containing the drug in an emulsion base." +* #LOT "Lotion" + "Low-viscosity liquid topical dosage form for external application." + + +// --------------------------- +// ValueSet for BD Medication Dose Forms +// --------------------------- +ValueSet: BDMedicationDoseFormVS +Id: bd-dose-form-vs +Title: "Bangladesh Medication Dose Form ValueSet" +Description: "Medication dose form value set according to CCDS guideline" +* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-dose-form-vs" +* include codes from system BDMedicationDoseForm \ No newline at end of file diff --git a/input/fsh/profile/BDMedication.fsh b/input/fsh/profile/BDMedication.fsh new file mode 100644 index 0000000..9b26198 --- /dev/null +++ b/input/fsh/profile/BDMedication.fsh @@ -0,0 +1,17 @@ +// @Name: Profile +// @Description: Example of a profile of the Medication resource. This example includes a few of the most commonly used constraints and documentation features of FHIR profiles. + +Profile: BDMedication +Id: bd-medication +Parent: Medication +Title: "Medication Profile for Bangladesh-V2" +Description: "Profile of Medication Bangladesh Standard V2" + +* form 1..1 MS +* form from BDMedicationDoseFormVS + +* code 1..1 MS +* code from BDMedicationVS + +* ingredient 1..* MS +* ingredient.strength 1..1 MS \ No newline at end of file diff --git a/input/fsh/profile/BDMedicationRequest.fsh b/input/fsh/profile/BDMedicationRequest.fsh new file mode 100644 index 0000000..1b71220 --- /dev/null +++ b/input/fsh/profile/BDMedicationRequest.fsh @@ -0,0 +1,23 @@ +// @Name: Profile +// @Description: Example of a profile of the MedicationRequest resource. This example includes a few of the most commonly used constraints and documentation features of FHIR profiles. + +Profile: BDMedicationRequest +Id: bd-medication-request +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 +* subject only Reference(BDPatientProfile) + +// TODO: BDEncounter referencing +* authoredOn 1..1 +* requester 1..1 +* reported[x] 1..1 + +* requester only Reference(BDPractitioner) +* reported[x] only Reference(BDOrganization) diff --git a/input/fsh/profile/BDOrganization.fsh b/input/fsh/profile/BDOrganization.fsh new file mode 100644 index 0000000..ae8a4cf --- /dev/null +++ b/input/fsh/profile/BDOrganization.fsh @@ -0,0 +1,11 @@ +// @Name: Profile +// @Description: Example of a profile of the Practitioner resource for Bangladesh. + +Profile: BDOrganization +Id: bd-organization +Parent: Organization +Title: "Organization for Bangladesh" +Description: "Organization for Bangladesh Standard" + + +* identifier 1..* MS \ No newline at end of file diff --git a/input/fsh/profile/BDPractitioner.fsh b/input/fsh/profile/BDPractitioner.fsh new file mode 100644 index 0000000..775b102 --- /dev/null +++ b/input/fsh/profile/BDPractitioner.fsh @@ -0,0 +1,11 @@ +// @Name: Profile +// @Description: Example of a profile of the Practitioner resource for Bangladesh. + +Profile: BDPractitioner +Id: bd-practitioner +Parent: Practitioner +Title: "Practitioner for Bangladesh" +Description: "Practitioner for Bangladesh Standard" + + +* identifier 1..* MS \ No newline at end of file From e29ca3f7a5c1012e117c23cd8e989fdacaff4e64 Mon Sep 17 00:00:00 2001 From: akbermirage Date: Mon, 29 Sep 2025 15:47:23 +0600 Subject: [PATCH 4/5] encounter-profile, valueset class and status add --- input/fsh/encounter-profile.fsh | 32 +++++++++++++++++++ .../valueSets/BDEncounterClassSubsetVS.fsh | 13 ++++++++ .../valueSets/BDEncounterStatusSubsetVS.fsh | 15 +++++++++ 3 files changed, 60 insertions(+) create mode 100644 input/fsh/encounter-profile.fsh create mode 100644 input/fsh/valueSets/BDEncounterClassSubsetVS.fsh create mode 100644 input/fsh/valueSets/BDEncounterStatusSubsetVS.fsh diff --git a/input/fsh/encounter-profile.fsh b/input/fsh/encounter-profile.fsh new file mode 100644 index 0000000..56fba35 --- /dev/null +++ b/input/fsh/encounter-profile.fsh @@ -0,0 +1,32 @@ + +Profile: BDEncounterProfile +Id: bd-encounter +Parent: Encounter +Title: "Encounter Profile for Bangladesh" +Description: "Profile of Encounter Bangladesh Standard" + +* identifier 1..* + +* status 1..1 MS +* status from BDEncounterStatusSubsetVS + +* class 1..1 MS +* class from BDEncounterClassSubsetVS + +* subject 1..1 MS +//* subject from https://fhir.dghs.gov.bd/core/StructureDefinition/bd-patient + +* basedOn 0..1 MS + +* partOf 0..1 MS + +* serviceProvider 1..1 MS + +* participant 1..* MS +* participant.period 1..1 MS + +* diagnosis 0..* MS + +//* admission 0..* MS +//* admission.dischargeDisposition 0..1 MS +* encounter.admission.dischargeDisposition 0..1 diff --git a/input/fsh/valueSets/BDEncounterClassSubsetVS.fsh b/input/fsh/valueSets/BDEncounterClassSubsetVS.fsh new file mode 100644 index 0000000..6a1b143 --- /dev/null +++ b/input/fsh/valueSets/BDEncounterClassSubsetVS.fsh @@ -0,0 +1,13 @@ +// ---------- ValueSet ---------- +ValueSet: BDEncounterClassSubsetVS +Id: bd-encounter-class-subset-vs +Title: "BD Encounter Class Subset" +Description: "Subset of EncounterClass limited to inpatient, ambulatory, and emergency." +* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-encounter-class-subset" +* ^status = #active +* ^experimental = false + +// Explicitly include the three concepts from the core EncounterClass system +* include http://terminology.hl7.org/CodeSystem/v3-ActCode#IMP "Inpatient" +* include http://terminology.hl7.org/CodeSystem/v3-ActCode#AMB "Ambulatory" +* include http://terminology.hl7.org/CodeSystem/v3-ActCode#EMER "Emergency" diff --git a/input/fsh/valueSets/BDEncounterStatusSubsetVS.fsh b/input/fsh/valueSets/BDEncounterStatusSubsetVS.fsh new file mode 100644 index 0000000..268f1d9 --- /dev/null +++ b/input/fsh/valueSets/BDEncounterStatusSubsetVS.fsh @@ -0,0 +1,15 @@ +// ---------- ValueSet ---------- +ValueSet: BDEncounterStatusSubsetVS +Id: bd-encounter-status-subset-vs +Title: "BD Encounter Status Subset" +Description: "Subset of EncounterStatus limited to planned, in-progress, finished, and cancelled." +* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-encounter-status-subset" +* ^status = #active +* ^experimental = false + +// Explicitly include the four concepts from the core code system +* include http://hl7.org/fhir/encounter-status#planned "Planned" +* include http://hl7.org/fhir/encounter-status#in-progress "In Progress" +* include http://hl7.org/fhir/encounter-status#finished "Finished" +* include http://hl7.org/fhir/encounter-status#cancelled "Cancelled" + From 9dff0a48ae4b09fb0c6aab1e4df0a36142cabece Mon Sep 17 00:00:00 2001 From: JAHIRABBAS Date: Mon, 29 Sep 2025 16:13:52 +0600 Subject: [PATCH 5/5] Add encounter and location --- input/fsh/encounter-profile.fsh | 2 +- input/fsh/profile/immunization-profile.fsh | 14 +++++++------- input/fsh/profile/location.fsh | 0 3 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 input/fsh/profile/location.fsh diff --git a/input/fsh/encounter-profile.fsh b/input/fsh/encounter-profile.fsh index 56fba35..2b4b470 100644 --- a/input/fsh/encounter-profile.fsh +++ b/input/fsh/encounter-profile.fsh @@ -29,4 +29,4 @@ Description: "Profile of Encounter Bangladesh Standard" //* admission 0..* MS //* admission.dischargeDisposition 0..1 MS -* encounter.admission.dischargeDisposition 0..1 +//* encounter.admission.dischargeDisposition 0..1 diff --git a/input/fsh/profile/immunization-profile.fsh b/input/fsh/profile/immunization-profile.fsh index f08e60f..ad3c360 100644 --- a/input/fsh/profile/immunization-profile.fsh +++ b/input/fsh/profile/immunization-profile.fsh @@ -36,19 +36,19 @@ Description: "Bangladesh Immunization Profile" * expirationDate ^short = "Expiration Date" * expirationDate ^definition = "Expiration date of vaccine lot" -// * patient 1..1 -// * patient ^definition = "The patient receiving the vaccine" -// * patient from BDPatientProfile +* patient 1..1 +* patient ^definition = "The patient receiving the vaccine" +* patient only Reference(BDPatientProfile) * encounter 1..1 * encounter ^definition = "Encounter during which vaccine was administered" -//* encounter from BD Encounter Profile +* encounter only Reference(BDEncounterProfile) * occurrence[x] 1..1 -// * location 0..1 -// * location ^definition = "Location where vaccine was administered" -// * location only BDAddress +* location 0..1 +* location ^definition = "Location where vaccine was administered" +* location only Reference(Location) * site 0..1 * site ^definition = "Body site of administration" diff --git a/input/fsh/profile/location.fsh b/input/fsh/profile/location.fsh new file mode 100644 index 0000000..e69de29