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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="medication-status"/>
  <meta>
    <lastUpdated value="2026-03-31T18:55:04.283+00:00"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b>Generated Narrative: CodeSystem medication-status</b>
      </p>
      <a name="medication-status"> </a>
      <a name="hcmedication-status"> </a>
      <p>This case-sensitive code system 
        <code>http://hl7.org/fhir/CodeSystem/medication-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">active
            <a name="medication-status-active"> </a>
          </td>
          <td>Active</td>
          <td>The medication record is current and is appropriate for reference in new instances.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">inactive
            <a name="medication-status-inactive"> </a>
          </td>
          <td>Inactive</td>
          <td>The medication record is not current and is not is appropriate for reference in new instances.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">entered-in-error
            <a name="medication-status-entered-in-error"> </a>
          </td>
          <td>Entered in Error</td>
          <td>The medication record was created erroneously and is not appropriated for reference in new instances.</td>
        </tr>
      </table>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="phx"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="normative"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="4"/>
  </extension>
  <url value="http://hl7.org/fhir/CodeSystem/medication-status"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.4.1380"/>
  </identifier>
  <version value="6.0.0-ballot4"/>
  <name value="MedicationStatusCodes"/>
  <title value="Medication Status Codes"/>
  <status value="active"/>
  <experimental value="false"/>
  <publisher value="HL7 International"/>
  <description value="Medication Status 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/medication-status"/>
  <content value="complete"/>
  <concept>
    <code value="active"/>
    <display value="Active"/>
    <definition value="The medication record is current and is appropriate for reference in new instances."/>
  </concept>
  <concept>
    <code value="inactive"/>
    <display value="Inactive"/>
    <definition value="The medication record is not current and is not is appropriate for reference in new instances."/>
  </concept>
  <concept>
    <code value="entered-in-error"/>
    <display value="Entered in Error"/>
    <definition value="The medication record was created erroneously and is not appropriated for reference in new instances."/>
  </concept>
</CodeSystem>