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