Prepare for v0.4.6
Some checks failed
FHIR IG CI/CD Pipeline with Version Persistence / build-ig (push) Failing after 1m15s
FHIR IG CI/CD Pipeline with Version Persistence / deploy (push) Has been skipped

This commit is contained in:
2026-04-26 15:24:23 +06:00
parent 77f95d38cc
commit b7440bcbef
8 changed files with 113 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ FHIR hasMember pattern:
// ── Code ──────────────────────────────────────────────────────────────────
// Bound to BD LOINC Lab Panels ValueSet — orderable panel codes only.
* 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 ^comment = "E.g. 58410-2 CBC panel, 24323-8 Comprehensive metabolic panel"

View File

@@ -39,7 +39,7 @@ Coded results (Ord/Nom scale):
// ── Code ──────────────────────────────────────────────────────────────────
// Bound to BD LOINC Lab Results ValueSet — leaf result codes only.
* 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 ^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
* 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."
// ── hasMember ─────────────────────────────────────────────────────────────

View File

@@ -19,7 +19,7 @@ Patient profile for Bangladesh.
* name.text 1..1 MS
* name.text.extension contains
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
NID 0..1 and
BRN 0..1 and
UHID 0..1
UHID 1..1
* identifier[NID].system = "http://dghs.gov.bd/identifier/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
* 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
* deceased[x] only dateTime
@@ -86,3 +87,19 @@ Patient profile for Bangladesh.
* address 1..* MS
* 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)

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