Release 5

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

Example RequestOrchestration/example (XML)

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

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

Simple example request orchestration illustrating related actions with offsets (id = "example")

<?xml version="1.0" encoding="UTF-8"?>

<RequestOrchestration xmlns="http://hl7.org/fhir">
  <id value="example"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">Example RequestOrchestration illustrating related actions to administer medications
       in sequence with time delay.</div> 
  </text> 
  <contained> 
    <MedicationRequest> 
      <id value="medicationrequest-1"/> 
      <status value="unknown"/> 
      <intent value="proposal"/> 
      <medication> 
        <concept> 
        <text value="Medication 1"/> 
        </concept> 
      </medication> 
      <subject> 
        <reference value="Patient/example"/> 
      </subject> 
    </MedicationRequest> 
  </contained> 
  <contained> 
    <MedicationRequest> 
      <id value="medicationrequest-2"/> 
      <status value="unknown"/> 
      <intent value="proposal"/> 
      <medication> 
      <concept> 
        <text value="Medication 2"/> 
        </concept> 
      </medication> 
      <subject> 
        <reference value="Patient/example"/> 
      </subject> 
    </MedicationRequest> 
  </contained> 
  <identifier> 
    <value value="requestorchestration-1"/> 
  </identifier> 
  <groupIdentifier> 
    <system value="http://example.org/treatment-group"/> 
    <value value="00001"/> 
  </groupIdentifier> 
  <status value="draft"/> 
  <intent value="plan"/> 
  <priority value="routine"/> 
  <subject> 
    <reference value="Patient/example"/> 
  </subject> 
  <encounter> 
    <reference value="Encounter/example"/> 
  </encounter> 
  <authoredOn value="2017-03-06T17:31:00Z"/> 
  <author> 
    <reference value="Practitioner/1"/> 
  </author> 
  <reason> 
    <concept> 
      <text value="Treatment"/> 
    </concept> 
  </reason> 
  <note> 
    <text value="Additional notes about the request group"/> 
  </note> 
  <action> 
    <prefix value="1"/> 
    <title value="Administer Medications"/> 
    <description value="Administer medications at the appropriate time"/> 
    <textEquivalent value="Administer medication 1, followed an hour later by medication 2"/> 
    <timingDateTime value="2017-03-06T19:00:00Z"/> 
    <participant> 
      <actorReference> 
        <reference value="Practitioner/1"/> 
      </actorReference> 
    </participant> 
    <groupingBehavior value="logical-group"/> 
    <selectionBehavior value="all"/> 
    <requiredBehavior value="must"/> 
    <precheckBehavior value="yes"/> 
    <cardinalityBehavior value="single"/> 
    <action id="medication-action-1">
      <description value="Administer medication 1"/> 
      <type> 
      <coding> <code value="create"/> </coding> 
      </type> 
      <resource> 
        <reference value="#medicationrequest-1"/> 
      </resource> 
    </action> 
    <action id="medication-action-2">
      <description value="Administer medication 2"/> 
      <relatedAction> 
        <targetId value="medication-action-1"/> 
        <relationship value="after-end"/> 
        <offsetDuration> 
          <value value="1"/> 
          <unit value="h"/> 
        </offsetDuration> 
      </relatedAction> 
      <type> 
      <coding> <code value="create"/> </coding> 
      </type> 
      <resource> 
        <reference value="#medicationrequest-2"/> 
      </resource> 
    </action> 
  </action> 
</RequestOrchestration> 

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.