<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="33ad9c7e-69c5-46aa-b6db-3093fb1ead8c" />
  <meta>
    <lastUpdated value="2021-06-22T09:53:20.619+00:00" />
  </meta>
  <url value="http://www.smith.care/fhir/StructureDefinition/HELP_Labor_DiagnosticReport_R4" />
  <name value="HELP_Labor_DiagnosticReport_R4b" />
  <status value="draft" />
  <date value="2021-06-22T09:34:03.4945664+00:00" />
  <contact>
    <name value="SMITH_UKL" />
  </contact>
  <fhirVersion value="4.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="DiagnosticReport" />
  <baseDefinition value="https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/DiagnosticReportLab" />
  <derivation value="constraint" />
  <differential>
    <element id="DiagnosticReport.identifier:befund">
      <path value="DiagnosticReport.identifier" />
      <sliceName value="befund" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:befund.use">
      <path value="DiagnosticReport.identifier.use" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:befund.assigner">
      <path value="DiagnosticReport.identifier.assigner" />
      <type>
        <code value="Reference" />
        <profile value="http://www.smith.care/fhir/StructureDefinition/HELP_Organisation_Pruefzentrum_R4" />
      </type>
    </element>
    <element id="DiagnosticReport.identifier:HELP">
      <path value="DiagnosticReport.identifier" />
      <sliceName value="HELP" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.identifier:HELP.assigner">
      <path value="DiagnosticReport.identifier.assigner" />
      <type>
        <code value="Reference" />
        <profile value="http://www.smith.care/fhir/StructureDefinition/HELP_Organisation_Pruefzentrum_R4" />
      </type>
    </element>
    <element id="DiagnosticReport.basedOn">
      <path value="DiagnosticReport.basedOn" />
      <type>
        <code value="Reference" />
        <profile value="https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/DiagnosticReportLab" />
        <targetProfile value="http://smith.care/fhir/StructureDefinition/HELP_Labor_ServiceRequest_R4" />
      </type>
      <fixedReference>
        <type value="ServiceRequest" />
      </fixedReference>
    </element>
    <element id="DiagnosticReport.basedOn.identifier">
      <path value="DiagnosticReport.basedOn.identifier" />
      <slicing>
        <discriminator>
          <type value="pattern" />
          <path value="type" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="DiagnosticReport.basedOn.identifier:befund">
      <path value="DiagnosticReport.basedOn.identifier" />
      <sliceName value="befund" />
    </element>
    <element id="DiagnosticReport.basedOn.identifier:befund.type.coding">
      <path value="DiagnosticReport.basedOn.identifier.type.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="DiagnosticReport.basedOn.category.coding">
      <path value="DiagnosticReport.basedOn.category.coding" />
      <slicing>
        <discriminator>
          <type value="pattern" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="2" />
    </element>
    <element id="DiagnosticReport.basedOn.code.coding">
      <path value="DiagnosticReport.basedOn.code.coding" />
      <slicing>
        <discriminator>
          <type value="pattern" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="DiagnosticReport.category.coding:loinc-lab">
      <path value="DiagnosticReport.category.coding" />
      <sliceName value="loinc-lab" />
    </element>
    <element id="DiagnosticReport.category.coding:loinc-lab.display">
      <path value="DiagnosticReport.category.coding.display" />
      <fixedString value="Laboratory studies (set)" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.category.coding:diagnostic-service-sections">
      <path value="DiagnosticReport.category.coding" />
      <sliceName value="diagnostic-service-sections" />
    </element>
    <element id="DiagnosticReport.category.coding:diagnostic-service-sections.display">
      <path value="DiagnosticReport.category.coding.display" />
      <fixedString value="Laboratory" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.code.coding:loinc-labReport">
      <path value="DiagnosticReport.code.coding" />
      <sliceName value="loinc-labReport" />
    </element>
    <element id="DiagnosticReport.code.coding:loinc-labReport.display">
      <path value="DiagnosticReport.code.coding.display" />
      <fixedString value="Laboratory report" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject" />
      <type>
        <code value="Reference" />
        <profile value="https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/Patient" />
      </type>
    </element>
    <element id="DiagnosticReport.encounter.reference">
      <path value="DiagnosticReport.encounter.reference" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.performer.identifier.use">
      <path value="DiagnosticReport.performer.identifier.use" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.performer.identifier.system">
      <path value="DiagnosticReport.performer.identifier.system" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.performer.identifier.value">
      <path value="DiagnosticReport.performer.identifier.value" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.performer.display">
      <path value="DiagnosticReport.performer.display" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.specimen.identifier.use">
      <path value="DiagnosticReport.specimen.identifier.use" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.specimen.identifier.system">
      <path value="DiagnosticReport.specimen.identifier.system" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.specimen.identifier.value">
      <path value="DiagnosticReport.specimen.identifier.value" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result">
      <path value="DiagnosticReport.result" />
      <type>
        <code value="Reference" />
        <profile value="https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/ObservationLab" />
        <targetProfile value="http://www.smith.care/fhir/StructureDefinition/HELP_Labor_Observation_R4" />
      </type>
      <fixedReference>
        <type value="Observation" />
      </fixedReference>
    </element>
  </differential>
</StructureDefinition>