From f6ea094d5e2cb6e0344c7c109ef63530ebb4c2f9 Mon Sep 17 00:00:00 2001 From: Rukshan Date: Tue, 30 Sep 2025 14:11:11 +0600 Subject: [PATCH] refactor: :recycle: standerdize file names --- input/fsh/profile/BDEncounter.fsh | 32 ++++++++++++ input/fsh/profile/BDImmunization.fsh | 74 ++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 input/fsh/profile/BDEncounter.fsh create mode 100644 input/fsh/profile/BDImmunization.fsh diff --git a/input/fsh/profile/BDEncounter.fsh b/input/fsh/profile/BDEncounter.fsh new file mode 100644 index 0000000..2b4b470 --- /dev/null +++ b/input/fsh/profile/BDEncounter.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/profile/BDImmunization.fsh b/input/fsh/profile/BDImmunization.fsh new file mode 100644 index 0000000..b1cbfec --- /dev/null +++ b/input/fsh/profile/BDImmunization.fsh @@ -0,0 +1,74 @@ + + +// @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..* +* reasonReference only Reference(Condition or Observation or DiagnosticReport) + +* vaccineCode 1..1 +* vaccineCode from BDVaccineVS (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 only Reference(BDPatientProfile) + +* encounter 1..1 +* encounter ^definition = "Encounter during which vaccine was administered" +* encounter only Reference(BDEncounterProfile) + +* occurrence[x] 1..1 + +* location 0..1 +* location ^definition = "Location where vaccine was administered" +* location only Reference(BDLocation) + +* site 0..1 +* site ^definition = "Body site of administration" +* site from BDImmunizationSiteVS + +* route 0..1 +* route ^definition = "Route of administration" +* route from BDImmunizationRouteVS + +* doseQuantity 0..1 +* doseQuantity ^definition = "Amount of vaccine administered" +* doseQuantity.system = "http://unitsofmeasure.org" + +* performer 0..* +* performer ^definition = "Individual who performed the immunization" +* performer.actor only Reference(BDPractitioner) + +* reaction 0..* +* reaction ^definition = "Adverse reaction following immunization" +//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