HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

RGS segment

The RGS segment is used to identify relationships between resources identified for a scheduled event. This segment can be used, on a site specified basis, to identify groups of resources that are used together within a scheduled event, or to describe some other relationship between resources. To specify related groups of resources within a message, begin each group with an RGS segment, and then follow that RGS with one or more of the Appointment Information segments (AIG, AIL, AIS, or AIP). If a message does not require any grouping of resources, then specify a single RGS in the message, and

The shape of one line

segmentRGS|RGS-1Set ID - RGS|RGS-2Segment Action Code|RGS-3Resource Group ID

required required in some cases optional

Count the pipes to find a field, and count the empty ones too: an empty field still holds its place. Leave out the separator before RGS-3 and its value arrives as RGS-2, so the receiver stores Resource Group ID as Segment Action Code.

This page carries the RGS field table as published and nothing beyond it. The field notes, vendor behaviour, FHIR mapping and parsing guidance that thePID page has are still to be written for RGS.

Every field

SEQLENDTOPTRP/#TBL#ITEM#Element nameCardinality
RGS-14SIR01203Set ID - RGS1..1
RGS-23IDC020600763Segment Action Code0..1
250CEO01204Resource Group ID0..1

RGS-3 is a CE, which holds 6 components separated by carets.

SEQLENDTOPTTBL#Component name
CE.120STOIdentifier
CE.2199STOText
CE.320IDO0396Name of Coding System
CE.420STOAlternate Identifier
CE.5199STOAlternate Text
CE.620IDO0396Name of Alternate Coding System

Message types carrying RGS

RGS appears in 5 message structures, belonging to 5 message types.