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

ZIBFHIR-54: Remove given names from HumanName.text where use=official #465

Merged
merged 1 commit into from
Oct 11, 2024
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: 2 additions & 2 deletions examples/nl-core-NameInformation-complete.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Mr. van der Giessen, she adopted the last name of her partner, and added her own
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<div>
<span title="Naamsamenstelling: Partnernaam gevolgd door eigennaam">Johanna Petronella Maria (Jo) van der Giessen-van Putten</span>
<span title="Naamsamenstelling: Partnernaam gevolgd door eigennaam">Johanna Petronella Maria van der Giessen-van Putten</span>
</div>
</div>
</text>
Expand All @@ -29,7 +29,7 @@ Mr. van der Giessen, she adopted the last name of her partner, and added her own
</extension>
<use value="official"/>
<!-- The rendered name of the person -->
<text value="Johanna Petronella Maria (Jo) van der Giessen-van Putten"/>
<text value="Johanna Petronella Maria van der Giessen-van Putten"/>
<!-- The person's combined family name. The individual parts are repeated using the appropriate extensions. -->
<family value="van der Giessen-van Putten">
<!-- The person's own last name prefix -->
Expand Down
4 changes: 2 additions & 2 deletions examples/nl-core-NameInformation-firstNames.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<div>Hendrik Johan Willem (Henk) Schemer</div>
<div>Hendrik Johan Willem Schemer</div>
</div>
</text>
<!-- The official name information is communicated in a .name instance with .name.use set to "official" -->
<name>
<use value="official"/>
<!-- The rendered name of the person -->
<text value="Hendrik Johan Willem (Henk) Schemer"/>
<text value="Hendrik Johan Willem Schemer"/>
<family value="Schemer">
<extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name">
<valueString value="Schemer"/>
Expand Down
4 changes: 2 additions & 2 deletions examples/nl-core-NameInformation-firstNamesAndInitials.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<div>Hendrik J.W. (Henk) Schemer</div>
<div>Hendrik J.W. Schemer</div>
</div>
</text>
<!-- Both full names and initials are communicated along with other official name information in a .name element
with .name.use set to "official". -->
<name>
<use value="official"/>
<text value="Hendrik J.W. (Henk) Schemer"/>
<text value="Hendrik J.W. Schemer"/>
<family value="Schemer">
<extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name">
<valueString value="Schemer"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<div>Hendrik Willem (Henk) Schemer</div>
<div>Hendrik Willem Schemer</div>
</div>
</text>
<!-- The full names are communicated along with other official name information in the first .name element with
.name.use set to "official". -->
<name>
<use value="official"/>
<text value="Hendrik Willem (Henk) Schemer"/>
<text value="Hendrik Willem Schemer"/>
<family value="Schemer">
<extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name">
<valueString value="Schemer"/>
Expand Down
4 changes: 2 additions & 2 deletions examples/nl-core-NameInformation-initials.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<div>H.J.W. (Henk) Schemer</div>
<div>H.J.W. Schemer</div>
</div>
</text>
<!-- The official name information is communicated in a .name instance with .name.use set to "official" -->
<name>
<use value="official"/>
<!-- The rendered name of the person -->
<text value="H.J.W. (Henk) Schemer"/>
<text value="H.J.W. Schemer"/>
<family value="Schemer">
<extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name">
<valueString value="Schemer"/>
Expand Down
4 changes: 2 additions & 2 deletions examples/nl-core-Patient-01.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<div>Id 111222333 (BSN), Johanna Petronella Maria (Jo) van Putten-van der Giessen, Vrouw, 28 april 1934, Meerling, <span title="Divorced (D - http://terminology.hl7.org/CodeSystem/v3-MaritalStatus)">Divorced</span>
<div>Id 111222333 (BSN), Johanna Petronella Maria van Putten-van der Giessen, Vrouw, 28 april 1934, Meerling, <span title="Divorced (D - http://terminology.hl7.org/CodeSystem/v3-MaritalStatus)">Divorced</span>
</div>
<div>
<a href="tel:+31611234567">+31611234567</a> (Tel), <a href="mailto:giesput@myweb.nl">giesput@myweb.nl</a> (E-mail Privé)</div>
Expand Down Expand Up @@ -41,7 +41,7 @@
</identifier>
<name>
<use value="official"/>
<text value="Johanna Petronella Maria (Jo) van Putten-van der Giessen"/>
<text value="Johanna Petronella Maria van Putten-van der Giessen"/>
<family value="van Putten-van der Giessen">
<extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix">
<valueString value="van"/>
Expand Down Expand Up @@ -153,7 +153,7 @@
</maritalStatus>
<multipleBirthBoolean value="true"/>
<contact>
<relationship>

Check warning on line 156 in examples/nl-core-Patient-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

