<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="hg-Encounter" />
  <url value="http://nictiz.nl/fhir/StructureDefinition/hg-Encounter" />
  <name value="HgEncounter" />
  <title value="hg Encounter" />
  <status value="draft" />
  <publisher value="Nictiz" />
  <contact>
    <name value="Nictiz" />
    <telecom>
      <system value="url" />
      <value value="https://www.nictiz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="An Encounter (&quot;Contact&quot;) as used within the medical record (&quot;Dossiergegevens&quot;) section in the ELZ data set. It is based on the zib Encounter as much as possible, but adds some elements that are necessary for data exchange in the primary care domain." />
  <purpose value="A derived profile from [nl-core-Encounter](http://nictiz.nl/fhir/StructureDefinition/nl-core-Encounter) to provide a version better suited for use in ELZ use cases." />
  <copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="hg-dataset-020-beta1-20230612" />
    <uri value="https://decor.nictiz.nl/pub/eerstelijnszorg/hg-html-20230612T223800/ds-2.16.840.1.113883.2.4.3.11.60.103.1.1-2020-10-19T175239.html" />
    <name value="ART-DECOR dataset ELZ 0.2.0-beta.1 20230612" />
    <comment value="Relation with the ELZ data set." />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Encounter" />
  <baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/nl-core-Encounter" />
  <derivation value="constraint" />
  <differential>
    <element id="Encounter">
      <path value="Encounter" />
      <mapping>
        <identity value="hg-dataset-020-beta1-20230612" />
        <map value="hg-dataelement-111" />
        <comment value="Contact" />
      </mapping>
    </element>
    <element id="Encounter.identifier">
      <path value="Encounter.identifier" />
      <short value="IdentificationNumber" />
      <definition value="Globally unique number that identifies the instantiation of the information model. The number is composed of an identification of the issuer organization and a unique number assigned by this organization." />
      <alias value="Identificatienummer" />
      <mapping>
        <identity value="hg-dataset-020-beta1-20230612" />
        <map value="hg-dataelement-1203" />
        <comment value="IdentificationNumber" />
      </mapping>
    </element>
    <element id="Encounter.class">
      <path value="Encounter.class" />
      <example>
        <label value="Example for consultation (&quot;Consult&quot;)" />
        <valueCoding>
          <system value="urn:oid:2.16.840.1.113883.2.4.4.30.14" />
          <code value="C" />
          <display value="consult" />
        </valueCoding>
      </example>
      <binding>
        <strength value="extensible" />
        <description value="Classification of the Encounter using NHG-Tabel 14-Contactwijze" />
        <valueSet value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.103.11.3--20201104132536" />
      </binding>
      <mapping>
        <identity value="hg-dataset-020-beta1-20230612" />
        <map value="hg-dataelement-112" />
        <comment value="ContactType" />
      </mapping>
    </element>
    <element id="Encounter.participant:healthProfessional">
      <path value="Encounter.participant" />
      <sliceName value="healthProfessional" />
      <mapping>
        <identity value="hg-dataset-020-beta1-20230612" />
        <map value="hg-dataelement-113" />
        <comment value="ContactWith" />
      </mapping>
    </element>
    <element id="Encounter.participant:healthProfessional.individual">
      <path value="Encounter.participant.individual" />
      <mapping>
        <identity value="hg-dataset-020-beta1-20230612" />
        <map value="hg-dataelement-5394" />
        <comment value="HealthProfessional" />
      </mapping>
    </element>
    <element id="Encounter.participant:responsibleHealthProfessional">
      <path value="Encounter.participant" />
      <sliceName value="responsibleHealthProfessional" />
      <code>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType" />
        <code value="RESP" />
      </code>
      <max value="1" />
      <mapping>
        <identity value="hg-dataset-020-beta1-20230612" />
        <map value="hg-dataelement-804" />
        <comment value="ContactResponsible" />
      </mapping>
    </element>
    <element id="Encounter.participant:responsibleHealthProfessional.type">
      <path value="Encounter.participant.type" />
      <short value="HealthProfessionalRole" />
      <definition value="The role the health professional fulfils in the healthcare process. For health professionals, this could be for example attender, referrer or performer." />
      <alias value="ZorgverlenerRol" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Encounter.participant.individual">
      <path value="Encounter.participant.individual" />
      <mapping>
        <identity value="hg-dataset-020-beta1-20230612" />
        <map value="hg-datalement-5397" />
        <comment value="HealthProfessional" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>