Files
BD-Core-FHIR-IG/input/fsh/examples/BDPatientExample.fsh
Dr. B. M. Riazul Islam 00e2f5e794
All checks were successful
FHIR IG CI/CD Pipeline with Version Persistence / build-ig (push) Successful in 7m2s
FHIR IG CI/CD Pipeline with Version Persistence / deploy (push) Successful in 11s
Minor bug fix
2026-04-10 23:49:35 +06:00

37 lines
1.4 KiB
GLSL

Instance: BDPatientExample
InstanceOf: BDPatient
Usage: #example
Title: "Example of a Bangladesh Patient"
Description: "A minimal example for a patient satisfying name translations and address requirements."
// Required Name with English and Bangla Translations using separate extensions
* name[0].use = #official
* name[0].text = "Abul Kashem"
* name[0].text.extension[nameEn].valueString = "Abul Kashem"
* name[0].text.extension[nameBn].valueString = " "
// Required Gender and BirthDate
* gender = #male
* birthDate = "1985-05-20"
// Identifier Slice: NID Example
* identifier[NID].type.coding.system = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-identifier-type"
* identifier[NID].type.coding.code = #NID
* identifier[NID].type.text = "Organization identifier"
* identifier[NID].value = "1234567890"
// Address with required extensions
* address[0].use = #home
* address[0].line = "House 12, Road 5"
* address[0].city = "Dhamrai"
* address[0].district = "3026"
* address[0].country = "BD"
// Division extension
* address[0].extension[division].valueCodeableConcept = https://fhir.dghs.gov.bd/core/CodeSystem/bd-geocodes#30 "Dhaka"
// Upazilla extension
* address[0].extension[upazilla].valueCodeableConcept = https://fhir.dghs.gov.bd/core/CodeSystem/bd-geocodes#10040028 "Barguna Sadar"
// Optional Religion Extension
* extension[religion].valueCodeableConcept = https://fhir.dghs.gov.bd/core/CodeSystem/bd-religions#1 "Islam"