<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="corhealth-diagnosticreport" />
  <url value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-diagnosticreport" />
  <name value="CorHealthDiagnosticReport" />
  <title value="CorHealth DiagnosticReport" />
  <status value="active" />
  <description value="CorHealth DiagnosticReport" />
  <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.identifier.system">
      <path value="DiagnosticReport.identifier.system" />
      <min value="1" />
      <patternUri value="https://corhealth-ontario.ca/NamingSystem/diagnostic-report-id" />
    </element>
    <element id="DiagnosticReport.identifier.value">
      <path value="DiagnosticReport.identifier.value" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.basedOn">
      <path value="DiagnosticReport.basedOn" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-servicerequest" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.status">
      <path value="DiagnosticReport.status" />
      <patternCode value="final" />
    </element>
    <element id="DiagnosticReport.code">
      <path value="DiagnosticReport.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://loinc.org" />
          <code value="34133-9" />
          <display value="Summary of episode note" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-patient" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result">
      <path value="DiagnosticReport.result" />
      <slicing>
        <discriminator>
          <type value="pattern" />
          <path value="$this" />
        </discriminator>
        <description value="Slice based on $this pattern" />
        <rules value="open" />
      </slicing>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs042">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs042" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-042" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs043">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs043" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-043" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs044">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs044" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-044" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs045">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs045" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-045" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs046">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs046" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-046" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs047">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs047" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-047" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs048">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs048" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-048" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs049">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs049" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-049" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs050">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs050" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-050" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs051">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs051" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-051" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs052">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs052" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-052" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs053">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs053" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-053" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs055">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs055" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-055" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs056">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs056" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-056" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs057">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs057" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-057" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs058">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs058" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-058" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs059">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs059" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-059" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs060">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs060" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-060" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs061">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs061" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-061" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs062">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs062" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-062" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs063">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs063" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-063" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs065">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs065" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-065" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs067">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs067" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-067" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs068">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs068" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-068" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs069">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs069" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-069" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs070">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs070" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-070" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs071">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs071" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-071" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs072">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs072" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-072" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs073">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs073" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-073" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs074">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs074" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-074" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs075">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs075" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-075" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs076">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs076" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-076" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs077">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs077" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-077" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs078">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs078" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-078" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs079">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs079" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-079" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs080">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs080" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-080" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs081">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs081" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-081" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs082">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs082" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-082" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs083">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs083" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-083" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs084">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs084" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-084" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs085">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs085" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-085" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs088">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs088" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-088" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs089">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs089" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-089" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs091">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs091" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-091" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs093">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs093" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-093" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs095">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs095" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-095" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs097">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs097" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-097" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs099">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs099" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-099" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs101">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs101" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-101" />
      </type>
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>