This commit is contained in:
2025-10-01 10:07:21 +06:00
81 changed files with 119 additions and 15045 deletions

View File

@@ -0,0 +1,8 @@
Profile: BDConditionProfile
Parent: Condition
Id: bd-condition
Title: "ICD 11"
Description: "Condition coded with ICD-11"
* code 1..1 MS
* code from http://id.who.int/icd/release/11/mms (preferred)

View File

@@ -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."

View File

@@ -1,7 +1,7 @@
CodeSystem: BDCountryListCS
Id: bd-country-list-cs
Title: "Nationality List"
* ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-country-list"
* ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-country-list"
* #4 "Afghan"
* #8 "Albanian"
@@ -197,5 +197,5 @@ ValueSet: BDCountryListVS
Id: bd-country-list-vs
Title: "Nationality ValueSet"
Description: "Nationality value set"
* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-country-list"
* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-country-list"
* include codes from system https://fhir.dghs.gov.bd/core/CodeSystem/bd-country-list

View File

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

View File

@@ -7,7 +7,7 @@ Title: "Bangladesh Identifier Types"
* #NID "National ID"
* #BRN "Birth Registration Number"
* #UID "Unique ID"
* #UHID "Unique Health ID"
ValueSet: BangladeshIdentifierTypeVS

View File

@@ -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."

View File

@@ -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."

View File

@@ -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."

View File

@@ -1,10 +1,10 @@
Extension: Language
Description: "Language"
Id: 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
* extension[language].valueCode from BDLanguageVS

View File

@@ -1,4 +1,13 @@
Extension: Nationality
Extension: Nationality
Id: nationality
Title: "patient Nationality"
Description: "Nationality"
Title: "Patient Nationality"
Description: "Nationality of the patient based on Bangladesh country list."
* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/nationality"
// Define where this extension can be used
* ^context[0].type = #element
* ^context[0].expression = "Patient"
// Only one value, bound to your ValueSet
* value[x] only CodeableConcept
* valueCodeableConcept from https://fhir.dghs.gov.bd/core/ValueSet/bd-country-list (required)

View File

@@ -28,6 +28,8 @@ Description: "Profile of Encounter Bangladesh Standard"
* participant.period 1..1 MS
* diagnosis 0..* MS
* diagnosis.condition only Reference(BDConditionProfile)
//* admission 0..* MS
//* admission.dischargeDisposition 0..1 MS

View File

@@ -19,7 +19,7 @@ Description: "Bangladesh Immunization Profile"
* reasonReference only Reference(Condition or Observation or DiagnosticReport)
* vaccineCode 1..1
* vaccineCode from BDVaccineValueSet (required)
* vaccineCode from BDVaccineVS (required)
//* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-medication"
@@ -52,11 +52,11 @@ Description: "Bangladesh Immunization Profile"
* site 0..1
* site ^definition = "Body site of administration"
* site from BDImmunizationSiteValueSet
* site from BDImmunizationSiteVS
* route 0..1
* route ^definition = "Route of administration"
* route from BDImmunizationRouteValueSet
* route from BDImmunizationRouteVS
* doseQuantity 0..1
* doseQuantity ^definition = "Amount of vaccine administered"

View File

@@ -12,7 +12,9 @@ Description: "Profile of MedicationRequest Bangladesh Standard V2"
* medication[x] only Reference(BDMedication) or CodeableConcept
* subject only Reference(BDPatientProfile)
// TODO: BDEncounter referencing
* encounter 0..1 MS
* encounter only Reference(BDEncounterProfile)
* encounter ^definition = "The encounter during which this prescription was created."
* authoredOn 1..1
* requester 1..1

View File

@@ -7,5 +7,4 @@ Parent: Organization
Title: "Organization for Bangladesh"
Description: "Organization for Bangladesh Standard"
* identifier 1..* MS

View File

