<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="AIReport" />
  <url value="https://medavis.com/fhir/StructureDefinition/AIReport" />
  <version value="0.1" />
  <name value="AIReport" />
  <title value="AI Report" />
  <status value="draft" />
  <publisher value="medavis GmbH" />
  <contact>
    <name value="Steffen Eitelmann" />
    <telecom>
      <system value="email" />
      <value value="steffen.eitelmann@medavis.com" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="AI report containing results from AI systems as DiagnosticReport for reporting systems" />
  <copyright value="medavis GmbH" />
  <fhirVersion value="5.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="DiagnosticReport" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport" />
  <derivation value="constraint" />
  <differential>
    <element id="DiagnosticReport.result">
      <path value="DiagnosticReport.result" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <profile value="https://medavis.com/fhir/StructureDefinition/AIResult" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
      </type>
    </element>
    <element id="DiagnosticReport.result.reference">
      <path value="DiagnosticReport.result.reference" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.result.identifier">
      <path value="DiagnosticReport.result.identifier" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.result.identifier.system">
      <path value="DiagnosticReport.result.identifier.system" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.result.identifier.value">
      <path value="DiagnosticReport.result.identifier.value" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.study">
      <path value="DiagnosticReport.study" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.study.identifier">
      <path value="DiagnosticReport.study.identifier" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.study.identifier.system">
      <path value="DiagnosticReport.study.identifier.system" />
      <min value="1" />
      <fixedUri value="urn:dicom:uid" />
    </element>
    <element id="DiagnosticReport.study.identifier.value">
      <path value="DiagnosticReport.study.identifier.value" />
      <short value="The study instance UID" />
      <definition value="The study instance UID with urn:oid: prefix, for example: urn:oid:1.2.276.0.37.1.337.201501.1.123" />
      <min value="1" />
    </element>
  </differential>
</StructureDefinition>