From dd67d5f3cfd3b98f62f616498d7e499717b63968 Mon Sep 17 00:00:00 2001 From: Md Khairul Islam Date: Sat, 27 Sep 2025 13:28:01 +0600 Subject: [PATCH] Identifier type code systems added --- input/fsh/codeSystems/codeSystem.fsh | 20 ++++++++++++++++++++ input/fsh/codeSystems/valueSet.fsh | 0 input/fsh/patient-profile.fsh | 11 +++++++++++ 3 files changed, 31 insertions(+) create mode 100644 input/fsh/codeSystems/codeSystem.fsh delete mode 100644 input/fsh/codeSystems/valueSet.fsh diff --git a/input/fsh/codeSystems/codeSystem.fsh b/input/fsh/codeSystems/codeSystem.fsh new file mode 100644 index 0000000..3fcd59c --- /dev/null +++ b/input/fsh/codeSystems/codeSystem.fsh @@ -0,0 +1,20 @@ +//// this code systems for Identifier types + +CodeSystem: BangladeshIdentifierType +Id: bangladesh-identifier-type-cs +Title: "Bangladesh Identifier Types" +* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-identifier-type" + +* #TYPE_NID "National ID" +* #TYPE_BRN "Birth Registration Number" +* #TYPE_UID "Unique ID" + + +ValueSet: BangladeshIdentifierTypeVS +Id: bangladesh-identifier-type-vs +Title: "Bangladesh Identifier Type" +Description: "Bangladesh Standard Identifier type" +// * include codes from valueset http://hl7.org/fhir/ValueSet/identifier-type /// use name or uri +* include codes from system https://fhir.dghs.gov.bd/core/ValueSet/bd-identifier-type + +////////////// end identifier types \ No newline at end of file diff --git a/input/fsh/codeSystems/valueSet.fsh b/input/fsh/codeSystems/valueSet.fsh deleted file mode 100644 index e69de29..0000000 diff --git a/input/fsh/patient-profile.fsh b/input/fsh/patient-profile.fsh index 50c97a2..a8cf967 100644 --- a/input/fsh/patient-profile.fsh +++ b/input/fsh/patient-profile.fsh @@ -54,18 +54,27 @@ Description: "Profile of Patient Bangladesh Standard" * identifier[NID].system = "http://dghs.gov.bd/identifier/nid" * identifier[NID].type.coding.code = #NID * identifier[NID].type.coding.system = "http://terminology.hl7.org/CodeSystem/v2-0203" +* identifier[NID].type from BangladeshIdentifierTypeVS (extensible) * identifier[NID].type.text = "Organization identifier" +* identifier[NID].value = "Personal identifier National ID" + +// 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 = "http://terminology.hl7.org/CodeSystem/v2-0203" +* identifier[BRN].type from BangladeshIdentifierTypeVS (extensible) * identifier[BRN].type.text = "Organization identifier" +* 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 = "http://terminology.hl7.org/CodeSystem/v2-0203" +* identifier[UID].type from BangladeshIdentifierTypeVS (extensible) * identifier[UID].type.text = "Organization identifier" +* identifier[UID].value = "Personal identifier" // Mark elements as MustSupport @@ -79,6 +88,8 @@ Description: "Profile of Patient Bangladesh Standard" // Do not allow gender to be included. * gender 1..1 +// * include codes from system http://hl7.org/fhir/ValueSet/administrative-gender + // Require a value from a specific value set be used for an element * maritalStatus from http://hl7.org/fhir/ValueSet/marital-status