R4 Ballot #1 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.3.0: R4 Ballot 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/ABallot Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw XML (canonical form)

Jump past Narrative

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

<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"/> 
      <medicationCodeableConcept> 
        <text value="Medication 1"/> 
      </medicationCodeableConcept> 
      <subject> 
        <reference value="Patient/example"/> 
      </subject> 
    </MedicationRequest> 
  </contained> 
  <contained> 
    <MedicationRequest> 
      <id value="medicationrequest-2"/> 
      <status value="unknown"/> 
      <intent value="proposal"/> 
      <medicationCodeableConcept> 
        <text value="Medication 2"/> 
      </medicationCodeableConcept> 
      <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> 
  <context> 
    <reference value="Encounter/example"/> 
  </context> 
  <authoredOn value="2017-03-06T17:31:00Z"/> 
  <author> 
    <reference value="Practitioner/1"/> 
  </author> 
  <reasonCode> 
    <text value="Treatment"/> 
  </reasonCode> 
  <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.