<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="HdBe-ContactPerson" />
  <meta>
    <lastUpdated value="2022-08-19T06:57:39.6677921+00:00" />
  </meta>
  <url value="https://fhir.healthdata.be/StructureDefinition/HdBe-ContactPerson" />
  <name value="HdBeContactPerson" />
  <title value="HdBe ContactPerson" />
  <status value="draft" />
  <date value="2022-10-17T09:09:13.9562003+00:00" />
  <publisher value="Healthdata.be (Sciensano)" />
  <contact>
    <name value="Service portal – healthdata.be" />
    <telecom>
      <system value="url" />
      <value value="https://sciensano.service-now.com/sp" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="A contact person is a person not being a healthcare professional who is involved in the patient’s care, such as family members, caregivers, mental caretakers, guardians and legal representatives.&#xD;&#xA;&#xD;&#xA;In addition to identification information such as the name, address and contact information can also be entered. The relationship to the patient and the role this person has can be entered as well." />
  <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="HdBe-ContactPerson" />
    <uri value="https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-ContactPerson" />
    <name value="HdBe logical model ContactPerson" />
  </mapping>
  <mapping>
    <identity value="zib-contactperson-v3.4-2020EN" />
    <uri value="https://zibs.nl/wiki/ContactPerson-v3.4(2020EN)" />
    <name value="zib ContactPerson-v3.4(2020EN)" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="RelatedPerson" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
  <derivation value="constraint" />
  <differential>
    <element id="RelatedPerson">
      <path value="RelatedPerson" />
      <short value="Contact" />
      <comment value="Whereas the CBB ContactPerson includes all (non-healthcare professional) persons that are involved in the care for a patient, FHIR distinguishes two use cases for these persons:&#xD;&#xA;&#xD;&#xA;* The RelatedPerson resource, and therefore this profile, is used to capture information about any person that is related to the patient.&#xD;&#xA;* Information about persons that should be _contacted_ regarding the care for the patient is captured using the `Patient.contact` resource.&#xD;&#xA;&#xD;&#xA;If a person is both a related person and a contact person, then some data duplication is inevitable." />
      <alias value="Contactpersoon" />
      <mapping>
        <identity value="zib-contactperson-v3.4-2020EN" />
        <map value="NL-CM:3.1.1" />
        <comment value="Contact" />
      </mapping>
      <mapping>
        <identity value="HdBe-ContactPerson" />
        <map value="ContactPerson" />
      </mapping>
    </element>
    <element id="RelatedPerson.patient">
      <path value="RelatedPerson.patient" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/HdBe-Patient" />
      </type>
    </element>
    <element id="RelatedPerson.relationship">
      <path value="RelatedPerson.relationship" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="RelatedPerson.relationship:role">
      <path value="RelatedPerson.relationship" />
      <sliceName value="role" />
      <short value="Role" />
      <definition value="Defines the role of the contact person in relation to the patient." />
      <alias value="Rol" />
      <binding>
        <strength value="required" />
        <description value="RolCodelijst" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/Role" />
      </binding>
      <mapping>
        <identity value="zib-contactperson-v3.4-2020EN" />
        <map value="NL-CM:3.1.2" />
        <comment value="Role" />
      </mapping>
      <mapping>
        <identity value="HdBe-ContactPerson" />
        <map value="ContactPerson.Role" />
      </mapping>
    </element>
    <element id="RelatedPerson.relationship:relationship">
      <path value="RelatedPerson.relationship" />
      <sliceName value="relationship" />
      <short value="Relationship" />
      <definition value="Defines the contact person’s familial relationship to the patient." />
      <alias value="Relatie" />
      <binding>
        <strength value="required" />
        <description value="RelatieCodelijst" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/Relationship" />
      </binding>
      <mapping>
        <identity value="zib-contactperson-v3.4-2020EN" />
        <map value="NL-CM:3.1.3" />
        <comment value="Relationship" />
      </mapping>
      <mapping>
        <identity value="HdBe-ContactPerson" />
        <map value="ContactPerson.Relationship" />
      </mapping>
    </element>
    <element id="RelatedPerson.name">
      <path value="RelatedPerson.name" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="use" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="NameInformation" />
      <definition value="Full name of the contact person." />
      <alias value="Naamgegevens" />
      <mapping>
        <identity value="zib-contactperson-v3.4-2020EN" />
        <map value="NL-CM:3.1.4" />
        <comment value="NameInformation" />
      </mapping>
      <mapping>
        <identity value="HdBe-ContactPerson" />
        <map value="ContactPerson.NameInformation" />
      </mapping>
    </element>
    <element id="RelatedPerson.name:nameInformation">
      <path value="RelatedPerson.name" />
      <sliceName value="nameInformation" />
      <max value="2" />
      <type>
        <code value="HumanName" />
        <profile value="https://fhir.healthdata.be/StructureDefinition/HdBe-NameInformation" />
      </type>
    </element>
    <element id="RelatedPerson.name:nameInformation-GivenName">
      <path value="RelatedPerson.name" />
      <sliceName value="nameInformation-GivenName" />
      <type>
        <code value="HumanName" />
        <profile value="https://fhir.healthdata.be/StructureDefinition/HdBe-NameInformation.GivenName" />
      </type>
    </element>
    <element id="RelatedPerson.telecom">
      <path value="RelatedPerson.telecom" />
      <short value="ContactInformation" />
      <definition value="The contact person’s telephone number and/or e-mail address." />
      <alias value="Contactgegevens" />
      <type>
        <code value="ContactPoint" />
        <profile value="https://fhir.healthdata.be/StructureDefinition/HdBe-ContactInformation" />
      </type>
      <mapping>
        <identity value="zib-contactperson-v3.4-2020EN" />
        <map value="NL-CM:3.1.6" />
        <comment value="ContactInformation" />
      </mapping>
      <mapping>
        <identity value="HdBe-ContactPerson" />
        <map value="ContactPerson.ContactInformation" />
      </mapping>
    </element>
    <element id="RelatedPerson.address">
      <path value="RelatedPerson.address" />
      <definition value="Contact person’s address information." />
      <type>
        <code value="Address" />
        <profile value="https://fhir.healthdata.be/StructureDefinition/HdBe-AddressInformation" />
      </type>
      <mapping>
        <identity value="zib-contactperson-v3.4-2020EN" />
        <map value="NL-CM:3.1.5" />
        <comment value="AddressInformation" />
      </mapping>
      <mapping>
        <identity value="HdBe-ContactPerson" />
        <map value="ContactPerson.AddressInformation" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>