<?xml version="1.0" encoding="UTF-8"?><CodeSystem xmlns="http://hl7.org/fhir"><id value="medicationrequest-category"/><meta><lastUpdated value="2026-04-01T17:59:15.240+00:00"/></meta><text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CodeSystem medicationrequest-category</b></p><a name="medicationrequest-category"> </a><a name="hcmedicationrequest-category"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/CodeSystem/medicationrequest-category</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">inpatient<a name="medicationrequest-category-inpatient"> </a></td><td>Inpatient</td><td>Includes requests for medications to be administered or consumed in an inpatient or acute care setting.</td></tr><tr><td style="white-space:nowrap">outpatient<a name="medicationrequest-category-outpatient"> </a></td><td>Outpatient</td><td>Includes requests for medications to be administered or consumed in an outpatient setting (for example, Emergency Department, Outpatient Clinic, Outpatient Surgery, Doctor's office).</td></tr><tr><td style="white-space:nowrap">community<a name="medicationrequest-category-community"> </a></td><td>Community</td><td>Includes requests for medications to be administered or consumed by the patient in their home (this would include long term care or nursing homes, hospices, etc.).</td></tr><tr><td style="white-space:nowrap">discharge<a name="medicationrequest-category-discharge"> </a></td><td>Discharge</td><td>Includes requests for medications created when the patient is being released from a facility.</td></tr></table></div></text><extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"><valueCode value="phx"/></extension><extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"><valueCode value="informative"/></extension><url value="http://hl7.org/fhir/CodeSystem/medicationrequest-category"/><version value="6.0.0-ballot4"/><name value="MedicationRequestCategoryCodes"/><title value="Medication Request Category Codes"/><status value="active"/><experimental value="false"/><publisher value="HL7 International"/><description value="Medication Request Category Codes &#xA; **Note to Balloters: This code system is expected to move to [terminology.hl7.org](http://terminology.hl7.org)**"/><jurisdiction><coding><system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/><code value="001"/><display value="World"/></coding></jurisdiction><caseSensitive value="true"/><valueSet value="http://hl7.org/fhir/ValueSet/medicationrequest-category"/><content value="complete"/><concept><code value="inpatient"/><display value="Inpatient"/><definition value="Includes requests for medications to be administered or consumed in an inpatient or acute care setting."/></concept><concept><code value="outpatient"/><display value="Outpatient"/><definition value="Includes requests for medications to be administered or consumed in an outpatient setting (for example, Emergency Department, Outpatient Clinic, Outpatient Surgery, Doctor's office)."/></concept><concept><code value="community"/><display value="Community"/><definition value="Includes requests for medications to be administered or consumed by the patient in their home (this would include long term care or nursing homes, hospices, etc.)."/></concept><concept><code value="discharge"/><display value="Discharge"/><definition value="Includes requests for medications created when the patient is being released from a facility."/></concept></CodeSystem>