Snapshot 3: Connectathon 32 Base

This is Snapshot #3 for FHIR R5, released to support Connectathon 32. 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 ]
             ] #   AUC as dose unit or as an extension?  
           ] #   <value value=\"5\" \/>\n          <unit value=\"AUC\" \/>\n          <system value=\"http:\/\/snomed.info\/sct\" \/>\n          <code value=\"413573002\" \/>  
         ]
       ]
     ]
  ]; # 
  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" ]; #   list of regimen options. in this case only one  
     fhir:RequestOrchestration.action.action [
       fhir:index 0;
       fhir:RequestOrchestration.action.selectionBehavior [ fhir:value "all" ]; #   list of regimen parts. in this case only one  
       fhir:RequestOrchestration.action.action [
         fhir:index 0;
         fhir:RequestOrchestration.action.groupingBehavior [ fhir:value "sentence-group" ]; #   list of cycle definitions. in this case only one  
         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" ]
             ]
           ] #   list of regimen entry references for this regimen part  ,   references would duplicated in each cycle definition option\n          (see codesystem-action-grouping-behavior.html#sentence-group) 
         ] #   end of regimen entries  
       ] #   end of cycle definitions  
     ] #   end of regimen parts  
  ]] . #   end of regimen options  

# - 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.