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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="reason-medication-not-given-codes"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">
            <p>This code system http://hl7.org/fhir/reason-medication-not-given 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">a
                  <a name="reason-medication-not-given-codes-a"> </a>
                </td>
                <td>None</td>
                <td>No reason known.</td>
              </tr>
              <tr>
                <td style="white-space:nowrap">b
                  <a name="reason-medication-not-given-codes-b"> </a>
                </td>
                <td>Away</td>
                <td>The patient was not available when the dose was scheduled.</td>
              </tr>
              <tr>
                <td style="white-space:nowrap">c
                  <a name="reason-medication-not-given-codes-c"> </a>
                </td>
                <td>Asleep</td>
                <td>The patient was asleep when the dose was scheduled.</td>
              </tr>
              <tr>
                <td style="white-space:nowrap">d
                  <a name="reason-medication-not-given-codes-d"> </a>
                </td>
                <td>Vomit</td>
                <td>The patient was given the medication and immediately vomited it back.</td>
              </tr>
            </table>
          </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/package-source">
    <extension url="packageId">
      <valueId value="hl7.fhir.uv.xver-r4b.r4"/>
    </extension>
    <extension url="version">
      <valueString value="0.0.1-snapshot-2"/>
    </extension>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="phx"/>
  </extension>
  <url value="http://hl7.org/fhir/reason-medication-not-given"/>
  <version value="4.3.0"/>
  <name value="ReasonMedicationNotGivenCodes"/>
  <title value="Reason Medication Not Given Codes"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2025-09-13T16:38:45-04:00"/>
  <publisher value="Pharmacy"/>
  <contact>
    <name value="Pharmacy"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/medication"/>
    </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."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <caseSensitive value="true"/>
  <content value="complete"/>
  <concept>
    <code value="a"/>
    <display value="None"/>
    <definition value="No reason known."/>
  </concept>
  <concept>
    <code value="b"/>
    <display value="Away"/>
    <definition value="The patient was not available when the dose was scheduled."/>
  </concept>
  <concept>
    <code value="c"/>
    <display value="Asleep"/>
    <definition value="The patient was asleep when the dose was scheduled."/>
  </concept>
  <concept>
    <code value="d"/>
    <display value="Vomit"/>
    <definition value="The patient was given the medication and immediately vomited it back."/>
  </concept>
</CodeSystem>