Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example RequestOrchestration/kdn5-example (Turtle)

Clinical Decision Support Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

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

Example realization of the KDN5 PlanDefinition example

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

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

[a fhir:RequestOrchestration;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "kdn5-example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Administer gemcitabine and carboplatin.</div>"
  ];
  fhir:DomainResource.contained [
     a fhir:MedicationRequest;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "1111" ];
     fhir:MedicationRequest.status [ fhir:value "unknown" ];
     fhir:MedicationRequest.intent [ fhir:value "proposal" ];
     fhir:MedicationRequest.medication [
       fhir:CodeableReference.concept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
           fhir:Coding.code [ fhir:value "12574" ];
           fhir:Coding.display [ fhir:value "gemcitabine" ]
         ];
         fhir:CodeableConcept.text [ fhir:value "gemcitabine" ]
       ]
     ];
     fhir:MedicationRequest.subject [
       fhir:Reference.reference [ fhir:value "Patient/example" ]
     ];
     fhir:MedicationRequest.dose [
       fhir:MedicationRequest.dose.dosageInstruction [
         fhir:index 0;
         fhir:Dosage.text [ fhir:value "1250 mg/m² IV over 30 minutes" ];
         fhir:Dosage.timing [
           fhir:Timing.repeat [
             fhir:Timing.repeat.duration [ fhir:value "30"^^xsd:decimal ];
             fhir:Timing.repeat.durationUnit [ fhir:value "min" ]
           ]
         ];
         fhir:Dosage.route [
           fhir:CodeableConcept.text [ fhir:value "IV" ]
         ];
         fhir:Dosage.doseAndRate [
           fhir:index 0;
           fhir:Dosage.doseAndRate.type [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/dose-rate-type" ];
               fhir:Coding.code [ fhir:value "ordered" ];
               fhir:Coding.display [ fhir:value "Ordered" ]
             ]
           ];
           fhir:Dosage.doseAndRate.doseQuantity [
             fhir:Quantity.value [ fhir:value "1250"^^xsd:decimal ];
             fhir:Quantity.unit [ fhir:value "mg/m²" ]
           ]
         ]
       ]
     ]
  ], [
     a fhir:MedicationRequest;
     fhir:index 1;
     fhir:Resource.id [ fhir:value "2222" ];
     fhir:MedicationRequest.status [ fhir:value "unknown" ];
     fhir:MedicationRequest.intent [ fhir:value "proposal" ];
     fhir:MedicationRequest.medication [
       fhir:CodeableReference.concept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
           fhir:Coding.code [ fhir:value "40048" ];
           fhir:Coding.display [ fhir:value "Carboplatin" ]
         ];
         fhir:CodeableConcept.text [ fhir:value "CARBOplatin" ]
       ]
     ];
     fhir:MedicationRequest.subject [
       fhir:Reference.reference [ fhir:value "Patient/example" ]
     ];
     fhir:MedicationRequest.dose [
       fhir:MedicationRequest.dose.dosageInstruction [
         fhir:index 0;
         fhir:Dosage.text [ fhir:value "AUC 5 IV over 30 minutes" ];
         fhir:Dosage.timing [
           fhir:Timing.repeat [
             fhir:Timing.repeat.duration [ fhir:value "30"^^xsd:decimal ];
             fhir:Timing.repeat.durationUnit [ fhir:value "min" ]
           ]
         ];
         fhir:Dosage.route [
           fhir:CodeableConcept.text [ fhir:value "IV" ]
         ];
         fhir:Dosage.doseAndRate [
           fhir:index 0;
           fhir:Dosage.doseAndRate.type [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/dose-rate-type" ];
               fhir:Coding.code [ fhir:value "ordered" ];
               fhir:Coding.display [ fhir:value "Ordered" ]
             ]
           ];
           fhir:Dosage.doseAndRate.doseQuantity [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://example.org/fhir/AUC-dose" ];
               fhir:Extension.valueInteger [ fhir:value "5"^^xsd:integer ]
             ]
           ]
         ]
       ]
     ]
  ];
  fhir:RequestOrchestration.identifier [
     fhir:index 0;
     fhir:Identifier.value [ fhir:value "requestorchestration-kdn5" ]
  ];
  fhir:RequestOrchestration.instantiatesCanonical [
     fhir:value "http://example.org/fhir/PlanDefinition/KDN5";
     fhir:index 0;
     fhir:link <http://example.org/fhir/PlanDefinition/KDN5>
  ];
  fhir:RequestOrchestration.status [ fhir:value "draft"];
  fhir:RequestOrchestration.intent [ fhir:value "plan"];
  fhir:RequestOrchestration.priority [ fhir:value "routine"];
  fhir:RequestOrchestration.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:RequestOrchestration.encounter [
     fhir:Reference.reference [ fhir:value "Encounter/example" ]
  ];
  fhir:RequestOrchestration.authoredOn [ fhir:value "2017-03-06T17:31:00Z"^^xsd:dateTime];
  fhir:RequestOrchestration.author [
     fhir:Reference.reference [ fhir:value "Practitioner/1" ]
  ];
  fhir:RequestOrchestration.action [
     fhir:index 0;
     fhir:RequestOrchestration.action.selectionBehavior [ fhir:value "exactly-one" ];
     fhir:RequestOrchestration.action.action [
       fhir:index 0;
       fhir:RequestOrchestration.action.selectionBehavior [ fhir:value "all" ];
       fhir:RequestOrchestration.action.action [
         fhir:index 0;
         fhir:RequestOrchestration.action.groupingBehavior [ fhir:value "sentence-group" ];
         fhir:RequestOrchestration.action.selectionBehavior [ fhir:value "exactly-one" ];
         fhir:RequestOrchestration.action.action [
           fhir:index 0;
           fhir:Element.id [ fhir:value "cycle-definition-1" ];
           fhir:RequestOrchestration.action.textEquivalent [ fhir:value "21-day cycle for 6 cycles" ];
           fhir:RequestOrchestration.action.timingTiming [
             fhir:Timing.repeat [
               fhir:Timing.repeat.count [ fhir:value "6"^^xsd:positiveInteger ];
               fhir:Timing.repeat.duration [ fhir:value "21"^^xsd:decimal ];
               fhir:Timing.repeat.durationUnit [ fhir:value "d" ]
             ]
           ];
           fhir:RequestOrchestration.action.action [
             fhir:index 0;
             fhir:Element.id [ fhir:value "action-1" ];
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle" ];
               fhir:Element.extension [
                 fhir:index 0;
                 fhir:Extension.url [ fhir:value "day" ];
                 fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ]
               ], [
                 fhir:index 1;
                 fhir:Extension.url [ fhir:value "day" ];
                 fhir:Extension.valueInteger [ fhir:value "8"^^xsd:integer ]
               ]
             ];
             fhir:RequestOrchestration.action.textEquivalent [ fhir:value "Gemcitabine 1250 mg/m² IV over 30 minutes on days 1 and 8" ];
             fhir:RequestOrchestration.action.resource [
               fhir:Reference.reference [ fhir:value "#1111" ]
             ]
           ], [
             fhir:index 1;
             fhir:Element.id [ fhir:value "action-2" ];
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle" ];
               fhir:Element.extension [
                 fhir:index 0;
                 fhir:Extension.url [ fhir:value "day" ];
                 fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ]
               ]
             ];
             fhir:RequestOrchestration.action.textEquivalent [ fhir:value "CARBOplatin AUC 5 IV over 30 minutes on Day 1" ];
             fhir:RequestOrchestration.action.relatedAction [
               fhir:index 0;
               fhir:RequestOrchestration.action.relatedAction.targetId [ fhir:value "action-1" ];
               fhir:RequestOrchestration.action.relatedAction.relationship [ fhir:value "concurrent-with-start" ]
             ];
             fhir:RequestOrchestration.action.resource [
               fhir:Reference.reference [ fhir:value "#2222" ]
             ]
           ]
         ]
       ]
     ]
  ]] .

# - ontology header ------------------------------------------------------------

[a owl:Ontology;
  owl:imports fhir:fhir.ttl] .

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


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.