<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="KBV-PR-MIO-LAB-Specimen" />
  <url value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_Specimen" />
  <version value="1.0.0-update" />
  <name value="KBV_PR_MIO_LAB_Specimen" />
  <title value="KBV_PR_MIO_LAB_Specimen" />
  <status value="draft" />
  <experimental value="false" />
  <date value="2026-06-11" />
  <publisher value="mio42 GmbH" />
  <description value="Dieses Profil bildet eine Probe ab.&#xA;&#xA;Identifizierung und Eigenschaften der primären oder sekundären Probe, auf deren Basis die Laboruntersuchung als Messung durchgeführt wird. Ein inhaltliches Beispiel für die Unterscheidung von Primär- und Sekundärprobe:&#xA;&#xA;* Primärprobe: Probenart = Vollblut (über LOINC® oder ergänzende Spezifizierung Probenart); Probengewinnung / Methode = Blutabnahme; Probenverarbeitung / Methode = Zentrifugieren&#xA;&#xA;* Sekundärprobe: Probenart = Serum (über LOINC® oder ergänzende Spezifizierung Probenart); Probengewinnung / Methode = Zentrifugieren zur Serumgewinnung; Probe / Ausgangsmaterial = Vollblut" />
  <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="Specimen" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Specimen" />
  <derivation value="constraint" />
  <differential>
    <element id="Specimen">
      <path value="Specimen" />
      <definition value="Dieses Profil bildet eine Probe ab.&#xA;&#xA;Identifizierung und Eigenschaften der primären oder sekundären Probe, auf deren Basis die Laboruntersuchung als Messung durchgeführt wird. Ein inhaltliches Beispiel für die Unterscheidung von Primär- und Sekundärprobe:&#xA;&#xA;* Primärprobe: Probenart = Vollblut (über LOINC® oder ergänzende Spezifizierung Probenart); Probengewinnung / Methode = Blutabnahme; Probenverarbeitung / Methode = Zentrifugieren&#xA;&#xA;* Sekundärprobe: Probenart = Serum (über LOINC® oder ergänzende Spezifizierung Probenart); Probengewinnung / Methode = Zentrifugieren zur Serumgewinnung; Probe / Ausgangsmaterial = Vollblut" />
    </element>
    <element id="Specimen.meta">
      <path value="Specimen.meta" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.meta.id">
      <path value="Specimen.meta.id" />
      <max value="0" />
    </element>
    <element id="Specimen.meta.versionId">
      <path value="Specimen.meta.versionId" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.meta.lastUpdated">
      <path value="Specimen.meta.lastUpdated" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.meta.source">
      <path value="Specimen.meta.source" />
      <max value="0" />
    </element>
    <element id="Specimen.implicitRules">
      <path value="Specimen.implicitRules" />
      <max value="0" />
    </element>
    <element id="Specimen.language">
      <path value="Specimen.language" />
      <max value="0" />
    </element>
    <element id="Specimen.text.status">
      <path value="Specimen.text.status" />
      <patternCode value="extensions" />
    </element>
    <element id="Specimen.contained">
      <path value="Specimen.contained" />
      <max value="0" />
    </element>
    <element id="Specimen.extension">
      <path value="Specimen.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.extension:focus">
      <path value="Specimen.extension" />
      <sliceName value="focus" />
      <short value="Außerkörperliche Quelle zur Probenentnahme" />
      <definition value="Falls die Probe nicht unmittelbar aus dem menschlichen Körper direkt entnommen wird, sondern beispielsweise aus einem Sammelgefäß oder Katheter gewonnen wird." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.eu/fhir/laboratory/StructureDefinition/specimen-focus" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.extension:focus.value[x]">
      <path value="Specimen.extension.value[x]" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_Device_Specimen_Subject|1.0.0-update" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.extension:focus.value[x].reference">
      <path value="Specimen.extension.value[x].reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.extension:focus.value[x].type">
      <path value="Specimen.extension.value[x].type" />
      <max value="0" />
    </element>
    <element id="Specimen.extension:focus.value[x].identifier">
      <path value="Specimen.extension.value[x].identifier" />
      <max value="0" />
    </element>
    <element id="Specimen.extension:focus.value[x].display">
      <path value="Specimen.extension.value[x].display" />
      <max value="0" />
    </element>
    <element id="Specimen.identifier">
      <path value="Specimen.identifier" />
      <definition value="Die Rili-BÄK fordert, dass das eingesandte Probenmaterial und Teilmengen davon eindeutig einem/r Patient:in zuzuordnen sein müssen. Der Sachverhalt, dass es zu einem Untersuchungsmaterial Teilmengen geben kann, wird im Datenmodell berücksichtigt, indem es sowohl die &quot;Identifikation Probe Einsender&quot; (Specimen.identifier 1..*) gibt, als auch für mögliche Teilmengen daraus die &quot;Probenbehälter-ID&quot; (Device_Specimen_Container.identifier 0..*)." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.identifier.use">
      <path value="Specimen.identifier.use" />
      <max value="0" />
    </element>
    <element id="Specimen.identifier.type">
      <path value="Specimen.identifier.type" />
      <definition value="Für die Probe können unterschiedliche Identifikatoren vergeben werden. Unterschieden werden beispielsweise &quot;Identifkator, den die auftragerteilende Institution vergibt&quot; (Order-Placer, Einsender) und &quot;Identifkator, den die auftragserfüllende Laboreinrichtung vergibt&quot; (Order-Filler, Auftragnehmer). Der ID-Typ gibt an, um welche Art von Proben-Identifikator es sich handelt." />
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.kbv.de/ValueSet/KBV_VS_MIO_LAB_Identifier_Type|1.0.0-update" />
      </binding>
    </element>
    <element id="Specimen.identifier.type.coding">
      <path value="Specimen.identifier.type.coding" />
      <definition value="Code für die Typisierung des Proben-Identifikators.&#xA;&#xA;HL7®-Code für die Typisierung des Proben-Identifikators. In diesem Kontext mögliche Codes sind beispielsweise:&#xA;* PLAC (Placer Identifier) - Identifikator, den die Auftragserteilende Institution vergibt&#xA;* ACSN (Accession ID) - Identifikator, den das Labor zum Auftragseingang vergibt&#xA;* FILL (Filler Identifier) - Identifikator, den das Labor zur Auftragserfüllung vergibt&#xA;* SID (Specimen ID)" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.identifier.type.coding.system">
      <path value="Specimen.identifier.type.coding.system" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.identifier.type.coding.version">
      <path value="Specimen.identifier.type.coding.version" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.identifier.type.coding.code">
      <path value="Specimen.identifier.type.coding.code" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.identifier.type.coding.display">
      <path value="Specimen.identifier.type.coding.display" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.identifier.type.coding.userSelected">
      <path value="Specimen.identifier.type.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="Specimen.identifier.type.text">
      <path value="Specimen.identifier.type.text" />
      <definition value="Text für die Typisierung des Proben-Identifikators." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.identifier.system">
      <path value="Specimen.identifier.system" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.identifier.value">
      <path value="Specimen.identifier.value" />
      <definition value="Identifikator-Wert" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.identifier.period">
      <path value="Specimen.identifier.period" />
      <max value="0" />
    </element>
    <element id="Specimen.identifier.assigner">
      <path value="Specimen.identifier.assigner" />
      <max value="0" />
    </element>
    <element id="Specimen.accessionIdentifier">
      <path value="Specimen.accessionIdentifier" />
      <max value="0" />
    </element>
    <element id="Specimen.status">
      <path value="Specimen.status" />
      <definition value="Hier wird ein Code für den Probenstatus vor der Messung angegeben:&#xA;&#xA;* Verfügbar: das physische Exemplar ist vorhanden und in gutem Zustand.&#xA;* Nicht verfügbar: es ist kein physisches Exemplar vorhanden, da es entweder verloren, zerstört oder verbraucht wurde.&#xA;* Nicht geeignet: die Probe kann aufgrund eines Qualitätsproblems, z. B. eines zerbrochenen Behälters, einer Verunreinigung oder eines abgelaufenen Verfallsdatums, nicht verwendet werden.&#xA;* Irrtümliche Eingabe: die Probe wurde irrtümlich eingegeben und ist daher ungültig." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.type">
      <path value="Specimen.type" />
      <short value="Probenart, ergänzende Spezifizierung (z.B. postkoordinierend)" />
      <definition value="Probenart, ergänzende Spezifizierung Code/Bezeichnung&#xA;&#xA;Der LOINC®-Code impliziert über die LOINC®-Achse SYSTEM bereits eine Probenart. Falls der Wert für die LOINC®-Achse SYSTEM nicht ausreichend spezifisch ist, kann in Bezug auf den LOINC®-Code der Laboruntersuchung, die &quot;Probenart, ergänzende Spezifizierung&quot; (Specimen.type) ergänzt werden. Ein Beispiel: Wenn mit dem LOINC®-Code das Untersuchungsmaterial &quot;Blut&quot; definiert ist, könnte als ergänzende Spezifikation der SNOMED CT®-Code für &quot;arterielles Blut&quot; dokumentiert werden." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.type.coding">
      <path value="Specimen.type.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <definition value="Hier wird die Probenart als codierte Information angegeben." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.type.coding.system">
      <path value="Specimen.type.coding.system" />
      <min value="1" />
    </element>
    <element id="Specimen.type.coding.code">
      <path value="Specimen.type.coding.code" />
      <min value="1" />
    </element>
    <element id="Specimen.type.coding.display">
      <path value="Specimen.type.coding.display" />
      <min value="1" />
    </element>
    <element id="Specimen.type.coding:snomed">
      <path value="Specimen.type.coding" />
      <sliceName value="snomed" />
      <definition value="Hier kann ein Code aus SNOMED CT® angegeben werden." />
      <min value="0" />
      <max value="1" />
      <patternCoding>
        <system value="http://snomed.info/sct" />
      </patternCoding>
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.kbv.de/ValueSet/KBV_VS_MIO_LAB_Specimen_Type_SNOMED_CT|1.0.0-update" />
      </binding>
    </element>
    <element id="Specimen.type.coding:snomed.system">
      <path value="Specimen.type.coding.system" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.type.coding:snomed.version">
      <path value="Specimen.type.coding.version" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.type.coding:snomed.code">
      <path value="Specimen.type.coding.code" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.type.coding:snomed.display">
      <path value="Specimen.type.coding.display" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.type.coding:snomed.userSelected">
      <path value="Specimen.type.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="Specimen.type.text">
      <path value="Specimen.type.text" />
      <definition value="Freitext Bezeichnung für die ergänzende Spezifizierung der Probenart. Mögliche Verwendung:&#xA;&#xA;* als Freitextergänzung, wenn die Probenart durch die Spezifikation Laboruntersuchung (LOINC® Code: SYSTEM) nicht ausreichend spezifisch codiert werden kann&#xA;* als Freitextergänzung, wenn die die Probenart durch Probenart, ergänzende Spezifizierung/SNOMED CT®-Code nicht ausreichend spezifisch bezeichnet werden kann&#xA;* ersatzweise, wenn gar keine passende Codierung zugeordnet werden kann&#xA;* wenn zusätzlich eine Freitext-Bezeichnung aus der LDT-Kommunikation übernommen werden soll." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.subject">
      <path value="Specimen.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="Specimen.subject.identifier">
      <path value="Specimen.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="Specimen.receivedTime">
      <path value="Specimen.receivedTime" />
      <definition value="Zeitpunkt des Eingangs der Probe im Labor. Dieser Zeitpunkt sollte nach Möglichkeit minutengenau angegeben werden. Im klinischen Alltag ist die minutengenaue Erfassung nicht immer realistisch. Deshalb ist die Mindestangabe hier tagesgenau." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.parent">
      <path value="Specimen.parent" />
      <definition value="Ausgangsmaterial für eine Sekundärprobe. Die Sekundärprobe existiert nur auf Basis einer Primärprobe. Wenn eine Sekundärprobe angegeben wird, dann ist das Ausgangsmaterial verpflichtend anzugeben, damit der Bezug hergestellt werden kann." />
      <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="Specimen.parent.reference">
      <path value="Specimen.parent.reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.parent.type">
      <path value="Specimen.parent.type" />
      <max value="0" />
    </element>
    <element id="Specimen.parent.identifier">
      <path value="Specimen.parent.identifier" />
      <max value="0" />
    </element>
    <element id="Specimen.parent.display">
      <path value="Specimen.parent.display" />
      <max value="0" />
    </element>
    <element id="Specimen.request">
      <path value="Specimen.request" />
      <max value="0" />
    </element>
    <element id="Specimen.collection">
      <path value="Specimen.collection" />
      <definition value="Optionale Angaben zur Probengewinnung, dazu gehören: Zeitangabe, Methode der Probengewinnung, Entnahmeort, Angabe zum Nüchternstatus." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.extension">
      <path value="Specimen.collection.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.extension:bodySite">
      <path value="Specimen.collection.extension" />
      <sliceName value="bodySite" />
      <short value="Körperstelle der Probenentnahme" />
      <definition value="Es kann eine Körperstruktur mit Seitenangabe, weiterer Lokalisierung und Aussage zur Morphologie angegeben werden.&#xA;&#xA;Es wäre auch möglich, dass eine Probenentnahme aus mehr als einer Körperstelle gewonnen wird." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/bodySite" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.extension:bodySite.value[x]">
      <path value="Specimen.collection.extension.value[x]" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_BodyStructure|1.0.0-update" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.collector">
      <path value="Specimen.collection.collector" />
      <definition value="Person, welche die Probe entnimmt." />
      <type>
        <code value="Reference" />
        <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_Practitioner|1.0.0-update" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.collector.reference">
      <path value="Specimen.collection.collector.reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.collector.type">
      <path value="Specimen.collection.collector.type" />
      <max value="0" />
    </element>
    <element id="Specimen.collection.collector.identifier">
      <path value="Specimen.collection.collector.identifier" />
      <max value="0" />
    </element>
    <element id="Specimen.collection.collector.display">
      <path value="Specimen.collection.collector.display" />
      <max value="0" />
    </element>
    <element id="Specimen.collection.collected[x]">
      <path value="Specimen.collection.collected[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <definition value="Hier wird eine Zeitangabe zur Probengewinnung vorgenommen." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.collected[x]:collectedDateTime">
      <path value="Specimen.collection.collected[x]" />
      <sliceName value="collectedDateTime" />
      <definition value="Punktueller Zeitpunkt der Entnahme/Abnahme/Gewinnung der Probe. Dieser Zeitpunkt sollte nach Möglichkeit minutengenau angegeben werden. Im klinischen Alltag ist die minutengenaue Erfassung zur Probenentnahme nicht immer realistisch. Die Mindestangabe ist hier tagesgenau." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <constraint>
        <key value="date-1" />
        <severity value="error" />
        <human value="Datetime must be at least day, month and year." />
        <expression value="($this as dateTime).toString().length() &gt;= 10" />
        <source value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_Specimen" />
      </constraint>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.collected[x]:collectedPeriod">
      <path value="Specimen.collection.collected[x]" />
      <sliceName value="collectedPeriod" />
      <definition value="Zeitraum mit Start- und Endzeitpunkt, hier geht es um den konkreten Zeitraum die Probenentnahme." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Period" />
      </type>
      <constraint>
        <key value="spec-collected-1" />
        <severity value="error" />
        <human value="The start and end of the time period must include at least day, month and year." />
        <expression value="($this.start.toString().length() &gt;= 16) and ($this.end.toString().length() &gt;= 16)" />
        <source value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_Specimen" />
      </constraint>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.collected[x]:collectedPeriod.start">
      <path value="Specimen.collection.collected[x].start" />
      <definition value="Beginn eines Zeitraumes." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.collected[x]:collectedPeriod.end">
      <path value="Specimen.collection.collected[x].end" />
      <definition value="Ende eines Zeitraumes." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.duration">
      <path value="Specimen.collection.duration" />
      <definition value="Dauer steht für eine Zeitspanne, sie ist mindestens durch einen quantitativen Wert und eine zeitbezogene UCUM-Einheit definiert. Hier geht es um die zur Probengewinnung benötigte Zeitspanne, z. B. Sammelurin über einige Stunden." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.duration.value">
      <path value="Specimen.collection.duration.value" />
      <definition value="Hier wird der numerische Wert der Zeitdauer angegeben. Hierbei handelt es sich um eine Zahl mit optionalen Dezimalstellen." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.duration.comparator">
      <path value="Specimen.collection.duration.comparator" />
      <definition value="Der Komparator kann sein:&#xA;&#xA;* &lt; (kleiner)&#xA;* &lt;= (kleiner oder gleich)&#xA;* &gt;= (größer oder gleich)&#xA;* &gt; (größer)&#xA;&#xA;Der häufigste Option ist, dass eine Dauer = (gleich) eines Wertes ist. In diesem Fall wird kein Komparator gesetzt." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.duration.unit">
      <path value="Specimen.collection.duration.unit" />
      <definition value="Hier wird die Einheit der Zeitdauer angegeben. Es sind nur UCUM-Einheiten zulässig." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.duration.system">
      <path value="Specimen.collection.duration.system" />
      <definition value="Hier wird die Einheit der Zeitdauer angegeben. Es sind nur UCUM-Einheiten zulässig." />
      <min value="1" />
      <patternUri value="http://unitsofmeasure.org" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.duration.code">
      <path value="Specimen.collection.duration.code" />
      <definition value="Hier wird die Einheit der Zeitdauer angegeben. Es sind nur UCUM-Einheiten zulässig." />
      <min value="1" />
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/duration-units" />
      </binding>
    </element>
    <element id="Specimen.collection.quantity">
      <path value="Specimen.collection.quantity" />
      <max value="0" />
    </element>
    <element id="Specimen.collection.method">
      <path value="Specimen.collection.method" />
      <definition value="Methode, mit welcher das Probenmaterial gewonnen wurde. Diese Angabe kommt infrage für&#xA;&#xA;* die primäre Entnahme des Probenmaterials (Primär-Probe) oder&#xA;* die sekundäre Probengewinnung (Sekundär-Probe), z.B. Zentrifugat im Labor" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.method.coding">
      <path value="Specimen.collection.method.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <definition value="Hier kann die Methode der Probengewinnung als codierte Information angegeben werden." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.method.coding.system">
      <path value="Specimen.collection.method.coding.system" />
      <min value="1" />
    </element>
    <element id="Specimen.collection.method.coding.code">
      <path value="Specimen.collection.method.coding.code" />
      <min value="1" />
    </element>
    <element id="Specimen.collection.method.coding.display">
      <path value="Specimen.collection.method.coding.display" />
      <min value="1" />
    </element>
    <element id="Specimen.collection.method.coding:snomed">
      <path value="Specimen.collection.method.coding" />
      <sliceName value="snomed" />
      <min value="0" />
      <max value="1" />
      <patternCoding>
        <system value="http://snomed.info/sct" />
      </patternCoding>
      <mustSupport value="true" />
      <binding>
        <strength value="example" />
        <valueSet value="https://fhir.kbv.de/ValueSet/KBV_VS_MIO_LAB_Specimen_Collection_Method_SNOMED_CT|1.0.0-update" />
      </binding>
    </element>
    <element id="Specimen.collection.method.coding:snomed.system">
      <path value="Specimen.collection.method.coding.system" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.method.coding:snomed.version">
      <path value="Specimen.collection.method.coding.version" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.method.coding:snomed.code">
      <path value="Specimen.collection.method.coding.code" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.method.coding:snomed.display">
      <path value="Specimen.collection.method.coding.display" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.method.coding:snomed.userSelected">
      <path value="Specimen.collection.method.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="Specimen.collection.method.text">
      <path value="Specimen.collection.method.text" />
      <definition value="Freitext Bezeichnung der Probenentnahme-Methode" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.bodySite">
      <path value="Specimen.collection.bodySite" />
      <max value="0" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]">
      <path value="Specimen.collection.fastingStatus[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <definition value="Aussage zur Abstinenz von Nahrungsmitteln und Getränken für einen bestimmten Zeitraum vor der Probengewinnung." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]:fastingStatusCodeableConcept">
      <path value="Specimen.collection.fastingStatus[x]" />
      <sliceName value="fastingStatusCodeableConcept" />
      <definition value="Angabe zum Nüchternstatus." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]:fastingStatusCodeableConcept.coding">
      <path value="Specimen.collection.fastingStatus[x].coding" />
      <definition value="Angabe zum Nüchternstatus in codierter Form." />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]:fastingStatusCodeableConcept.coding.system">
      <path value="Specimen.collection.fastingStatus[x].coding.system" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]:fastingStatusCodeableConcept.coding.version">
      <path value="Specimen.collection.fastingStatus[x].coding.version" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]:fastingStatusCodeableConcept.coding.code">
      <path value="Specimen.collection.fastingStatus[x].coding.code" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]:fastingStatusCodeableConcept.coding.display">
      <path value="Specimen.collection.fastingStatus[x].coding.display" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]:fastingStatusCodeableConcept.coding.userSelected">
      <path value="Specimen.collection.fastingStatus[x].coding.userSelected" />
      <max value="0" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]:fastingStatusCodeableConcept.text">
      <path value="Specimen.collection.fastingStatus[x].text" />
      <definition value="Freitextangabe zum Nüchternstatus." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]:fastingStatusDuration">
      <path value="Specimen.collection.fastingStatus[x]" />
      <sliceName value="fastingStatusDuration" />
      <definition value="Dauer des Nüchternzustandes. Dauer steht für eine Zeitspanne, sie ist mindestens durch einen quantitativen Wert und eine zeitbezogene UCUM-Einheit definiert." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Duration" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]:fastingStatusDuration.value">
      <path value="Specimen.collection.fastingStatus[x].value" />
      <definition value="Hier wird der numerische Wert der Zeitdauer angegeben. Hierbei handelt es sich um eine Zahl mit optionalen Dezimalstellen." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]:fastingStatusDuration.comparator">
      <path value="Specimen.collection.fastingStatus[x].comparator" />
      <definition value="Der Komparator kann sein:&#xA;&#xA;* &lt; (kleiner)&#xA;* &lt;= (kleiner oder gleich)&#xA;* &gt;= (größer oder gleich)&#xA;* &gt; (größer)&#xA;&#xA;Der häufigste Option ist, dass eine Dauer = (gleich) eines Wertes ist. In diesem Fall wird kein Komparator gesetzt." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]:fastingStatusDuration.unit">
      <path value="Specimen.collection.fastingStatus[x].unit" />
      <definition value="Hier wird die Einheit der Zeitdauer angegeben. Es sind nur UCUM-Einheiten zulässig." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]:fastingStatusDuration.system">
      <path value="Specimen.collection.fastingStatus[x].system" />
      <definition value="Hier wird die Einheit der Zeitdauer angegeben. Es sind nur UCUM-Einheiten zulässig." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]:fastingStatusDuration.code">
      <path value="Specimen.collection.fastingStatus[x].code" />
      <definition value="Hier wird die Einheit der Zeitdauer angegeben. Es sind nur UCUM-Einheiten zulässig." />
      <min value="1" />
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/duration-units" />
      </binding>
    </element>
    <element id="Specimen.processing">
      <path value="Specimen.processing" />
      <definition value="Optionale Angaben zur Probenverarbeitung, dazu gehören: Zeitangabe, Additiva und ggf. beschreibender Text." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.processing.description">
      <path value="Specimen.processing.description" />
      <definition value="Freitext Beschreibung zur Probenverarbeitung." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.processing.procedure">
      <path value="Specimen.processing.procedure" />
      <definition value="Methode / Verfahren zur Weiterverarbeitung des Probenmaterials, angegeben in codierter Form oder als Text" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.processing.procedure.coding">
      <path value="Specimen.processing.procedure.coding" />
      <definition value="Methode / Verfahren zur Weiterverarbeitung des Probenmaterials als codierte Information" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.processing.procedure.coding.system">
      <path value="Specimen.processing.procedure.coding.system" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.processing.procedure.coding.version">
      <path value="Specimen.processing.procedure.coding.version" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.processing.procedure.coding.code">
      <path value="Specimen.processing.procedure.coding.code" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.processing.procedure.coding.display">
      <path value="Specimen.processing.procedure.coding.display" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.processing.procedure.coding.userSelected">
      <path value="Specimen.processing.procedure.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="Specimen.processing.procedure.text">
      <path value="Specimen.processing.procedure.text" />
      <definition value="Hier kann die Methode / das Verfahren zur Weiterverarbeitung des Probenmaterials als Freitext angegeben werden." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.processing.additive">
      <path value="Specimen.processing.additive" />
      <short value="Probenzusätze in der Probenverarbeitung" />
      <definition value="Referenzierung auf Additiva, die bei der Probenweiterverarbeitung hinzugefügt werden." />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_Substance|1.0.0-update" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.processing.additive.reference">
      <path value="Specimen.processing.additive.reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.processing.additive.type">
      <path value="Specimen.processing.additive.type" />
      <max value="0" />
    </element>
    <element id="Specimen.processing.additive.identifier">
      <path value="Specimen.processing.additive.identifier" />
      <max value="0" />
    </element>
    <element id="Specimen.processing.additive.display">
      <path value="Specimen.processing.additive.display" />
      <max value="0" />
    </element>
    <element id="Specimen.processing.time[x]">
      <path value="Specimen.processing.time[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <definition value="Hier wird eine Zeitangabe vorgenommen." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.processing.time[x]:timeDateTime">
      <path value="Specimen.processing.time[x]" />
      <sliceName value="timeDateTime" />
      <definition value="Im Laborkontext sollte der Zeitpunkt nach Möglichkeit minutengenau angegeben werden, die Mindestangabe ist tagesgenau." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.processing.time[x]:timePeriod">
      <path value="Specimen.processing.time[x]" />
      <sliceName value="timePeriod" />
      <definition value="Zeitraum mit Start und Ende" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Period" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.processing.time[x]:timePeriod.start">
      <path value="Specimen.processing.time[x].start" />
      <definition value="Beginn eines Zeitraume" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.processing.time[x]:timePeriod.end">
      <path value="Specimen.processing.time[x].end" />
      <definition value="Ende eines Zeitraume" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.container">
      <path value="Specimen.container" />
      <definition value="Optionale Angaben zum Behältnis, in dem sich die Probe befindet. Hierzu kann angegeben werden, um welche Art Behältnis es sich handelt, welche Zusätze es enthält und welche Menge an Probenmaterial es enthält." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.container.extension">
      <path value="Specimen.container.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.container.extension:SpecimenContainerDeviceR5">
      <path value="Specimen.container.extension" />
      <sliceName value="SpecimenContainerDeviceR5" />
      <definition value="Referenz auf den Probenbehälter." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.container.device" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.container.extension:SpecimenContainerDeviceR5.extension">
      <path value="Specimen.container.extension.extension" />
      <max value="0" />
    </element>
    <element id="Specimen.container.extension:SpecimenContainerDeviceR5.value[x]">
      <path value="Specimen.container.extension.value[x]" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_LAB_Device_Specimen_Container|1.0.0-update" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.container.extension:SpecimenContainerDeviceR5.value[x].reference">
      <path value="Specimen.container.extension.value[x].reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.container.extension:SpecimenContainerDeviceR5.value[x].type">
      <path value="Specimen.container.extension.value[x].type" />
      <max value="0" />
    </element>
    <element id="Specimen.container.extension:SpecimenContainerDeviceR5.value[x].identifier">
      <path value="Specimen.container.extension.value[x].identifier" />
      <max value="0" />
    </element>
    <element id="Specimen.container.extension:SpecimenContainerDeviceR5.value[x].display">
      <path value="Specimen.container.extension.value[x].display" />
      <max value="0" />
    </element>
    <element id="Specimen.container.identifier">
      <path value="Specimen.container.identifier" />
      <max value="0" />
    </element>
    <element id="Specimen.container.description">
      <path value="Specimen.container.description" />
      <max value="0" />
    </element>
    <element id="Specimen.container.type">
      <path value="Specimen.container.type" />
      <max value="0" />
    </element>
    <element id="Specimen.container.capacity">
      <path value="Specimen.container.capacity" />
      <max value="0" />
    </element>
    <element id="Specimen.container.specimenQuantity">
      <path value="Specimen.container.specimenQuantity" />
      <definition value="Menge der Probe im Behälter." />
      <patternQuantity>
        <system value="http://unitsofmeasure.org" />
      </patternQuantity>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.container.specimenQuantity.value">
      <path value="Specimen.container.specimenQuantity.value" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.container.specimenQuantity.unit">
      <path value="Specimen.container.specimenQuantity.unit" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.container.specimenQuantity.system">
      <path value="Specimen.container.specimenQuantity.system" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.container.specimenQuantity.code">
      <path value="Specimen.container.specimenQuantity.code" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.container.additive[x]">
      <path value="Specimen.container.additive[x]" />
      <max value="0" />
    </element>
    <element id="Specimen.condition">
      <path value="Specimen.condition" />
      <definition value="Hier wird eine Angabe zum Zustand der Probe gemacht." />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.condition.coding">
      <path value="Specimen.condition.coding" />
      <definition value="Hier wird der Zustand der Probe als codierte Information angegeben." />
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.kbv.de/ValueSet/KBV_VS_MIO_LAB_Specimen_Condition|1.0.0-update" />
      </binding>
    </element>
    <element id="Specimen.condition.coding.system">
      <path value="Specimen.condition.coding.system" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.condition.coding.version">
      <path value="Specimen.condition.coding.version" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.condition.coding.code">
      <path value="Specimen.condition.coding.code" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.condition.coding.display">
      <path value="Specimen.condition.coding.display" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.condition.coding.userSelected">
      <path value="Specimen.condition.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="Specimen.condition.text">
      <path value="Specimen.condition.text" />
      <definition value="Freitext Angabe zum Zustand der Probe." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.note">
      <path value="Specimen.note" />
      <definition value="Feld für ergänzende Freitext-Angaben zum Probenmaterial, die in der vorgegebenen Datenstruktur nicht erfasst werden können. Ein Beispiel dafür wäre die Angabe, dass die Probe bei 37 Grad (Körpertemperatur) aufbewahrt wurde." />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.note.author[x]">
      <path value="Specimen.note.author[x]" />
      <max value="0" />
    </element>
    <element id="Specimen.note.time">
      <path value="Specimen.note.time" />
      <max value="0" />
    </element>
    <element id="Specimen.note.text">
      <path value="Specimen.note.text" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>