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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="deviceassociation-relationship-status"/>
  <meta>
    <lastUpdated value="2026-06-23T16:20:19.822+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-relationship-status</b>
      </p>
      <a name="deviceassociation-relationship-status"> </a>
      <a name="hcdeviceassociation-relationship-status"> </a>
      <p>This case-sensitive code system 
        <code>http://hl7.org/fhir/deviceassociation-relationship-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">planned
            <a name="deviceassociation-relationship-status-planned"> </a>
          </td>
          <td>Planned</td>
          <td>The relationship is intended or scheduled but is not yet active.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">active
            <a name="deviceassociation-relationship-status-active"> </a>
          </td>
          <td>Active</td>
          <td>The relationship is currently active.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">suspended
            <a name="deviceassociation-relationship-status-suspended"> </a>
          </td>
          <td>Suspended</td>
          <td>The relationship is temporarily inactive and may resume.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">ended
            <a name="deviceassociation-relationship-status-ended"> </a>
          </td>
          <td>Ended</td>
          <td>The relationship has concluded.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">removed
            <a name="deviceassociation-relationship-status-removed"> </a>
          </td>
          <td>Removed</td>
          <td>The relationship ended because the device was removed from the subject, location, or context.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">abandoned
            <a name="deviceassociation-relationship-status-abandoned"> </a>
          </td>
          <td>Abandoned</td>
          <td>The relationship has been left in place but is no longer intended to be active.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">unknown
            <a name="deviceassociation-relationship-status-unknown"> </a>
          </td>
          <td>Unknown</td>
          <td>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-relationship-status"/>
  <version value="6.0.0-ballot4"/>
  <name value="DeviceAssociationRelationshipStatusCodes"/>
  <title value="DeviceAssociation Relationship Status Codes"/>
  <status value="active"/>
  <experimental value="false"/>
  <publisher value="HL7 International"/>
  <description value="Codes that describe the lifecycle state of a DeviceAssociation relationship."/>
  <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-relationship-status"/>
  <content value="complete"/>
  <concept>
    <code value="planned"/>
    <display value="Planned"/>
    <definition value="The relationship is intended or scheduled but is not yet active."/>
  </concept>
  <concept>
    <code value="active"/>
    <display value="Active"/>
    <definition value="The relationship is currently active."/>
  </concept>
  <concept>
    <code value="suspended"/>
    <display value="Suspended"/>
    <definition value="The relationship is temporarily inactive and may resume."/>
  </concept>
  <concept>
    <code value="ended"/>
    <display value="Ended"/>
    <definition value="The relationship has concluded."/>
  </concept>
  <concept>
    <code value="removed"/>
    <display value="Removed"/>
    <definition value="The relationship ended because the device was removed from the subject, location, or context."/>
  </concept>
  <concept>
    <code value="abandoned"/>
    <display value="Abandoned"/>
    <definition value="The relationship has been left in place but is no longer intended to be active."/>
  </concept>
  <concept>
    <code value="unknown"/>
    <display value="Unknown"/>
    <definition value="The relationship status is not known."/>
  </concept>
</CodeSystem>