Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example CodeSystem/medication-status (XML)

Pharmacy Work GroupMaturity Level: N/AStandards Status: Informative

Raw XML (canonical form + also see XML Format Specification)

Definition for Code SystemMedicationStatusCodes

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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="medication-status"/> 
  <meta> 
    <lastUpdated value="2023-03-26T15:21:02.749+11:00"/> 
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> This 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> 
  <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="5.0.0"/> 
  <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> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.