This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Specimen.profile.xml

Profile for specimen

Raw XML

<Profile xmlns="http://hl7.org/fhir">
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><pre>
&lt;<a class="dict" href="specimen-definitions.html#Specimen" title="Sample for analysis."><b>Specimen</b></a> xmlns=&quot;http://hl7.org/fhir&quot;&gt; <span style="float: right"><a href="formats.html" title="Documentation for this format"><img alt="doco" src="help.png"/></a></span>
 &lt;!-- from <a href="resources.html">Resource</a>: <a href="extensibility.html">extension</a>, <a href="extensibility.html#modifierExtension">modifierExtension</a>, language, <a href="narrative.html#Narrative">text</a>, and <a href="references.html#contained">contained</a> --&gt;
 &lt;<a class="dict" href="specimen-definitions.html#Specimen.identifier" title="Id for specimen."><b>identifier</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..*</b></span> <span style="color: darkgreen"><a href="datatypes.html#Identifier">Identifier</a></span> <span style="color: navy">External Identifier</span><span style="color: Gray"> --&gt;</span>&lt;/identifier&gt;
 &lt;<a class="dict" href="specimen-definitions.html#Specimen.type" title="Kind of material that forms the specimen."><b>type</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#CodeableConcept">CodeableConcept</a></span> <a href="v2/0487/index.html" style="color: navy">Kind of material that forms the specimen</a><span style="color: Gray"> --&gt;</span>&lt;/type&gt;
 &lt;<a class="dict" href="specimen-definitions.html#Specimen.source" title="Parent specimen from which the focal specimen was a component."><b>source</b></a>&gt;  <span style="color: Gray">&lt;!-- <span style="color: brown"><b>0..*</b></span> Parent of specimen --&gt;</span>
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.source.relationship" title="Whether this relationship is to a parent or to a child."><b>relationship</b></a> value=&quot;[<span style="color: darkgreen"><a href="datatypes.html#code">code</a></span>]&quot;/&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>1..1</b></span> <span style="color: navy"><a href="hierarchical-relationship-type.html" style="color: navy">parent | child</a></span><span style="color: Gray"> --&gt;</span>
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.source.target" title="The specimen resource that is the target of this relationship."><b>target</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..*</b></span> <span style="color: darkgreen"><a href="references.html#Resource">Resource</a>(<a href="specimen.html#Specimen">Specimen</a>)</span> <span style="color: navy">The subject of the relationship</span><span style="color: Gray"> --&gt;</span>&lt;/target&gt;
 &lt;/source&gt;
 &lt;<a class="dict" href="specimen-definitions.html#Specimen.subject" title="Where the specimen came from. This may be the patient(s) or from the environment or  a
         device."><b>subject</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>1..1</b></span> <span style="color: darkgreen"><a href="references.html#Resource">Resource</a>(<a href="patient.html#Patient">Patient</a>|<a href="group.html#Group">Group</a>|<a href="device.html#Device">Device</a>|<a href="substance.html#Substance">Substance</a>)</span> <span style="color: navy">
     Where the specimen came from. This may be the patient(s) or from the environment
           or  a device</span><span style="color: Gray"> --&gt;</span>&lt;/subject&gt;
 &lt;<a class="dict" href="specimen-definitions.html#Specimen.accessionIdentifier" title="The identifier assigned by the lab when accessioning specimen(s). This is not necessarily
         the same as the specimen identifier, depending on local lab procedures."><b>accessionIdentifier</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#Identifier">Identifier</a></span> <span style="color: navy">Identifier assigned by the lab</span><span style="color: Gray"> --&gt;</span>&lt;/accessionIdentifier&gt;
 &lt;<a class="dict" href="specimen-definitions.html#Specimen.receivedTime" title="Time when specimen was received for processing or testing."><b>receivedTime</b></a> value=&quot;[<span style="color: darkgreen"><a href="datatypes.html#dateTime">dateTime</a></span>]&quot;/&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: navy">The time when specimen was received for processing</span><span style="color: Gray"> --&gt;</span>
 &lt;<a class="dict" href="specimen-definitions.html#Specimen.collection" title="Details concerning the specimen collection."><b>collection</b></a>&gt;  <span style="color: Gray">&lt;!-- <span style="color: brown"><b>1..1</b></span> Collection details --&gt;</span>
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.collection.collector" title="Person who collected the specimen."><b>collector</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="references.html#Resource">Resource</a>(<a href="practitioner.html#Practitioner">Practitioner</a>)</span> <span style="color: navy">Who collected the specimen</span><span style="color: Gray"> --&gt;</span>&lt;/collector&gt;
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.collection.comment" title="To communicate any details or issues encountered during the specimen collection procedure."><b>comment</b></a> value=&quot;[<span style="color: darkgreen"><a href="datatypes.html#string">string</a></span>]&quot;/&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..*</b></span> <span style="color: navy">Collector comments</span><span style="color: Gray"> --&gt;</span>
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.collection.collected_x_" title="Time when specimen was collected from subject - the physiologically relevant time."><b>collected[x]</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#dateTime">dateTime</a>|<a href="datatypes.html#Period">Period</a></span> <span style="color: navy">Collection time</span><span style="color: Gray"> --&gt;</span>&lt;/collected[x]&gt;
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.collection.quantity" title="The quantity of specimen collected; for instance the volume of a blood sample, or the
         physical measurement of an anatomic pathology sample."><b>quantity</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#Quantity">Quantity</a></span> <span style="color: navy">The quantity of specimen collected</span><span style="color: Gray"> --&gt;</span>&lt;/quantity&gt;
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.collection.method" title="A coded value specifying the technique that is used to perform the procedure."><b>method</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#CodeableConcept">CodeableConcept</a></span> <span style="color: navy"><a href="valueset-specimen-collection-method.html" style="color: navy">Technique used to perform collection</a></span><span style="color: Gray"> --&gt;</span>&lt;/method&gt;
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.collection.sourceSite" title="Anatomical location from which the specimen should be collected (if subject is a patient).
         This element is not used for environmental specimens."><b>sourceSite</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#CodeableConcept">CodeableConcept</a></span> <span style="color: navy"><a href="valueset-body-site.html" style="color: navy">Anatomical collection site</a></span><span style="color: Gray"> --&gt;</span>&lt;/sourceSite&gt;
 &lt;/collection&gt;
 &lt;<a class="dict" href="specimen-definitions.html#Specimen.treatment" title="Details concerning treatment and processing steps for the specimen."><b>treatment</b></a>&gt;  <span style="color: Gray">&lt;!-- <span style="color: brown"><b>0..*</b></span> Treatment and processing step details --&gt;</span>
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.treatment.description" title="Textual description of procedure."><b>description</b></a> value=&quot;[<span style="color: darkgreen"><a href="datatypes.html#string">string</a></span>]&quot;/&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: navy">Textual description of procedure</span><span style="color: Gray"> --&gt;</span>
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.treatment.procedure" title="A coded value specifying the procedure used to process the specimen."><b>procedure</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#CodeableConcept">CodeableConcept</a></span> <span style="color: navy"><a href="valueset-specimen-treatment-procedure.html" style="color: navy">Indicates the treatment or processing step  applied to the specimen</a></span><span style="color: Gray"> --&gt;</span>&lt;/procedure&gt;
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.treatment.additive" title="Material used in the processing step."><b>additive</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..*</b></span> <span style="color: darkgreen"><a href="references.html#Resource">Resource</a>(<a href="substance.html#Substance">Substance</a>)</span> <span style="color: navy">Material used in the processing step</span><span style="color: Gray"> --&gt;</span>&lt;/additive&gt;
 &lt;/treatment&gt;
 &lt;<a class="dict" href="specimen-definitions.html#Specimen.container" title="The container holding the specimen.  The recursive nature of containers; i.e. blood in
         tube in tray in rack is not addressed here."><b>container</b></a>&gt;  <span style="color: Gray">&lt;!-- <span style="color: brown"><b>0..*</b></span> Direct container of specimen (tube/slide, etc) --&gt;</span>
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.container.identifier" title="Id for container. There may be multiple; a manufacturer's bar code, lab assigned identifier,
         etc. The container ID may differ from the specimen id in some circumstances."><b>identifier</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..*</b></span> <span style="color: darkgreen"><a href="datatypes.html#Identifier">Identifier</a></span> <span style="color: navy">Id for the container</span><span style="color: Gray"> --&gt;</span>&lt;/identifier&gt;
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.container.description" title="Textual description of the container."><b>description</b></a> value=&quot;[<span style="color: darkgreen"><a href="datatypes.html#string">string</a></span>]&quot;/&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: navy">Textual description of the container</span><span style="color: Gray"> --&gt;</span>
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.container.type" title="The type of container associated with the specimen (e.g. slide, aliquot, etc)."><b>type</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#CodeableConcept">CodeableConcept</a></span> <span style="color: navy"><a href="valueset-specimen-container-type.html" style="color: navy">Kind of container directly associated with specimen</a></span><span style="color: Gray"> --&gt;</span>&lt;/type&gt;
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.container.capacity" title="The capacity (volume or other measure) the container may contain."><b>capacity</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#Quantity">Quantity</a></span> <span style="color: navy">Container volume or size</span><span style="color: Gray"> --&gt;</span>&lt;/capacity&gt;
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.container.specimenQuantity" title="The quantity of specimen in the container; may be volume, dimensions, or other appropriate
         measurements, depending on the specimen type."><b>specimenQuantity</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#Quantity">Quantity</a></span> <span style="color: navy">Quantity of specimen within container</span><span style="color: Gray"> --&gt;</span>&lt;/specimenQuantity&gt;
  &lt;<a class="dict" href="specimen-definitions.html#Specimen.container.additive" title="Additive associated with the container."><b>additive</b></a>&gt;<span style="color: Gray">&lt;!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="references.html#Resource">Resource</a>(<a href="substance.html#Substance">Substance</a>)</span> <span style="color: navy">Additive associated with container</span><span style="color: Gray"> --&gt;</span>&lt;/additive&gt;
 &lt;/container&gt;
