This code system http://terminology.hl7.org/CodeSystem/medicationrequest-category defines the following codes:
\n \n \n \n \n \n Code\n \n | \n \n \n \n Display\n \n | \n \n \n \n Definition\n \n | \n \n
\n \n \n \n inpatient\n \n \n \n | \n \n Inpatient | \n \n Includes requests for medications to be administered or consumed in an inpatient or acute care setting | \n \n
\n \n \n \n outpatient\n \n \n \n | \n \n Outpatient | \n \n Includes requests for medications to be administered or consumed in an outpatient setting (for example, Emergency Department, Outpatient Clinic, Outpatient Surgery, Doctor's office) | \n \n
\n \n \n \n community\n \n \n \n | \n \n Community | \n \n 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.) | \n \n
\n \n \n \n discharge\n \n \n \n | \n \n Discharge | \n \n Includes requests for medications created when the patient is being released from a facility | \n \n
\n \n