Skip to content

Commit

Permalink
updates according issue #204
Browse files Browse the repository at this point in the history
  • Loading branch information
ziegm committed Mar 10, 2023
1 parent e6f6415 commit 2c21903
Show file tree
Hide file tree
Showing 23 changed files with 1,529 additions and 10 deletions.
97 changes: 94 additions & 3 deletions input/ch.fhir.ig.ch-core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
<reference value="Patient/MaxMuster"/>
</reference>
<name value="Max Muster"/>
<description value="Patient EPR with eCH-011 family &amp; and given name and reference to the organization that is the custodian of the patient record"/>
<description value="Patient EPR with eCH-0011 family &amp; and given name, eCH-0046 contact points and reference to the organization that is the custodian of the patient record"/>
<exampleCanonical value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr"/>
</resource>
<resource>
Expand Down Expand Up @@ -337,6 +337,24 @@
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="CodeSystem/ech-46-emailcategory"/>
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="CodeSystem/ech-46-phonecategory"/>
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="CodeSystem/ech-46-internetcategory"/>
</reference>
<exampleBoolean value="false"/>
</resource>

<!-- references for concept maps -->
<resource>
Expand All @@ -363,6 +381,24 @@
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="ConceptMap/ech-46-emailcategory-to-fhir"/>
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="ConceptMap/ech-46-phonecategory-to-fhir"/>
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="ConceptMap/ech-46-internetcategory-to-fhir"/>
</reference>
<exampleBoolean value="false"/>
</resource>

<!-- references for naming systems -->
<resource>
Expand Down Expand Up @@ -514,6 +550,25 @@
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="StructureDefinition/ch-ext-ech-46-emailcategory"/>
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="StructureDefinition/ch-ext-ech-46-phonecategory"/>
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="StructureDefinition/ch-ext-ech-46-internetcategory"/>
</reference>
<exampleBoolean value="false"/>
</resource>

<resource>
<reference>
<reference value="StructureDefinition/ch-core-composition-epr"/>
Expand Down Expand Up @@ -664,6 +719,24 @@
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="StructureDefinition/ch-core-contactpoint-ech-46-email"/>
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="StructureDefinition/ch-core-contactpoint-ech-46-phone"/>
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="StructureDefinition/ch-core-contactpoint-ech-46-internet"/>
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="StructureDefinition/ch-core-practitioner-epr"/>
Expand Down Expand Up @@ -786,6 +859,24 @@
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="ValueSet/ech-46-emailcategory"/>
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="ValueSet/ech-46-phonecategory"/>
</reference>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="ValueSet/ech-46-internetcategory"/>
</reference>
<exampleBoolean value="false"/>
</resource>

<!-- pages, parameters -->
<page>
Expand All @@ -800,12 +891,12 @@
<page>
<nameUrl value="profiles.html"/>
<title value="Profiles"/>
<generation value="html"/>
<generation value="markdown"/>
</page>
<page>
<nameUrl value="extensions.html"/>
<title value="Extensions"/>
<generation value="html"/>
<generation value="markdown"/>
</page>
<page>
<nameUrl value="terminology.html"/>
Expand Down
76 changes: 73 additions & 3 deletions input/examples/patient/MaxMuster.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,91 @@
</extension>
</given>
</name>

