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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="deviceassociation-status-reason"/>
  <meta>
    <lastUpdated value="2026-06-11T22:32:02.825+00:00"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b>Generated Narrative: CodeSystem deviceassociation-status-reason</b>
      </p>
      <a name="deviceassociation-status-reason"> </a>
      <a name="hcdeviceassociation-status-reason"> </a>
      <p>This case-sensitive code system 
        <code>http://hl7.org/fhir/deviceassociation-status-reason</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">lost-to-follow-up
            <a name="deviceassociation-status-reason-lost-to-follow-up"> </a>
          </td>
          <td>Lost to Follow-up</td>
          <td>The association record status changed because follow-up could not be completed.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">record-archived
            <a name="deviceassociation-status-reason-record-archived"> </a>
          </td>
          <td>Record Archived</td>
          <td>The association record has been archived.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">superseded
            <a name="deviceassociation-status-reason-superseded"> </a>
          </td>
          <td>Superseded</td>
          <td>The association record has been superseded by another record.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">duplicate
            <a name="deviceassociation-status-reason-duplicate"> </a>
          </td>
          <td>Duplicate</td>
          <td>The association record is a duplicate of another record.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">entered-in-error
            <a name="deviceassociation-status-reason-entered-in-error"> </a>
          </td>
          <td>Entered in Error</td>
          <td>The association record was entered in error.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">patient-deceased
            <a name="deviceassociation-status-reason-patient-deceased"> </a>
          </td>
          <td>Patient Deceased</td>
          <td>The association record status changed because the patient is deceased.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">device-retired
            <a name="deviceassociation-status-reason-device-retired"> </a>
          </td>
          <td>Device Retired</td>
          <td>The association record status changed because the device has been retired.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">association-ended
            <a name="deviceassociation-status-reason-association-ended"> </a>
          </td>
          <td>Association Ended</td>
          <td>The association record status changed because the device association ended.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">unknown
            <a name="deviceassociation-status-reason-unknown"> </a>
          </td>
          <td>Unknown</td>
          <td>The reason for the association record status is unknown.</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="normative"/>
  </extension>
  <url value="http://hl7.org/fhir/deviceassociation-status-reason"/>
  <version value="6.0.0-ballot4"/>
  <name value="DeviceAssociation"/>
  <title value="DeviceAssociation Status Reason Codes"/>
  <status value="active"/>
  <experimental value="false"/>
  <publisher value="HL7 International"/>
  <description value="Administrative and record-management reasons for the current DeviceAssociation record status."/>
  <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/deviceassociation-status-reason"/>
  <content value="complete"/>
  <concept>
    <code value="lost-to-follow-up"/>
    <display value="Lost to Follow-up"/>
    <definition value="The association record status changed because follow-up could not be completed."/>
  </concept>
  <concept>
    <code value="record-archived"/>
    <display value="Record Archived"/>
    <definition value="The association record has been archived."/>
  </concept>
  <concept>
    <code value="superseded"/>
    <display value="Superseded"/>
    <definition value="The association record has been superseded by another record."/>
  </concept>
  <concept>
    <code value="duplicate"/>
    <display value="Duplicate"/>
    <definition value="The association record is a duplicate of another record."/>
  </concept>
  <concept>
    <code value="entered-in-error"/>
    <display value="Entered in Error"/>
    <definition value="The association record was entered in error."/>
  </concept>
  <concept>
    <code value="patient-deceased"/>
    <display value="Patient Deceased"/>
    <definition value="The association record status changed because the patient is deceased."/>
  </concept>
  <concept>
    <code value="device-retired"/>
    <display value="Device Retired"/>
    <definition value="The association record status changed because the device has been retired."/>
  </concept>
  <concept>
    <code value="association-ended"/>
    <display value="Association Ended"/>
    <definition value="The association record status changed because the device association ended."/>
  </concept>
  <concept>
    <code value="unknown"/>
    <display value="Unknown"/>
    <definition value="The reason for the association record status is unknown."/>
  </concept>
</CodeSystem>