Skip to content

Commit

Permalink
Merge pull request #187 from NHSDigital/fix_1.0.0/relatedperson_context
Browse files Browse the repository at this point in the history
Remove ContactRank extension from Relatedperson
  • Loading branch information
APageNHS authored Jan 6, 2023
2 parents eaea4a7 + ead4aa0 commit 4831fac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 21 deletions.
3 changes: 0 additions & 3 deletions examples/UKCore-RelatedPerson-JoySmith-Example.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
</valueCodeableConcept>
</extension>
</extension>
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank">
<valuePositiveInt value="1"/>
</extension>
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator">
<valueBoolean value="true"/>
</extension>
Expand Down
10 changes: 3 additions & 7 deletions structuredefinitions/Extension-UKCore-ContactRank.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Extension-UKCore-ContactRank" />
<url value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank" />
<version value="2.1.0" />
<version value="2.2.0" />
<name value="ExtensionUKCoreContactRank" />
<title value="Extension UK Core Contact Rank" />
<status value="active" />
<date value="2021-09-10" />
<date value="2022-08-26" />
<publisher value="HL7 UK" />
<contact>
<name value="HL7 UK" />
Expand All @@ -27,7 +27,7 @@
</telecom>
</contact>
<description value="The preferred ranking or order of contact applied to a contact on a Patient's contact list." />
<purpose value="This extension extends the Patient and RelatedPerson resources to support the exchange of the preferred ranking or order of contact applied to a contact on a Patient's contact list, which is currently not supported by the FHIR standard." />
<purpose value="This extension extends the Patient resource to support the exchange of the preferred ranking or order of contact applied to a contact on a Patient's contact list, which is currently not supported by the FHIR standard." />
<copyright value="Copyright &#169; 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7&#174; FHIR&#174; standard Copyright &#169; 2011+ HL7 The HL7&#174; FHIR&#174; standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html." />
<fhirVersion value="4.0.1" />
<mapping>
Expand All @@ -41,10 +41,6 @@
<type value="element" />
<expression value="Patient.contact" />
</context>
<context>
<type value="element" />
<expression value="RelatedPerson" />
</context>
<type value="Extension" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
<derivation value="constraint" />
Expand Down
13 changes: 2 additions & 11 deletions structuredefinitions/UKCore-RelatedPerson.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="UKCore-RelatedPerson" />
<url value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson" />
<version value="2.3.0" />
<version value="2.4.0" />
<name value="UKCoreRelatedPerson" />
<title value="UK Core RelatedPerson" />
<status value="active" />
<date value="2022-03-01" />
<date value="2022-08-26" />
<publisher value="HL7 UK" />
<contact>
<name value="HL7 UK" />
Expand Down Expand Up @@ -71,15 +71,6 @@
<profile value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference" />
</type>
</element>
<element id="RelatedPerson.extension:contactRank">
<path value="RelatedPerson.extension" />
<sliceName value="contactRank" />
<min value="0" />
<type>
<code value="Extension" />
<profile value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank" />
</type>
</element>
<element id="RelatedPerson.extension:copyCorrespondenceIndicator">
<path value="RelatedPerson.extension" />
<sliceName value="copyCorrespondenceIndicator" />
Expand Down

0 comments on commit 4831fac

Please sign in to comment.