<?xml version="1.0" encoding="UTF-8"?>

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="specimen-status"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">
            <p>This code system 
              <code>http://hl7.org/fhir/specimen-status</code> defines the following codes:
            </p>
            <table class="codes">
              <tr>
                <td style="white-space:nowrap">
                  <b>Code</b>
                </td>
                <td>
                  <b>Display</b>
                </td>
                <td>
                  <b>Definition</b>
                </td>
              </tr>
              <tr>
                <td style="white-space:nowrap">available
                  <a name="specimen-status-available"> </a>
                </td>
                <td>Available</td>
                <td>The physical specimen is present and in good condition.</td>
              </tr>
              <tr>
                <td style="white-space:nowrap">unavailable
                  <a name="specimen-status-unavailable"> </a>
                </td>
                <td>Unavailable</td>
                <td>There is no physical specimen because it is either lost, destroyed or consumed.</td>
              </tr>
              <tr>
                <td style="white-space:nowrap">unsatisfactory
                  <a name="specimen-status-unsatisfactory"> </a>
                </td>
                <td>Unsatisfactory</td>
                <td>The specimen cannot be used because of a quality issue such as a broken container, contamination, or too old.</td>
              </tr>
              <tr>
                <td style="white-space:nowrap">entered-in-error
                  <a name="specimen-status-entered-in-error"> </a>
                </td>
                <td>Entered in Error</td>
                <td>The specimen was entered in error and therefore nullified.</td>
              </tr>
            </table>
          </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="2"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/package-source">
    <extension url="packageId">
      <valueId value="hl7.fhir.uv.xver-r5.r4"/>
    </extension>
    <extension url="version">
      <valueString value="0.0.1-snapshot-2"/>
    </extension>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="oo"/>
  </extension>
  <url value="http://hl7.org/fhir/specimen-status"/>
  <version value="5.0.0"/>
  <name value="SpecimenStatus"/>
  <title value="Specimen Status"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2021-01-05T09:01:24+10:00"/>
  <publisher value="Orders and Observations"/>
  <contact>
    <name value="Orders and Observations"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/orders"/>
    </telecom>
  </contact>
  <description value="Codes providing the status/availability of a specimen."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <caseSensitive value="true"/>
  <valueSet value="http://hl7.org/fhir/ValueSet/specimen-status|4.0.1"/>
  <content value="complete"/>
  <concept>
    <code value="available"/>
    <display value="Available"/>
    <definition value="The physical specimen is present and in good condition."/>
  </concept>
  <concept>
    <code value="unavailable"/>
    <display value="Unavailable"/>
    <definition value="There is no physical specimen because it is either lost, destroyed or consumed."/>
  </concept>
  <concept>
    <code value="unsatisfactory"/>
    <display value="Unsatisfactory"/>
    <definition value="The specimen cannot be used because of a quality issue such as a broken container, contamination, or too old."/>
  </concept>
  <concept>
    <code value="entered-in-error"/>
    <display value="Entered in Error"/>
    <definition value="The specimen was entered in error and therefore nullified."/>
  </concept>
</CodeSystem>