Compare commits
2 Commits
dd67d5f3cf
...
7e2b6d6181
| Author | SHA1 | Date | |
|---|---|---|---|
| 7e2b6d6181 | |||
| 2befdc36d1 |
58
input/fsh/codeSystems/bdAddressCS.fsh
Normal file
58
input/fsh/codeSystems/bdAddressCS.fsh
Normal file
@ -0,0 +1,58 @@
|
||||
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}$"
|
||||
10
input/fsh/extensions/division.fsh
Normal file
10
input/fsh/extensions/division.fsh
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
Extension: Division
|
||||
Id: bd-divisions
|
||||
Title: "Division"
|
||||
Description: "BD Division"
|
||||
Context: Address
|
||||
|
||||
|
||||
* value[x] only CodeableConcept
|
||||
* valueCodeableConcept from BDDivisionsVS
|
||||
10
input/fsh/extensions/language.fsh
Normal file
10
input/fsh/extensions/language.fsh
Normal file
@ -0,0 +1,10 @@
|
||||
Extension: Language
|
||||
Description: "Language"
|
||||
Id: language
|
||||
Title: "Language Extension"
|
||||
Context: Patient
|
||||
|
||||
|
||||
// Religion using standard HL7 extension
|
||||
* extension contains http://hl7.org/fhir/StructureDefinition/language named language 1..1
|
||||
* extension[language].valueCode from LanguageValueSet
|
||||
12
input/fsh/profile/bdAddress.fsh
Normal file
12
input/fsh/profile/bdAddress.fsh
Normal file
@ -0,0 +1,12 @@
|
||||
// @Name: Profile
|
||||
// @Description: Example of a profile of the Patient resource. This example includes a few of the most commonly used constraints and documentation features of FHIR profiles.
|
||||
|
||||
Profile: bdAddress
|
||||
Id: bd-address
|
||||
Parent: Address
|
||||
Title: "Address for Bangladesh"
|
||||
Description: "Address for Bangladesh Standard"
|
||||
|
||||
|
||||
* country 1..1 MS
|
||||
* extension contains Division named division 1..1 MS
|
||||
6
input/fsh/valueSets/languageVS.fsh
Normal file
6
input/fsh/valueSets/languageVS.fsh
Normal file
@ -0,0 +1,6 @@
|
||||
ValueSet: LanguageValueSet
|
||||
Id: language-valueset
|
||||
Title: "Allowed Languages"
|
||||
Description: "Only English and Bengali are allowed"
|
||||
* http://hl7.org/fhir/ValueSet/languages#en "English"
|
||||
* http://hl7.org/fhir/ValueSet/languages#bn "Bengali"
|
||||
Loading…
Reference in New Issue
Block a user