Release 5 Preview #2

This page is part of the FHIR Specification (v4.4.0: R5 Preview #2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R4B R4 R3

Requestgroup-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 group illustrating related actions with offsets (id = "example")

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

<RequestGroup xmlns="http://hl7.org/fhir">
  <id value="example"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">Example RequestGroup 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="requestgroup-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> 
      <reference value="Practitioner/1"/> 
    </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> 
        <actionId 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> 
</RequestGroup> 

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.