A definition for CodeSystem 'urn:oid:2.16.840.1.113883.2.4.3.11.22.472' could not be found, so the code cannot be validated; Unable to check whether the code is in the value set 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.3.1.2--20200901000000|2020-09-01T00:00:00' because the code system urn:oid:2.16.840.1.113883.2.4.3.11.22.472 was not found (at Patient.contact[0].relationship[0])

Check warning on line 156 in examples/nl-core-Patient-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Unable to check whether the code is in the value set 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.3.1.2--20200901000000|2020-09-01T00:00:00' because the code system urn:oid:2.16.840.1.113883.2.4.3.11.22.472 was not found (at Patient.contact[0].relationship[0])
<coding>
<system value="urn:oid:2.16.840.1.113883.2.4.3.11.22.472"/>
<code value="01"/>
Expand Down Expand Up @@ -308,7 +308,7 @@
<extension url="http://nictiz.nl/fhir/StructureDefinition/ext-Comment">
<valueString value="Bij gesprek met arts zoon uitnodigen voor vertalen"/>
</extension>
<language>

Check notice on line 311 in examples/nl-core-Patient-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

None of the codings provided are in the value set 'Common Languages' (http://hl7.org/fhir/ValueSet/languages|4.0.1), and a coding is recommended to come from this value set) (codes = urn:oid:1.0.639.1#nl) (at Patient.communication[0].language)

Check notice on line 311 in examples/nl-core-Patient-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

A definition for CodeSystem 'urn:oid:1.0.639.1' could not be found, so the code cannot be validated (at Patient.communication[0].language.coding[0].system)
<coding>
<system value="urn:oid:1.0.639.1"/>
<code value="nl"/>
Expand Down
4 changes: 2 additions & 2 deletions examples/nl-core-TreatmentDirective2-01-RelatedPerson-01.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<div>
<span title="Naamsamenstelling: Eigennaam">Jan Pieter Mark (Piet) van Putten</span>
<span title="Naamsamenstelling: Eigennaam">Jan Pieter Mark van Putten</span>
</div>
<div>
<a href="tel:+31611234567">+31611234567</a> (Tel Privé), <a href="mailto:giesput@myweb.nl">giesput@myweb.nl</a> (E-mail Privé)</div>
Expand All @@ -21,7 +21,7 @@
<type value="Patient"/>
<display value="Patient, Johanna Petronella Maria (Jo) van Putten-van der Giessen"/>
</patient>
<relationship>

Check notice on line 24 in examples/nl-core-TreatmentDirective2-01-RelatedPerson-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

None of the codings provided are in the value set 'Patient relationship type' (http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype|4.0.1), and a coding is recommended to come from this value set) (codes = urn:oid:2.16.840.1.113883.2.4.3.11.22.472#01) (at RelatedPerson.relationship[0])

Check notice on line 24 in examples/nl-core-TreatmentDirective2-01-RelatedPerson-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

A definition for CodeSystem 'urn:oid:2.16.840.1.113883.2.4.3.11.22.472' could not be found, so the code cannot be validated (at RelatedPerson.relationship[0].coding[0].system)

Check warning on line 24 in examples/nl-core-TreatmentDirective2-01-RelatedPerson-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

A definition for CodeSystem 'urn:oid:2.16.840.1.113883.2.4.3.11.22.472' could not be found, so the code cannot be validated; Unable to check whether the code is in the value set 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.3.1.2--20200901000000|2020-09-01T00:00:00' because the code system urn:oid:2.16.840.1.113883.2.4.3.11.22.472 was not found (at RelatedPerson.relationship[0])

Check warning on line 24 in examples/nl-core-TreatmentDirective2-01-RelatedPerson-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Unable to check whether the code is in the value set 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.3.1.2--20200901000000|2020-09-01T00:00:00' because the code system urn:oid:2.16.840.1.113883.2.4.3.11.22.472 was not found (at RelatedPerson.relationship[0])
<coding>
<system value="urn:oid:2.16.840.1.113883.2.4.3.11.22.472"/>
<code value="01"/>
Expand All @@ -40,7 +40,7 @@
<valueCode value="NL1"/>
</extension>
<use value="official"/>
<text value="Jan Pieter Mark (Piet) van Putten"/>
<text value="Jan Pieter Mark van Putten"/>
<family value="van Putten">
<extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix">
<valueString value="van"/>
Expand Down Expand Up @@ -76,13 +76,13 @@
<use value="usual"/>
<given value="Piet"/>
</name>
<telecom>

Check notice on line 79 in examples/nl-core-TreatmentDirective2-01-RelatedPerson-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

This element does not match any known slice defined in the profile http://nictiz.nl/fhir/StructureDefinition/nl-core-ContactPerson (this may not be a problem, but you should check that it's not intended to match a slice) (at RelatedPerson.telecom[0])
<extension url="http://nictiz.nl/fhir/StructureDefinition/ext-Comment">
<valueString value="test toelichting"/>
</extension>
<system value="phone">
<extension url="http://nictiz.nl/fhir/StructureDefinition/ext-CodeSpecification">
<valueCodeableConcept>

Check warning on line 85 in examples/nl-core-TreatmentDirective2-01-RelatedPerson-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Wrong Display Name 'Mobile Phone' for http://terminology.hl7.org/CodeSystem/v3-AddressUse#MC. Valid display is one of 1 choices: 'mobile contact' (en) (for the language(s) '--') (at RelatedPerson.telecom[0].system.extension[0].value.ofType(CodeableConcept).coding[0].display)
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-AddressUse"/>
<code value="MC"/>
Expand Down Expand Up @@ -133,7 +133,7 @@
<postalCode value="1012 NX"/>
<country value="Nederland">
<extension url="http://nictiz.nl/fhir/StructureDefinition/ext-CodeSpecification">
<valueCodeableConcept>

Check warning on line 136 in examples/nl-core-TreatmentDirective2-01-RelatedPerson-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Wrong Display Name 'Nederland' for urn:iso:std:iso:3166#NL. Valid display is 'Netherlands' (for the language(s) '--') (at RelatedPerson.address[0].country.extension[0].value.ofType(CodeableConcept).coding[0].display)

Check warning on line 136 in examples/nl-core-TreatmentDirective2-01-RelatedPerson-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Wrong Display Name 'Nederland' for urn:iso:std:iso:3166#NL. Valid display is 'Netherlands' (for the language(s) '--') (at RelatedPerson.address[0].country.extension[0].value.ofType(CodeableConcept).display)
<coding>
<system value="urn:iso:std:iso:3166"/>
<version value="2020-10-26T00:00:00"/>
Expand Down
4 changes: 2 additions & 2 deletions examples/nl-core-TreatmentDirective2-02-Patient-01.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<div>Id 999911120 (BSN), <span title="Naamsamenstelling: Eigennaam">Jan Pieter Mark (Piet) Pietersen</span>, Vrouw, 3 december 1998, Geen meerling</div>
<div>Id 999911120 (BSN), <span title="Naamsamenstelling: Eigennaam">Jan Pieter Mark Pietersen</span>, Vrouw, 3 december 1998, Geen meerling</div>
<div>
<a href="tel:+31611234567">+31611234567</a> (Tel Werk), <a href="mailto:giesput@myweb.nl">giesput@myweb.nl</a> (E-mail Privé)</div>
<div>1e Jacob van Campenstr to 15 A 2e, 1012 NX Hoogmade Kaag en Braassem, Nederland (Privé Post / Bezoek)</div>
Expand All @@ -21,7 +21,7 @@
<valueCode value="NL1"/>
</extension>
<use value="official"/>
<text value="Jan Pieter Mark (Piet) Pietersen"/>
<text value="Jan Pieter Mark Pietersen"/>
<family value="Pietersen">
<extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name">
<valueString value="Pietersen"/>
Expand Down Expand Up @@ -51,13 +51,13 @@
<use value="usual"/>
<given value="Piet"/>
</name>
<telecom>

Check notice on line 54 in examples/nl-core-TreatmentDirective2-02-Patient-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

This element does not match any known slice defined in the profile http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient (this may not be a problem, but you should check that it's not intended to match a slice) (at Patient.telecom[0])
<extension url="http://nictiz.nl/fhir/StructureDefinition/ext-Comment">
<valueString value="Tussen 9 en 17"/>
</extension>
<system value="phone">
<extension url="http://nictiz.nl/fhir/StructureDefinition/ext-CodeSpecification">
<valueCodeableConcept>

Check warning on line 60 in examples/nl-core-TreatmentDirective2-02-Patient-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Wrong Display Name 'Mobile Phone' for http://terminology.hl7.org/CodeSystem/v3-AddressUse#MC. Valid display is one of 1 choices: 'mobile contact' (en) (for the language(s) '--') (at Patient.telecom[0].system.extension[0].value.ofType(CodeableConcept).coding[0].display)
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-AddressUse"/>
<code value="MC"/>
Expand Down Expand Up @@ -121,7 +121,7 @@
<postalCode value="1012 NX"/>
<country value="Nederland">
<extension url="http://nictiz.nl/fhir/StructureDefinition/ext-CodeSpecification">
<valueCodeableConcept>

Check warning on line 124 in examples/nl-core-TreatmentDirective2-02-Patient-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Wrong Display Name 'Nederland' for urn:iso:std:iso:3166#NL. Valid display is 'Netherlands' (for the language(s) '--') (at Patient.address[0].country.extension[0].value.ofType(CodeableConcept).coding[0].display)

Check warning on line 124 in examples/nl-core-TreatmentDirective2-02-Patient-01.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Wrong Display Name 'Nederland' for urn:iso:std:iso:3166#NL. Valid display is 'Netherlands' (for the language(s) '--') (at Patient.address[0].country.extension[0].value.ofType(CodeableConcept).display)
<coding>
<system value="urn:iso:std:iso:3166"/>
<version value="2020-10-26T00:00:00"/>
Expand Down
Loading