RequestGroup

The FHIR R4 RequestGroup resource represents a group of one or more clinical requests that are intended to be executed together. It can include medications, procedures, services, or referrals that form part of a care plan or order set. RequestGroup supports conditional logic, timing, and dependencies between grouped requests.

Use Cases

  • Represent a care pathway that involves multiple ordered actions
  • Group related service or medication requests into a coordinated bundle
  • Define dependencies between requests (e.g., “do A, then B”)

Base URLs

Authentication

All requests require OAuth 2.0 authentication using a Bearer Token. Unauthorized requests return 401 Unauthorized responses.

Required Scopes

  • requestgroup.read for GET
  • requestgroup.write for POST, PUT, DELETE

For more information, go to: OAuth 2.0 Authentication

Supported Methods

MethodOperationDescription
GETRead RequestGroupRetrieves a specific RequestGroup record by its FHIR ID.
GETSearch RequestGroupSearches for RequestGroup records associated with a patient.
POSTCreate RequestGroupSubmits a new RequestGroup record to the Health Gorilla FHIR server.
GETDownload RequestGroup PDFRetrieves a PDF version of the RequestGroup document, formatted for human-readable display.

Frequently Used Search Parameters

ParameterDescriptionFHIR Value Set or Example ValuesFHIR Data TypeRequired
patientFilters by patient IDPatient/{id}ReferenceYes
authoredFilters by date the request was authoredge2023-01-01, le2023-12-31dateNo
statusFilters by status of the request groupRequestStatus (draft, active, completed)tokenNo
encounterFilters by associated encounterEncounter/{id}ReferenceNo
identifierSearches by group identifier12345-abctokenNo

Commonly Returned Resource Attributes

AttributeDescriptionExample ValuesFHIR Data TypeRequired
idUnique FHIR ID for the request grouprequestgroup-1234idYes
statusStatus of the groupactivecodeYes
intentPurpose of the request grouporder, plancodeYes
subjectPatient for whom the requests are being orderedPatient/{id}Reference(Patient)Yes
encounterAssociated clinical encounterEncounter/{id}Reference(Encounter)No
authoredOnWhen the group was created2023-07-10T09:00:00-08:00dateTimeNo
authorWho authored the groupPractitioner/{id}Reference(Practitioner)No
reasonCodeClinical or administrative reason for the request groupannual checkup, chest painCodeableConcept[]No
actionEmbedded action definitionsEach item in action can include timing, conditions, links to referenced requests (e.g., ServiceRequest), and sequence logic.RequestGroup.ActionNo

Webhooks

Clients can receive webhook notifications when RequestGroup records are created or updated. These are useful when monitoring care plans or bundled orders initiated during patient encounters. For more information, go to: Webhooks and Polling

Error Handling

All RequestGroup operations follow standard Health Gorilla error handling, including use of FHIR OperationOutcome for structured responses. For more information, go to: Error Handling

Additional Resources