<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="vkp-Patient-v090" />
  <meta>
    <versionId value="7" />
    <lastUpdated value="2018-06-29T10:32:14.139+00:00" />
  </meta>
  <url value="http://ehelse.no/fhir/StructureDefinition/vkp-Patient-v090" />
  <version value="0.9.0" />
  <name value="VkpPatient" />
  <status value="draft" />
  <date value="2019-11-28" />
  <description value="Profile of the no-basis-Patient profile resource. Used in the Norwegian Personal Connected Health project to document Patient information." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Patient" />
  <baseDefinition value="http://hl7.no/fhir/StructureDefinition/no-basis-Patient" />
  <derivation value="constraint" />
  <differential>
    <element id="Patient.extension">
      <path value="Patient.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Patient.extension:nationality">
      <path value="Patient.extension" />
      <sliceName value="nationality" />
      <definition value="The nationality of the patient. should be a country code from ISO 3166-1 code system&#xD;&#xA;&#xD;&#xA;Example:&#xD;&#xA;~~~&#xD;&#xA;{&#xD;&#xA;   &quot;url&quot;:&quot;http://hl7.org/fhir/StructureDefinition/patient-nationality&quot;,&#xD;&#xA;   &quot;extension&quot;: [&#xD;&#xA;   {&#xD;&#xA;      &quot;url&quot;:&quot;code&quot;,&#xD;&#xA;      &quot;valueCodeableConcept&quot;:{&#xD;&#xA;         &quot;coding&quot;: [&#xD;&#xA;         {&#xD;&#xA;            &quot;system&quot;:&quot;urn:iso:std:iso:3166&quot;,&#xD;&#xA;            &quot;code&quot;:&quot;NO&quot;&#xD;&#xA;         }&#xD;&#xA;      ]&#xD;&#xA;      }&#xD;&#xA;      }&#xD;&#xA;   ]&#xD;&#xA;}&#xD;&#xA;~~~" />
    </element>
    <element id="Patient.extension:sone">
      <path value="Patient.extension" />
      <sliceName value="sone" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://ehelse.no/fhir/StructureDefinition/vkp-sone-v090" />
      </type>
    </element>
    <element id="Patient.extension:sone.value[x]">
      <path value="Patient.extension.value[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Patient.extension:household">
      <path value="Patient.extension" />
      <sliceName value="household" />
      <type>
        <code value="Extension" />
        <profile value="http://ehelse.no/fhir/StructureDefinition/vkp-household-v090" />
      </type>
    </element>
    <element id="Patient.identifier">
      <path value="Patient.identifier" />
      <definition value="VKP expects a Norwegian &quot;fødselsnummer&quot; as the primary patient identification. &#xD;&#xA;&#xD;&#xA;An identifier for this patient. Should be at Fødselsnummer, Felles hjelpenummer or D-nummer." />
    </element>
    <element id="Patient.address">
      <path value="Patient.address" />
      <type>
        <code value="Address" />
        <profile value="http://ehelse.no/fhir/StructureDefinition/vkp-Address-v090" />
      </type>
    </element>
    <element id="Patient.contact.relationship">
      <path value="Patient.contact.relationship" />
      <definition value="VKP can use both coded and text value for relationship. Coded values are given according to HL7 CodeSystem http://hl7.org/fhir/v2/0131/&#xD;&#xA;Text values can be free text description of the relationship. Both a textdescription and a coded value can be present.&#xD;&#xA;The main contact of the patient should be coded as &quot;C&quot; - &quot;Emergency Contact&quot;&#xD;&#xA;&#xD;&#xA;The nature of the relationship between the patient and the contact person." />
    </element>
    <element id="Patient.contact.relationship.coding">
      <path value="Patient.contact.relationship.coding" />
      <short value="Coded value for the relationship" />
      <definition value="Coded value for the relationship" />
    </element>
    <element id="Patient.contact.relationship.text">
      <path value="Patient.contact.relationship.text" />
      <short value="Plain text representation of the relationship" />
      <definition value="Plain text representation of the relationship" />
    </element>
    <element id="Patient.generalPractitioner">
      <path value="Patient.generalPractitioner" />
      <definition value="VKP expects the HER id of the &quot;tjeneste&quot; responsible for providing the patient with &quot;fastlege&quot; services.&#xD;&#xA;&#xD;&#xA;Patient's nominated care provider." />
    </element>
  </differential>
</StructureDefinition>