@@ -1,42 +1,39 @@
Alias: $translation = http://hl7.org/fhir/StructureDefinition/translation
// @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: BDPatientProfile
Id: bd-patient
Parent: Patient
Title: "Patient Profile for Bangladesh-V2"
Description: "Profile of Patient Bangladesh Standard V2"
Title: "Patient Profile for Bangladesh"
Description: """
Patient profile for Bangladesh.
- Identifiers: NID, BRN, UHID
- Name must be provided in both Bangla and English.
- SHALL have at least one RelatedPerson with relationship = father or mother, and that RelatedPerson SHALL include both a name and an identifier.
"""
// ----- Begin rules:
// Require exactly one HumanName
* name 1..1 MS
* name.use 1..1
* name.use = #official (exactly)
// Require two names total
* name 2..*
// Require a text element
* name.text 1..1 MS
// Declare slicing on name by use
* name ^slicing.discriminator.type = #value
* name ^slicing.discriminator.path = "use"
* name ^slicing.rules = #open
* name ^slicing.ordered = false
* name ^slicing.description = "Slice name by use (official for English, usual for Bangla)"
// Require translation extensions on text
* name.text.extension 2..* MS
* name.text.extension contains
$translation named nameEn 1..1 MS and
$translation named nameBn 1..1 MS
// Define slices
* name contains
nameEnglish 1..1 MS and
nameBangla 1..1 MS
// English (official)
* name[nameEnglish].use = #official
* name[nameEnglish].given 0..*
* name[nameEnglish].family 0..1
* name[nameEnglish] ^short = "Legal name (English/Romanized)"
* name[nameEnglish] ^definition = "Official name as registered in government documents."
// Bangla (usual)
* name[nameBangla].use = #usual
* name[nameBangla].given 0..*
* name[nameBangla].family 0..1
* name[nameBangla] ^short = "নাম (বাংলা)"
* name[nameBangla] ^definition = "Patient's name written in Bengali script."
// Constraints on English name
* name.text.extension[nameEn].extension[lang].valueCode = #en (exactly)
* name.text.extension[nameEn].extension[content] 1..1 MS
// Constraints on Bangla name
* name.text.extension[nameBn].extension[lang].valueCode = #bn (exactly)
* name.text.extension[nameBn].extension[content] 1..1 MS
//////////////////////
@@ -49,7 +46,7 @@ Description: "Profile of Patient Bangladesh Standard V2"
* identifier contains
NID 0..1 and
BRN 0..1 and
UID 0..1
UHID 0..1
* identifier[NID].system = "http://dghs.gov.bd/identifier/nid"
* identifier[NID].type.coding.code = #NID
@@ -61,7 +58,7 @@ Description: "Profile of Patient Bangladesh Standard V2"
// Then in your profile:
// * identifier.type from BangladeshIdentifierTypeVS (extensible)
* identifier[BRN].system = "http://dghs.gov.bd/identifier/brn"
* identifier[BRN].type.coding.code = #BRN
* identifier[BRN].type.coding.system = "https://fhir.dghs.gov.bd/core/ValueSet/bd-identifier-type"
@@ -70,12 +67,11 @@ Description: "Profile of Patient Bangladesh Standard V2"
// * identifier[BRN].value = "Personal identifier Birth Registration"
* identifier[UID].system = "http://dghs.gov.bd/identifier/uid"
* identifier[UID].type.coding.code = #UID
* identifier[UID].type.coding.system = "https://fhir.dghs.gov.bd/core/ValueSet/bd-identifier-type"
* identifier[UID].type from BangladeshIdentifierTypeVS (extensible)
* identifier[UID].type.text = "Organization identifier"
// * identifier[UID].value = "Personal identifier"
* identifier[UHID].system = "http://dghs.gov.bd/identifier/uhid"
* identifier[UHID].type.coding.code = #UHID
* identifier[UHID].type.coding.system = "https://fhir.dghs.gov.bd/core/ValueSet/bd-identifier-type"
* identifier[UHID].type from BangladeshIdentifierTypeVS (extensible)
* identifier[UHID].type.text = "Organization identifier"
// Mark elements as MustSupport
@@ -104,18 +100,3 @@ Description: "Profile of Patient Bangladesh Standard V2"
* address 1..* MS
* address only BDAddress
* name only BDHumanName
Profile: BDHumanName
Id: bd-human-name
Parent: HumanName
Title: "BD Human Name"
Description: "Profile to represent human names in Bangladesh"
* extension contains http://hl7.org/fhir/StructureDefinition/language named language
0..1
* extension[language].valueCode from http://hl7.org/fhir/ValueSet/languages (preferred)
* extension contains Occupation named occupation 0..1
* extension contains nationality named nationality 1..1

View File

@@ -7,5 +7,4 @@ Parent: Practitioner
Title: "Practitioner for Bangladesh"
Description: "Practitioner for Bangladesh Standard"
* identifier 1..* MS

View File

@@ -1,7 +1,7 @@
ValueSet: BDImmunizationReactionValueSet
Id: bd-immunization-reaction-valueset
Id: bd-immunization-reaction-vs
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

View File

@@ -1,7 +1,7 @@
ValueSet: BDImmunizationRouteValueSet
Id: bd-immunization-route-valueset
ValueSet: BDImmunizationRouteVS
Id: bd-immunization-route-vs
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

View File

@@ -1,8 +1,8 @@
ValueSet: BDImmunizationSiteValueSet
Id: bd-immunization-site-valueset
ValueSet: BDImmunizationSiteVS
Id: bd-immunization-site-vs
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

View File

@@ -1,5 +1,5 @@
ValueSet: LanguageValueSet
Id: language-valueset
ValueSet: BDLanguageVS
Id: bd-language-vs
Title: "Allowed Languages"
Description: "Only English and Bengali are allowed"
* http://hl7.org/fhir/ValueSet/languages#en "English"

View File

@@ -1,7 +1,7 @@
ValueSet: BDVaccineValueSet
Id: bd-vaccine-valueset
ValueSet: BDVaccineVS
Id: bd-vaccine-vs
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