<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="pl-lab-diagnosticReport" />
  <url value="http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/pl-lab-diagnosticReport" />
  <version value="0.1.0" />
  <name value="PLLabDiagnosticReport" />
  <title value="DiagnosticReport: Labortory Report (PL)" />
  <status value="draft" />
  <description value="Wynik badania laboratoryjnego" />
  <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.basedOn">
      <path value="DiagnosticReport.basedOn" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/pl-lab-serviceRequest-order" />
      </type>
    </element>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/pl-base-patient" />
      </type>
    </element>
    <element id="DiagnosticReport.result">
      <path value="DiagnosticReport.result" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/pl-lab-observation-results" />
      </type>
    </element>
  </differential>
</StructureDefinition>