Prepare for v0.4.6
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
</extension>-->
|
</extension>-->
|
||||||
<url value="https://fhir.dghs.gov.bd/core/ImplementationGuide/bd.fhir.core"/>
|
<url value="https://fhir.dghs.gov.bd/core/ImplementationGuide/bd.fhir.core"/>
|
||||||
<!-- This version will propagate to all artifacts unless the "propagate-version" extension is overridden -->
|
<!-- This version will propagate to all artifacts unless the "propagate-version" extension is overridden -->
|
||||||
<version value="0.4.5"/>
|
<version value="0.4.6"/>
|
||||||
<name value="BangladeshCoreFHIRIG"/>
|
<name value="BangladeshCoreFHIRIG"/>
|
||||||
<title value="Bangladesh Core FHIR Implementation Guide"/>
|
<title value="Bangladesh Core FHIR Implementation Guide"/>
|
||||||
<status value="active"/>
|
<status value="active"/>
|
||||||
|
|||||||
18
input/fsh/codeSystems/BDMaritalStatusCS.fsh
Normal file
18
input/fsh/codeSystems/BDMaritalStatusCS.fsh
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
//codeSystems/bd-regions.fsh
|
||||||
|
CodeSystem: BDMaritalStatusCS
|
||||||
|
Id: bd-marital-status
|
||||||
|
Title: "Bangladesh Marital Status"
|
||||||
|
* ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-marital-status"
|
||||||
|
|
||||||
|
* #1 "Unmarried" "Unmarried"
|
||||||
|
* #2 "Married" "Married"
|
||||||
|
* #3 "Widowed" "Widowed"
|
||||||
|
* #4 "Separated" "Separated"
|
||||||
|
* #5 "Divorced" "Divorced"
|
||||||
|
|
||||||
|
ValueSet: BDMaritalStatusVS
|
||||||
|
Id: bd-marital-status-valueset
|
||||||
|
Title: "Bangladesh Marital Status ValueSet"
|
||||||
|
Description: "Marital status value set according to CCDS guideline"
|
||||||
|
* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-marital-status-valueset"
|
||||||
|
* include codes from system https://fhir.dghs.gov.bd/core/CodeSystem/bd-marital-status
|
||||||
@@ -36,7 +36,7 @@ FHIR hasMember pattern:
|
|||||||
// ── Code ──────────────────────────────────────────────────────────────────
|
// ── Code ──────────────────────────────────────────────────────────────────
|
||||||
// Bound to BD LOINC Lab Panels ValueSet — orderable panel codes only.
|
// Bound to BD LOINC Lab Panels ValueSet — orderable panel codes only.
|
||||||
* code 1..1 MS
|
* code 1..1 MS
|
||||||
* code from https://fhir.dghs.gov.bd/core/ValueSet/loinc-lab-panels (extensible)
|
* code from https://fhir.dghs.gov.bd/core/ValueSet/loinc-lab-panels (required)
|
||||||
* code ^definition = "LOINC panel/order code for this laboratory panel"
|
* code ^definition = "LOINC panel/order code for this laboratory panel"
|
||||||
* code ^comment = "E.g. 58410-2 CBC panel, 24323-8 Comprehensive metabolic panel"
|
* code ^comment = "E.g. 58410-2 CBC panel, 24323-8 Comprehensive metabolic panel"
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ Coded results (Ord/Nom scale):
|
|||||||
// ── Code ──────────────────────────────────────────────────────────────────
|
// ── Code ──────────────────────────────────────────────────────────────────
|
||||||
// Bound to BD LOINC Lab Results ValueSet — leaf result codes only.
|
// Bound to BD LOINC Lab Results ValueSet — leaf result codes only.
|
||||||
* code 1..1 MS
|
* code 1..1 MS
|
||||||
* code from https://fhir.dghs.gov.bd/core/ValueSet/loinc-lab-results (extensible)
|
* code from https://fhir.dghs.gov.bd/core/ValueSet/loinc-lab-results (required)
|
||||||
* code ^definition = "LOINC result/component code for this individual laboratory result"
|
* code ^definition = "LOINC result/component code for this individual laboratory result"
|
||||||
* code ^comment = "E.g. 718-7 Hemoglobin, 2160-0 Creatinine"
|
* code ^comment = "E.g. 718-7 Hemoglobin, 2160-0 Creatinine"
|
||||||
|
|
||||||
@@ -68,7 +68,7 @@ Coded results (Ord/Nom scale):
|
|||||||
|
|
||||||
// Coded results (Ord/Nom scale) — bound to LOINC Answer Lists
|
// Coded results (Ord/Nom scale) — bound to LOINC Answer Lists
|
||||||
* valueCodeableConcept MS
|
* valueCodeableConcept MS
|
||||||
* valueCodeableConcept from https://fhir.dghs.gov.bd/core/ValueSet/loinc-answer-lists (extensible)
|
* valueCodeableConcept from https://fhir.dghs.gov.bd/core/ValueSet/loinc-answer-lists (required)
|
||||||
* valueCodeableConcept ^comment = "Use for ordinal or nominal (Ord/Nom scale) results."
|
* valueCodeableConcept ^comment = "Use for ordinal or nominal (Ord/Nom scale) results."
|
||||||
|
|
||||||
// ── hasMember ─────────────────────────────────────────────────────────────
|
// ── hasMember ─────────────────────────────────────────────────────────────
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ Patient profile for Bangladesh.
|
|||||||
* name.text 1..1 MS
|
* name.text 1..1 MS
|
||||||
* name.text.extension contains
|
* name.text.extension contains
|
||||||
BDNameEn named nameEn 1..1 MS and
|
BDNameEn named nameEn 1..1 MS and
|
||||||
BDNameBn named nameBn 1..1 MS
|
BDNameBn named nameBn 0..1 MS
|
||||||
|
|
||||||
//////////////////////
|
//////////////////////
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ Patient profile for Bangladesh.
|
|||||||
* identifier contains
|
* identifier contains
|
||||||
NID 0..1 and
|
NID 0..1 and
|
||||||
BRN 0..1 and
|
BRN 0..1 and
|
||||||
UHID 0..1
|
UHID 1..1
|
||||||
|
|
||||||
* identifier[NID].system = "http://dghs.gov.bd/identifier/nid"
|
* identifier[NID].system = "http://dghs.gov.bd/identifier/nid"
|
||||||
* identifier[NID].type.coding.code = #NID
|
* identifier[NID].type.coding.code = #NID
|
||||||
@@ -75,7 +75,8 @@ Patient profile for Bangladesh.
|
|||||||
|
|
||||||
|
|
||||||
// Require a value from a specific value set be used for an element
|
// Require a value from a specific value set be used for an element
|
||||||
* maritalStatus from http://hl7.org/fhir/ValueSet/marital-status
|
// * maritalStatus from http://hl7.org/fhir/ValueSet/marital-status
|
||||||
|
* maritalStatus.valueCodeableConcept from https://fhir.dghs.gov.bd/core/ValueSet/bd-marital-status-valueset
|
||||||
|
|
||||||
// Restrict something[x] to a specific type -- in this case only allowing dateTime to be used
|
// Restrict something[x] to a specific type -- in this case only allowing dateTime to be used
|
||||||
* deceased[x] only dateTime
|
* deceased[x] only dateTime
|
||||||
@@ -86,3 +87,19 @@ Patient profile for Bangladesh.
|
|||||||
|
|
||||||
* address 1..* MS
|
* address 1..* MS
|
||||||
* address only BDAddress
|
* address only BDAddress
|
||||||
|
|
||||||
|
// ── Photo ─────────────────────────────────────────────────────────────────
|
||||||
|
// Optional patient photo — may be used for identity verification at point of care.
|
||||||
|
* photo 0..* MS
|
||||||
|
* photo ^definition = "Patient photo for identity verification"
|
||||||
|
* photo ^comment = "Attach a photo of the patient when available. Use image/jpeg or image/png."
|
||||||
|
|
||||||
|
// ── Link to RelatedPerson ─────────────────────────────────────────────────
|
||||||
|
// At least one RelatedPerson link is required — father, mother, or guardian.
|
||||||
|
// The referenced RelatedPerson must carry a BD identifier and a relationship.
|
||||||
|
* link 0..* MS
|
||||||
|
* link ^definition = "Link to a RelatedPerson resource representing father, mother, or guardian"
|
||||||
|
* link ^comment = "At least one RelatedPerson with BD identifier and relationship is required."
|
||||||
|
* link.other 1..1 MS
|
||||||
|
* link.other only Reference(RelatedPerson)
|
||||||
|
* link.type = #seealso (exactly)
|
||||||
55
input/fsh/profile/BDRelatedPerson.fsh
Normal file
55
input/fsh/profile/BDRelatedPerson.fsh
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
Profile: BDRelatedPerson
|
||||||
|
Id: bd-related-person
|
||||||
|
Parent: RelatedPerson
|
||||||
|
Title: "Related Person Profile for Bangladesh"
|
||||||
|
Description: """
|
||||||
|
Profile for RelatedPerson in Bangladesh.
|
||||||
|
Used to represent father, mother, or guardian of a patient.
|
||||||
|
- Identifier is mandatory and must use BD identifier systems (NID, BRN, UHID)
|
||||||
|
- Relationship is mandatory
|
||||||
|
- Name is mandatory
|
||||||
|
"""
|
||||||
|
|
||||||
|
* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-related-person"
|
||||||
|
|
||||||
|
// ── Identifier ────────────────────────────────────────────────────────────
|
||||||
|
// Mandatory BD identifier — NID, BRN, or UHID
|
||||||
|
* identifier 1..* MS
|
||||||
|
* identifier ^slicing.discriminator.type = #value
|
||||||
|
* identifier ^slicing.discriminator.path = "system"
|
||||||
|
* identifier ^slicing.rules = #open
|
||||||
|
* identifier ^slicing.ordered = false
|
||||||
|
* identifier contains
|
||||||
|
NID 0..1 and
|
||||||
|
BRN 0..1 and
|
||||||
|
UHID 0..1
|
||||||
|
|
||||||
|
* identifier[NID].system = "http://dghs.gov.bd/identifier/nid"
|
||||||
|
* identifier[NID].type.coding.code = #NID
|
||||||
|
* identifier[NID].type.coding.system = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-identifier-type"
|
||||||
|
* identifier[NID].type.text = "Organization identifier"
|
||||||
|
|
||||||
|
* 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/CodeSystem/bd-identifier-type"
|
||||||
|
* identifier[BRN].type.text = "Organization 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/CodeSystem/bd-identifier-type"
|
||||||
|
* identifier[UHID].type.text = "Organization identifier"
|
||||||
|
|
||||||
|
// ── Relationship ──────────────────────────────────────────────────────────
|
||||||
|
// Mandatory — must specify the relationship to the patient
|
||||||
|
* relationship 1..* MS
|
||||||
|
* relationship ^definition = "Relationship of this person to the patient"
|
||||||
|
* relationship ^comment = "E.g. FTH (father), MTH (mother), GUARD (guardian) from v3-RoleCode"
|
||||||
|
|
||||||
|
// ── Name ──────────────────────────────────────────────────────────────────
|
||||||
|
* name 1..1 MS
|
||||||
|
* name ^definition = "Name of the related person"
|
||||||
|
|
||||||
|
// ── Patient ───────────────────────────────────────────────────────────────
|
||||||
|
* patient 1..1 MS
|
||||||
|
* patient only Reference(BDPatient)
|
||||||
|
* patient ^definition = "The patient this related person is associated with"
|
||||||
@@ -11,6 +11,14 @@
|
|||||||
"status": "ci-build",
|
"status": "ci-build",
|
||||||
"current": true
|
"current": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"version": "0.4.5",
|
||||||
|
"date": "2026-04-10",
|
||||||
|
"desc": "minor bug fixes",
|
||||||
|
"path": "https://fhir.dghs.gov.bd/core/0.4.5/",
|
||||||
|
"status": "trial-use",
|
||||||
|
"sequence": "STU 1"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "0.4.4",
|
"version": "0.4.4",
|
||||||
"date": "2026-04-06",
|
"date": "2026-04-06",
|
||||||
|
|||||||
@@ -11,6 +11,14 @@
|
|||||||
"status": "ci-build",
|
"status": "ci-build",
|
||||||
"current": true
|
"current": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"version": "0.4.5",
|
||||||
|
"date": "2026-04-10",
|
||||||
|
"desc": "minor bug fixes",
|
||||||
|
"path": "https://fhir.dghs.gov.bd/core/0.4.5/",
|
||||||
|
"status": "trial-use",
|
||||||
|
"sequence": "STU 1"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "0.4.4",
|
"version": "0.4.4",
|
||||||
"date": "2026-04-06",
|
"date": "2026-04-06",
|
||||||
|
|||||||
Reference in New Issue
Block a user