<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="corhealth-diagnosticreport-procedure" />
  <url value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-diagnosticreport-procedure" />
  <name value="CorHealthDiagnosticReportProcedure" />
  <title value="CorHealth DiagnosticReport Procedure" />
  <status value="active" />
  <description value="CorHealth DiagnosticReport Procedure" />
  <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">
      <path value="DiagnosticReport.identifier" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.identifier.system">
      <path value="DiagnosticReport.identifier.system" />
      <min value="1" />
      <patternUri value="https://corhealth-ontario.ca/fhir/NamingSystem/diagnostic-report-order-id" />
    </element>
    <element id="DiagnosticReport.identifier.value">
      <path value="DiagnosticReport.identifier.value" />
      <min value="1" />
    </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="85938-9" />
          <display value="Cardiology Postoperative evaluation and management 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:obs117">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs117" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-117" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs118">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs118" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-118" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs119">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs119" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-119" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs120">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs120" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-120" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs121">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs121" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-121" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs122">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs122" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-122" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs123">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs123" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-123" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs124">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs124" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-124" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs125">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs125" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-125" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs126">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs126" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-126" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs127">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs127" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-127" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs134">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs134" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-134" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs135">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs135" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-135" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs136">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs136" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-136" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs137">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs137" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-137" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs138">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs138" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-138" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs139">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs139" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-139" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs140">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs140" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-140" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs141">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs141" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-141" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs142">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs142" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-142" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs143">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs143" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-143" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs144">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs144" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-144" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs145">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs145" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-145" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result:obs146">
      <path value="DiagnosticReport.result" />
      <sliceName value="obs146" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-146" />
      </type>
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>