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" +