<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="path-Request.Specimen" />
  <text>
    <status value="empty" />
    <div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
  </text>
  <url value="http://medmij.nl/fhir/StructureDefinition/path-Request.Specimen" />
  <name value="PathRequestSpecimen" />
  <title value="path Request.Specimen" />
  <status value="draft" />
  <publisher value="MedMij" />
  <contact>
    <name value="MedMij" />
    <telecom>
      <system value="email" />
      <value value="info@medmij.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Specimen that will be examined by a laboratory." />
  <purpose value="This Specimen resource represents the specimen-related concepts from the Request building block for patient use cases in the context of the information standard Pathology (Pathologie)." />
  <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="mercurius-core-dataset-2-0" />
    <name value="Mercurius Core Dataset 2.0" />
  </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="Specimen that will be examined by a laboratory." />
      <comment value="This resource is used to convey either the primary specimen or an individual sample taken from that specimen. In the latter case, the `.parent` refers to the Specimen resource corresponding to the primary specimen." />
      <alias value="Monster" />
    </element>
    <element id="Specimen.type">
      <path value="Specimen.type" />
      <min value="1" />
    </element>
    <element id="Specimen.type.text">
      <path value="Specimen.type.text" />
      <short value="SpecimenMaterial" />
      <definition value="Type of specimen." />
      <alias value="AardMateriaal" />
      <min value="1" />
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-76" />
        <comment value="aardmateriaal" />
      </mapping>
    </element>
    <element id="Specimen.subject">
      <path value="Specimen.subject" />
      <short value="Patient" />
      <alias value="Patiënt" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://medmij.nl/fhir/StructureDefinition/path-Patient" />
      </type>
    </element>
    <element id="Specimen.receivedTime">
      <path value="Specimen.receivedTime" />
      <short value="ReceivedDate" />
      <definition value="Date when specimen is received at the laboratory." />
      <alias value="DatumOntvangst" />
      <min value="1" />
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-80" />
        <comment value="datumontvangst" />
      </mapping>
    </element>
    <element id="Specimen.parent">
      <path value="Specimen.parent" />
      <comment value="If this Specimen resource corresponds to a sample taken from the primary specimen, the latter is referenced here." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen" />
        <targetProfile value="http://medmij.nl/fhir/StructureDefinition/path-Request.Specimen" />
      </type>
    </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>
    </element>
    <element id="Specimen.collection.collected[x]:collectedDateTime">
      <path value="Specimen.collection.collected[x]" />
      <sliceName value="collectedDateTime" />
      <short value="CollectionDate" />
      <definition value="Date when specimen is taken from patient." />
      <alias value="DatumAfname" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-77" />
        <comment value="datumafname" />
      </mapping>
    </element>
    <element id="Specimen.collection.method.text">
      <path value="Specimen.collection.method.text" />
      <short value="CollectionMethod" />
      <definition value="The way the specimen is collected (biopsy, resection, etc.)." />
      <alias value="Verkrijgingswijze" />
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-87" />
        <comment value="verkrijgingswijze" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>