<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="HdBe-LaboratoryTestResult.Specimen.Source" />
  <url value="https://fhir.healthdata.be/StructureDefinition/HdBe-LaboratoryTestResult.Specimen.Source" />
  <name value="HdBeLaboratoryTestResultSpecimenSource" />
  <title value="HdBe LaboratoryTestResult.Specimen.Source" />
  <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="Source of 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="HdBe-LaboratoryTestResult" />
    <uri value="https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-LaboratoryTestResult" />
    <name value="HdBe logical model LaboratoryTestResult" />
  </mapping>
  <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>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Device" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Device" />
  <derivation value="constraint" />
  <differential>
    <element id="Device">
      <path value="Device" />
      <comment value="The Device that represents the CBB LaboratoryTestResult concept for SpecimenSource." />
    </element>
    <element id="Device.deviceName">
      <path value="Device.deviceName" />
      <max value="1" />
    </element>
    <element id="Device.deviceName.name">
      <path value="Device.deviceName.name" />
      <definition value="If the material is not collected directly from the patient but comes from a patient-related object, e.g. a cathetertip, a specific name of this source of material can be recorded here." />
      <alias value="BronMonster" />
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.SpecimenSource" />
        <comment value="Only if a more specific SpecimenSource name can be provided than specified as type." />
      </mapping>
      <mapping>
        <identity value="zib-laboratorytestresult-v4.6-2020EN" />
        <map value="NL-CM:13.1.29" />
        <comment value="SpecimenSource" />
      </mapping>
    </element>
    <element id="Device.deviceName.type">
      <path value="Device.deviceName.type" />
      <definition value="The type of name the device is referred by." />
      <comment value="If type is unknown, use value `other`." />
    </element>
    <element id="Device.type">
      <path value="Device.type" />
      <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 a deviceName is known, which is more specific than the type, this name can be added to deviceName.name." />
      <alias value="BronMonster" />
      <min value="1" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/SpecimenSource" />
      </binding>
      <mapping>
        <identity value="HdBe-LaboratoryTestResult" />
        <map value="LaboratoryTestResult.Specimen.SpecimenSource" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>