<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="HdBe-LaboratoryTestResult.Specimen" />
  <meta>
    <lastUpdated value="2023-05-08T17:10:42.1449321+00:00" />
  </meta>
  <url value="https://fhir.healthdata.be/StructureDefinition/HdBe-LaboratoryTestResult.Specimen" />
  <name value="HdBeLaboratoryTestResultSpecimen" />
  <title value="HdBe LaboratoryTestResult.Specimen" />
  <status value="draft" />
  <publisher value="Healthdata.be (Sciensano)" />
  <contact>
    <name value="Service portal – healthdata.be" />
    <telecom>
      <system value="url" />
      <value value="https://sciensano.service-now.com/sp" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Obtained specimen material or a microbial isolate that is used in a laboratory analysis." />
  <copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="zib-laboratorytestresult-v4.6-2020EN" />
    <uri value="https://zibs.nl/wiki/LaboratoryTestResult-v4.6(2020EN)" />
    <name value="zib LaboratoryTestResult-v4.6(2020EN)" />
  </mapping>
  <mapping>
    <identity value="HdBe-LaboratoryTestResult" />
    <uri value="https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-LaboratoryTestResult" />
    <name value="HdBe logical model LaboratoryTestResult" />
  </mapping>
  <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" />
      <short value="Specimen" />
      <definition value="The Specimen concept from the CBB LaboratoryTestResult contains a concept for SpecimenMaterial and for Microorganism. These two concepts cannot be represented in the same Specimen resources; if there's a need to communicate both the microorganism and the sample material from which it was isolated, two instances need to be used. The instance representing the microorganism should refer to the instance respresenting the sample material using `Specimen.parent`. All other CBB concepts should be repeated in both resources." />
      <alias value="Monster" />
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.2" />
        <comment value="Specimen" />
      </mapping>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen" />
      </mapping>
    </element>
    <element id="Specimen.identifier">
      <path value="Specimen.identifier" />
      <short value="SpecimenId" />
      <definition value="Identification number of the material obtained, as a reference for inquiries to the source organization. In a transmural setting, this number will consist of a specimen number including the identification of the issuing organization, to be unique outside of the borders of an organization." />
      <alias value="Monsternummer" />
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.15" />
        <comment value="SpecimenId" />
      </mapping>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.SpecimenId" />
      </mapping>
    </element>
    <element id="Specimen.type">
      <path value="Specimen.type" />
      <short value="SpecimenMaterial / Microorganism" />
      <definition value="* SpecimenMaterial describes the material obtained. If the LOINC test code also implicitly describes a material, this element may not conflict with the description. If desired, this component can provide a more detailed description of the material: LOINC codes only contain the materials at a main level. This is in line with the agreements made in the IHE/Nictiz program e-Lab.&#xD;&#xA;* In particular in microbiological determinations the subject of the test is an isolate of a certain microorganism rather then a material. This concept provides the ability to capture information about this microorganism." />
      <comment value="The Specimen concept from the CBB LaboratoryTestResult contains a concept for SpecimenMaterial and for Microorganism (isolated from the specimen material). These two concepts cannot be represented in the same Specimen resource; this `Specimen.type` element defines which of the two concepts is represented.&#xD;&#xA;&#xD;&#xA;If there's a need to communicate both the microorganism and the sample material from which it was isolated, two instances need to be used. The instance representing the microorganism should refer in this case to the instance respresenting the sample material using `Specimen.parent`.&#xD;&#xA;&#xD;&#xA;If this resource represents material and is carried out on derived material (such as plasma), this element will still contain the material drawn (in this case, blood). In this case, the LOINC code will generally refer to plasma." />
      <alias value="Monstermateriaal" />
      <alias value="Microorganisme" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/SpecimenMaterial-and-Microorganism" />
      </binding>
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.16" />
        <comment value="SpecimenMaterial" />
      </mapping>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.SpecimenMaterial" />
      </mapping>
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.22" />
        <comment value="Microorganism" />
      </mapping>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.Microorganism" />
      </mapping>
    </element>
    <element id="Specimen.subject">
      <path value="Specimen.subject" />
      <short value="SpecimenSource" />
      <definition value="If the material is not collected directly from the patient but comes from a patient-related object, e.g. a cathetertip, this source of material can be recorded here." />
      <comment value="If concept SpecimenSource is used, it can be recorded here using a reference to an instance of the HdBe-LaboratoryTestResult.Specimen.Source profile." />
      <alias value="BronMonster" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Substance" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/HdBe-LaboratoryTestResult.Specimen.Source" />
      </type>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.SpecimenSource" />
      </mapping>
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.29" />
        <comment value="SpecimenSource" />
      </mapping>
    </element>
    <element id="Specimen.receivedTime">
      <path value="Specimen.receivedTime" />
      <short value="ReceivedDateTime" />
      <definition value="Date and time that the material is handed over at the laboratory or specimen collection center. This is the issue with material that is collected by the patient himself." />
      <alias value="AannameDatumTijd" />
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.25" />
        <comment value="ReceivedDateTime" />
      </mapping>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.ReceivedDateTime" />
      </mapping>
    </element>
    <element id="Specimen.parent">
      <path value="Specimen.parent" />
      <comment value="When this resource represents a microorganism (that is, `Specimen.type` represents the CCB concept Microorganism and contains a code from Microorganism ValueSet), this reference can be used to refer to the source material from which is was isolated. The referenced resource should have `Specimen.type` represent the CCB concept SpecimenMaterial and contain a code from the SpecimenMaterial valueSet." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/HdBe-LaboratoryTestResult.Specimen" />
      </type>
    </element>
    <element id="Specimen.collection.collected[x]">
      <path value="Specimen.collection.collected[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Specimen.collection.collected[x]:collectedDateTime">
      <path value="Specimen.collection.collected[x]" />
      <sliceName value="collectedDateTime" />
      <short value="CollectionDateTime" />
      <definition value="Date and time at which the material was collected." />
      <alias value="AfnameDatumTijd" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.CollectionDateTime" />
      </mapping>
    </element>
    <element id="Specimen.collection.collected[x]:collectedPeriod">
      <path value="Specimen.collection.collected[x]" />
      <sliceName value="collectedPeriod" />
      <short value="CollectionPeriod" />
      <definition value="If the material has not been collected at a single point in time but over a certain period, this period can be captured in this concept. An example is 24 hour urine." />
      <alias value="Verzamelperiode" />
      <type>
        <code value="Period" />
      </type>
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.24" />
        <comment value="CollectionPeriod" />
      </mapping>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.CollectionPeriod" />
      </mapping>
    </element>
    <element id="Specimen.collection.duration">
      <path value="Specimen.collection.duration" />
      <short value="CollectionPeriod" />
      <definition value="If the material has not been collected at a single point in time but over a certain period, this period can be captured in this concept. An example is 24 hour urine." />
      <alias value="Verzamelperiode" />
      <patternDuration>
        <unit value="min" />
        <system value="http://unitsofmeasure.org" />
        <code value="min" />
      </patternDuration>
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.24" />
        <comment value="CollectionPeriod" />
      </mapping>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.CollectionPeriod" />
      </mapping>
    </element>
    <element id="Specimen.collection.quantity">
      <path value="Specimen.collection.quantity" />
      <short value="CollectedVolume" />
      <definition value="Total volume of the collected material. If it is necessary to determine the absolute amount of a particular substance in the collected material, the volume thereof must be given." />
      <alias value="Verzamelvolume" />
      <patternQuantity>
        <unit value="mL" />
        <system value="http://unitsofmeasure.org" />
        <code value="mL" />
      </patternQuantity>
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.23" />
        <comment value="CollectedVolume" />
      </mapping>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.CollectedVolume" />
      </mapping>
    </element>
    <element id="Specimen.collection.method">
      <path value="Specimen.collection.method" />
      <short value="CollectionMethod" />
      <definition value="If relevant for the results, the method of obtaining the specimen can be entered as well." />
      <alias value="Afnameprocedure" />
      <binding>
        <strength value="required" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/CollectionMethod" />
      </binding>
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.18" />
        <comment value="CollectionMethod" />
      </mapping>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.CollectionMethod" />
      </mapping>
    </element>
    <element id="Specimen.collection.bodySite">
      <path value="Specimen.collection.bodySite" />
      <short value="AnatomicalLocation" />
      <definition value="Anatomic location where the material is collected, e.g. elbow" />
      <alias value="AnatomischeLocatie" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.healthdata.be/StructureDefinition/HdBe-AnatomicalLocation" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/Location" />
      </binding>
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.36" />
        <comment value="AnatomicalLocation" />
      </mapping>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.AnatomicalLocation" />
      </mapping>
    </element>
    <element id="Specimen.collection.bodySite.extension">
      <path value="Specimen.collection.bodySite.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="0" />
    </element>
    <element id="Specimen.collection.bodySite.extension:morphology">
      <path value="Specimen.collection.bodySite.extension" />
      <sliceName value="morphology" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.healthdata.be/StructureDefinition/ext-LaboratoryTestResult.Specimen.Morphology" />
      </type>
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.28" />
        <comment value="Morphology" />
      </mapping>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.Morphology" />
      </mapping>
    </element>
    <element id="Specimen.container.extension">
      <path value="Specimen.container.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="0" />
    </element>
    <element id="Specimen.container.extension:specimenNumberExtension">
      <path value="Specimen.container.extension" />
      <sliceName value="specimenNumberExtension" />
      <min value="0" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber" />
      </type>
    </element>
    <element id="Specimen.container.extension:specimenNumberExtension.value[x]">
      <path value="Specimen.container.extension.value[x]" />
      <short value="SpecimenNumberExtension" />
      <definition value="The specimen number extension is used when the collected material is distributed from the original tube or container across multiple tubes. In combination with the specimen Id the extension yield a unique identification of the tube or container." />
      <alias value="Monstervolgnummer" />
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.20" />
        <comment value="SpecimenNumberExtension" />
      </mapping>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.SpecimenNumberExtension" />
      </mapping>
    </element>
    <element id="Specimen.container.type">
      <path value="Specimen.container.type" />
      <short value="ContainerType" />
      <definition value="Container type describes the envelope in which the material is collected or sent. Examples include blood tubes, transport container, possibly including culture medium." />
      <alias value="Containertype" />
      <binding>
        <strength value="preferred" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/ContainerType" />
      </binding>
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.21" />
        <comment value="ContainerType" />
      </mapping>
    </element>
    <element id="Specimen.note">
      <path value="Specimen.note" />
      <max value="1" />
    </element>
    <element id="Specimen.note.text">
      <path value="Specimen.note.text" />
      <short value="Comment" />
      <definition value="Comments on the specimen , such as drawing material after a (glucose) stimulus or taking medicine." />
      <alias value="Toelichting" />
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.19" />
        <comment value="Comment" />
      </mapping>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.Comment" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>