Release 5 R6 Ballot (3rd Draft)
This page is part of the FHIR Specification (v5.0.0: R5 - STU ). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Publish-box (todo)

Example CodeSystem/medicationrequest-intent (Turtle)

Pharmacy Work Group Maturity Level : N/A Standards Status : Informative

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

Definition for Code SystemMedicationRequestIntentCodes

@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 -------------------------------------------------------------------

[] a fhir:CodeSystem ;
  fhir:id [ fhir:v "medicationrequest-intent"] ;

<http://hl7.org/fhir/CodeSystem/medicationrequest-intent> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "medicationrequest-intent"] ; # 

  fhir:meta [
     fhir:lastUpdated [ fhir:v "2023-03-26T15:21:02.749+11:00" ] ;
     fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ] )
  ] ;

     fhir:lastUpdated [ fhir:v "2025-04-01T12:16:37.966+11:00"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/shareablecodesystem>
     ] )
  ] ; # 

  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ;

     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem medicationrequest-intent</b></p><a name=\"medicationrequest-intent\"> </a><a name=\"hcmedicationrequest-intent\"> </a><a name=\"medicationrequest-intent-en-AU\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"shareablecodesystem.html\">Shareable CodeSystem</a></p></div><p>This case-sensitive code system <code>http://hl7.org/fhir/CodeSystem/medicationrequest-intent</code> defines the following codes in a Is-A hierarchy:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">proposal<a name=\"medicationrequest-intent-proposal\"> </a></td><td>Proposal</td><td>The request is a suggestion made by someone/something that doesn't have an intention to ensure it occurs and without providing an authorization to act</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">plan<a name=\"medicationrequest-intent-plan\"> </a></td><td>Plan</td><td>The request represents an intention to ensure something occurs without providing an authorization for others to act.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">order<a name=\"medicationrequest-intent-order\"> </a></td><td>Order</td><td>The request represents a request/demand and authorization for action</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  original-order<a name=\"medicationrequest-intent-original-order\"> </a></td><td>Original Order</td><td>The request represents the original authorization for the medication request.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  reflex-order<a name=\"medicationrequest-intent-reflex-order\"> </a></td><td>Reflex Order</td><td>The request represents an automatically generated supplemental authorization for action based on a parent authorization together with initial results of the action taken against that parent authorization..</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  filler-order<a name=\"medicationrequest-intent-filler-order\"> </a></td><td>Filler Order</td><td>The request represents the view of an authorization instantiated by a fulfilling system representing the details of the fulfiller's intention to act upon a submitted order.</td></tr><tr><td>3</td><td style=\"white-space:nowrap\">    instance-order<a name=\"medicationrequest-intent-instance-order\"> </a></td><td>Instance Order</td><td>The request represents an instance for the particular order and is used to generate a schedule of requests on a medication administration record (MAR).</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">option<a name=\"medicationrequest-intent-option\"> </a></td><td>Option</td><td>The request represents a component or option for a RequestOrchestration that establishes timing, conditionality and/or  other constraints among a set of requests.</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 

  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "phx" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/fhir/CodeSystem/medicationrequest-intent"], [ fhir:v "http://hl7.org/fhir/CodeSystem/medicationrequest-intent"] ;

     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "phx"
     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/CodeSystem/medicationrequest-intent"^^xsd:anyURI] ; # 

  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.1378" ]
  ] [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;

     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;

     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.1378" ]
  ] ) ;
  fhir:version [ fhir:v "5.0.0"], [ fhir:v "5.0.0"] ;
  fhir:name [ fhir:v "MedicationRequestIntentCodes"], [ fhir:v "MedicationRequestIntentCodes"] ;
  fhir:title [ fhir:v "MedicationRequest Intent Codes"], [ fhir:v "MedicationRequest Intent Codes"] ;
  fhir:status [ fhir:v "active"], [ fhir:v "active"] ;
  fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ;
  fhir:publisher [ fhir:v "HL7 International"], [ fhir:v "HL7 International"] ;
  fhir:description [ fhir:v "MedicationRequest Intent Codes"], [ fhir:v "MedicationRequest Intent Codes"] ;

  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot3"] ; # 
  fhir:name [ fhir:v "MedicationRequestIntentCodes"] ; # 
  fhir:title [ fhir:v "MedicationRequest Intent Codes"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:publisher [ fhir:v "HL7 International"] ; # 
  fhir:description [ fhir:v "MedicationRequest Intent Codes"] ; # 

  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;

       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;

       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ;
  fhir:caseSensitive [ fhir:v "true"] ;
  fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/medicationrequest-intent"] ;
  fhir:hierarchyMeaning [ fhir:v "is-a"] ;
  fhir:content [ fhir:v "complete"] ;

  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/medicationrequest-intent"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/ValueSet/medicationrequest-intent>
  ] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:content [ fhir:v "complete"] ; # 

  fhir:concept ( [
     fhir:code [ fhir:v "proposal" ] ;
     fhir:display [ fhir:v "Proposal" ] ;
     fhir:definition [ fhir:v "The request is a suggestion made by someone/something that doesn't have an intention to ensure it occurs and without providing an authorization to act" ]
  ] [
     fhir:code [ fhir:v "plan" ] ;
     fhir:display [ fhir:v "Plan" ] ;
     fhir:definition [ fhir:v "The request represents an intention to ensure something occurs without providing an authorization for others to act." ]
  ] [
     fhir:code [ fhir:v "order" ] ;
     fhir:display [ fhir:v "Order" ] ;
     fhir:definition [ fhir:v "The request represents a request/demand and authorization for action" ] ;
     fhir:concept ( [
       fhir:code [ fhir:v "original-order" ] ;
       fhir:display [ fhir:v "Original Order" ] ;
       fhir:definition [ fhir:v "The request represents the original authorization for the medication request." ]
     ] [
       fhir:code [ fhir:v "reflex-order" ] ;
       fhir:display [ fhir:v "Reflex Order" ] ;
       fhir:definition [ fhir:v "The request represents an automatically generated supplemental authorization for action based on a parent authorization together with initial results of the action taken against that parent authorization.." ]
     ] [
       fhir:code [ fhir:v "filler-order" ] ;
       fhir:display [ fhir:v "Filler Order" ] ;
       fhir:definition [ fhir:v "The request represents the view of an authorization instantiated by a fulfilling system representing the details of the fulfiller's intention to act upon a submitted order." ] ;
       fhir:concept ( [
         fhir:code [ fhir:v "instance-order" ] ;
         fhir:display [ fhir:v "Instance Order" ] ;
         fhir:definition [ fhir:v "The request represents an instance for the particular order and is used to generate a schedule of requests on a medication administration record (MAR)." ]
       ] )
     ] )
  ] [
     fhir:code [ fhir:v "option" ] ;
     fhir:display [ fhir:v "Option" ] ;
     fhir:definition [ fhir:v "The request represents a component or option for a RequestOrchestration that establishes timing, conditionality and/or  other constraints among a set of requests." ]
  ] ) .

  ] ) . # 


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


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.