<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="DiagnosticReportINCISIVE" />
  <url value="https://fhir.incisive-project.eu/StructureDefinition/DiagnosticReportINCISIVE" />
  <version value="20230717" />
  <name value="DiagnosticReportINCISIVE" />
  <title value="DiagnosticReport for Breast, Colorectal, Lung and Prostate cancer" />
  <status value="active" />
  <publisher value="FTSS" />
  <description value="Defines the DiagnosticReport structure used by INCISIVE" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="DiagnosticReport" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport" />
  <derivation value="constraint" />
  <differential>
    <element id="DiagnosticReport">
      <path value="DiagnosticReport" />
      <short value="A diagnostic report that reports when the patient's cancer was diagnosed and contains the Observations made as part of this diagnostic report" />
      <comment value="The findings and interpretation of diagnostic tests performed on patients." />
    </element>
    <element id="DiagnosticReport.extension">
      <path value="DiagnosticReport.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="DiagnosticReport.extension:AgeAtDiagnostic">
      <path value="DiagnosticReport.extension" />
      <sliceName value="AgeAtDiagnostic" />
      <short value="Age at diagnostic of INCISIVE patient" />
      <definition value="The Patient's age at diagnostic (years)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.incisive-project.eu/StructureDefinition/AgeAtDiagnosis" />
      </type>
    </element>
    <element id="DiagnosticReport.status">
      <path value="DiagnosticReport.status" />
      <short value="Status of this diagnostic report" />
      <definition value="The status of the diagnostic report. The status can be registered | partial | preliminary | final + . For INCISIVE, this state is final, because this result is the final diagnostic report." />
    </element>
    <element id="DiagnosticReport.category.coding">
      <path value="DiagnosticReport.category.coding" />
      <short value="Code defined by a terminology" />
    </element>
    <element id="DiagnosticReport.code">
      <path value="DiagnosticReport.code" />
      <short value="Code for this diagnostic report" />
      <definition value="Describe the code and description of the cancer diagnosed by this diagnostic report. The term SNOMED CT is used here to indicate the type of cancer." />
    </element>
    <element id="DiagnosticReport.code.coding">
      <path value="DiagnosticReport.code.coding" />
      <short value="Code defined by a SNOMED CT terminology" />
      <definition value="A reference to a code defined by a terminology system. Use SNOMED CT terminology for cancer types." />
    </element>
    <element id="DiagnosticReport.code.coding.system">
      <path value="DiagnosticReport.code.coding.system" />
      <short value="Identity of the SNOMED CT url" />
      <definition value="The identification of the code system that defines the meaning of the symbol in this code." />
    </element>
    <element id="DiagnosticReport.code.coding.code">
      <path value="DiagnosticReport.code.coding.code" />
      <short value="SNOMED CT code" />
      <definition value="A symbol in syntax defined by the system. &#xD;&#xA;The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g., post-coordination)." />
    </element>
    <element id="DiagnosticReport.code.coding.display">
      <path value="DiagnosticReport.code.coding.display" />
      <short value="Fully Specified Name defined by the SNOMED CT" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system. Use the Fully Specified Name of SNOMED CT." />
    </element>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject" />
      <short value="The Patient of the report" />
      <definition value="Use relative reference to the Patient resource." />
    </element>
    <element id="DiagnosticReport.subject.reference">
      <path value="DiagnosticReport.subject.reference" />
      <short value="Use relative reference to the Patient resource" />
      <definition value="A reference to a location at which the patient is found. The reference is relative reference, in which case it is relative to the service base URL, e.g., reference value=&quot;Patient/patient00&quot;." />
    </element>
    <element id="DiagnosticReport.result">
      <path value="DiagnosticReport.result" />
      <short value="The Observations of the report" />
      <definition value="A reference to a location at which the observation is found, that are part of this diagnostic report. The reference is relative reference, in which case it is relative to the service base URL, e.g., reference value=&quot;Observation/observation00&quot;." />
    </element>
    <element id="DiagnosticReport.result.reference">
      <path value="DiagnosticReport.result.reference" />
      <short value="Literal reference, Relative, internal or absolute URL. Reference to INCISIVE observations" />
    </element>
  </differential>
</StructureDefinition>