<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://fhir.cezih.hr/specifikacije/StructureDefinition/HRDiagnosticReportEuImaging" />
  <name value="HRDiagnosticReportEuImaging" />
  <status value="draft" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="DiagnosticReport" />
  <baseDefinition value="http://hl7.eu/fhir/imaging/StructureDefinition/DiagnosticReportEuImaging" />
  <derivation value="constraint" />
  <differential>
    <element id="DiagnosticReport.identifier">
      <path value="DiagnosticReport.identifier" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.identifier.system">
      <path value="DiagnosticReport.identifier.system" />
      <min value="1" />
      <fixedUri value="http://fhir.cezih.hr/specifikacije/identifikatori/identifikator-posjete" />
    </element>
    <element id="DiagnosticReport.identifier.value">
      <path value="DiagnosticReport.identifier.value" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.status">
      <path value="DiagnosticReport.status" />
      <fixedCode value="final" />
    </element>
    <element id="DiagnosticReport.category:diagnostic-service">
      <path value="DiagnosticReport.category" />
      <sliceName value="diagnostic-service" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.category:diagnostic-service.coding">
      <path value="DiagnosticReport.category.coding" />
      <min value="1" />
      <max value="1" />
      <fixedCoding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0074" />
        <code value="RAD" />
      </fixedCoding>
    </element>
    <element id="DiagnosticReport.code">
      <path value="DiagnosticReport.code" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://fhir.cezih.hr/specifikacije/ValueSet/DTP-SKZZ" />
      </binding>
    </element>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject" />
      <short value="Pacijent" />
      <definition value="Pacijent" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-pacijent" />
      </type>
    </element>
    <element id="DiagnosticReport.encounter">
      <path value="DiagnosticReport.encounter" />
      <short value="Posjet" />
      <definition value="Posjet" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-encounter" />
      </type>
    </element>
    <element id="DiagnosticReport.effective[x]">
      <path value="DiagnosticReport.effective[x]" />
      <short value="Vrijeme nastanka rezultata" />
      <definition value="Vrijeme nastanka rezultata" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.performer">
      <path value="DiagnosticReport.performer" />
      <min value="2" />
      <max value="2" />
    </element>
    <element id="DiagnosticReport.performer:organization">
      <path value="DiagnosticReport.performer" />
      <sliceName value="organization" />
      <short value="Organizacija" />
      <definition value="Organizacija" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-organizacija" />
      </type>
    </element>
    <element id="DiagnosticReport.performer:practitioner">
      <path value="DiagnosticReport.performer" />
      <sliceName value="practitioner" />
      <short value="Radiolog" />
      <definition value="Radiolog" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-practitioner" />
      </type>
    </element>
    <element id="DiagnosticReport.imagingStudy">
      <path value="DiagnosticReport.imagingStudy" />
      <short value="Povezana slikovna studija" />
      <definition value="Povezana slikovna studija" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.imagingStudy.reference">
      <path value="DiagnosticReport.imagingStudy.reference" />
      <short value="Referenca" />
      <definition value="Referenca" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.presentedForm">
      <path value="DiagnosticReport.presentedForm" />
      <short value="Prikaz nalaza za čovjeka" />
      <definition value="Prikaz nalaza za čovjeka" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.presentedForm.contentType">
      <path value="DiagnosticReport.presentedForm.contentType" />
      <short value="MIME tip" />
      <definition value="MIME tip, application/pdf" />
      <min value="1" />
      <fixedCode value="application/pdf" />
    </element>
    <element id="DiagnosticReport.presentedForm.url">
      <path value="DiagnosticReport.presentedForm.url" />
      <short value="Referenca na Binary" />
      <definition value="Referenca na Binary" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.presentedForm.title">
      <path value="DiagnosticReport.presentedForm.title" />
      <short value="Naziv dokumenta" />
      <definition value="Naziv dokumenta, Radiološki nalaz PDF." />
      <min value="1" />
    </element>
  </differential>
</StructureDefinition>