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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="R5-medication-statement-adherence-for-R4"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ValueSet R5-medication-statement-adherence-for-R4</b></p><a name="R5-medication-statement-adherence-for-R4"> </a><a name="hcR5-medication-statement-adherence-for-R4"> </a><p>This value set expansion contains 11 concepts.</p><table class="codes"><tr><td><b>System</b></td><td><b>Version</b></td><td style="white-space:nowrap"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td><a name="R5-medication-statement-adherence-for-R4-http://hl7.org/fhir/CodeSystem/medication-statement-adherence-not-taking"> </a><code>http://hl7.org/fhir/CodeSystem/medication-statement-adherence</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-medication-statement-adherence.html#medication-statement-adherence-not-taking">not-taking</a></td><td>Not Taking</td><td>The medication is not being taken.</td></tr><tr><td><a name="R5-medication-statement-adherence-for-R4-http://hl7.org/fhir/CodeSystem/medication-statement-adherence-on-hold"> </a><code>http://hl7.org/fhir/CodeSystem/medication-statement-adherence</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-medication-statement-adherence.html#medication-statement-adherence-on-hold">on-hold</a></td><td>On Hold</td><td>The medication is on hold.</td></tr><tr><td><a name="R5-medication-statement-adherence-for-R4-http://hl7.org/fhir/CodeSystem/medication-statement-adherence-on-hold-as-directed"> </a><code>http://hl7.org/fhir/CodeSystem/medication-statement-adherence</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-medication-statement-adherence.html#medication-statement-adherence-on-hold-as-directed">on-hold-as-directed</a></td><td>On Hold As Directed</td><td>The medication is on hold as directed.</td></tr><tr><td><a name="R5-medication-statement-adherence-for-R4-http://hl7.org/fhir/CodeSystem/medication-statement-adherence-on-hold-not-as-directed"> </a><code>http://hl7.org/fhir/CodeSystem/medication-statement-adherence</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-medication-statement-adherence.html#medication-statement-adherence-on-hold-not-as-directed">on-hold-not-as-directed</a></td><td>On Hold Not As Directed</td><td>The medication is on hold not as directed.</td></tr><tr><td><a name="R5-medication-statement-adherence-for-R4-http://hl7.org/fhir/CodeSystem/medication-statement-adherence-stopped"> </a><code>http://hl7.org/fhir/CodeSystem/medication-statement-adherence</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-medication-statement-adherence.html#medication-statement-adherence-stopped">stopped</a></td><td>Stopped</td><td>The medication is stopped.</td></tr><tr><td><a name="R5-medication-statement-adherence-for-R4-http://hl7.org/fhir/CodeSystem/medication-statement-adherence-stopped-as-directed"> </a><code>http://hl7.org/fhir/CodeSystem/medication-statement-adherence</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-medication-statement-adherence.html#medication-statement-adherence-stopped-as-directed">stopped-as-directed</a></td><td>Stopped As Directed</td><td>The medication is stopped as directed.</td></tr><tr><td><a name="R5-medication-statement-adherence-for-R4-http://hl7.org/fhir/CodeSystem/medication-statement-adherence-stopped-not-as-directed"> </a><code>http://hl7.org/fhir/CodeSystem/medication-statement-adherence</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-medication-statement-adherence.html#medication-statement-adherence-stopped-not-as-directed">stopped-not-as-directed</a></td><td>Stopped Not As Directed</td><td>The medication is stopped not as directed.</td></tr><tr><td><a name="R5-medication-statement-adherence-for-R4-http://hl7.org/fhir/CodeSystem/medication-statement-adherence-taking"> </a><code>http://hl7.org/fhir/CodeSystem/medication-statement-adherence</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-medication-statement-adherence.html#medication-statement-adherence-taking">taking</a></td><td>Taking</td><td>The medication is being taken.</td></tr><tr><td><a name="R5-medication-statement-adherence-for-R4-http://hl7.org/fhir/CodeSystem/medication-statement-adherence-taking-as-directed"> </a><code>http://hl7.org/fhir/CodeSystem/medication-statement-adherence</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-medication-statement-adherence.html#medication-statement-adherence-taking-as-directed">taking-as-directed</a></td><td>Taking As Directed</td><td>The medication is being taken as directed.</td></tr><tr><td><a name="R5-medication-statement-adherence-for-R4-http://hl7.org/fhir/CodeSystem/medication-statement-adherence-taking-not-as-directed"> </a><code>http://hl7.org/fhir/CodeSystem/medication-statement-adherence</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-medication-statement-adherence.html#medication-statement-adherence-taking-not-as-directed">taking-not-as-directed</a></td><td>Taking Not As Directed</td><td>The medication is not being taken as directed.</td></tr><tr><td><a name="R5-medication-statement-adherence-for-R4-http://hl7.org/fhir/CodeSystem/medication-statement-adherence-unknown"> </a><code>http://hl7.org/fhir/CodeSystem/medication-statement-adherence</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-medication-statement-adherence.html#medication-statement-adherence-unknown">unknown</a></td><td>Unknown</td><td>Whether the medication is being taken or not is not currently known.</td></tr></table></div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="phx"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/package-source">
    <extension url="packageId">
      <valueId value="hl7.fhir.uv.xver-r5.r4"/>
    </extension>
    <extension url="version">
      <valueString value="0.1.0"/>
    </extension>
    <extension url="uri">
      <valueUri value="http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4"/>
    </extension>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical value="http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/uv/xver/ValueSet/R5-medication-statement-adherence-for-R4"/>
  <version value="0.1.0"/>
  <name value="R5MedicationStatementAdherenceForR4"/>
  <title value="Cross-version ValueSet R5.MedicationStatementAdherenceCodes for use in FHIR R4"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2026-03-17T21:02:03.8104715+00:00"/>
  <publisher value="Pharmacy"/>
  <contact>
    <name value="Pharmacy"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/medication"/>
    </telecom>
  </contact>
  <description value="This cross-version ValueSet represents content from `http://hl7.org/fhir/ValueSet/medication-statement-adherence|5.0.0` for use in FHIR R4."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <purpose value="This value set is part of the cross-version definitions generated to enable use of the&#xD;&#xA;value set `http://hl7.org/fhir/ValueSet/medication-statement-adherence|5.0.0` as defined in FHIR R5&#xD;&#xA;in FHIR R4.&#xD;&#xA;&#xD;&#xA;The source value set is bound to the following FHIR R5 elements:&#xD;&#xA;* `MedicationStatement.adherence.code`&#xD;&#xA;&#xD;&#xA;Note that all concepts are included in this cross-version definition because no concepts have compatible representations&#xD;&#xA;&#xD;&#xA;Following are the generation technical comments:&#xD;&#xA;&#xA;FHIR ValueSet `http://hl7.org/fhir/ValueSet/medication-statement-adherence|5.0.0`, defined in FHIR R5 does not have any mapping to FHIR R4"/>
  <compose>
    <include>
      <system value="http://hl7.org/fhir/CodeSystem/medication-statement-adherence"/>
      <version value="5.0.0"/>
      <concept>
        <code value="not-taking"/>
        <display value="Not Taking"/>
      </concept>
      <concept>
        <code value="on-hold"/>
        <display value="On Hold"/>
      </concept>
      <concept>
        <code value="on-hold-as-directed"/>
        <display value="On Hold As Directed"/>
      </concept>
      <concept>
        <code value="on-hold-not-as-directed"/>
        <display value="On Hold Not As Directed"/>
      </concept>
      <concept>
        <code value="stopped"/>
        <display value="Stopped"/>
      </concept>
      <concept>
        <code value="stopped-as-directed"/>
        <display value="Stopped As Directed"/>
      </concept>
      <concept>
        <code value="stopped-not-as-directed"/>
        <display value="Stopped Not As Directed"/>
      </concept>
      <concept>
        <code value="taking"/>
        <display value="Taking"/>
      </concept>
      <concept>
        <code value="taking-as-directed"/>
        <display value="Taking As Directed"/>
      </concept>
      <concept>
        <code value="taking-not-as-directed"/>
        <display value="Taking Not As Directed"/>
      </concept>
      <concept>
        <code value="unknown"/>
        <display value="Unknown"/>
      </concept>
    </include>
  </compose>
  <expansion>
    <timestamp value="2026-03-17T21:02:03.8104715+00:00"/>
    <contains>
      <system value="http://hl7.org/fhir/CodeSystem/medication-statement-adherence"/>
      <version value="5.0.0"/>
      <code value="not-taking"/>
      <display value="Not Taking"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/CodeSystem/medication-statement-adherence"/>
      <version value="5.0.0"/>
      <code value="on-hold"/>
      <display value="On Hold"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/CodeSystem/medication-statement-adherence"/>
      <version value="5.0.0"/>
      <code value="on-hold-as-directed"/>
      <display value="On Hold As Directed"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/CodeSystem/medication-statement-adherence"/>
      <version value="5.0.0"/>
      <code value="on-hold-not-as-directed"/>
      <display value="On Hold Not As Directed"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/CodeSystem/medication-statement-adherence"/>
      <version value="5.0.0"/>
      <code value="stopped"/>
      <display value="Stopped"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/CodeSystem/medication-statement-adherence"/>
      <version value="5.0.0"/>
      <code value="stopped-as-directed"/>
      <display value="Stopped As Directed"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/CodeSystem/medication-statement-adherence"/>
      <version value="5.0.0"/>
      <code value="stopped-not-as-directed"/>
      <display value="Stopped Not As Directed"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/CodeSystem/medication-statement-adherence"/>
      <version value="5.0.0"/>
      <code value="taking"/>
      <display value="Taking"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/CodeSystem/medication-statement-adherence"/>
      <version value="5.0.0"/>
      <code value="taking-as-directed"/>
      <display value="Taking As Directed"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/CodeSystem/medication-statement-adherence"/>
      <version value="5.0.0"/>
      <code value="taking-not-as-directed"/>
      <display value="Taking Not As Directed"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/CodeSystem/medication-statement-adherence"/>
      <version value="5.0.0"/>
      <code value="unknown"/>
      <display value="Unknown"/>
    </contains>
  </expansion>
</ValueSet>