Example CodeSystem/medication-usage-status (XML)
Raw XML (canonical form + also see XML Format Specification)
Definition for Code SystemMedicationUsage Status Codes
<?xml version="1.0" encoding="UTF-8"?>
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="medication-usage-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-usage-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">recorded
<a name="medication-usage-status-recorded"> </a>
</td>
<td> Recorded</td>
<td> The action of recording the medication statement is finished.</td>
</tr>
<tr>
<td style="white-space:nowrap">entered-in-error
<a name="medication-usage-status-entered-in-error"> </a>
</td>
<td> Entered in Error</td>
<td> Some of the actions that are implied by the medication usage may have occurred.
For example, the patient may have taken some of the medication. Clinical decision
support systems should take this status into account.</td>
</tr>
<tr>
<td style="white-space:nowrap">draft
<a name="medication-usage-status-draft"> </a>
</td>
<td> Draft</td>
<td> The medication usage is draft or preliminary.</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-usage-status"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.4.1980"/>
</identifier>
<version value="5.0.0-ballot"/>
<name value="MedicationUsage Status Codes"/>
<status value="draft"/>
<experimental value="false"/>
<caseSensitive value="true"/>
<valueSet value="http://hl7.org/fhir/ValueSet/medication-usage-status"/>
<content value="complete"/>
<concept>
<code value="recorded"/>
<display value="Recorded"/>
<definition value="The action of recording the medication statement is finished."/>
</concept>
<concept>
<code value="entered-in-error"/>
<display value="Entered in Error"/>
<definition value="Some of the actions that are implied by the medication usage may have occurred.
For example, the patient may have taken some of the medication. Clinical decision
support systems should take this status into account."/>
</concept>
<concept>
<code value="draft"/>
<display value="Draft"/>
<definition value="The medication usage is draft or preliminary."/>
</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.