{
  "resourceType": "CodeSystem",
  "id": "medicationdispense-category",
  "meta": {
    "lastUpdated": "2026-05-20T15:02:53.575+00:00"
  },
  "text": {
    "status": "generated",
    "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp class\u003d\"res-header-id\"\u003e\u003cb\u003eGenerated Narrative: CodeSystem medicationdispense-category\u003c/b\u003e\u003c/p\u003e\u003ca name\u003d\"medicationdispense-category\"\u003e \u003c/a\u003e\u003ca name\u003d\"hcmedicationdispense-category\"\u003e \u003c/a\u003e\u003cp\u003eThis case-sensitive code system \u003ccode\u003ehttp://hl7.org/fhir/CodeSystem/medicationdispense-category\u003c/code\u003e defines the following codes:\u003c/p\u003e\u003ctable class\u003d\"codes\"\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003e\u003cb\u003eCode\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDisplay\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDefinition\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003einpatient\u003ca name\u003d\"medicationdispense-category-inpatient\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eInpatient\u003c/td\u003e\u003ctd\u003eIncludes dispenses for medications to be administered or consumed in an inpatient or acute care setting.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003eoutpatient\u003ca name\u003d\"medicationdispense-category-outpatient\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eOutpatient\u003c/td\u003e\u003ctd\u003eIncludes dispenses for medications to be administered or consumed in an outpatient setting (for example, Emergency Department, Outpatient Clinic, Outpatient Surgery, Doctor\u0027s office).\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003ecommunity\u003ca name\u003d\"medicationdispense-category-community\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eCommunity\u003c/td\u003e\u003ctd\u003eIncludes dispenses for medications to be administered or consumed by the patient in their home (this would include long term care or nursing homes, hospices, etc.).\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003edischarge\u003ca name\u003d\"medicationdispense-category-discharge\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eDischarge\u003c/td\u003e\u003ctd\u003eIncludes dispenses for medications created when the patient is being released from a facility.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/div\u003e"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "phx"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "informative"
    }
  ],
  "url": "http://hl7.org/fhir/CodeSystem/medicationdispense-category",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.4.1806"
    }
  ],
  "version": "6.0.0-ballot4",
  "name": "MedicationDispenseCategoryCodes",
  "title": "Medication Dispense Category Codes",
  "status": "active",
  "experimental": false,
  "publisher": "HL7 International",
  "description": "Medication Dispense Category Codes \n **Note to Balloters: This code system is expected to move to [terminology.hl7.org](http://terminology.hl7.org)**",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "caseSensitive": true,
  "valueSet": "http://hl7.org/fhir/ValueSet/medicationdispense-category",
  "content": "complete",
  "concept": [
    {
      "code": "inpatient",
      "display": "Inpatient",
      "definition": "Includes dispenses for medications to be administered or consumed in an inpatient or acute care setting."
    },
    {
      "code": "outpatient",
      "display": "Outpatient",
      "definition": "Includes dispenses for medications to be administered or consumed in an outpatient setting (for example, Emergency Department, Outpatient Clinic, Outpatient Surgery, Doctor\u0027s office)."
    },
    {
      "code": "community",
      "display": "Community",
      "definition": "Includes dispenses for medications to be administered or consumed by the patient in their home (this would include long term care or nursing homes, hospices, etc.)."
    },
    {
      "code": "discharge",
      "display": "Discharge",
      "definition": "Includes dispenses for medications created when the patient is being released from a facility."
    }
  ]
}