Refactor Bangladesh Address Code Systems and Profiles

- Deleted the bdAddressCS code system file as it was no longer needed.
- Updated the division extension to accept string values instead of CodeableConcept.
- Created a new extension for Upazillas to standardize their representation in addresses.
- Modified the patient profile to include address constraints specific to Bangladesh, including the new Upazilla extension and district value set.
- Renamed the bdAddress profile to BDAddress for consistency and clarity.
This commit is contained in:
2025-09-27 16:25:48 +06:00
parent 592c657c16
commit 842e191b54
7 changed files with 1678 additions and 132 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,58 +0,0 @@
CodeSystem: BDAddressCS
Id: bd-address-cs
Title: "Bangladesh Address Codes"
Description: "Bangladesh Address Codes"
* ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-divisions"
* #30 "Dhaka"
* #20 "Chattogram"
* #50 "Rajshahi"
* #55 "Rangpur"
* #40 "Khulna"
* #10 "Barishal"
* #60 "Sylhet"
* #45 "Mymensingh"
* #3026 "Dhaka"
ValueSet: BDDivisionsVS
Id: bd-division-code-vs
Title: "Bangladesh Division ValueSet"
Description: "Bangladesh Division Codes (only two-digit codes)"
* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-divisions"
// include only codes that are exactly 2 digits
* include codes from system https://fhir.dghs.gov.bd/core/CodeSystem/bd-divisions
where code regex "^[0-9]{2}$"
ValueSet: BDDistrictVS
Id: bd-district-code-vs
Title: "Bangladesh district ValueSet"
Description: "Bangladesh district Codes (only two-digit codes)"
* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-districts"
// include only codes that are exactly 2 digits
* include codes from system https://fhir.dghs.gov.bd/core/CodeSystem/bd-districts
where code regex "^[0-9]{4}$"
ValueSet: BDCityCorporationVS
Id: bd-city-corporations-code-vs
Title: "Bangladesh district ValueSet"
Description: "Bangladesh district Codes (only two-digit codes)"
* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-city-corporations"
// include only codes that are exactly 2 digits
* include codes from system https://fhir.dghs.gov.bd/core/CodeSystem/bd-city-corporations
where code regex "^[0-9]{6}$"
ValueSet: BDUpazillaVS
Id: bd-upazilla-code-vs
Title: "Bangladesh district ValueSet"
Description: "Bangladesh district Codes (only two-digit codes)"
* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-upazilla"
// include only codes that are exactly 2 digits
* include codes from system https://fhir.dghs.gov.bd/core/CodeSystem/bd-upazilla
where code regex "^[0-9]{8}$"