<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="device-association-status" />
  <meta>
    <lastUpdated value="2022-12-14T07:12:54.019+11:00" />
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>This code system <code>http://hl7.org/fhir/device-association-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">implanted<a name="device-association-status-implanted"></a></td>
          <td>Implanted</td>
          <td>The device is implanted in the patient.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">explanted<a name="device-association-status-explanted"></a></td>
          <td>Explanted</td>
          <td>The device is no longer implanted in the patient. Note that this is not the value to be used for devices that have never been implanted. In those cases, no value or a specific value can be used.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">attached<a name="device-association-status-attached"></a></td>
          <td>Attached</td>
          <td>The device is attached to the patient but not implanted in the patient.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">unknown<a name="device-association-status-unknown"></a></td>
          <td>Unknown</td>
          <td>The association status of the device has not been determined.</td>
        </tr>
      </table>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="oo" />
  </extension>
  <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>
  <url value="http://hl7.org/fhir/device-association-status" />
  <identifier>
    <system value="urn:ietf:rfc:3986" />
    <value value="urn:oid:2.16.840.1.113883.4.642.4.2049" />
  </identifier>
  <version value="5.0.0-snapshot3" />
  <name value="FHIRDeviceAssociationStatus" />
  <title value="FHIRDeviceaAsociationStatus" />
  <status value="active" />
  <experimental value="false" />
  <date value="2023-03-01T15:16:05.9629752+00:00" />
  <publisher value="HL7 (FHIR Project)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
    <telecom>
      <system value="email" />
      <value value="fhir@lists.hl7.org" />
    </telecom>
  </contact>
  <description value="The association 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-association-status" />
  <content value="complete" />
  <concept>
    <code value="implanted" />
    <display value="Implanted" />
    <definition value="The device is implanted in the patient." />
  </concept>
  <concept>
    <code value="explanted" />
    <display value="Explanted" />
    <definition value="The device is no longer implanted in the patient. Note that this is not the value to be used for devices that have never been implanted. In those cases, no value or a specific value can be used." />
  </concept>
  <concept>
    <code value="attached" />
    <display value="Attached" />
    <definition value="The device is attached to the patient but not implanted in the patient." />
  </concept>
  <concept>
    <code value="unknown" />
    <display value="Unknown" />
    <definition value="The association status of the device has not been determined." />
  </concept>
</CodeSystem>