Skip to content

Commit

Permalink
Merge pull request #512 from NHSDigital/stu2ballot/HumanLanguageSnippets
Browse files Browse the repository at this point in the history
human language snippets (STU2)
  • Loading branch information
APageNHS authored Feb 16, 2024
2 parents 53eb1e8 + e2b5d0d commit 91cf4c2
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 0 deletions.
22 changes: 22 additions & 0 deletions examples/UKCore-Patient-Sn-Makaton-Example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Patient xmlns="http://hl7.org/fhir">
<id value="UKCore-Patient-Sn-Makaton-Example" />
<name>
<use value="official" />
<family value="JONES" />
<given value="Jason" />
</name>
<communication>
<language>
<coding>
<system value="urn:ietf:bcp:47" />
<code value="bfi" />
<display value="British Sign Language" />
</coding>
<coding>
<system value="http://snomed.info/sct" />
<code value="703963007" />
<display value="Makaton vocabulary" />
</coding>
</language>
</communication>
</Patient>
51 changes: 51 additions & 0 deletions examples/UKCore-Patient-Sn-MultipleLanguages-Example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<Patient xmlns="http://hl7.org/fhir">
<id value="UKCore-Patient-Sn-MultipleLanguages-Example" />
<name>
<use value="official" />
<family value="JONES" />
<given value="Jason" />
</name>
<communication>
<extension url="http://hl7.org/fhir/StructureDefinition/patient-proficiency">
<extension url="level">
<valueCoding>
<system value="http://terminology.hl7.org/CodeSystem/v3-LanguageAbilityProficiency" />
<code value="E" />
<display value="Excellent" />
</valueCoding>
</extension>
</extension>
<language>
<coding>
<system value="urn:ietf:bcp:47" />
<code value="en" />
<display value="English" />
</coding>
</language>
</communication>
<communication>
<extension url="http://hl7.org/fhir/StructureDefinition/patient-proficiency">
<extension url="level">
<valueCoding>
<system value="http://terminology.hl7.org/CodeSystem/v3-LanguageAbilityProficiency" />
<code value="P" />
<display value="Poor" />
</valueCoding>
</extension>
<extension url="type">
<valueCoding>
<system value="http://terminology.hl7.org/CodeSystem/v3-LanguageAbilityMode" />
<code value="ESP" />
<display value="Expressed spoken" />
</valueCoding>
</extension>
</extension>
<language>
<coding>
<system value="urn:ietf:bcp:47" />
<code value="fr" />
<display value="French" />
</coding>
</language>
</communication>
</Patient>
17 changes: 17 additions & 0 deletions examples/UKCore-Patient-Sn-SingleLanguage-Example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<Patient xmlns="http://hl7.org/fhir">
<id value="UKCore-Patient-Sn-SingleLanguage-Example" />
<name>
<use value="official" />
<family value="JONES" />
<given value="Jason" />
</name>
<communication>
<language>
<coding>
<system value="urn:ietf:bcp:47" />
<code value="en" />
<display value="English" />
</coding>
</language>
</communication>
</Patient>
8 changes: 8 additions & 0 deletions structuredefinitions/UKCore-RelatedPerson.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,13 @@
<path value="RelatedPerson.address.postalCode" />
<mustSupport value="true" />
</element>
<element id="RelatedPerson.communication.language">
<path value="RelatedPerson.communication.language" />
<binding>
<strength value="required" />
<description value="A language which may be used to communicate with the related person about the patient's health." />
<valueSet value="http://hl7.org/fhir/ValueSet/all-languages" />
</binding>
</element>
</differential>
</StructureDefinition>

0 comments on commit 91cf4c2

Please sign in to comment.