Update BDPatientProfile and add Blood Group CodeSystem and Extension
- Set identifier and link discriminator paths to "system" in BDPatientProfile - Introduce BDBloodGroupCS CodeSystem with blood group codes - Create BDBloodGroupVS ValueSet for blood group codes - Refine bdbloodgroup extension with updated ID and description
This commit is contained in:
parent
60b3861126
commit
0d0ede3b81
@ -11,7 +11,7 @@ Description: "All patient information of BD"
|
||||
* identifier 1..*
|
||||
|
||||
* identifier ^slicing.discriminator.type = #value
|
||||
* identifier ^slicing.discriminator.path = ""
|
||||
* identifier ^slicing.discriminator.path = "system"
|
||||
* identifier ^slicing.rules = #open
|
||||
* identifier ^slicing.description = "Identifier"
|
||||
* identifier ^slicing.ordered = false
|
||||
@ -57,7 +57,7 @@ Description: "All patient information of BD"
|
||||
|
||||
* link 2..*
|
||||
* link ^slicing.discriminator.type = #value
|
||||
* link ^slicing.discriminator.path = ""
|
||||
* link ^slicing.discriminator.path = "system"
|
||||
* link ^slicing.rules = #open
|
||||
* link ^slicing.description = ""
|
||||
* link ^slicing.ordered = false
|
||||
@ -108,3 +108,8 @@ Description: "Profile for RelatedPerson representing the father"
|
||||
|
||||
// TODO
|
||||
// * includes codes from system BdIdentifierTypeVs# (required)
|
||||
|
||||
|
||||
//Address
|
||||
* address 1..* MS
|
||||
* address only BDAddress
|
||||
26
input/fsh/codeSystems/BDBloodGroupCS.fsh
Normal file
26
input/fsh/codeSystems/BDBloodGroupCS.fsh
Normal file
@ -0,0 +1,26 @@
|
||||
// ---------------------------
|
||||
// CodeSystem for BD Blood Groups
|
||||
// ---------------------------
|
||||
CodeSystem: BDBloodGroupCS
|
||||
Id: bd-blood-groups
|
||||
Title: "Bangladesh Blood Group CodeSystem"
|
||||
Description: "Blood group codes according to CCDS guideline"
|
||||
* ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-blood-groups"
|
||||
* ^content = #complete
|
||||
* #1 "O Positive"
|
||||
* #2 "O Negative"
|
||||
* #3 "A Positive"
|
||||
* #4 "A Negative"
|
||||
* #5 "B Positive"
|
||||
* #6 "B Negative"
|
||||
* #7 "AB Positive"
|
||||
* #8 "AB Negative"
|
||||
|
||||
// ---------------------------
|
||||
// ValueSet for BD Blood Groups
|
||||
// ---------------------------
|
||||
ValueSet: BDBloodGroupVS
|
||||
Id: bd-blood-group-vs
|
||||
Title: "Bangladesh Blood Group ValueSet"
|
||||
Description: "Blood group value set according to CCDS guideline"
|
||||
* include codes from system BDBloodGroupCS
|
||||
@ -1,16 +1,9 @@
|
||||
// ---------------------------
|
||||
// Extension Definition
|
||||
// ---------------------------
|
||||
Extension: bdbloodgroup
|
||||
Id: BloodGroup
|
||||
Id: bd-blood-group
|
||||
Title: "Patient Blood Group"
|
||||
Description: "BD Blood Group according to CCDS"
|
||||
|
||||
* valueCodeableConcept 0..1
|
||||
|
||||
|
||||
* #1 "O Positive"
|
||||
* #2 "O Negative"
|
||||
* #3 "A Positive"
|
||||
* #4 "A Negative"
|
||||
* #5 "B Positive"
|
||||
* #6 "B Negative"
|
||||
* #7 "AB Positive"
|
||||
* #8 "AB Negative"
|
||||
Description: "Blood group of the patient according to CCDS guideline"
|
||||
* valueCodeableConcept 1..1
|
||||
* valueCodeableConcept from BDBloodGroupVS (required)
|
||||
Loading…
Reference in New Issue
Block a user