<!-- eCH-0046: phone -->
<telecom>
<system value="phone"/>
<value value="+41326851234"/>
<use value="home"/>
<use value="home">
<extension url="http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-46-phonecategory">
<valueCodeableConcept>
<coding>
<system value="http://fhir.ch/ig/ch-core/CodeSystem/ech-46-phonecategory"/>
<code value="1"/>
<display value="private Telefonnummer"/>
</coding>
</valueCodeableConcept>
</extension>
</use>
</telecom>
<telecom>
<system value="phone"/>
<value value="079 333 22 11"/>
<use value="mobile">
<extension url="http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-46-phonecategory">
<valueCodeableConcept>
<coding>
<system value="http://fhir.ch/ig/ch-core/CodeSystem/ech-46-phonecategory"/>
<code value="2"/>
<display value="private Mobil-Nummer"/>
</coding>
</valueCodeableConcept>
</extension>
</use>
</telecom>
<telecom>
<system value="phone"/>
<value value="+41321237788"/>
<use value="work"/>
<use value="work">
<extension url="http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-46-phonecategory">
<valueCodeableConcept>
<coding>
<system value="http://fhir.ch/ig/ch-core/CodeSystem/ech-46-phonecategory"/>
<code value="6"/>
<display value="geschäftliche Nummer (Durchwahl)"/>
</coding>
</valueCodeableConcept>
</extension>
</use>
</telecom>
<!-- eCH-0046: email -->
<telecom>
<system value="email"/>
<value value="max.muster@sampledomain.ch"/>
<use value="home"/>
<use value="home">
<extension url="http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-46-emailcategory">
<valueCodeableConcept>
<coding>
<system value="http://fhir.ch/ig/ch-core/CodeSystem/ech-46-emailcategory"/>
<code value="1"/>
<display value="private Email-Adresse"/>
</coding>
</valueCodeableConcept>
</extension>
</use>
</telecom>
<!-- eCH-0046: internet -->
<telecom>
<system value="url"/>
<value value="www.sampledomain.ch"/>
<use value="work">
<extension url="http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-46-internetcategory">
<valueCodeableConcept>
<coding>
<system value="http://fhir.ch/ig/ch-core/CodeSystem/ech-46-internetcategory"/>
<code value="2"/>
<display value="geschäftliche Internet-Adresse"/>
</coding>
</valueCodeableConcept>
</extension>
</use>
</telecom>
<!-- different slice -->
<telecom>
<system value="sms"/>
<value value="079 333 22 11"/>
</telecom>

