Fixed Patient Profile according to CCDS
All checks were successful
FHIR IG CI/CD Pipeline / build-ig (push) Successful in 7m12s
FHIR IG CI/CD Pipeline / deploy (push) Successful in 11s

This commit is contained in:
Dr. B. M. Riazul Islam 2025-09-30 20:59:21 +00:00
parent ee5e028591
commit 5840b58bca
22 changed files with 63 additions and 74 deletions

View File

@ -7,7 +7,7 @@ h5:before{color:silver;counter-increment:detail;content:var(--heading-prefix) ".
h6:before{color:silver;counter-increment:more-detail;content:var(--heading-prefix) "." counter(sub-section) "." counter(composite) "." counter(detail) "." counter(more-detail)" ";}
</style>
<div class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<h2>{{site.data.pages[page.path].title | escape_once}}</h2>
{% assign path = page.path | split: '.html' %}

View File

@ -7,7 +7,7 @@ h5:before{color:silver;counter-increment:detail;content:var(--heading-prefix) ".
h6:before{color:silver;counter-increment:more-detail;content:var(--heading-prefix) "." counter(sub-section) "." counter(composite) "." counter(detail) "." counter(more-detail)" ";}
</style>
<div class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<h2>{{site.data.pages[page.path].title | escape_once}}</h2>
{% if page.path == 'index.html' %}
{% include fragment-igTable.html %}

View File

@ -2,7 +2,7 @@
---
{% include fragment-pagebegin.html %}
<div class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-base-navtabs.html type='{{[type]}}' id='{{[id]}}' active='testing' %}
<a name="root"> </a>
<h2 id="root">{{[type]}}: {{site.data.pages[page.path].title | escape_once}}

View File

@ -2,7 +2,7 @@
---
{% include fragment-pagebegin.html %}
<div class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-base-navtabs.html type='{{[type]}}' id='{{[id]}}' active='content' %}
<a name="root"> </a>

View File

@ -7,7 +7,7 @@
{% include fragment-pagebegin.html %}
<div style="counter-reset: section 10" class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-base-navtabs.html type='{{[type]}}' id='{{[id]}}' active='history' %}
<a name="root"> </a>

View File

@ -2,7 +2,7 @@
---
{% include fragment-pagebegin.html %}
<div class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-base-navtabs.html type='{{[type]}}' id='{{[id]}}' active='content' %}
<a name="root"> </a>
<h2 id="root">CodeSystem: {{site.data.pages[page.path].title | escape_once}}

View File

@ -2,7 +2,7 @@
---
{% include fragment-pagebegin.html %}
<div class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-base-navtabs.html type='{{[type]}}' id='{{[id]}}' active='content' %}
<a name="root"> </a>

View File

@ -2,7 +2,7 @@
---
{% include fragment-pagebegin.html %}
<div class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-profile-navtabs.html type='{{[type]}}' id='{{[id]}}' active='content' %}
<a name="root"> </a>
<h2 id="root">Extension: {{site.data.pages[page.path].title | escape_once}}

View File

@ -2,7 +2,7 @@
---
{% include fragment-pagebegin.html %}
<div class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-base-navtabs.html type='{{[type]}}' id='{{[id]}}' active='content' %}

View File

@ -11,7 +11,7 @@
{% include fragment-pagebegin.html %}
<div style="counter-reset: section {{section}}" class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-base-navtabs.html type='{{[type]}}' id='{{[id]}}' active='{{[fmt]}}' %}
<a name="root"> </a>

View File

@ -5,7 +5,7 @@
{% include fragment-pagebegin.html %}
<div style="counter-reset: section 4" class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-profile-navtabs.html type='{{[type]}}' id='{{[id]}}' active='definition' %}
<a name="root"> </a>

View File

@ -5,7 +5,7 @@
{% include fragment-pagebegin.html %}
<div style="counter-reset: section 6" class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-profile-navtabs.html type='{{[type]}}' id='{{[id]}}' active='example' %}
<a name="root"> </a>

View File

@ -15,7 +15,7 @@
{% include fragment-pagebegin.html %}
<div style="counter-reset: section {{section}}" class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-profile-navtabs.html type='{{[type]}}' id='{{[id]}}' active=format %}
<a name="root"> </a>

View File

@ -6,7 +6,7 @@
{% include fragment-pagebegin.html %}
<div style="counter-reset: section 10" class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-profile-navtabs.html type='{{[type]}}' id='{{[id]}}' active='history' %}
<a name="root"> </a>

View File

@ -5,7 +5,7 @@
{% include fragment-pagebegin.html %}
<div style="counter-reset: section 5" class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-profile-navtabs.html type='{{[type]}}' id='{{[id]}}' active='mapping' %}
<a name="root"> </a>

View File

@ -5,7 +5,7 @@
{% include fragment-pagebegin.html %}
<div style="counter-reset: section 6" class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-profile-navtabs.html type='{{[type]}}' id='{{[id]}}' active='testing' %}
<a name="root"> </a>

View File

@ -5,7 +5,7 @@
{% include fragment-pagebegin.html %}
<div class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-profile-navtabs.html type='{{[type]}}' id='{{[id]}}' active='content' %}
<a name="root"> </a>

View File

@ -2,7 +2,7 @@
---
{% include fragment-pagebegin.html %}
<div class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
{% include fragment-base-navtabs.html type='{{[type]}}' id='{{[id]}}' active='content' %}
<a name="root"> </a>
<h2 id="root">ValueSet: {{site.data.pages[page.path].title | escape_once}}

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

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

@ -1,43 +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"
Description: "Profile of Patient Bangladesh Standard"
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
// 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
// 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)"
// 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
//////////////////////
@ -50,7 +46,7 @@ Description: "Profile of Patient Bangladesh Standard"
* 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
@ -71,12 +67,11 @@ Description: "Profile of Patient Bangladesh Standard"
// * 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
@ -105,18 +100,3 @@ Description: "Profile of Patient Bangladesh Standard"
* address 1..* MS
* address only BDAddress
* name only BDHumanName
* extension contains Occupation named occupation 0..1
* extension contains nationality named nationality 1..1
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)