Example CodeSystem/medication-status (XML)
Raw XML (canonical form + also see XML Format Specification)
Definition for Code SystemMedication Status Codes
<?xml version="1.0" encoding="UTF-8"?>
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="medication-status"/>
<meta>
<lastUpdated value="2022-09-10T04:52:37.223+10: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-ballot"/>
<name value="Medication Status Codes"/>
<status value="draft"/>
<experimental value="false"/>
<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.