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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="reason-medication-given-codes"/>
  <meta>
    <lastUpdated value="2019-10-24T11:53:00+11:00"/>
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <h2>Reason Medication Given Codes</h2>
      <div>
        <p>This value set is provided as an example. The value set to instantiate this attribute should be drawn from a robust terminology code system that consists of or contains concepts to support the medication process.</p>

      </div>
      <p>This code system http://hl7.org/fhir/reason-medication-given defines the following codes:</p>
      <table class="codes">
        <tr>
          <td>
            <b>Code</b>
          </td>
          <td>
            <b>Display</b>
          </td>
          <td>
            <b>Definition</b>
          </td>
        </tr>
        <tr>
          <td>a
            <a name="reason-medication-given-codes-a"> </a>
          </td>
          <td>None</td>
          <td>No reason known.</td>
        </tr>
        <tr>
          <td>b
            <a name="reason-medication-given-codes-b"> </a>
          </td>
          <td>Given as Ordered</td>
          <td>The administration was following an ordered protocol.</td>
        </tr>
        <tr>
          <td>c
            <a name="reason-medication-given-codes-c"> </a>
          </td>
          <td>Emergency</td>
          <td>The administration was needed to treat an emergency.</td>
        </tr>
      </table>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status">
    <valueString value="Informative"/>
  </extension>
  <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>
  <url value="http://hl7.org/fhir/reason-medication-given"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.1.335"/>
  </identifier>
  <version value="3.0.2"/>
  <name value="Reason Medication Given Codes"/>
  <status value="draft"/>
  <experimental value="true"/>
  <publisher value="FHIR Project team"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
  </contact>
  <description value="This value set is provided as an example. The value set to instantiate this attribute should be drawn from a robust terminology code system that consists of or contains concepts to support the medication process."/>
  <caseSensitive value="true"/>
  <valueSet value="http://hl7.org/fhir/ValueSet/reason-medication-given-codes"/>
  <content value="complete"/>
  <concept>
    <code value="a"/>
    <display value="None"/>
    <definition value="No reason known."/>
  </concept>
  <concept>
    <code value="b"/>
    <display value="Given as Ordered"/>
    <definition value="The administration was following an ordered protocol."/>
  </concept>
  <concept>
    <code value="c"/>
    <display value="Emergency"/>
    <definition value="The administration was needed to treat an emergency."/>
  </concept>
</CodeSystem>