<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://fhir.cezih.hr/specifikacije/StructureDefinition/HRPatientEuLab" />
  <name value="HRPatientEuLab" />
  <status value="draft" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Patient" />
  <baseDefinition value="http://hl7.eu/fhir/laboratory/StructureDefinition/Patient-eu-lab" />
  <derivation value="constraint" />
  <differential>
    <element id="Patient.extension:sex-for-clinical-use">
      <path value="Patient.extension" />
      <sliceName value="sex-for-clinical-use" />
    </element>
    <element id="Patient.extension:sex-for-clinical-use.extension">
      <path value="Patient.extension.extension" />
      <min value="1" />
    </element>
    <element id="Patient.extension:sex-for-clinical-use.value[x]">
      <path value="Patient.extension.value[x]" />
      <type>
        <code value="base64Binary" />
      </type>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="canonical" />
      </type>
      <type>
        <code value="code" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="id" />
      </type>
      <type>
        <code value="instant" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="integer64" />
      </type>
      <type>
        <code value="markdown" />
      </type>
      <type>
        <code value="oid" />
      </type>
      <type>
        <code value="positiveInt" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="unsignedInt" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="url" />
      </type>
      <type>
        <code value="uuid" />
      </type>
      <type>
        <code value="Address" />
      </type>
      <type>
        <code value="Age" />
      </type>
      <type>
        <code value="Annotation" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="CodeableReference" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="ContactPoint" />
      </type>
      <type>
        <code value="Count" />
      </type>
      <type>
        <code value="Distance" />
      </type>
      <type>
        <code value="Duration" />
      </type>
      <type>
        <code value="HumanName" />
      </type>
      <type>
        <code value="Identifier" />
      </type>
      <type>
        <code value="Money" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="Reference" />
      </type>
      <type>
        <code value="SampledData" />
      </type>
      <type>
        <code value="Signature" />
      </type>
      <type>
        <code value="Timing" />
      </type>
      <type>
        <code value="ContactDetail" />
      </type>
      <type>
        <code value="DataRequirement" />
      </type>
      <type>
        <code value="Expression" />
      </type>
      <type>
        <code value="ParameterDefinition" />
      </type>
      <type>
        <code value="RelatedArtifact" />
      </type>
      <type>
        <code value="TriggerDefinition" />
      </type>
      <type>
        <code value="UsageContext" />
      </type>
      <type>
        <code value="Dosage" />
      </type>
      <type>
        <code value="Meta" />
      </type>
    </element>
    <element id="Patient.identifier">
      <path value="Patient.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="Patient.identifier:MBO">
      <path value="Patient.identifier" />
      <sliceName value="MBO" />
      <max value="1" />
    </element>
    <element id="Patient.identifier:MBO.system">
      <path value="Patient.identifier.system" />
      <min value="1" />
      <fixedUri value="http://fhir.cezih.hr/specifikacije/identifikatori/MBO" />
    </element>
    <element id="Patient.identifier:MBO.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:EuropskaKartica">
      <path value="Patient.identifier" />
      <sliceName value="EuropskaKartica" />
      <max value="1" />
    </element>
    <element id="Patient.identifier:EuropskaKartica.system">
      <path value="Patient.identifier.system" />
      <min value="1" />
      <fixedUri value="http://fhir.cezih.hr/specifikacije/identifikatori/europska-kartica" />
    </element>
    <element id="Patient.identifier:EuropskaKartica.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:Putovnica">
      <path value="Patient.identifier" />
      <sliceName value="Putovnica" />
      <max value="1" />
    </element>
    <element id="Patient.identifier:Putovnica.system">
      <path value="Patient.identifier.system" />
      <min value="1" />
      <fixedUri value="http://fhir.cezih.hr/specifikacije/identifikatori/putovnica" />
    </element>
    <element id="Patient.identifier:Putovnica.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:JedinstveniIdentifikatorPacijenta">
      <path value="Patient.identifier" />
      <sliceName value="JedinstveniIdentifikatorPacijenta" />
      <max value="1" />
    </element>
    <element id="Patient.identifier:JedinstveniIdentifikatorPacijenta.system">
      <path value="Patient.identifier.system" />
      <min value="1" />
      <fixedUri value="http://fhir.cezih.hr/specifikacije/identifikatori/jedinstveni-identifikator-pacijenta" />
    </element>
    <element id="Patient.identifier:JedinstveniIdentifikatorPacijenta.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:OIB">
      <path value="Patient.identifier" />
      <sliceName value="OIB" />
    </element>
    <element id="Patient.identifier:OIB.system">
      <path value="Patient.identifier.system" />
      <min value="1" />
      <fixedUri value="http://fhir.cezih.hr/specifikacije/identifikatori/OIB" />
    </element>
    <element id="Patient.identifier:OIB.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:bolesnickiList">
      <path value="Patient.identifier" />
      <sliceName value="bolesnickiList" />
      <max value="1" />
    </element>
    <element id="Patient.identifier:bolesnickiList.system">
      <path value="Patient.identifier.system" />
      <min value="1" />
      <fixedUri value="http://fhir.cezih.hr/specifikacije/identifikatori/bolesnicki-list" />
    </element>
    <element id="Patient.identifier:bolesnickiList.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.name">
      <path value="Patient.name" />
      <short value="Ime i prezime pacijenta" />
    </element>
    <element id="Patient.name.family">
      <path value="Patient.name.family" />
      <short value="Prezime pacijenta" />
      <min value="1" />
    </element>
    <element id="Patient.name.given">
      <path value="Patient.name.given" />
      <short value="Ime pacijenta" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Patient.gender">
      <path value="Patient.gender" />
      <short value="Spol" />
      <definition value="Spol pacijenta" />
      <min value="1" />
    </element>
    <element id="Patient.contact.relationship.coding.display.extension:translation">
      <path value="Patient.contact.relationship.coding.display.extension" />
      <sliceName value="translation" />
    </element>
    <element id="Patient.contact.relationship.coding.display.extension:translation.value[x]">
      <path value="Patient.contact.relationship.coding.display.extension.value[x]" />
      <type>
        <code value="base64Binary" />
      </type>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="canonical" />
      </type>
      <type>
        <code value="code" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="id" />
      </type>
      <type>
        <code value="instant" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="integer64" />
      </type>
      <type>
        <code value="markdown" />
      </type>
      <type>
        <code value="oid" />
      </type>
      <type>
        <code value="positiveInt" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="unsignedInt" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="url" />
      </type>
      <type>
        <code value="uuid" />
      </type>
      <type>
        <code value="Address" />
      </type>
      <type>
        <code value="Age" />
      </type>
      <type>
        <code value="Annotation" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="CodeableReference" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="ContactPoint" />
      </type>
      <type>
        <code value="Count" />
      </type>
      <type>
        <code value="Distance" />
      </type>
      <type>
        <code value="Duration" />
      </type>
      <type>
        <code value="HumanName" />
      </type>
      <type>
        <code value="Identifier" />
      </type>
      <type>
        <code value="Money" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="Reference" />
      </type>
      <type>
        <code value="SampledData" />
      </type>
      <type>
        <code value="Signature" />
      </type>
      <type>
        <code value="Timing" />
      </type>
      <type>
        <code value="ContactDetail" />
      </type>
      <type>
        <code value="DataRequirement" />
      </type>
      <type>
        <code value="Expression" />
      </type>
      <type>
        <code value="ParameterDefinition" />
      </type>
      <type>
        <code value="RelatedArtifact" />
      </type>
      <type>
        <code value="TriggerDefinition" />
      </type>
      <type>
        <code value="UsageContext" />
      </type>
      <type>
        <code value="Dosage" />
      </type>
      <type>
        <code value="Meta" />
      </type>
    </element>
    <element id="Patient.contact.relationship.text.extension:translation">
      <path value="Patient.contact.relationship.text.extension" />
      <sliceName value="translation" />
    </element>
    <element id="Patient.contact.relationship.text.extension:translation.value[x]">
      <path value="Patient.contact.relationship.text.extension.value[x]" />
      <type>
        <code value="base64Binary" />
      </type>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="canonical" />
      </type>
      <type>
        <code value="code" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="id" />
      </type>
      <type>
        <code value="instant" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="integer64" />
      </type>
      <type>
        <code value="markdown" />
      </type>
      <type>
        <code value="oid" />
      </type>
      <type>
        <code value="positiveInt" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="unsignedInt" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="url" />
      </type>
      <type>
        <code value="uuid" />
      </type>
      <type>
        <code value="Address" />
      </type>
      <type>
        <code value="Age" />
      </type>
      <type>
        <code value="Annotation" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="CodeableReference" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="ContactPoint" />
      </type>
      <type>
        <code value="Count" />
      </type>
      <type>
        <code value="Distance" />
      </type>
      <type>
        <code value="Duration" />
      </type>
      <type>
        <code value="HumanName" />
      </type>
      <type>
        <code value="Identifier" />
      </type>
      <type>
        <code value="Money" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="Reference" />
      </type>
      <type>
        <code value="SampledData" />
      </type>
      <type>
        <code value="Signature" />
      </type>
      <type>
        <code value="Timing" />
      </type>
      <type>
        <code value="ContactDetail" />
      </type>
      <type>
        <code value="DataRequirement" />
      </type>
      <type>
        <code value="Expression" />
      </type>
      <type>
        <code value="ParameterDefinition" />
      </type>
      <type>
        <code value="RelatedArtifact" />
      </type>
      <type>
        <code value="TriggerDefinition" />
      </type>
      <type>
        <code value="UsageContext" />
      </type>
      <type>
        <code value="Dosage" />
      </type>
      <type>
        <code value="Meta" />
      </type>
    </element>
  </differential>
</StructureDefinition>