Skip to content

Commit

Permalink
Merge pull request #27 from openhie/depenency-test
Browse files Browse the repository at this point in the history
updated
  • Loading branch information
rmrlangford authored Jan 27, 2024
2 parents ae11796 + e32b8a3 commit 99ced08
Showing 1 changed file with 90 additions and 1 deletion.
91 changes: 90 additions & 1 deletion input/fsh/examples.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ InstanceOf: HIVPatient
Usage: #example
Title: "Patient example"
Description: "Patient example"
//* meta.profile[+] = Canonical(IHE.PDQm.Patient)
* identifier[NID].value = "NID1234567"
* identifier[NID].system = "http://openhie.org/fhir/training-solution-1/identifier/nid"
* identifier[MR].value = "ORG1-0765712"
Expand Down Expand Up @@ -64,6 +63,96 @@ Description: "Patient example"
* extension[KPS].valueCodeableConcept.coding.system = "http://snomed.info/sct"
* extension[KPS].valueCodeableConcept.coding.display = "Current drug user"

Instance: PDQmPatientExample
InstanceOf: PDQmPatient
Usage: #example
Title: "PDQm Patient example"
Description: "PDQm Patient example"
* meta.security[+].system = "http://terminology.hl7.org/CodeSystem/v3-ActReason"
* meta.security[=].code = #HTEST
* name.use = #official
* name.family = "Smith"
* name.given[0] = "Jane"
* name.given[1] = "Maria"
* telecom[0].system = #phone
* telecom[0].value = "+27821234567"
* telecom[1].system = #email
* telecom[1].value = "someone@example.com"
* gender = #female
* birthDate = "1990-12-12"
* address.country = "South Africa"
* address.state = "Western Province"
* address.district = "City of Cape Town"
* address.line[0] = "99"
* address.line[1] = "Walmer Blvd"
* address.line[2] = "Sunnydale"
* address.city = "Cape Town"

Instance: PIXmPatientExample
InstanceOf: PIXmPatient
Usage: #example
Title: "PIXm Patient example"
Description: "PIXm Patient example"
* meta.security[+].system = "http://terminology.hl7.org/CodeSystem/v3-ActReason"
* meta.security[=].code = #HTEST
* identifier[NID].value = "NID1234567"
* identifier[NID].system = "http://openhie.org/fhir/training-solution-1/identifier/nid"
* identifier[MR].value = "ORG1-0765712"
* identifier[MR].system = "http://openhie.org/fhir/training-solution-1/identifier/mr"
* identifier[MR].type.coding.code = #MR
* identifier[MR].type.coding.system = "http://terminology.hl7.org/CodeSystem/v2-0203"
* identifier[MR].type.coding.display = "Medical record number"
* identifier[MR].type.text = "Patient folder number"
* name.use = #official
* name.family = "Smith"
* name.given[0] = "Jane"
* name.given[1] = "Maria"
* telecom[0].system = #phone
* telecom[0].value = "+27821234567"
* telecom[1].system = #email
* telecom[1].value = "someone@example.com"
* gender = #female
* address.country = "South Africa"
* address.state = "Western Province"
* address.district = "City of Cape Town"
* address.line[0] = "99"
* address.line[1] = "Walmer Blvd"
* address.line[2] = "Sunnydale"
* address.city = "Cape Town"

Instance: PIXmPatientBirthDateRequiredExample
InstanceOf: PIXmPatientBirthDateRequired
Usage: #example
Title: "PIXm Patient example - BirthDate Required"
Description: "PIXm Patient example - BirthDate Required"
* meta.security[+].system = "http://terminology.hl7.org/CodeSystem/v3-ActReason"
* meta.security[=].code = #HTEST
* identifier[NID].value = "NID1234567"
* identifier[NID].system = "http://openhie.org/fhir/training-solution-1/identifier/nid"
* identifier[MR].value = "ORG1-0765712"
* identifier[MR].system = "http://openhie.org/fhir/training-solution-1/identifier/mr"
* identifier[MR].type.coding.code = #MR
* identifier[MR].type.coding.system = "http://terminology.hl7.org/CodeSystem/v2-0203"
* identifier[MR].type.coding.display = "Medical record number"
* identifier[MR].type.text = "Patient folder number"
* name.use = #official
* name.family = "Smith"
* name.given[0] = "Jane"
* name.given[1] = "Maria"
* telecom[0].system = #phone
* telecom[0].value = "+27821234567"
* telecom[1].system = #email
* telecom[1].value = "someone@example.com"
* gender = #female
* birthDate = "1990-12-12"
* address.country = "South Africa"
* address.state = "Western Province"
* address.district = "City of Cape Town"
* address.line[0] = "99"
* address.line[1] = "Walmer Blvd"
* address.line[2] = "Sunnydale"
* address.city = "Cape Town"

Instance: TargetFacilityEncounterExample
InstanceOf: TargetFacilityEncounter
Usage: #example
Expand Down

0 comments on commit 99ced08

Please sign in to comment.