From 59b22811a2ca99d87e8b3eae726a1eb993705abd Mon Sep 17 00:00:00 2001 From: Rukshan Date: Tue, 30 Sep 2025 12:16:53 +0600 Subject: [PATCH] refactor: :recycle: standerdize filenames and profile names --- ...ction.fsh => BBImmunizationReactionCS.fsh} | 2 +- ...d-country-list.fsh => BDCountryListCS.fsh} | 0 input/fsh/codeSystems/BDGeoCodesCS.fsh | 4 +- ...tion-site.fsh => BDImmunizationSiteCS.fsh} | 2 +- ...bd-occupations.fsh => BDOccupationsCS.fsh} | 0 .../{bd-religions.fsh => BDReligionsCS.fsh} | 0 ...-vaccine-code.fsh => BDVaccineCodesCS.fsh} | 2 +- ...zation-route.fsh => ImmunizationRoute.fsh} | 2 +- input/fsh/profile/BDOrganization.fsh | 1 - input/fsh/profile/BDPractitioner.fsh | 1 - .../bd-immunization-reaction-valueset.fsh | 2 +- .../bd-immunization-route-valueset.fsh | 2 +- .../bd-immunization-site-valueset.fsh | 2 +- input/fsh/valueSets/bd-vaccine-valueset.fsh | 2 +- input/history/bdpatient.fsh | 115 ------------------ 15 files changed, 10 insertions(+), 127 deletions(-) rename input/fsh/codeSystems/{bd-immunization-reaction.fsh => BBImmunizationReactionCS.fsh} (94%) rename input/fsh/codeSystems/{bd-country-list.fsh => BDCountryListCS.fsh} (100%) rename input/fsh/codeSystems/{bd-immunization-site.fsh => BDImmunizationSiteCS.fsh} (93%) rename input/fsh/codeSystems/{bd-occupations.fsh => BDOccupationsCS.fsh} (100%) rename input/fsh/codeSystems/{bd-religions.fsh => BDReligionsCS.fsh} (100%) rename input/fsh/codeSystems/{bd-vaccine-code.fsh => BDVaccineCodesCS.fsh} (97%) rename input/fsh/codeSystems/{bd-immunization-route.fsh => ImmunizationRoute.fsh} (93%) delete mode 100644 input/history/bdpatient.fsh diff --git a/input/fsh/codeSystems/bd-immunization-reaction.fsh b/input/fsh/codeSystems/BBImmunizationReactionCS.fsh similarity index 94% rename from input/fsh/codeSystems/bd-immunization-reaction.fsh rename to input/fsh/codeSystems/BBImmunizationReactionCS.fsh index 8d787f4..da44f74 100644 --- a/input/fsh/codeSystems/bd-immunization-reaction.fsh +++ b/input/fsh/codeSystems/BBImmunizationReactionCS.fsh @@ -1,4 +1,4 @@ -CodeSystem: BDImmunizationReactionCodeSystem +CodeSystem: BDImmunizationReactionCS Id: bd-immunization-reaction Title: "Bangladesh Immunization Reaction Code System" Description: "Codes for adverse reactions after vaccination in Bangladesh." diff --git a/input/fsh/codeSystems/bd-country-list.fsh b/input/fsh/codeSystems/BDCountryListCS.fsh similarity index 100% rename from input/fsh/codeSystems/bd-country-list.fsh rename to input/fsh/codeSystems/BDCountryListCS.fsh diff --git a/input/fsh/codeSystems/BDGeoCodesCS.fsh b/input/fsh/codeSystems/BDGeoCodesCS.fsh index 72e3eeb..28c915f 100644 --- a/input/fsh/codeSystems/BDGeoCodesCS.fsh +++ b/input/fsh/codeSystems/BDGeoCodesCS.fsh @@ -1,7 +1,7 @@ CodeSystem: BDGeoCodesCS Id: bd-geocodes-cs -Title: "Bangladesh Address Codes" -Description: "Bangladesh Address Codes" +Title: "Bangladesh GeoCodes CodeSystem" +Description: "Bangladesh GeoCodes" * ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-geocodes" // DIvisions * #30 "Dhaka" diff --git a/input/fsh/codeSystems/bd-immunization-site.fsh b/input/fsh/codeSystems/BDImmunizationSiteCS.fsh similarity index 93% rename from input/fsh/codeSystems/bd-immunization-site.fsh rename to input/fsh/codeSystems/BDImmunizationSiteCS.fsh index 3b2f551..695bce4 100644 --- a/input/fsh/codeSystems/bd-immunization-site.fsh +++ b/input/fsh/codeSystems/BDImmunizationSiteCS.fsh @@ -1,4 +1,4 @@ -CodeSystem: BDImmunizationSiteCodeSystem +CodeSystem: BDImmunizationSiteCS Id: bd-immunization-site Title: "Bangladesh Immunization Site Code System" Description: "Codes for anatomical site of vaccine administration in Bangladesh." diff --git a/input/fsh/codeSystems/bd-occupations.fsh b/input/fsh/codeSystems/BDOccupationsCS.fsh similarity index 100% rename from input/fsh/codeSystems/bd-occupations.fsh rename to input/fsh/codeSystems/BDOccupationsCS.fsh diff --git a/input/fsh/codeSystems/bd-religions.fsh b/input/fsh/codeSystems/BDReligionsCS.fsh similarity index 100% rename from input/fsh/codeSystems/bd-religions.fsh rename to input/fsh/codeSystems/BDReligionsCS.fsh diff --git a/input/fsh/codeSystems/bd-vaccine-code.fsh b/input/fsh/codeSystems/BDVaccineCodesCS.fsh similarity index 97% rename from input/fsh/codeSystems/bd-vaccine-code.fsh rename to input/fsh/codeSystems/BDVaccineCodesCS.fsh index 74689b2..5bc67aa 100644 --- a/input/fsh/codeSystems/bd-vaccine-code.fsh +++ b/input/fsh/codeSystems/BDVaccineCodesCS.fsh @@ -1,4 +1,4 @@ -CodeSystem: BDVaccineCodeSystem +CodeSystem: BDVaccineCS Id: bd-vaccine-code Title: "Bangladesh Vaccine Code System" Description: "Vaccine codes used in Bangladesh EPI and immunization program." diff --git a/input/fsh/codeSystems/bd-immunization-route.fsh b/input/fsh/codeSystems/ImmunizationRoute.fsh similarity index 93% rename from input/fsh/codeSystems/bd-immunization-route.fsh rename to input/fsh/codeSystems/ImmunizationRoute.fsh index 7416d8e..a43b110 100644 --- a/input/fsh/codeSystems/bd-immunization-route.fsh +++ b/input/fsh/codeSystems/ImmunizationRoute.fsh @@ -1,4 +1,4 @@ -CodeSystem: BDImmunizationRouteCodeSystem +CodeSystem: BDImmunizationRouteCS Id: bd-immunization-route Title: "Bangladesh Immunization Route Code System" Description: "Codes for routes of vaccine administration in Bangladesh." diff --git a/input/fsh/profile/BDOrganization.fsh b/input/fsh/profile/BDOrganization.fsh index ae8a4cf..b845637 100644 --- a/input/fsh/profile/BDOrganization.fsh +++ b/input/fsh/profile/BDOrganization.fsh @@ -7,5 +7,4 @@ 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 index 775b102..0825c7e 100644 --- a/input/fsh/profile/BDPractitioner.fsh +++ b/input/fsh/profile/BDPractitioner.fsh @@ -7,5 +7,4 @@ Parent: Practitioner Title: "Practitioner for Bangladesh" Description: "Practitioner for Bangladesh Standard" - * identifier 1..* MS \ No newline at end of file diff --git a/input/fsh/valueSets/bd-immunization-reaction-valueset.fsh b/input/fsh/valueSets/bd-immunization-reaction-valueset.fsh index c2b8efd..8c1ce54 100644 --- a/input/fsh/valueSets/bd-immunization-reaction-valueset.fsh +++ b/input/fsh/valueSets/bd-immunization-reaction-valueset.fsh @@ -4,4 +4,4 @@ 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 +* include codes from system BDImmunizationReactionCS diff --git a/input/fsh/valueSets/bd-immunization-route-valueset.fsh b/input/fsh/valueSets/bd-immunization-route-valueset.fsh index 51feb10..08e0e3b 100644 --- a/input/fsh/valueSets/bd-immunization-route-valueset.fsh +++ b/input/fsh/valueSets/bd-immunization-route-valueset.fsh @@ -4,4 +4,4 @@ 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 +* include codes from system BDImmunizationRouteCS diff --git a/input/fsh/valueSets/bd-immunization-site-valueset.fsh b/input/fsh/valueSets/bd-immunization-site-valueset.fsh index fb85f9e..ac98f10 100644 --- a/input/fsh/valueSets/bd-immunization-site-valueset.fsh +++ b/input/fsh/valueSets/bd-immunization-site-valueset.fsh @@ -4,5 +4,5 @@ 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 +* include codes from system BDImmunizationSiteCS diff --git a/input/fsh/valueSets/bd-vaccine-valueset.fsh b/input/fsh/valueSets/bd-vaccine-valueset.fsh index 14f7c7d..883685d 100644 --- a/input/fsh/valueSets/bd-vaccine-valueset.fsh +++ b/input/fsh/valueSets/bd-vaccine-valueset.fsh @@ -4,4 +4,4 @@ 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 +* include codes from system BDVaccineCS diff --git a/input/history/bdpatient.fsh b/input/history/bdpatient.fsh deleted file mode 100644 index 822864f..0000000 --- a/input/history/bdpatient.fsh +++ /dev/null @@ -1,115 +0,0 @@ - -Profile: BDPatientProfile - -Id: bd-patient -Parent: Patient -Title: "Bangladesh Patient Profile" -Description: "All patient information of BD" - -// ^ url = https://fhir.dghs.gov.bd/core/StructureDefinition/bd-patient - -* identifier 1..* - -* identifier ^slicing.discriminator.type = #value -* identifier ^slicing.discriminator.path = "system" -* identifier ^slicing.rules = #open -* identifier ^slicing.description = "Identifier" -* identifier ^slicing.ordered = false - -// nid, brn, uhid, passport, dl, tin -// * identifier contains nid 0..1 and brn 0..1 and uhid 0..1 and passport 0..1 and dl 0..1 and tin 0..1 - -// * name 2..2 - -// * name ^slicing.discriminator.type = #value -// * name ^slicing.discriminator.path = "" -// * name ^slicing.rules = #open -// * name ^slicing.description = "Patient names (Bangla and English required) " -// * name ^slicing.ordered = false - -// * name contains -// bangla 1..1 and -// english 1..1 - -// * name[bangla].text = "Full name in Bangla" -// //* name[bangla].language = "BN" - -// * name[english].text 1..1 - -* name 1..1 -* name.text 1..1 - -* birthDate 1..1 -//* birthplace 1..1 - -* gender 1..1 -* gender from http://hl7.org/fhir/ValueSet/administrative-gender - -* telecom 0..* MS -* telecom.system 1..1 -* telecom.system from http://hl7.org/fhir/ValueSet/contact-point-system (required) -* telecom.value 1..1 -* telecom.use 0..1 -* telecom.use from http://hl7.org/fhir/ValueSet/contact-point-use (required) - -* extension contains http://hl7.org/fhir/StructureDefinition/patient-nationality named PatientNationality 1..1 - - -* link 2..* -* link ^slicing.discriminator.type = #value -* link ^slicing.discriminator.path = "system" -* link ^slicing.rules = #open -* link ^slicing.description = "" -* link ^slicing.ordered = false - -* link contains - father 1..1 and - mother 1..1 - -// * link[father].other.reference 1..1 - - -// * link[father].other.identifier 0..1 -// definition of identifier - -// TODO -// * link[father].other.identifier from BdIdentifierTypeVS (required) - -// * link[father].other.relationship 1..1 -// definition of relationship - -// * link[mother].other only Reference(RelatedPerson) -// * link[mother].other.reference 1..1 - -// * link[mother].other.identifier 0..1 -// TODO -// * link[mother].other.identifier from BdIdentifierTypeVS (required) - -Profile: RelatedPersonMother -Id: relatedperson-mother -Parent: RelatedPerson -Title: "RelatedPerson Mother Profile" -Description: "Profile for RelatedPerson representing the mother" -* relationship.coding.code = #MTH -* identifier 1..1 - -// TODO -// * identifier includes codes from system BdIdentifierTypeVs# (required) -// * identifier from BdIdentifierTypeVs# (required) - - -Profile: RelatedPersonFather -Id: relatedperson-father -Parent: RelatedPerson -Title: "RelatedPerson Father Profile" -Description: "Profile for RelatedPerson representing the father" -* relationship.coding.code = #FTH -* identifier 1..1 - -// TODO -// * includes codes from system BdIdentifierTypeVs# (required) - - -//Address -* address 1..* MS -* address only BDAddress \ No newline at end of file