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 committed Dec 14, 2021
1 parent 19d6d07 commit 6d0962a
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 1 deletion.
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file.
These changes were made based on the comments of the HL7 Switzerland STU 1 Ballot.

### Added
*
* 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
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 @@ -621,6 +621,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 @@ -1255,6 +1262,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 @@ -1628,6 +1645,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 @@ -69,4 +69,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 @@ -331,6 +331,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 @@ -212,6 +212,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 6d0962a

Please sign in to comment.