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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="device-status"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CodeSystem device-status</b></p><a name="device-status"> </a><a name="hcdevice-status"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/device-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">active<a name="device-status-active"> </a></td><td>Active</td><td><div><p>The device is available for use.  Note: For <em>implanted devices</em>  this means that the device is implanted in the patient.</p>
</div></td></tr><tr><td style="white-space:nowrap">inactive<a name="device-status-inactive"> </a></td><td>Inactive</td><td><div><p>The device is no longer available for use (e.g. lost, expired, damaged).  Note: For <em>implanted devices</em>  this means that the device has been removed from the patient.</p>
</div></td></tr><tr><td style="white-space:nowrap">entered-in-error<a name="device-status-entered-in-error"> </a></td><td>Entered in Error</td><td><div><p>The device was entered in error and voided.</p>
</div></td></tr><tr><td style="white-space:nowrap">unknown<a name="device-status-unknown"> </a></td><td>Unknown</td><td><div><p>The status of the device has not been determined.</p>
</div></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-r4.r4b"/>
    </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/device-status"/>
  <version value="4.0.1"/>
  <name value="FHIRDeviceStatus"/>
  <title value="FHIRDeviceStatus"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2019-11-01T08:29:23+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="The availability status of the device."/>
  <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/device-status|4.3.0"/>
  <content value="complete"/>
  <concept>
    <code value="active"/>
    <display value="Active"/>
    <definition value="The device is available for use.  Note: For *implanted devices*  this means that the device is implanted in the patient."/>
  </concept>
  <concept>
    <code value="inactive"/>
    <display value="Inactive"/>
    <definition value="The device is no longer available for use (e.g. lost, expired, damaged).  Note: For *implanted devices*  this means that the device has been removed from the patient."/>
  </concept>
  <concept>
    <code value="entered-in-error"/>
    <display value="Entered in Error"/>
    <definition value="The device was entered in error and voided."/>
  </concept>
  <concept>
    <code value="unknown"/>
    <display value="Unknown"/>
    <definition value="The status of the device has not been determined."/>
  </concept>
</CodeSystem>