<gender value="male"/>
<birthDate value="1938-12-12"/>
<address>
Expand Down
2 changes: 1 addition & 1 deletion input/pagecontent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This implementation guide is provided to support the use of FHIR<sup>&reg;&copy;
This guide is a working specification. We anticipate that it will be implemented and tested by FHIR system producers whose feedback will help improve its content. With this standard for trial use, we are looking for feedback on whether the following goals have been met:
- The guide provides guidance on essential resources for identifiers, code systems, value sets and naming systems in Switzerland, specifically in relation to the Swiss Electronic Patient Record ([EPR](https://www.patientendossier.ch/en)).
- The guide defines extensions that are necessary for local use in Switzerland.
- The guide covers the requirements for [eCH-0010 postal address (V7.0)](https://www.ech.ch/de/ech/ech-0010/7.0) and [eCH-0011 personal data (V8.1)](https://www.ech.ch/de/ech/ech-0011/8.1) (including [eCH-0007 municipality (V6.0)](https://www.ech.ch/de/ech/ech-0007/6.0) and [eCH-0021 additional personal data (V7.0)](https://www.ech.ch/de/ech/ech-0021/7.0)).
- The guide covers the requirements for [eCH-0010 postal address (V7.0)](https://www.ech.ch/de/ech/ech-0010/7.0), [eCH-0046 contact (V5.0)](https://www.ech.ch/de/ech/ech-0046/5.0) and [eCH-0011 personal data (V8.1)](https://www.ech.ch/de/ech/ech-0011/8.1) (including [eCH-0007 municipality (V6.0)](https://www.ech.ch/de/ech/ech-0007/6.0) and [eCH-0021 additional personal data (V7.0)](https://www.ech.ch/de/ech/ech-0021/7.0)).
- The guide incorporates Federal Statistics Office (BFS) variables for medical statistics. See [BFS](https://www.bfs.admin.ch/bfs/de/home/statistiken/kataloge-datenbanken/publikationen.assetdetail.7066232.html) (available in German, French and Italian).

**Note**: This implementation guide is not (yet) a FHIR API specification, this will be a goal for the next iteration.
Expand Down
1 change: 1 addition & 0 deletions input/pages/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All significant changes to this FHIR implementation guide will be documented on

#### Added
* [#196](https://github.com/hl7ch/ch-core/issues/196): Data type profile [VEKAIdentifier](StructureDefinition-ch-core-veka-identifier.html) for [Coverage.identifier](StructureDefinition-ch-core-coverage.html) and new also for [Patient.identifier](StructureDefinition-ch-core-patient.html)
* [#204](https://github.com/hl7ch/ch-core/issues/204): Introduce data type profiles for ContactPoints (email, phone, internet) according eCH-0046 (including extensions and terminology) and add them to the telecom element of Patient, Practitioner, Organization, Location

#### Changed / Updated
* [#206](https://github.com/hl7ch/ch-core/issues/206): Improve acronyms definition
Expand Down
52 changes: 52 additions & 0 deletions input/resources/codesystem/ech-46-emailcategory.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="ech-46-emailcategory"/>
<url value="http://fhir.ch/ig/ch-core/CodeSystem/ech-46-emailcategory"/>
<version value="3.1.0"/>
<name value="ECH46EmailCategory"/>
<title value="eCH-0046 Email Category"/>
<status value="active"/>
<experimental value="false"/>
<date value="2023-03-10"/>
<publisher value="HL7 Switzerland"/>
<contact>
<name value="HL7 Switzerland"/>
<telecom>
<system value="url"/>
<value value="https://www.hl7.ch/"/>
</telecom>
</contact>
<description value="eCH-0046 defines different types for e-mail categories. See https://www.ech.ch/de/ech/ech-0046/5.0 4.3.1 emailCategory" />
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="CH"/>
</coding>
</jurisdiction>
<caseSensitive value="true"/>
<content value="complete"/>
<concept>
<code value="1"/>
<display value="private"/>
<designation>
<language value="de-CH" />
<value value="private Email-Adresse" />
</designation>
<designation>
<language value="fr-CH" />
<value value="adresse E-Mail privée" />
</designation>
</concept>
<concept>
<code value="2"/>
<display value="business"/>
<designation>
<language value="de-CH" />
<value value="geschäftliche Email-Adresse" />
</designation>
<designation>
<language value="fr-CH" />
<value value="adresse E-Mail commerciale" />
</designation>
</concept>
</CodeSystem>
52 changes: 52 additions & 0 deletions input/resources/codesystem/ech-46-internetcategory.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="ech-46-internetcategory"/>
<url value="http://fhir.ch/ig/ch-core/CodeSystem/ech-46-internetcategory"/>
<version value="3.1.0"/>
<name value="ECH46InternetCategory"/>
<title value="eCH-0046 Internet Category"/>
<status value="active"/>
<experimental value="false"/>
<date value="2023-03-10"/>
<publisher value="HL7 Switzerland"/>
<contact>
<name value="HL7 Switzerland"/>
<telecom>
<system value="url"/>
<value value="https://www.hl7.ch/"/>
</telecom>
</contact>
<description value="eCH-0046 defines different types for internet categories. See https://www.ech.ch/de/ech/ech-0046/5.0 4.5.1 internetCategory" />
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="CH"/>
</coding>
</jurisdiction>
<caseSensitive value="true"/>
<content value="complete"/>
<concept>
<code value="1"/>
<display value="private"/>
<designation>
<language value="de-CH" />
<value value="private Internet-Adresse" />
</designation>
<designation>
<language value="fr-CH" />
<value value="adresse Internet privée" />
</designation>
</concept>
<concept>
<code value="2"/>
<display value="business"/>
<designation>
<language value="de-CH" />
<value value="geschäftliche Internet-Adresse" />
</designation>
<designation>
<language value="fr-CH" />
<value value="adresse Internet commerciale" />
</designation>
</concept>
</CodeSystem>
Loading

0 comments on commit 2c21903

Please sign in to comment.