<?xml version="1.0" encoding="UTF-8"?><RequestOrchestration xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <meta>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HTEST"/>
      <display value="test health data"/>
    </security>
  </meta>
  <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>