Skip to content

Commit

Permalink
add patient.languageOfCorrespondance (issue #64)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziegm authored and oliveregger committed Jan 5, 2022
1 parent 45d11d1 commit 07fabe2
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 0 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ These changes were made based on the comments of the HL7 Switzerland STU 1 Ballo
* [Issue #31](https://github.com/hl7ch/ch-orf/issues/31)
* Add patients marital status to the [Questionnaire](http://build.fhir.org/ig/hl7ch/ch-orf/branches/master/Questionnaire-order-referral-form.html) and the examples (e.g. [Bundle Order-Referral-Form](http://build.fhir.org/ig/hl7ch/ch-orf/branches/master/Bundle-bundle-order-referral-form.html)).
* [Issue #60](https://github.com/hl7ch/ch-orf/issues/60)
* Add patients language of correspondance to the [Questionnaire](http://build.fhir.org/ig/hl7ch/ch-orf/branches/master/Questionnaire-order-referral-form.html) and the examples (e.g. [Bundle Order-Referral-Form](http://build.fhir.org/ig/hl7ch/ch-orf/branches/master/Bundle-bundle-order-referral-form.html)).
* [Issue #64](https://github.com/hl7ch/ch-orf/issues/64)


### Changed / Updated
* Improvement/updating of the documentation.
* [Issue #44](https://github.com/hl7ch/ch-orf/issues/44): Description in the [FHIR Representation](http://build.fhir.org/ig/hl7ch/ch-orf/branches/master/index.html#fhir-representation) section adapted, i.e. 'XML' removed, as FHIR can also be serialised for exchange in formats other than XML.
Expand Down
28 changes: 28 additions & 0 deletions input/examples/bundle/bundle-order-referral-form.xml
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,13 @@
<text value="Land"/>
<type value="string"/>
</item>
<item>
<linkId value="patient.languageOfCorrespondance"/>
<definition value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient#Patient.communication:languageOfCorrespondance"/>
<text value="Korrespondenssprache"/>
<type value="choice"/>
<answerValueSet value="http://hl7.org/fhir/ValueSet/languages"/>
</item>
<item>
<linkId value="patient.contactperson"/>
<definition value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient#Patient.contact"/>
Expand Down Expand Up @@ -1439,6 +1446,16 @@
<value value="[email protected]"/>
</telecom>
</contact>
<communication>
<language>
<coding>
<system value="urn:ietf:bcp:47"/>
<code value="de-CH"/>
<display value="German (Switzerland)"/>
</coding>
</language>
<preferred value="true"/>
</communication>
</Patient>
</resource>
</entry>
Expand Down Expand Up @@ -1794,6 +1811,17 @@
<valueString value="Schweiz"/>
</answer>
</item>
<item>
<linkId value="patient.languageOfCorrespondance"/>
<text value="Korrespondenssprache"/>
<answer>
<valueCoding>
<system value="urn:ietf:bcp:47"/>
<code value="de-CH"/>
<display value="German (Switzerland)"/>
</valueCoding>
</answer>
</item>
</item>
<item>
<linkId value="sender"/>
Expand Down
10 changes: 10 additions & 0 deletions input/examples/patient/ErikaMusterfrau.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,14 @@
<value value="[email protected]"/>
</telecom>
</contact>
<communication>
<language>
<coding>
<system value="urn:ietf:bcp:47"/>
<code value="de-CH"/>
<display value="German (Switzerland)"/>
</coding>
</language>
<preferred value="true"/>
</communication>
</Patient>
6 changes: 6 additions & 0 deletions input/fsh/EX_Questionnaire.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,12 @@ Description: "Example for Questionnaire"
* item[=].item[=].text = "Land"
* item[=].item[=].type = #string

* item[=].item[+].linkId = "patient.languageOfCorrespondance"
* item[=].item[=].definition = "http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient#Patient.communication:languageOfCorrespondance"
* item[=].item[=].text = "Korrespondenssprache"
* item[=].item[=].type = #choice
* item[=].item[=].answerValueSet = "http://hl7.org/fhir/ValueSet/languages"

// ---------- Patient Contact Person : The principle target of a particular Form Content is one patient ----------
* item[=].item[+].linkId = "patient.contactperson"
* item[=].item[=].definition = "http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient#Patient.contact"
Expand Down
4 changes: 4 additions & 0 deletions input/fsh/EX_QuestionnaireResponse_order-referral-form.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@ Description: "Example for QuestionnaireResponse"
* item[=].item[=].text = "Land"
* item[=].item[=].answer.valueString = "Schweiz"

* item[=].item[+].linkId = "patient.languageOfCorrespondance"
* item[=].item[=].text = "Korrespondenssprache"
* item[=].item[=].answer.valueCoding = urn:ietf:bcp:47#de-CH "German (Switzerland)"

// ---------- Patient Contact Person : The principle target of a particular Form Content is one patient ----------
* item[=].item[+].linkId = "patient.contactperson"
* item[=].item[=].text = "Kontaktperson"
Expand Down

0 comments on commit 07fabe2

Please sign in to comment.