@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/uv/xver/CodeSystem/medicationrequest-intent> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "medicationrequest-intent"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <p>This code system \n              <code>http://hl7.org/fhir/CodeSystem/medicationrequest-intent</code> defines the following codes:\n            </p>\n            <table class=\"codes\">\n              <tr>\n                <td>\n                  <b>Lvl</b>\n                </td>\n                <td style=\"white-space:nowrap\">\n                  <b>Code</b>\n                </td>\n                <td>\n                  <b>Display</b>\n                </td>\n                <td>\n                  <b>Definition</b>\n                </td>\n              </tr>\n              <tr>\n                <td>1</td>\n                <td style=\"white-space:nowrap\">proposal\n                  <a name=\"medicationrequest-intent-proposal\"> </a>\n                </td>\n                <td>Proposal</td>\n                <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>\n              </tr>\n              <tr>\n                <td>1</td>\n                <td style=\"white-space:nowrap\">plan\n                  <a name=\"medicationrequest-intent-plan\"> </a>\n                </td>\n                <td>Plan</td>\n                <td>The request represents an intention to ensure something occurs without providing an authorization for others to act.</td>\n              </tr>\n              <tr>\n                <td>1</td>\n                <td style=\"white-space:nowrap\">order\n                  <a name=\"medicationrequest-intent-order\"> </a>\n                </td>\n                <td>Order</td>\n                <td>The request represents a request/demand and authorization for action</td>\n              </tr>\n              <tr>\n                <td>2</td>\n                <td style=\"white-space:nowrap\">  original-order\n                  <a name=\"medicationrequest-intent-original-order\"> </a>\n                </td>\n                <td>Original Order</td>\n                <td>The request represents the original authorization for the medication request.</td>\n              </tr>\n              <tr>\n                <td>2</td>\n                <td style=\"white-space:nowrap\">  reflex-order\n                  <a name=\"medicationrequest-intent-reflex-order\"> </a>\n                </td>\n                <td>Reflex Order</td>\n                <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>\n              </tr>\n              <tr>\n                <td>2</td>\n                <td style=\"white-space:nowrap\">  filler-order\n                  <a name=\"medicationrequest-intent-filler-order\"> </a>\n                </td>\n                <td>Filler Order</td>\n                <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>\n              </tr>\n              <tr>\n                <td>3</td>\n                <td style=\"white-space:nowrap\">    instance-order\n                  <a name=\"medicationrequest-intent-instance-order\"> </a>\n                </td>\n                <td>Instance Order</td>\n                <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>\n              </tr>\n              <tr>\n                <td>1</td>\n                <td style=\"white-space:nowrap\">option\n                  <a name=\"medicationrequest-intent-option\"> </a>\n                </td>\n                <td>Option</td>\n                <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>\n              </tr>\n            </table>\n          </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "packageId"^^xsd:anyURI ;
         fhir:l fhir:packageId
       ] ;
       fhir:value [
         a fhir:Id ;
         fhir:v "hl7.fhir.uv.xver-r5.r4"
       ]
     ] [
       fhir:url [
         fhir:v "version"^^xsd:anyURI ;
         fhir:l fhir:version
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "0.1.0"
       ]
     ] [
       fhir:url [
         fhir:v "uri"^^xsd:anyURI ;
         fhir:l fhir:uri
       ] ;
       fhir:value [
         a fhir:Uri ;
         fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4>
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/package-source>
     ]
  ] [
     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/CodeSystem/medicationrequest-intent"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/CodeSystem/medicationrequest-intent>
  ] ; # 
  fhir:version [ fhir:v "5.0.0"] ; # 
  fhir:name [ fhir:v "MedicationRequestIntentCodes"] ; # 
  fhir:title [ fhir:v "MedicationRequest Intent Codes"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-03-20T15:40:41+11:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Pharmacy"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Pharmacy" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/medication" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "MedicationRequest Intent 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/medicationrequest-intent|4.0.1"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/medicationrequest-intent?version=4.0.1>
  ] ; # 
  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." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

