Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rmrlangford committed Feb 1, 2024
1 parent dd0817c commit 5c18d73
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 3 deletions.
19 changes: 18 additions & 1 deletion input/fsh/examples.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,21 @@ Description: "Records the current occupation for the spouse"
* subject = Reference (ImmunizationPatientExample)
* performer = Reference(OrganizationExample)
* valueCodeableConcept = $SCT#11205001
* valueCodeableConcept.text = "Judge"
* valueCodeableConcept.text = "Judge"

Instance: PatientHomeLanguageObservationExample
InstanceOf: PatientHomeLanguageObservation
Usage: #example
Title: "Patient's Home Language"
Description: "Records the home language for the patient"
* status = #final
* code = $SCT#224076006
* encounter = Reference(TargetFacilityEncounterExample)
* effectiveDateTime = "2022-11-30"
* category.coding.code = #social-history
* category.coding.system = "http://terminology.hl7.org/CodeSystem/observation-category"
* subject = Reference (ImmunizationPatientExample)
* performer = Reference(OrganizationExample)
* valueCodeableConcept.coding.code = #Chokwe
* valueCodeableConcept.coding.system = "http://openhie.org/fhir/zambia-immunizations/CodeSystem/cs-home-language"
* valueCodeableConcept.text = "Chokwe"
14 changes: 13 additions & 1 deletion input/fsh/smartcare.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -305,4 +305,16 @@ Title: "Chief at Birth"
Description: "Patient'a chief at birth."
* relationship 1..1
* relationship = $SCT#303119007
* name.family 1..1
* name.family 1..1

Profile: PatientHomeLanguageObservation
Parent: GenericObservation
Id: patient-home-language
Title: "Patient's Home Language"
Description: "Records the home language for the patient"
* code = $SCT#224076006
* effectiveDateTime 0..1 MS
* effectiveDateTime ^definition =
"reason(s) why this should be supported."
* valueCodeableConcept 1..1
* valueCodeableConcept from VSHomeLanguage (extensible)
38 changes: 37 additions & 1 deletion input/fsh/terminology.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,40 @@ Title: "Spouse Relation Types"
Description: "Codes for classifying the type of spouse."
* ^experimental = false
* include codes from system $SCT
where concept descendent-of #127848009
where concept descendent-of #127848009

CodeSystem: CSHomeLanguage
Id: cs-home-language
Title: "Patient's Home Language"
Description: "A list of languages."
* ^experimental = false
* ^caseSensitive = true
* #Ambo "Ambo"
* #Aushi "Aushi"
* #Bemba "Bemba"
* #Bisa "Bisa"
* #Chewa "Chewa"
* #Chikunda "Chikunda"
* #Chokwe "Chokwe"
* #Cishinga "Cishinga"
* #English "English"
* #Gova "Gova"
* #Ila "Ila"
* #Iwa "Iwa"
* #Kabende "Kabende"
* #Kaonde "Kaonde"
* #Lamba "Lamba"
* #Lenje "Lenje"
* #Lozi "Lozi"
* #Luvale "Luvale"
* #Namwanga "Namwanga"
* #Ngoni "Ngoni"
* #Soli "Soli"
* #Tonga "Tonga"

ValueSet: VSHomeLanguage
Id: vs-home-language
Title: "Patient's Home Language"
Description: "A list of languages."
* ^experimental = false
* include codes from system CSHomeLanguage

0 comments on commit 5c18d73

Please sign in to comment.