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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="deviceassociation-status-reason"/>
  <meta>
    <lastUpdated value="2026-06-24T21:24:10.503+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 relationship status changed because follow-up with the subject or responsible party was lost.</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 relationship status changed because the association record was archived.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">superseded
            <a name="deviceassociation-status-reason-superseded"> </a>
          </td>
          <td>Superseded</td>
          <td>The relationship status changed because the association was replaced by a newer association record.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">duplicate
            <a name="deviceassociation-status-reason-duplicate"> </a>
          </td>
          <td>Duplicate</td>
          <td>The relationship status changed because the association record was identified as a duplicate.</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 relationship status changed because the patient associated with the device 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 relationship status changed because the device was retired from service.</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 relationship status changed because the 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 relationship status is not known.</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="DeviceAssociationStatusReason"/>
  <title value="DeviceAssociation Status Reason Codes"/>
  <status value="active"/>
  <experimental value="false"/>
  <publisher value="HL7 International"/>
  <description value="DeviceAssociation Status Reason Codes"/>
  <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 relationship status changed because follow-up with the subject or responsible party was lost."/>
  </concept>
  <concept>
    <code value="record-archived"/>
    <display value="Record Archived"/>
    <definition value="The relationship status changed because the association record was archived."/>
  </concept>
  <concept>
    <code value="superseded"/>
    <display value="Superseded"/>
    <definition value="The relationship status changed because the association was replaced by a newer association record."/>
  </concept>
  <concept>
    <code value="duplicate"/>
    <display value="Duplicate"/>
    <definition value="The relationship status changed because the association record was identified as a duplicate."/>
  </concept>
  <concept>
    <code value="patient-deceased"/>
    <display value="Patient Deceased"/>
    <definition value="The relationship status changed because the patient associated with the device is deceased."/>
  </concept>
  <concept>
    <code value="device-retired"/>
    <display value="Device Retired"/>
    <definition value="The relationship status changed because the device was retired from service."/>
  </concept>
  <concept>
    <code value="association-ended"/>
    <display value="Association Ended"/>
    <definition value="The relationship status changed because the association ended."/>
  </concept>
  <concept>
    <code value="unknown"/>
    <display value="Unknown"/>
    <definition value="The reason for the relationship status is not known."/>
  </concept>
</CodeSystem>