FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example CodeSystem/medicationdispense-status (Turtle)

Responsible Owner: Pharmacy Work GroupStandards Status: Informative

Raw Turtle (+ also see Turtle/RDF Format Specification)

Definition for Code SystemMedicationDispenseStatusCodes

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/CodeSystem/medicationdispense-status> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "medicationdispense-status"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2025-11-27T16:48:47.349+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem medicationdispense-status</b></p><a name=\"medicationdispense-status\"> </a><a name=\"hcmedicationdispense-status\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/CodeSystem/medicationdispense-status</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\">preparation<a name=\"medicationdispense-status-preparation\"> </a></td><td>Preparation</td><td>The core event has not started yet, but some staging activities have begun (e.g. initial compounding or packaging of medication). Preparation stages may be tracked for billing purposes.</td></tr><tr><td style=\"white-space:nowrap\">in-progress<a name=\"medicationdispense-status-in-progress\"> </a></td><td>In Progress</td><td>The dispensed product is ready for pickup.</td></tr><tr><td style=\"white-space:nowrap\">cancelled<a name=\"medicationdispense-status-cancelled\"> </a></td><td>Cancelled</td><td>The dispensed product was not and will never be picked up by the patient.</td></tr><tr><td style=\"white-space:nowrap\">on-hold<a name=\"medicationdispense-status-on-hold\"> </a></td><td>On Hold</td><td>The dispense process is paused while waiting for an external event to reactivate the dispense.  For example, new stock has arrived or the prescriber has called.</td></tr><tr><td style=\"white-space:nowrap\">completed<a name=\"medicationdispense-status-completed\"> </a></td><td>Completed</td><td>The dispensed product has been picked up.</td></tr><tr><td style=\"white-space:nowrap\">entered-in-error<a name=\"medicationdispense-status-entered-in-error\"> </a></td><td>Entered in Error</td><td>The dispense was entered in error and therefore nullified.</td></tr><tr><td style=\"white-space:nowrap\">unfulfilled<a name=\"medicationdispense-status-unfulfilled\"> </a></td><td>Unfulfilled</td><td>Actions implied by the dispense have been permanently halted, before all of them occurred.</td></tr><tr><td style=\"white-space:nowrap\">declined<a name=\"medicationdispense-status-declined\"> </a></td><td>Declined</td><td>The dispense was declined and not performed.</td></tr><tr><td style=\"white-space:nowrap\">unknown<a name=\"medicationdispense-status-unknown\"> </a></td><td>Unknown</td><td>The authoring system does not know which of the status values applies for this medication dispense.  Note: this concept is not to be used for other - one of the listed statuses is presumed to apply, it's just now known which one.</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "phx"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "normative"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 2
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/CodeSystem/medicationdispense-status"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/CodeSystem/medicationdispense-status>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.1971" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot3"] ; # 
  fhir:name [ fhir:v "MedicationDispenseStatusCodes"] ; # 
  fhir:title [ fhir:v "Medication Dispense Status Codes"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:publisher [ fhir:v "HL7 International"] ; # 
  fhir:description [ fhir:v "Medication Dispense Status Codes"] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/medicationDispense-status"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/medicationDispense-status>
  ] ; # 
  fhir:hierarchyMeaning [] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "preparation" ] ;
     fhir:display [ fhir:v "Preparation" ] ;
     fhir:definition [ fhir:v "The core event has not started yet, but some staging activities have begun (e.g. initial compounding or packaging of medication). Preparation stages may be tracked for billing purposes." ]
  ] [
     fhir:code [ fhir:v "in-progress" ] ;
     fhir:display [ fhir:v "In Progress" ] ;
     fhir:definition [ fhir:v "The dispensed product is ready for pickup." ]
  ] [
     fhir:code [ fhir:v "cancelled" ] ;
     fhir:display [ fhir:v "Cancelled" ] ;
     fhir:definition [ fhir:v "The dispensed product was not and will never be picked up by the patient." ]
  ] [
     fhir:code [ fhir:v "on-hold" ] ;
     fhir:display [ fhir:v "On Hold" ] ;
     fhir:definition [ fhir:v "The dispense process is paused while waiting for an external event to reactivate the dispense.  For example, new stock has arrived or the prescriber has called." ]
  ] [
     fhir:code [ fhir:v "completed" ] ;
     fhir:display [ fhir:v "Completed" ] ;
     fhir:definition [ fhir:v "The dispensed product has been picked up." ]
  ] [
     fhir:code [ fhir:v "entered-in-error" ] ;
     fhir:display [ fhir:v "Entered in Error" ] ;
     fhir:definition [ fhir:v "The dispense was entered in error and therefore nullified." ]
  ] [
     fhir:code [ fhir:v "unfulfilled" ] ;
     fhir:display [ fhir:v "Unfulfilled" ] ;
     fhir:definition [ fhir:v "Actions implied by the dispense have been permanently halted, before all of them occurred." ]
  ] [
     fhir:code [ fhir:v "declined" ] ;
     fhir:display [ fhir:v "Declined" ] ;
     fhir:definition [ fhir:v "The dispense was declined and not performed." ]
  ] [
     fhir:code [ fhir:v "unknown" ] ;
     fhir:display [ fhir:v "Unknown" ] ;
     fhir:definition [ fhir:v "The authoring system does not know which of the status values applies for this medication dispense.  Note: this concept is not to be used for other - one of the listed statuses is presumed to apply, it's just now known which one." ]
  ] ) . # 

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.