Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add patient.languageOfCorrespondance (issue #64) #96

Merged
merged 3 commits into from
Jan 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.languageCode"/>
</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:oid:2.16.840.1.113883.6.316"/>
<code value="de-CH"/>
<display value="Deutsch (Schweiz)"/>
</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:oid:2.16.840.1.113883.6.316"/>
<code value="de-CH"/>
<display value="Deutsch (Schweiz)"/>
</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:oid:2.16.840.1.113883.6.316"/>
<code value="de-CH"/>
<display value="Deutsch (Schweiz)"/>
</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://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.languageCode"

// ---------- 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:oid:2.16.840.1.113883.6.316#de-CH "Deutsch (Schweiz)"

// ---------- 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
Loading