Merge branch 'main' of https://git.dghs.gov.bd/gitadmin/BD-Core-FHIR-IG
This commit is contained in:
commit
60b3861126
110
input/fsh/bdpatient.fsh
Normal file
110
input/fsh/bdpatient.fsh
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
|
||||||
|
Profile: BDPatientProfile
|
||||||
|
|
||||||
|
Id: BDPatientProfile-01
|
||||||
|
Parent: Patient
|
||||||
|
Title: "Bangladesh Patient Profile"
|
||||||
|
Description: "All patient information of BD"
|
||||||
|
|
||||||
|
// ^ url = https://fhir.dghs.gov.bd/core/StructureDefinition/bd-patient
|
||||||
|
|
||||||
|
* identifier 1..*
|
||||||
|
|
||||||
|
* identifier ^slicing.discriminator.type = #value
|
||||||
|
* identifier ^slicing.discriminator.path = ""
|
||||||
|
* identifier ^slicing.rules = #open
|
||||||
|
* identifier ^slicing.description = "Identifier"
|
||||||
|
* identifier ^slicing.ordered = false
|
||||||
|
|
||||||
|
// nid, brn, uhid, passport, dl, tin
|
||||||
|
// * identifier contains nid 0..1 and brn 0..1 and uhid 0..1 and passport 0..1 and dl 0..1 and tin 0..1
|
||||||
|
|
||||||
|
// * name 2..2
|
||||||
|
|
||||||
|
// * name ^slicing.discriminator.type = #value
|
||||||
|
// * name ^slicing.discriminator.path = ""
|
||||||
|
// * name ^slicing.rules = #open
|
||||||
|
// * name ^slicing.description = "Patient names (Bangla and English required) "
|
||||||
|
// * name ^slicing.ordered = false
|
||||||
|
|
||||||
|
// * name contains
|
||||||
|
// bangla 1..1 and
|
||||||
|
// english 1..1
|
||||||
|
|
||||||
|
// * name[bangla].text = "Full name in Bangla"
|
||||||
|
// //* name[bangla].language = "BN"
|
||||||
|
|
||||||
|
// * name[english].text 1..1
|
||||||
|
|
||||||
|
* name 1..1
|
||||||
|
* name.text 1..1
|
||||||
|
|
||||||
|
* birthDate 1..1
|
||||||
|
//* birthplace 1..1
|
||||||
|
|
||||||
|
* gender 1..1
|
||||||
|
* gender from http://hl7.org/fhir/ValueSet/administrative-gender
|
||||||
|
|
||||||
|
* telecom 0..* MS
|
||||||
|
* telecom.system 1..1
|
||||||
|
* telecom.system from http://hl7.org/fhir/ValueSet/contact-point-system (required)
|
||||||
|
* telecom.value 1..1
|
||||||
|
* telecom.use 0..1
|
||||||
|
* telecom.use from http://hl7.org/fhir/ValueSet/contact-point-use (required)
|
||||||
|
|
||||||
|
* extension contains http://hl7.org/fhir/StructureDefinition/patient-nationality named PatientNationality 1..1
|
||||||
|
|
||||||
|
|
||||||
|
* link 2..*
|
||||||
|
* link ^slicing.discriminator.type = #value
|
||||||
|
* link ^slicing.discriminator.path = ""
|
||||||
|
* link ^slicing.rules = #open
|
||||||
|
* link ^slicing.description = ""
|
||||||
|
* link ^slicing.ordered = false
|
||||||
|
|
||||||
|
* link contains
|
||||||
|
father 1..1 and
|
||||||
|
mother 1..1
|
||||||
|
|
||||||
|
// * link[father].other.reference 1..1
|
||||||
|
|
||||||
|
|
||||||
|
// * link[father].other.identifier 0..1
|
||||||
|
// definition of identifier
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
// * link[father].other.identifier from BdIdentifierTypeVS (required)
|
||||||
|
|
||||||
|
// * link[father].other.relationship 1..1
|
||||||
|
// definition of relationship
|
||||||
|
|
||||||
|
// * link[mother].other only Reference(RelatedPerson)
|
||||||
|
// * link[mother].other.reference 1..1
|
||||||
|
|
||||||
|
// * link[mother].other.identifier 0..1
|
||||||
|
// TODO
|
||||||
|
// * link[mother].other.identifier from BdIdentifierTypeVS (required)
|
||||||
|
|
||||||
|
Profile: RelatedPersonMother
|
||||||
|
Id: relatedperson-mother
|
||||||
|
Parent: RelatedPerson
|
||||||
|
Title: "RelatedPerson Mother Profile"
|
||||||
|
Description: "Profile for RelatedPerson representing the mother"
|
||||||
|
* relationship.coding.code = #MTH
|
||||||
|
* identifier 1..1
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
// * identifier includes codes from system BdIdentifierTypeVs# (required)
|
||||||
|
// * identifier from BdIdentifierTypeVs# (required)
|
||||||
|
|
||||||
|
|
||||||
|
Profile: RelatedPersonFather
|
||||||
|
Id: relatedperson-father
|
||||||
|
Parent: RelatedPerson
|
||||||
|
Title: "RelatedPerson Father Profile"
|
||||||
|
Description: "Profile for RelatedPerson representing the father"
|
||||||
|
* relationship.coding.code = #FTH
|
||||||
|
* identifier 1..1
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
// * includes codes from system BdIdentifierTypeVs# (required)
|
||||||
16
input/fsh/extensions/bloodgroup.fsh
Normal file
16
input/fsh/extensions/bloodgroup.fsh
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
Extension: bdbloodgroup
|
||||||
|
Id: BloodGroup
|
||||||
|
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"
|
||||||
Loading…
Reference in New Issue
Block a user