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 follow it with all of the Appointment Information segments for the scheduled event. (At least one RGS segment is required in each message - even if no grouping of resources is required - to allow parsers to properly understand the message.)
HL7 Attribute Table - RGS - Resource Group
Base Framework | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Seq# | Data Element | Description | Flags | Implement | Cardinality | Length | C.LEN | Vocabulary | Data Type | |
RGS | ||||||||||
1 | 01203 | Set ID - RGS | SHOULD | [1..1] | [1..4] | SI Sequence ID | ||||
2 | 00763 | Segment Action Code | C Condition defined for this element | MAY | [0..1] | [1..1] | univ: SegmentActionCode (CD) hl7VS-segmentActionCode (VS) segmentAction (CS) | ID Coded Value for HL7 Defined Tables | ||
3 | 01204 | Resource Group ID | MAY | [0..1] | CWE Coded with Exceptions |
The root for the expression is on the segment.
Seq. | Referenced Elements | Introduction | Invariant | Comment |
---|---|---|---|---|
1 | ? |
Seq# | Data Element | Description | Flags | Implement | Cardinality | Length | C.LEN | Vocabulary | Data Type | |
---|---|---|---|---|---|---|---|---|---|---|
RGS | ||||||||||
1 | 01203 | Set ID - RGS | SHALL | [1..1] | [1..4] | SI Sequence ID | ||||
2 | 00763 | Segment Action Code | C Condition defined for this element | MAY | [0..1] | [1..1] | univ: SegmentActionCode (CD) hl7VS-segmentActionCode (VS) segmentAction (CS) | ID Coded Value for HL7 Defined Tables | ||
3 | 01204 | Resource Group ID | MAY | [0..1] | CWE Coded with Exceptions |
Base Framework | Base Standard Profile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Seq# | Data Element | Description | Flags | Implement | Cardinality | Length | C.LEN | Vocabulary | Data Type | Implement | Vocabulary | |
RGS | ||||||||||||
1 | 01203 | Set ID - RGS | SHOULD | [1..1] | [1..4] | SI Sequence ID | SHALL | |||||
2 | 00763 | Segment Action Code | C Condition defined for this element | MAY | [0..1] | [1..1] | univ: SegmentActionCode (CD) hl7VS-segmentActionCode (VS) segmentAction (CS) | ID Coded Value for HL7 Defined Tables | MAY | |||
3 | 01204 | Resource Group ID | MAY | [0..1] | CWE Coded with Exceptions | MAY |
Base Framework | Base Standard Profile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Seq# | Data Element | Description | Flags | Optionality | Repetition | Length | C.LEN | Table | Data Type | Optionality | Table | |
RGS | ||||||||||||
1 | 01203 | Set ID - RGS | O | [1..4] | SI Sequence ID |
R | ||||||
2 | 00763 | Segment Action Code | C Condition defined for this element |
O | [1..1] | ID Coded Value for HL7 Defined Tables |
(0206) | |||||
3 | 01204 | Resource Group ID | O | CWE Coded with Exceptions |
Seq# | Data Element | Description | Optionality | Repetition | Length | C.LEN | Table | Data Type | |
---|---|---|---|---|---|---|---|---|---|
RGS | |||||||||
1 | 01203 | Set ID - RGS | R | [1..4] | SI Sequence ID |
||||
2 | 00763 | Segment Action Code | C | [1..1] | (0206) | ID Coded Value for HL7 Defined Tables |
|||
3 | 01204 | Resource Group ID | O | CWE Coded with Exceptions |
Definition: This field contains a number that uniquely identifies the information represented by this segment in this transaction for the purposes of addition, change or deletion.
Definition: This field contains the action to be taken when updating or modifying information in this segment from previously sent interface transactions. Refer to HL7 Table 0206 - Segment Action Code in Chapter 2C, Code Tables, for valid values.
This field is conditionally required. It is required for all updating or modifying trigger events.
Definition: This field contains an identifier code describing the group of resources following this RGS segment.