<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="nxh-patient" />
  <url value="https://fhir.nxh.com/standards/fhir/StructureDefinition/NxhPatient" />
  <name value="NxhPatient" />
  <status value="active" />
  <date value="2024-04-10T09:12:21.4318188+00:00" />
  <description value="The nexuzhealth profile for a patient used during import and export procedures." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Patient" />
  <baseDefinition value="https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-patient" />
  <derivation value="constraint" />
  <differential>
    <element id="Patient.identifier:patientId">
      <path value="Patient.identifier" />
      <sliceName value="patientId" />
      <short value="The CMD identifier for this patient" />
      <definition value="The identifier for this patient used in the Common Data Model of NxH Pro." />
    </element>
    <element id="Patient.identifier:patientId.type.coding.system">
      <path value="Patient.identifier.type.coding.system" />
      <fixedUri value="http://terminology.hl7.org/CodeSystem/v2-0203" />
    </element>
    <element id="Patient.identifier:patientId.type.coding.code">
      <path value="Patient.identifier.type.coding.code" />
      <fixedCode value="MR" />
    </element>
    <element id="Patient.identifier:patientId.type.coding.display">
      <path value="Patient.identifier.type.coding.display" />
      <fixedString value="Medical record number" />
    </element>
    <element id="Patient.identifier:patientId.system">
      <path value="Patient.identifier.system" />
      <fixedUri value="https://fhir.nxh.com/standards/fhir/NamingSystem/patientId" />
    </element>
    <element id="Patient.name">
      <path value="Patient.name" />
      <max value="1" />
    </element>
    <element id="Patient.name.prefix">
      <path value="Patient.name.prefix" />
      <max value="1" />
    </element>
    <element id="Patient.name.suffix">
      <path value="Patient.name.suffix" />
      <max value="1" />
    </element>
    <element id="Patient.contact.extension:nxhExtGprference">
      <path value="Patient.contact.extension" />
      <sliceName value="nxhExtGprference" />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.nxh.com/standards/fhir/StructureDefinition/NxhExtGpreference" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="Patient.contact.name.prefix">
      <path value="Patient.contact.name.prefix" />
      <max value="1" />
    </element>
    <element id="Patient.contact.name.suffix">
      <path value="Patient.contact.name.suffix" />
      <max value="1" />
    </element>
    <element id="Patient.contact.address">
      <path value="Patient.contact.address" />
      <short value="An address expressed using postal conventions (as opposed to GPS or other location definition formats)" />
      <definition value="An address expressed using postal conventions (as opposed to GPS or other location definition formats).  This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery.  There are a variety of postal address formats defined around the world." />
      <comment value="Note: address is intended to describe postal addresses for administrative purposes, not to describe absolute geographical coordinates.  Postal addresses are often used as proxies for physical locations (also see the [Location](location.html#) resource).&#xD;&#xA;&#xD;&#xA;Special remarks for KMEHR users:&#xD;&#xA;&#xD;&#xA;Note when .use and .type are used they SHALL use the FHIR defined valuesets as per their required binding level in the FHIR specification. In a KMEHR address, the use was defined by CD-ADDRESS but those values can be found in the FHIR valueset.&#xD;&#xA;KMEHR values 'careadress', 'other' and 'vacation' are not directly present in the FHIR address-use table but can be mapped to the value 'temp' in FHIR. In those cases, it is RECOMMENDED to also add a .period.&#xD;&#xA;In KMEHR, an address might be expressed using free text or a totally structured approach where the streetname and housenumber are put in separate fields. FHIR prefers a more pragmatic approach where the ‘text’ element is used to print on labels. Also, streetname and number are not separate fields as in KMEHR but in a structural approach are given as one or moren ‘line’ elements. It is however RECOMMENDED to use the Streetname, Housenumber and Postbox extensions to express them seperately.&#xD;&#xA;Note the FHIR address also allows to optionally define whether the address is a physical, postal or ‘both’ address using the .type field." />
      <type>
        <code value="Address" />
        <profile value="https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-address" />
      </type>
    </element>
    <element id="Patient.communication.language.coding.system">
      <path value="Patient.communication.language.coding.system" />
      <fixedUri value="http://terminology.hl7.org/CodeSystem/iso639-1" />
    </element>
  </differential>
</StructureDefinition>