&lt;/Specimen&gt;
</pre></div>
  </text>
  <name value="specimen"/>
  <publisher value="FHIR Project"/>
  <description value="Basic Profile. Sample for analysis."/>
  <status value="draft"/>
  <date value="2014-09-30"/>
  <requirements value="Scope and Usage Any material sample:  * taken from a biological entity, living or dead
   * taken from a physical object or the environment Biospecimen can contain one or more
   components including but not limited to cellular molecules, cells, tissues, organs, body
   fluids, embryos, and body excretory products (source: NCIt, modified).   The specimen
   resource covers substances used for diagnostic and environmental testing. The focus of
   the specimen resource is the process for gathering, maintaining and processing the specimen
   as well as where the specimen originated. This is distinct from the use of Substance which
   is only used when these other aspects are not relevant."/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM"/>
  </mapping>
  <mapping>
    <identity value="v2"/>
    <uri value="http://hl7.org/v2"/>
    <name value="HL7 v2"/>
  </mapping>
  <structure>
    <type value="Specimen"/>
    <publish value="true"/>
    <element>
      <path value="Specimen"/>
      <definition>
        <short value="Sample for analysis"/>
        <formal value="Sample for analysis."/>
        <min value="1"/>
        <max value="1"/>
        <type>
          <code value="Resource"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value="Role[classCode=SPEC]"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.extension"/>
      <definition>
        <short value="Additional Content defined by implementations"/>
        <formal value="May be used to represent additional information that is not part of the basic definition
         of the resource. In order to make the use of extensions safe and manageable, there is
         a strict governance applied to the definition and use of extensions. Though any implementer
         is allowed to define an extension, there is a set of requirements that SHALL be met as
         part of the definition of the extension."/>
        <comments value="there can be no stigma associated with the use of extensions by any application, project,
         or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
          The use of extensions is what allows the FHIR specification to retain a core simplicity
         for everyone."/>
        <synonym value="extensions"/>
        <synonym value="user content"/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="Extension"/>
        </type>
        <isModifier value="false"/>
      </definition>
    </element>
    <element>
      <path value="Specimen.modifierExtension"/>
      <definition>
        <short value="Extensions that cannot be ignored"/>
        <formal value="May be used to represent additional information that is not part of the basic definition
         of the resource, and that modifies the understanding of the element that contains it.
         Usually modifier elements provide negation or qualification. In order to make the use
         of extensions safe and manageable, there is a strict governance applied to the definition
         and use of extensions. Though any implementer is allowed to define an extension, there
         is a set of requirements that SHALL be met as part of the definition of the extension.
         Applications processing a resource are required to check for modifier extensions."/>
        <comments value="there can be no stigma associated with the use of extensions by any application, project,
         or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
          The use of extensions is what allows the FHIR specification to retain a core simplicity
         for everyone."/>
        <synonym value="extensions"/>
        <synonym value="user content"/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="Extension"/>
        </type>
        <isModifier value="false"/>
      </definition>
    </element>
    <element>
      <path value="Specimen.text"/>
      <definition>
        <short value="Text summary of the resource, for human interpretation"/>
        <formal value="A human-readable narrative that contains a summary of the resource, and may be used to
         represent the content of the resource to a human. The narrative need not encode all the
         structured data, but is required to contain sufficient detail to make it &quot;clinically
         safe&quot; for a human to just read the narrative. Resource definitions may define what
         content should be represented in the narrative to ensure clinical safety."/>
        <comments value="Contained resources do not have narrative. Resources that are not contained SHOULD have
         a narrative."/>
        <synonym value="narrative"/>
        <synonym value="html"/>
        <synonym value="xhtml"/>
        <synonym value="display"/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="Narrative"/>
        </type>
        <isModifier value="false"/>
      </definition>
    </element>
    <element>
      <path value="Specimen.contained"/>
      <definition>
        <short value="Contained, inline Resources"/>
        <formal value="These resources do not have an independent existence apart from the resource that contains
         them - they cannot be identified independently, and nor can they have their own independent
         transaction scope."/>
        <comments value="This should never be done when the content can be identified properly, as once identification
         is lost, it is extremely difficult (and context dependent) to restore it again."/>
        <synonym value="inline resources"/>
        <synonym value="anonymous resources"/>
        <synonym value="contained resources"/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="Resource"/>
        </type>
        <isModifier value="false"/>
      </definition>
    </element>
    <element>
      <path value="Specimen.identifier"/>
      <definition>
        <short value="External Identifier"/>
        <formal value="Id for specimen."/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="Identifier"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".id"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <map value="SPM-2"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.type"/>
      <definition>
        <short value="Kind of material that forms the specimen"/>
        <formal value="Kind of material that forms the specimen."/>
        <comments value="The type can change the way that a specimen is handled, and drives what kind of analyses
         can properly be performed on the specimen. It is frequently used in diagnostic work flow
         decision making systems."/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="CodeableConcept"/>
        </type>
        <isModifier value="false"/>
        <binding>
          <name value="SpecimenType"/>
          <isExtensible value="true"/>
          <conformance value="example"/>
          <referenceResource>
            <reference value="http://hl7.org/fhir/v2/vs/0487"/>
          </referenceResource>
        </binding>
        <mapping>
          <identity value="rim"/>
          <map value=".code"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <map value="SPM-4 and possibly SPM-5"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.source"/>
      <definition>
        <short value="Parent of specimen"/>
        <formal value="Parent specimen from which the focal specimen was a component."/>
        <min value="0"/>
        <max value="*"/>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".scoper (if parent) .player.scopesRole[classCode=SPEC].player (if child)"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.source.extension"/>
      <definition>
        <short value="Additional Content defined by implementations"/>
        <formal value="May be used to represent additional information that is not part of the basic definition
         of the resource. In order to make the use of extensions safe and manageable, there is
         a strict governance applied to the definition and use of extensions. Though any implementer
         is allowed to define an extension, there is a set of requirements that SHALL be met as
         part of the definition of the extension."/>
        <comments value="there can be no stigma associated with the use of extensions by any application, project,
         or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
          The use of extensions is what allows the FHIR specification to retain a core simplicity
         for everyone."/>
        <synonym value="extensions"/>
        <synonym value="user content"/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="Extension"/>
        </type>
        <isModifier value="false"/>
      </definition>
    </element>
    <element>
      <path value="Specimen.source.modifierExtension"/>
      <definition>
        <short value="Extensions that cannot be ignored"/>
        <formal value="May be used to represent additional information that is not part of the basic definition
         of the resource, and that modifies the understanding of the element that contains it.
         Usually modifier elements provide negation or qualification. In order to make the use
         of extensions safe and manageable, there is a strict governance applied to the definition
         and use of extensions. Though any implementer is allowed to define an extension, there
         is a set of requirements that SHALL be met as part of the definition of the extension.
         Applications processing a resource are required to check for modifier extensions."/>
        <comments value="there can be no stigma associated with the use of extensions by any application, project,
         or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
          The use of extensions is what allows the FHIR specification to retain a core simplicity
         for everyone."/>
        <synonym value="extensions"/>
        <synonym value="user content"/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="Extension"/>
        </type>
        <isModifier value="false"/>
      </definition>
    </element>
    <element>
      <path value="Specimen.source.relationship"/>
      <definition>
        <short value="parent | child"/>
        <formal value="Whether this relationship is to a parent or to a child."/>
        <min value="1"/>
        <max value="1"/>
        <type>
          <code value="code"/>
        </type>
        <isModifier value="false"/>
        <binding>
          <name value="HierarchicalRelationshipType"/>
          <isExtensible value="false"/>
          <conformance value="required"/>
          <referenceResource>
            <reference value="http://hl7.org/fhir/vs/hierarchical-relationship-type"/>
          </referenceResource>
        </binding>
        <mapping>
          <identity value="rim"/>
          <map value="as above"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <map value="not explicit in v2.x SPM segment, but can be derived as child,if SPM-3 Specimen parent
           ID is filled in"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.source.target"/>
      <definition>
        <short value="The subject of the relationship"/>
        <formal value="The specimen resource that is the target of this relationship."/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="ResourceReference"/>
          <profile value="http://hl7.org/fhir/profiles/Specimen"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value="[self]"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.subject"/>
      <definition>
        <short value="Where the specimen came from. This may be the patient(s) or from the environment or  a
         device"/>
        <formal value="Where the specimen came from. This may be the patient(s) or from the environment or  a
         device."/>
        <min value="1"/>
        <max value="1"/>
        <type>
          <code value="ResourceReference"/>
          <profile value="http://hl7.org/fhir/profiles/Patient"/>
        </type>
        <type>
          <code value="ResourceReference"/>
          <profile value="http://hl7.org/fhir/profiles/Group"/>
        </type>
        <type>
          <code value="ResourceReference"/>
          <profile value="http://hl7.org/fhir/profiles/Device"/>
        </type>
        <type>
          <code value="ResourceReference"/>
          <profile value="http://hl7.org/fhir/profiles/Substance"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".scoper  or  .scoper.playsRole"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.accessionIdentifier"/>
      <definition>
        <short value="Identifier assigned by the lab"/>
        <formal value="The identifier assigned by the lab when accessioning specimen(s). This is not necessarily
         the same as the specimen identifier, depending on local lab procedures."/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="Identifier"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".participation[typeCode=SBJ].act[classCode=ACSN, moodCode=EVN].id"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <map value="SPM-30 (v2.7+)"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.receivedTime"/>
      <definition>
        <short value="The time when specimen was received for processing"/>
        <formal value="Time when specimen was received for processing or testing."/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="dateTime"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".participation[typeCode=SBJ].act[code=SPCREC, moodCode=EVN].effectiveTime"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <map value="SPM-18"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.collection"/>
      <definition>
        <short value="Collection details"/>
        <formal value="Details concerning the specimen collection."/>
        <min value="1"/>
        <max value="1"/>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".participation[typeCode=SBJ].act[classCode=SPECCOLLECT, moodCode=EVN]"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.collection.extension"/>
      <definition>
        <short value="Additional Content defined by implementations"/>
        <formal value="May be used to represent additional information that is not part of the basic definition
         of the resource. In order to make the use of extensions safe and manageable, there is
         a strict governance applied to the definition and use of extensions. Though any implementer
         is allowed to define an extension, there is a set of requirements that SHALL be met as
         part of the definition of the extension."/>
        <comments value="there can be no stigma associated with the use of extensions by any application, project,
         or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
          The use of extensions is what allows the FHIR specification to retain a core simplicity
         for everyone."/>
        <synonym value="extensions"/>
        <synonym value="user content"/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="Extension"/>
        </type>
        <isModifier value="false"/>
      </definition>
    </element>
    <element>
      <path value="Specimen.collection.modifierExtension"/>
      <definition>
        <short value="Extensions that cannot be ignored"/>
        <formal value="May be used to represent additional information that is not part of the basic definition
         of the resource, and that modifies the understanding of the element that contains it.
         Usually modifier elements provide negation or qualification. In order to make the use
         of extensions safe and manageable, there is a strict governance applied to the definition
         and use of extensions. Though any implementer is allowed to define an extension, there
         is a set of requirements that SHALL be met as part of the definition of the extension.
         Applications processing a resource are required to check for modifier extensions."/>
        <comments value="there can be no stigma associated with the use of extensions by any application, project,
         or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
          The use of extensions is what allows the FHIR specification to retain a core simplicity
         for everyone."/>
        <synonym value="extensions"/>
        <synonym value="user content"/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="Extension"/>
        </type>
        <isModifier value="false"/>
      </definition>
    </element>
    <element>
      <path value="Specimen.collection.collector"/>
      <definition>
        <short value="Who collected the specimen"/>
        <formal value="Person who collected the specimen."/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="ResourceReference"/>
          <profile value="http://hl7.org/fhir/profiles/Practitioner"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".participation[typeCode=PFM].role"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.collection.comment"/>
      <definition>
        <short value="Collector comments"/>
        <formal value="To communicate any details or issues encountered during the specimen collection procedure."/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="string"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=&quot;annotation&quot;]
          .value"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.collection.collected[x]"/>
      <definition>
        <short value="Collection time"/>
        <formal value="Time when specimen was collected from subject - the physiologically relevant time."/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="dateTime"/>
        </type>
        <type>
          <code value="Period"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".effectiveTime"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <map value="SPM-17"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.collection.quantity"/>
      <definition>
        <short value="The quantity of specimen collected"/>
        <formal value="The quantity of specimen collected; for instance the volume of a blood sample, or the
         physical measurement of an anatomic pathology sample."/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="Quantity"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".participation[typeCode=SBJ].role[classCode=SPEC].player.quantity"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <map value="SPM-12"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.collection.method"/>
      <definition>
        <short value="Technique used to perform collection"/>
        <formal value="A coded value specifying the technique that is used to perform the procedure."/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="CodeableConcept"/>
        </type>
        <isModifier value="false"/>
        <binding>
          <name value="SpecimenCollectionMethod"/>
          <isExtensible value="true"/>
          <conformance value="example"/>
          <referenceResource>
            <reference value="http://hl7.org/fhir/vs/specimen-collection-method"/>
          </referenceResource>
        </binding>
        <mapping>
          <identity value="rim"/>
          <map value=".methodCode"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <map value="SPM-7"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.collection.sourceSite"/>
      <definition>
        <short value="Anatomical collection site"/>
        <formal value="Anatomical location from which the specimen should be collected (if subject is a patient).
         This element is not used for environmental specimens."/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="CodeableConcept"/>
        </type>
        <isModifier value="false"/>
        <binding>
          <name value="BodySite"/>
          <isExtensible value="true"/>
          <conformance value="example"/>
          <referenceResource>
            <reference value="http://hl7.org/fhir/vs/body-site"/>
          </referenceResource>
        </binding>
        <mapping>
          <identity value="rim"/>
          <map value=".approachSiteCode"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <map value="SPM-8 and SPM-9"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.treatment"/>
      <definition>
        <short value="Treatment and processing step details"/>
        <formal value="Details concerning treatment and processing steps for the specimen."/>
        <min value="0"/>
        <max value="*"/>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".participation[typeCode=SBJ].act[code=SPCTRT, moodCode=EVN]"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.treatment.extension"/>
      <definition>
        <short value="Additional Content defined by implementations"/>
        <formal value="May be used to represent additional information that is not part of the basic definition
         of the resource. In order to make the use of extensions safe and manageable, there is
         a strict governance applied to the definition and use of extensions. Though any implementer
         is allowed to define an extension, there is a set of requirements that SHALL be met as
         part of the definition of the extension."/>
        <comments value="there can be no stigma associated with the use of extensions by any application, project,
         or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
          The use of extensions is what allows the FHIR specification to retain a core simplicity
         for everyone."/>
        <synonym value="extensions"/>
        <synonym value="user content"/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="Extension"/>
        </type>
        <isModifier value="false"/>
      </definition>
    </element>
    <element>
      <path value="Specimen.treatment.modifierExtension"/>
      <definition>
        <short value="Extensions that cannot be ignored"/>
        <formal value="May be used to represent additional information that is not part of the basic definition
         of the resource, and that modifies the understanding of the element that contains it.
         Usually modifier elements provide negation or qualification. In order to make the use
         of extensions safe and manageable, there is a strict governance applied to the definition
         and use of extensions. Though any implementer is allowed to define an extension, there
         is a set of requirements that SHALL be met as part of the definition of the extension.
         Applications processing a resource are required to check for modifier extensions."/>
        <comments value="there can be no stigma associated with the use of extensions by any application, project,
         or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
          The use of extensions is what allows the FHIR specification to retain a core simplicity
         for everyone."/>
        <synonym value="extensions"/>
        <synonym value="user content"/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="Extension"/>
        </type>
        <isModifier value="false"/>
      </definition>
    </element>
    <element>
      <path value="Specimen.treatment.description"/>
      <definition>
        <short value="Textual description of procedure"/>
        <formal value="Textual description of procedure."/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="string"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".text"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.treatment.procedure"/>
      <definition>
        <short value="Indicates the treatment or processing step  applied to the specimen"/>
        <formal value="A coded value specifying the procedure used to process the specimen."/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="CodeableConcept"/>
        </type>
        <isModifier value="false"/>
        <binding>
          <name value="SpecimenTreatmentProcedure"/>
          <isExtensible value="true"/>
          <conformance value="example"/>
          <referenceResource>
            <reference value="http://hl7.org/fhir/vs/specimen-treatment-procedure"/>
          </referenceResource>
        </binding>
        <mapping>
          <identity value="rim"/>
          <map value=".code"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.treatment.additive"/>
      <definition>
        <short value="Material used in the processing step"/>
        <formal value="Material used in the processing step."/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="ResourceReference"/>
          <profile value="http://hl7.org/fhir/profiles/Substance"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".participation[typeCode=CSM].role[classCode=ADTV].code"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <map value="SPM-6"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.container"/>
      <definition>
        <short value="Direct container of specimen (tube/slide, etc)"/>
        <formal value="The container holding the specimen.  The recursive nature of containers; i.e. blood in
         tube in tray in rack is not addressed here."/>
        <min value="0"/>
        <max value="*"/>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".player.scopingRole[classCode=CONT].scoper"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.container.extension"/>
      <definition>
        <short value="Additional Content defined by implementations"/>
        <formal value="May be used to represent additional information that is not part of the basic definition
         of the resource. In order to make the use of extensions safe and manageable, there is
         a strict governance applied to the definition and use of extensions. Though any implementer
         is allowed to define an extension, there is a set of requirements that SHALL be met as
         part of the definition of the extension."/>
        <comments value="there can be no stigma associated with the use of extensions by any application, project,
         or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
          The use of extensions is what allows the FHIR specification to retain a core simplicity
         for everyone."/>
        <synonym value="extensions"/>
        <synonym value="user content"/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="Extension"/>
        </type>
        <isModifier value="false"/>
      </definition>
    </element>
    <element>
      <path value="Specimen.container.modifierExtension"/>
      <definition>
        <short value="Extensions that cannot be ignored"/>
        <formal value="May be used to represent additional information that is not part of the basic definition
         of the resource, and that modifies the understanding of the element that contains it.
         Usually modifier elements provide negation or qualification. In order to make the use
         of extensions safe and manageable, there is a strict governance applied to the definition
         and use of extensions. Though any implementer is allowed to define an extension, there
         is a set of requirements that SHALL be met as part of the definition of the extension.
         Applications processing a resource are required to check for modifier extensions."/>
        <comments value="there can be no stigma associated with the use of extensions by any application, project,
         or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
          The use of extensions is what allows the FHIR specification to retain a core simplicity
         for everyone."/>
        <synonym value="extensions"/>
        <synonym value="user content"/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="Extension"/>
        </type>
        <isModifier value="false"/>
      </definition>
    </element>
    <element>
      <path value="Specimen.container.identifier"/>
      <definition>
        <short value="Id for the container"/>
        <formal value="Id for container. There may be multiple; a manufacturer's bar code, lab assigned identifier,
         etc. The container ID may differ from the specimen id in some circumstances."/>
        <min value="0"/>
        <max value="*"/>
        <type>
          <code value="Identifier"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".id"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <map value="SAC-3"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.container.description"/>
      <definition>
        <short value="Textual description of the container"/>
        <formal value="Textual description of the container."/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="string"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".desc"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.container.type"/>
      <definition>
        <short value="Kind of container directly associated with specimen"/>
        <formal value="The type of container associated with the specimen (e.g. slide, aliquot, etc)."/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="CodeableConcept"/>
        </type>
        <isModifier value="false"/>
        <binding>
          <name value="SpecimenContainerType"/>
          <isExtensible value="true"/>
          <conformance value="example"/>
          <referenceResource>
            <reference value="http://hl7.org/fhir/vs/specimen-container-type"/>
          </referenceResource>
        </binding>
        <mapping>
          <identity value="rim"/>
          <map value=".code"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <map value="SPM-27"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.container.capacity"/>
      <definition>
        <short value="Container volume or size"/>
        <formal value="The capacity (volume or other measure) the container may contain."/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="Quantity"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".quantity"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <map value="one of: SAC 16, SAC17 and SAC 20, or SAC 21 and SAC 20"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.container.specimenQuantity"/>
      <definition>
        <short value="Quantity of specimen within container"/>
        <formal value="The quantity of specimen in the container; may be volume, dimensions, or other appropriate
         measurements, depending on the specimen type."/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="Quantity"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".playedRole[classCode=CONT].quantity"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <map value="SAC-23 (value) SAC-24 (units"/>
        </mapping>
      </definition>
    </element>
    <element>
      <path value="Specimen.container.additive"/>
      <definition>
        <short value="Additive associated with container"/>
        <formal value="Additive associated with the container."/>
        <min value="0"/>
        <max value="1"/>
        <type>
          <code value="ResourceReference"/>
          <profile value="http://hl7.org/fhir/profiles/Substance"/>
        </type>
        <isModifier value="false"/>
        <mapping>
          <identity value="rim"/>
          <map value=".scopesRole[classCode=ADTV].player"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <map value="SAC-27"/>
        </mapping>
      </definition>
    </element>
    <searchParam>
      <name value="_id"/>
      <type value="token"/>
      <documentation value="The logical resource id associated with the resource (must be supported by all servers)"/>
    </searchParam>
    <searchParam>
      <name value="_language"/>
      <type value="token"/>
      <documentation value="The language of the resource"/>
    </searchParam>
    <searchParam>
      <name value="subject"/>
      <type value="reference"/>
      <documentation value="The subject of the specimen"/>
      <xpath value="f:Specimen/f:subject"/>
    </searchParam>
  </structure>
</Profile>