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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="trxhub-medication-dispense-status-reason"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CodeSystem trxhub-medication-dispense-status-reason</b></p><a name="trxhub-medication-dispense-status-reason"> </a><a name="hctrxhub-medication-dispense-status-reason"> </a><p>This case-sensitive code system <code>https://trxhub.mediservice.ch/fhir/CodeSystem/trxhub-medication-dispense-status-reason</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">already-dispensed<a name="trxhub-medication-dispense-status-reason-already-dispensed"> </a></td><td>Medication has already been dispensed</td><td>The requested medication has already been dispensed to the patient by this or another pharmacy, so the dispense can not be completed again</td></tr><tr><td style="white-space:nowrap">not-in-stock<a name="trxhub-medication-dispense-status-reason-not-in-stock"> </a></td><td>Medication not in stock</td><td>The medication is not available in the pharmacy's inventory</td></tr></table></div>
  </text>
  <url value="https://trxhub.mediservice.ch/fhir/CodeSystem/trxhub-medication-dispense-status-reason"/>
  <version value="0.1.0"/>
  <name value="TRxHubMedicationDispenseStatusReason"/>
  <title value="TRxHub MedicationDispense Status Reason"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2026-10-08T12:07:08+00:00"/>
  <description value="Reasons for MedicationDispenseStatus"/>
  <caseSensitive value="true"/>
  <content value="complete"/>
  <count value="2"/>
  <concept>
    <code value="already-dispensed"/>
    <display value="Medication has already been dispensed"/>
    <definition value="The requested medication has already been dispensed to the patient by this or another pharmacy, so the dispense can not be completed again"/>
  </concept>
  <concept>
    <code value="not-in-stock"/>
    <display value="Medication not in stock"/>
    <definition value="The medication is not available in the pharmacy's inventory"/>
  </concept>
</CodeSystem>