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 5c18d73 commit d69f0e4
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
10 changes: 9 additions & 1 deletion input/fsh/examples.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ Description: "Is used to document demographics and other administrative informat
* extension[bornInZambia].valueBoolean = true
* link[+].other = Reference(SpouseRelatedPersonExample)
* link[=].type = #seealso
* extension[religion].valueCodeableConcept.coding.code = #1013
* extension[religion].valueCodeableConcept.coding.system = "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
* extension[religion].valueCodeableConcept.text = "Christian (non-Catholic, non-specific)"

Instance: SpouseRelatedPersonExample
InstanceOf: SpouseRelatedPerson
Expand Down Expand Up @@ -68,7 +71,12 @@ InstanceOf: ServiceProvider
Usage: #example
Title: "Organization"
Description: "Organization providing health related services."
* name = "Some Health Facility"
* identifier[XX].value = "facility-1"
* identifier[XX].system = "http://openhie.org/fhir/zambia-immunizations/identifier/organization"
* identifier[XX].type.coding.code = #XX
* identifier[XX].type.coding.system = "http://terminology.hl7.org/CodeSystem/v2-0203"
* identifier[XX].type.text = "Organization identifier"
* name = "Facility one"

Instance: ChiefAtBirthRelatedPersonExample
InstanceOf: ChiefAtBirthRelatedPerson
Expand Down
19 changes: 19 additions & 0 deletions input/fsh/smartcare.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ Description: "Is used to document demographics and other administrative informat
"reason(s) why this should be supported."

* extension contains BornInZambia named bornInZambia 1..1
* extension contains patient-religion named religion 0..1 MS
* extension[religion] ^definition =
"reason(s) why this should be supported."
* extension[religion].valueCodeableConcept.text 1..1

* maritalStatus 0..1 MS
* maritalStatus.coding 1..1
Expand Down Expand Up @@ -195,6 +199,21 @@ Parent: Organization
Id: organization
Title: "Organization"
Description: "Organization providing health related services."
* identifier 0..*
* identifier ^definition =
"reason(s) why this should be supported."
* identifier ^slicing.discriminator.type = #value
* identifier ^slicing.discriminator.path = "system"
* identifier ^slicing.rules = #open
* identifier ^slicing.ordered = false
* identifier ^slicing.description = "Slice based on the type of identifier."
* identifier contains
XX 1..1
* identifier[XX].value 1..1
* identifier[XX].system = "http://openhie.org/fhir/zambia-immunizations/identifier/organization"
* identifier[XX].type.coding.code = #XX
* identifier[XX].type.coding.system = "http://terminology.hl7.org/CodeSystem/v2-0203"
* identifier[XX].type.text = "Organization identifier"
* name 1..1

Profile: GenericObservation
Expand Down

0 comments on commit d69f0e4

Please sign in to comment.