<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="KBV-PR-MIO-LAB-DiagnosticReport" />
  <url value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_DiagnosticReport" />
  <version value="1.0.0-update" />
  <name value="KBV_PR_MIO_LAB_DiagnosticReport" />
  <title value="KBV_PR_MIO_LAB_DiagnosticReport" />
  <status value="draft" />
  <experimental value="false" />
  <date value="2026-06-11" />
  <publisher value="mio42 GmbH" />
  <description value="Profil für den Laborgesamtbefund (DiagnosticReport). Darin verschachtelt unter &quot;Ergebnisse&quot; (DiagnosticReport.result) ist die Referenz auf &quot;Untersuchungsgruppe&quot; (Observation_Laboratory_Study_Group), darin die Referenz auf &quot;Laboruntersuchung&quot; (Observation_Laboratory_Study), darin die Referenz auf &quot;Probe&quot; (Specimen)." />
  <copyright value="Im folgenden Profil können Codes aus den Code-Systemen SNOMED CT®, LOINC, Ucum, ATC, ICD-10-GM, ICD-10-WHO, OPS, Alpha-ID/Alpha-ID-SE und ICF enthalten sein, die dem folgenden Urheberrecht unterliegen: This material includes SNOMED CT® Clinical Terms® (SNOMED CT® CT®) which is used by permission of SNOMED CT® International. All rights reserved. SNOMED CT® CT®, was originally created by The College of American Pathologists. SNOMED CT® and SNOMED CT® CT are registered trademarks of SNOMED CT® International. Implementers of these artefacts must have the appropriate SNOMED CT® CT Affiliate license. This material contains content from LOINC (http://LOINC.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://LOINC.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc. This product includes all or a portion of the UCUM table, UCUM codes, and UCUM definitions or is derived from it, subject to a license from Regenstrief Institute, Inc. and The UCUM Organization. Your use of the UCUM table, UCUM codes, UCUM definitions also is subject to this license, a copy of which is available at http://unitsofmeasure.org. The current complete UCUM table, UCUM Specification are available for download at http://unitsofmeasure.org. The UCUM table and UCUM codes are copyright © 1995-2009, Regenstrief Institute, Inc. and the Unified Codes for Units of Measures (UCUM) Organization. All rights reserved. THE UCUM TABLE (IN ALL FORMATS), UCUM DEFINITIONS, AND SPECIFICATION ARE PROVIDED 'AS IS.' ANY EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Dieses Material enthält Inhalte aus ATC. Die Erstellung erfolgte unter Verwendung der Datenträger der amtlichen Fassung der ATC-Klassifikation mit DDD des Bundesinstituts für Arzneimittel und Medizinprodukte (BfArM). Dieses Material enthält Inhalte aus ICD-10-GM, ICD-10-WHO, OPS Alpha-ID ans Alpha-ID-SE. Die Erstellung erfolgt unter Verwendung der maschinenlesbaren Fassung des Bundesinstituts für Arzneimittel und Medizinprodukte (BfArM). Dieses Material enthält Inhalte aus ICF. Die Erstellung erfolgt unter Verwendung der maschinenlesbaren Fassung des Deutschen Instituts für Medizinische Dokumentation und Information (DIMDI). ICF-Kodes, -Begriffe und -Texte © Weltgesundheitsorganisation, übersetzt und herausgegeben durch das Deutsche Institut für Medizinische Dokumentation und Information von der International classification of functioning, disability and health - ICF, herausgegeben durch die Weltgesundheitsorganisation." />
  <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" />
      <definition value="Profil für den Laborgesamtbefund (DiagnosticReport). Darin verschachtelt unter &quot;Ergebnisse&quot; (DiagnosticReport.result) ist die Referenz auf &quot;Untersuchungsgruppe&quot; (Observation_Laboratory_Study_Group), darin die Referenz auf &quot;Laboruntersuchung&quot; (Observation_Laboratory_Study), darin die Referenz auf &quot;Probe&quot; (Specimen)." />
      <constraint>
        <key value="diag-status-1" />
        <severity value="error" />
        <human value="A secondary status can only be provided if the diagnostic report status is either &quot;partial&quot; or &quot;preliminary&quot;." />
        <expression value="status in ('registered'|'final'|'cancelled'|'entered-in-error') implies extension('https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_LAB_Secondary_Status').empty()" />
        <source value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_DiagnosticReport" />
      </constraint>
    </element>
    <element id="DiagnosticReport.meta">
      <path value="DiagnosticReport.meta" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.meta.id">
      <path value="DiagnosticReport.meta.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.meta.versionId">
      <path value="DiagnosticReport.meta.versionId" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.meta.lastUpdated">
      <path value="DiagnosticReport.meta.lastUpdated" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.meta.source">
      <path value="DiagnosticReport.meta.source" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.implicitRules">
      <path value="DiagnosticReport.implicitRules" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.language">
      <path value="DiagnosticReport.language" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.text.status">
      <path value="DiagnosticReport.text.status" />
      <patternCode value="extensions" />
    </element>
    <element id="DiagnosticReport.contained">
      <path value="DiagnosticReport.contained" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.extension">
      <path value="DiagnosticReport.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="closed" />
      </slicing>
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:orderEntryTime">
      <path value="DiagnosticReport.extension" />
      <sliceName value="orderEntryTime" />
      <short value="Auftrageingangszeitpunkt im Labor" />
      <definition value="Die Bedeutung und Verwendung des Auftragseingangszeitpunktes im Laborprozess kann unterschiedlich sein, beispielsweise:&#xA;&#xA;  * In einem OrderEntry-Setting kann der Auftragseingangszeitstempel zum Zeitpunkt der ersten Probeneinbuchung für diesen Auftrag im Labor gesetzt werden. In einem solchen Fall aktiviert/generiert die erste Probe den Auftrag im LIS.&#xA;  * In einem papiergebundenen Setting ist in der Regel der Scanzeitpunkt des Papierauftrages der Auftragseingangszeitstempel. Ggf. kann dieser vor oder nach der/den zugehörigen Probeneinbuchungen liegen." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_LAB_Order_Entry_Time" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:orderEntryTime.value[x]">
      <path value="DiagnosticReport.extension.value[x]" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:pseudonymizedReport">
      <path value="DiagnosticReport.extension" />
      <sliceName value="pseudonymizedReport" />
      <short value="Kennzeichnung, ob ein Laborbefund pseudonymisiert ist" />
      <definition value="Mit diesem Kennzeichen kann ein Laborbefund als &quot;pseudonymisiert&quot; deklariert werden.&#xA;&#xA;  Fachlicher Hintergrund: es gibt Anwendungsfälle, z.B. aus der Betriebsmedizin, die erfordern, dass ein Laborbefund pseudonymisiert, also ohne personenidentifizierende Inhalte übertragen wird. Nach welchen Regeln und mit welchem Identifikator ein pseudonymisierter Laborbefund übermittelt wird, ist Gegenstand einer Einzelabstimmung zwischen der anfordernden Einrichtung und dem Labor. Oft ist bereits der Auftrag pseudonymisiert. Hinweis: Zu einem späteren Zeitpunkt könnten Patient:innen berechtigterweise fordern, dass der Laborbefund seinen anderen Befunden hinzugefügt wird, z.B. in der ePA. Durch das Hochladen in die ePA wird der Befund eindeutig einer Person zugeordnet und dadurch die Pseudonymisierung (auch bei unverändert verdeckten Personendaten) &quot;demaskiert&quot;." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_LAB_Pseudonymized_Report" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:pseudonymizedReport.value[x]">
      <path value="DiagnosticReport.extension.value[x]" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:criticalResult">
      <path value="DiagnosticReport.extension" />
      <sliceName value="criticalResult" />
      <short value="Manuell gesetztes Kennzeichen Kritischer Befund" />
      <definition value="Dieses Kennzeichen ist optional und deklariert einen aus labormedizinischer Sicht medizinisch kritischen Befund. Es wird aus einer aktiven Entscheidung des/der Labormediziners/in manuell gesetzt." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_LAB_Critical_Result" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:criticalResult.value[x]">
      <path value="DiagnosticReport.extension.value[x]" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:secondaryStatus">
      <path value="DiagnosticReport.extension" />
      <sliceName value="secondaryStatus" />
      <short value="Änderungsstatus Laborbefund (Sekundärstatus)" />
      <definition value="Optionale sekundäre Angabe des Änderungsstatus, die zusätzlich zum Hauptstatus &quot;Status Gesamtbefund&quot; mitgegeben werden kann. Es können mehrere Werte als Änderungsgrund angegeben werden. Die möglichen Werte sind:&#xA;&#xA;  * Geändert&#xA;  * Korrigiert&#xA;  * Angefügt&#xA;&#xA;  Der typische und in jedem Labor alltägliche Anwendungsfall ist die Nachforderung bei einer Stufendiagnostik. Änderungen am Gesamtbefund können sich auch auf einen noch nicht abgeschlossenen Befund beziehen, z.B. auf einen Teilbefund oder einen vorläufigen Befund." />
      <min value="0" />
      <max value="3" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_LAB_Secondary_Status" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:secondaryStatus.value[x]">
      <path value="DiagnosticReport.extension.value[x]" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:secondaryStatus.value[x].system">
      <path value="DiagnosticReport.extension.value[x].system" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:secondaryStatus.value[x].version">
      <path value="DiagnosticReport.extension.value[x].version" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:secondaryStatus.value[x].code">
      <path value="DiagnosticReport.extension.value[x].code" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:secondaryStatus.value[x].display">
      <path value="DiagnosticReport.extension.value[x].display" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:DiagnosticReportCompositionR5">
      <path value="DiagnosticReport.extension" />
      <sliceName value="DiagnosticReportCompositionR5" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:DiagnosticReportCompositionR5.extension">
      <path value="DiagnosticReport.extension.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.extension:DiagnosticReportCompositionR5.value[x]">
      <path value="DiagnosticReport.extension.value[x]" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_Composition|1.0.0-update" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:DiagnosticReportCompositionR5.value[x].reference">
      <path value="DiagnosticReport.extension.value[x].reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.extension:DiagnosticReportCompositionR5.value[x].type">
      <path value="DiagnosticReport.extension.value[x].type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.extension:DiagnosticReportCompositionR5.value[x].identifier">
      <path value="DiagnosticReport.extension.value[x].identifier" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.extension:DiagnosticReportCompositionR5.value[x].display">
      <path value="DiagnosticReport.extension.value[x].display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier">
      <path value="DiagnosticReport.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="type" />
        </discriminator>
        <rules value="closed" />
      </slicing>
      <min value="1" />
      <max value="2" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:orderNumberLab">
      <path value="DiagnosticReport.identifier" />
      <sliceName value="orderNumberLab" />
      <short value="Auftragnummer des Labors" />
      <definition value="Auftragsnummer, die das auftragsnehmende Labor vergibt und führt" />
      <min value="0" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:orderNumberLab.use">
      <path value="DiagnosticReport.identifier.use" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:orderNumberLab.type">
      <path value="DiagnosticReport.identifier.type" />
      <min value="1" />
      <patternCodeableConcept>
        <coding>
          <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_MIO_LAB_Laboratory_Identificator" />
          <version value="1.0.0-update" />
          <code value="AL" />
          <display value="Auftragsnummer des Labors" />
        </coding>
      </patternCodeableConcept>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:orderNumberLab.type.coding">
      <path value="DiagnosticReport.identifier.type.coding" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:orderNumberLab.type.coding.system">
      <path value="DiagnosticReport.identifier.type.coding.system" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:orderNumberLab.type.coding.version">
      <path value="DiagnosticReport.identifier.type.coding.version" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:orderNumberLab.type.coding.code">
      <path value="DiagnosticReport.identifier.type.coding.code" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:orderNumberLab.type.coding.display">
      <path value="DiagnosticReport.identifier.type.coding.display" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:orderNumberLab.type.coding.userSelected">
      <path value="DiagnosticReport.identifier.type.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:orderNumberLab.type.text">
      <path value="DiagnosticReport.identifier.type.text" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:orderNumberLab.system">
      <path value="DiagnosticReport.identifier.system" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:orderNumberLab.value">
      <path value="DiagnosticReport.identifier.value" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:orderNumberLab.period">
      <path value="DiagnosticReport.identifier.period" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:orderNumberLab.assigner">
      <path value="DiagnosticReport.identifier.assigner" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:overallLabReport">
      <path value="DiagnosticReport.identifier" />
      <sliceName value="overallLabReport" />
      <short value="Versionsunabhängiger konstanter Identifikator Laborgesamtbefund (UUID)" />
      <definition value="Die eindeutige Identifikation des Laborbefundes zu einem Laborauftrag geschieht mittels UUID (Universal Unique Identifier). Sie wird durch das auftragnehmende, Befund erzeugende Labor generiert.&#xA;&#xA;Die UUID wird als Befundinhalt beim Übermitteln des Laborbefundes mitgegeben, auch dann, wenn der Laborbefund jenseits der ePA übermittelt wird (z. B: per E-Mail oder KIM). Diese UUID bleibt über den gesamten Workflow der Abarbeitung des Auftrages die selbe; und zwar durch die Versionierung eines Laborbefundes hindurch (z.B. vorläufiger Befund, finaler Befund, Befund mit Änderungen ...) und durch alle Systeme hindurch." />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:overallLabReport.use">
      <path value="DiagnosticReport.identifier.use" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:overallLabReport.type">
      <path value="DiagnosticReport.identifier.type" />
      <min value="1" />
      <patternCodeableConcept>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/v2-0203" />
          <code value="RI" />
          <display value="Resource Identifier" />
        </coding>
      </patternCodeableConcept>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:overallLabReport.type.coding">
      <path value="DiagnosticReport.identifier.type.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.identifier:overallLabReport.type.text">
      <path value="DiagnosticReport.identifier.type.text" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:overallLabReport.system">
      <path value="DiagnosticReport.identifier.system" />
      <definition value="System, welches den Aufbau der UUID reguliert" />
      <min value="1" />
      <patternUri value="urn:ietf:rfc:3986" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:overallLabReport.value">
      <path value="DiagnosticReport.identifier.value" />
      <definition value="Hier wird die UUID eingetragen. Der String beginnt immer mit &quot;urn:uuid:&quot;, der zusammengesetzte String sähe dann beispielsweise so aus: &quot;urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6&quot;." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.identifier:overallLabReport.period">
      <path value="DiagnosticReport.identifier.period" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:overallLabReport.assigner">
      <path value="DiagnosticReport.identifier.assigner" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.basedOn">
      <path value="DiagnosticReport.basedOn" />
      <definition value="Referenz auf das auftragnehmende Labor" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_ServiceRequest|1.0.0-update" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.basedOn.reference">
      <path value="DiagnosticReport.basedOn.reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.basedOn.type">
      <path value="DiagnosticReport.basedOn.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.basedOn.identifier">
      <path value="DiagnosticReport.basedOn.identifier" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.basedOn.display">
      <path value="DiagnosticReport.basedOn.display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.status">
      <path value="DiagnosticReport.status" />
      <definition value="Bearbeitungsstatus des Laborgesamtbefundes. Die Status-Werte orientieren sich am HL7 FHIR® Standard, jedoch werden der Wert &quot;unknown&quot; und die Werte für Änderungen in diesem ValueSet nicht verwendet.&#xA;&#xA;  * Registered - Registriert&#xA;  * Partial - Nicht vollständig&#xA;  * Preliminary - Vorläufig&#xA;  * Final - Abgeschlossen&#xA;  * Entered in Error - Irrtümliche Eingabe&#xA;  * Cancelled - Storniert&#xA;  * Amended - Geändert&#xA;  * Corrected - Korrigiert&#xA;  * Appended - Angefügt&#xA;&#xA;  Änderungen am finalen Befund werden über die hier aufgeführten (Haupt)Status &quot;Geändert&quot;, &quot;Korrgiert&quot;, &quot;Angefügt&quot; abgebildet.&#xA;&#xA;  Änderungen an vorläufigen oder nicht vollständigen Befunden werden über den Sekundärstatus mit den entsprechenden Werten abgebildet.&#xA;&#xA;&#xA;  &#xA;  Achtung! Auch Patientenstammdaten, die der Personenidentität dienen, können korrigiert werden. Im Falle einer Patientenverwechslung muss der Hauptstatus=&quot;Irrtümliche Eingabe&quot; gesetzt werden, dies darf nicht als Änderung versendet werden!)" />
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <valueSet value="https://fhir.kbv.de/ValueSet/KBV_VS_MIO_LAB_Diagnostic_ReportStatus|1.0.0-update" />
      </binding>
    </element>
    <element id="DiagnosticReport.category">
      <path value="DiagnosticReport.category" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.code">
      <path value="DiagnosticReport.code" />
      <short value="Deklariert &quot;Laborbefund&quot;" />
      <definition value="Codierte Angabe zur Art des Befundes, hier Laborbefund" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.code.coding">
      <path value="DiagnosticReport.code.coding" />
      <min value="1" />
      <max value="1" />
      <patternCoding>
        <system value="http://loinc.org" />
        <version value="2.82" />
        <code value="11502-2" />
        <display value="Laboratory report" />
      </patternCoding>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.code.coding.system">
      <path value="DiagnosticReport.code.coding.system" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.code.coding.version">
      <path value="DiagnosticReport.code.coding.version" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.code.coding.code">
      <path value="DiagnosticReport.code.coding.code" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.code.coding.display">
      <path value="DiagnosticReport.code.coding.display" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.code.coding.userSelected">
      <path value="DiagnosticReport.code.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.code.text">
      <path value="DiagnosticReport.code.text" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject" />
      <short value="Zu behandelnde Person" />
      <definition value="Hier wird die zu behandelnde Person referenziert." />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_Patient|1.0.0-update" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.subject.identifier">
      <path value="DiagnosticReport.subject.identifier" />
      <min value="1" />
      <type>
        <code value="Identifier" />
        <profile value="http://fhir.de/StructureDefinition/identifier-kvid-10" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.encounter">
      <path value="DiagnosticReport.encounter" />
      <short value="Fallbezug" />
      <definition value="Referenzierung auf die Fall-Identifikation / Fallnummer bezüglich Begegnung/Aufenthalt." />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.effective[x]">
      <path value="DiagnosticReport.effective[x]" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.issued">
      <path value="DiagnosticReport.issued" />
      <short value="Dokumentationszeitpunkt Laborgesamtbefund" />
      <definition value="Dokumentationszeitpunkt des Befundes durch das auftragnehmende Labor." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.performer">
      <path value="DiagnosticReport.performer" />
      <short value="Auftragnehmendes Labor" />
      <definition value="Person oder Organisation, die für Erstellung des Laborgesamtbefundes verantwortlich ist.&#xA;&#xA;&#xA;  Das auftragnehmende Labor kann die Laborleistung selbst erbringen, teilweise selbst erbringen und teilweise an ein Speziallabor weiterleiten oder insgesamt an ein Speziallabor weiterleiten. Der Gesamtbefund wird vollumfänglich zum gesamten Laborauftrag vom Auftragnehmer erstellt." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_Practitioner|1.0.0-update" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_PractitionerRole|1.0.0-update" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_Organization|1.0.0-update" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.performer.reference">
      <path value="DiagnosticReport.performer.reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter">
      <path value="DiagnosticReport.resultsInterpreter" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.specimen">
      <path value="DiagnosticReport.specimen" />
      <comment value="Zum Erhalt der europäischen Interoperabilität, orientiert an der Veröffentlichung https://hl7.eu/fhir/laboratory/history.html kann auf Gesamtbefundebene auf das gesamte Probenmaterial referenziert werden. Diese optionale Angabe ist redundant zu den Probenreferenzen der Einzeluntersuchungen." />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_Specimen|1.0.0-update" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.specimen.reference">
      <path value="DiagnosticReport.specimen.reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.specimen.type">
      <path value="DiagnosticReport.specimen.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.specimen.identifier">
      <path value="DiagnosticReport.specimen.identifier" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.specimen.display">
      <path value="DiagnosticReport.specimen.display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.result">
      <path value="DiagnosticReport.result" />
      <definition value="Die Laborergebnisse werden grundsätzlich gruppiert. Es gibt mindestens eine Untersuchungsgruppe." />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_Observation_Laboratory_Study_Group|1.0.0-update" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result.extension">
      <path value="DiagnosticReport.result.extension" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result.extension:sortingNumberGroup">
      <path value="DiagnosticReport.result.extension" />
      <sliceName value="sortingNumberGroup" />
      <short value="Sortiernummer Untersuchungsgruppe" />
      <definition value="Zu jeder Untersuchungsgruppe gibt es immer eine Sortiernummer. Die mit dem Datenstrom mitgegebenen Sortiernummern sind als Standardsortierung gedacht. Die Standardsortierung legt das Befund-erstellende Labor fest. Verwender können in Primärsystemen zusätzlich interaktiv auch anders sortieren, wenn das Primärsystem solche Funktionen anbietet." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_LAB_Sorting_Number" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result.extension:sortingNumberGroup.value[x]">
      <path value="DiagnosticReport.result.extension.value[x]" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result.reference">
      <path value="DiagnosticReport.result.reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.result.type">
      <path value="DiagnosticReport.result.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.result.identifier">
      <path value="DiagnosticReport.result.identifier" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.result.display">
      <path value="DiagnosticReport.result.display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.imagingStudy">
      <path value="DiagnosticReport.imagingStudy" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media">
      <path value="DiagnosticReport.media" />
      <short value="Ergänzende Dokumente (zusätzlich zum strukturierten Teil des Laborbefundes)" />
      <definition value="Zum Anhängen zusätzlicher Resultate, die nicht Teil des strukturierten MIO Laborbefundes sind. Hier können Befunde aus labormedizinischen Spezialbereichen in einem digitalen Dokumentformat angehängt werden, beispielsweise Ergebnisse aus mikrobiologischen Kulturen oder humangenetischen Untersuchungen. Ziel ist es, grundsätzlich alle Laborbefunde in digitalem Format übermitteln zu können und in der elektronischen Patientenakte ablegen zu können." />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.media.comment">
      <path value="DiagnosticReport.media.comment" />
      <short value="Freitext-Angaben zum ergänzenden Dokument" />
      <definition value="Feld für Freitext-Angaben zum ergänzenden Dokument, die in der vorgegebenen Datenstruktur nicht erfasst werden können." />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.media.link">
      <path value="DiagnosticReport.media.link" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.media.link.extension">
      <path value="DiagnosticReport.media.link.extension" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.media.link.extension:link">
      <path value="DiagnosticReport.media.link.extension" />
      <sliceName value="link" />
      <short value="Referenzierung auf ergänzende Dokumente" />
      <definition value="Referenzierung auf ergänzende Dokumente" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/alternate-reference" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.media.link.extension:link.value[x]">
      <path value="DiagnosticReport.media.link.extension.value[x]" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_DocumentReference|1.0.0-update" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.media.link.extension:link.value[x].reference">
      <path value="DiagnosticReport.media.link.extension.value[x].reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.media.link.extension:link.value[x].type">
      <path value="DiagnosticReport.media.link.extension.value[x].type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media.link.extension:link.value[x].identifier">
      <path value="DiagnosticReport.media.link.extension.value[x].identifier" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media.link.extension:link.value[x].display">
      <path value="DiagnosticReport.media.link.extension.value[x].display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media.link.reference">
      <path value="DiagnosticReport.media.link.reference" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media.link.type">
      <path value="DiagnosticReport.media.link.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media.link.identifier">
      <path value="DiagnosticReport.media.link.identifier" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media.link.display">
      <path value="DiagnosticReport.media.link.display" />
      <definition value="Hinweis, der besagt, dass anstelle einer Referenz auf Media auf eine DocumentReference über die Cross-version Extension „link“ referenziert wird." />
      <min value="1" />
      <patternString value="Media wird durch eine DocumentReference dargestellt, auf die in einer Extension verwiesen wird." />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.conclusion">
      <path value="DiagnosticReport.conclusion" />
      <short value="Beurteilung des Laborgesamtbefundes" />
      <definition value="Befund-Bewertung, die sich auf den gesamten Laborbefund bezieht und ggf. Antworten auf klinische Fragestellungen formuliert." />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.conclusionCode">
      <path value="DiagnosticReport.conclusionCode" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.presentedForm">
      <path value="DiagnosticReport.presentedForm" />
      <short value="Kompletter Gesamtbefund als exportierbares Format" />
      <definition value="Zusätzlich zur FHIR®-Instanz soll der GESAMTE Laborbefund (das bezieht sowohl die strukturierten Daten als auch ergänzende Dokument-Anteile mit ein) in einem weiteren Format wie z.B. als PDF mitgegeben werden.&#xA;&#xA;  Um die Versorgungskontinuität insbesondere zu Beginn der MIO-Einführung sicherzustellen, wird erwartet, dass das MIO neben den strukurierten Informationen auch den Gesamtlaborbefund in Form eines eingebetteten PDF/A-Dokuments enthält!" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.presentedForm.contentType">
      <path value="DiagnosticReport.presentedForm.contentType" />
      <definition value="Hier wird das Dateiformat angegeben." />
      <min value="1" />
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <valueSet value="https://fhir.kbv.de/ValueSet/KBV_VS_MIO_LAB_MIME_Types|1.0.0-update" />
      </binding>
    </element>
    <element id="DiagnosticReport.presentedForm.language">
      <path value="DiagnosticReport.presentedForm.language" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.presentedForm.data">
      <path value="DiagnosticReport.presentedForm.data" />
      <definition value="Hier wird die Dokument-Datei angehängt." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.presentedForm.url">
      <path value="DiagnosticReport.presentedForm.url" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.presentedForm.size">
      <path value="DiagnosticReport.presentedForm.size" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.presentedForm.hash">
      <path value="DiagnosticReport.presentedForm.hash" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.presentedForm.title">
      <path value="DiagnosticReport.presentedForm.title" />
      <definition value="Hier wird ein Titel bzw. eine Bezeichnung für die angehängte Datei angegeben." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.presentedForm.creation">
      <path value="DiagnosticReport.presentedForm.creation" />
      <definition value="Hier wird der Zeitpunkt der Erstellung des referenzierten Dokumentes bzw. des Anhangs angegeben." />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>