<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-entity-SpecimenContainer" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR SpecimenContainer Profile</b>
      </p>
      <p>Direct container of specimen (tube&amp;#47;slide, etc.)</p>
      <p>
        <b>SHR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.entity.SpecimenContainer maps to Basic:
</pre>
      </p>
    </div>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-SpecimenContainer" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.entity.SpecimenContainer" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR SpecimenContainer Profile" />
  <status value="draft" />
  <date value="2017-12-20" />
  <publisher value="The MITRE Corporation: Standard Health Record Collaborative" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://standardhealthrecord.org" />
    </telecom>
  </contact>
  <description value="Direct container of specimen (tube&amp;#47;slide, etc.)" />
  <purpose value="Need some way to safely (without breaking interoperability) allow implementers to exchange content not supported by the initial set of declared resources." />
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Basic" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Basic" />
  <derivation value="constraint" />
  <differential>
    <element id="Basic:shr-entity-SpecimenContainer">
      <path value="Basic" />
      <short value="SHR SpecimenContainer Profile" />
      <definition value="Direct container of specimen (tube&amp;#47;slide, etc.)" />
    </element>
    <element id="Basic:shr-entity-SpecimenContainer.extension:relatedencounter">
      <path value="Basic.extension" />
      <sliceName value="relatedencounter" />
      <definition value="If content was generated during a patient encounter, related encounter is the encounter where the information was gained." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-SpecimenContainer.extension:author">
      <path value="Basic.extension" />
      <sliceName value="author" />
      <definition value="The person or organization who created the entry and is responsible for (and may certify) the content." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-SpecimenContainer.extension:informant">
      <path value="Basic.extension" />
      <sliceName value="informant" />
      <definition value="The person or entity that provided the information in the entry, as distinct from who created the entry, e.g. the subject (patient), medical professional, family member, device or software program." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-SpecimenContainer.extension:type">
      <path value="Basic.extension" />
      <sliceName value="type" />
      <definition value="The most specific code (lowest level term) describing the kind or sort of thing being represented." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Type-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-SpecimenContainer.extension:identifier">
      <path value="Basic.extension" />
      <sliceName value="identifier" />
      <definition value="A unique string that identifies a specific person or thing." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Identifier-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-SpecimenContainer.extension:details">
      <path value="Basic.extension" />
      <sliceName value="details" />
      <definition value="An text note containing additional details, explanation, description, comment, or summarization. Details can discuss, support, explain changes to, or dispute information." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-SpecimenContainer.extension:capacity">
      <path value="Basic.extension" />
      <sliceName value="capacity" />
      <definition value="Container volume or size." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Capacity-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-SpecimenContainer.extension:specimenquantity">
      <path value="Basic.extension" />
      <sliceName value="specimenquantity" />
      <definition value="Quantity of specimen within container." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-SpecimenQuantity-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-SpecimenContainer.extension:additive">
      <path value="Basic.extension" />
      <sliceName value="additive" />
      <definition value="Additive associated with container." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Additive-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-SpecimenContainer.extension:sequencenumber">
      <path value="Basic.extension" />
      <sliceName value="sequencenumber" />
      <definition value="The sequence number for this specimen in a collection of specimens." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-SequenceNumber-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-SpecimenContainer.code">
      <path value="Basic.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://standardhealthrecord.org/fhir/basic-resource-type" />
          <code value="shr-entity-SpecimenContainer" />
        </coding>
      </patternCodeableConcept>
    </element>
  </differential>
</StructureDefinition>