The Demo site for our new HL7 Version 2+ (plus) Standard
visit the hl7 website

Draft Website - For Review Purposes Only

RCP - Response Control Parameter Segment

The RCP segment is used to restrict the amount of data that should be returned in response to query.

HL7 Attribute Table - RCP - response control parameter segment
Seq# DataElement Description Must Implement Flags Cardinality Length C.LEN Vocabulary DataType
RCP
1 00027 Query Priority [0..1] [1..1] ID
2 00031 Quantity Limited Request [0..1] CQ
3 01440 Response Modality [0..1] CNE
4

01441 Execution and Delivery Time MAY
True:
False:
C
[1..1]
[0..1]
DTM
5 01443 Modify Indicator [0..1] [1..1] ID
6 01624 Sort-by Field [0..*] SRT
7 01594 Segment group inclusion [0..*] [1..256] ID

RCP-1: Query Priority (ID) 00027

Definition: This field contains the time frame in which the response is expected. Refer to HL7 Table 0091 – Query priority in Chapter 2C, Code Tables, for valid values. Table values and subsequent fields specify time frames for response.

RCP-2: Quantity Limited Request (CQ) 00031

Definition: This field contains the maximum length of the response that can be accepted by the requesting system. Valid entries are numerical values (in the first component) given in the units specified in the second component. Default is LI (lines).

Refer to HL7 Table 0126 – Quantity limited request in Chapter 2C, Code Tables, for valid entries for the second component. In a segment pattern response, a line is defined as a single segment.

RCP-3: Response Modality (CNE) 01440

Definition: This field specifies the timing and grouping of the response message(s). Refer to HL7 Table 0394 – Response modality in Chapter 2C, Code Tables, for valid values.

RCP-4: Execution and Delivery Time (DTM) 01441

Definition: Specifies the time the response is to be returned. This field is only valued when RCP-1-Query priority contains the value D (Deferred).

RCP-5: Modify Indicator (ID) 01443

Definition: This field specifies whether the subscription is new or is being modified. Refer to HL7 Table 0395 – Modify indicator in Chapter 2C, Code Tables, for valid values.

RCP-6: Sort-by Field (SRT) 01624

Definition: For queries requesting a tabular response, this field specifies by which fields the response is to be sorted, and the order(s) in which sorting is to be performed. When the QSC variant is not in use, the values specified for the first component in this field are derived from the ColName field of the Output Specification and Commentary; see section 5.3.3.1, "Query Profile template for query with tabular response." When the QSC variant is used, the values are derived from the ColName field of the Input/Output Specification and Commentary; see section 5.9.4.1, "Pharmacy example" for an example.

Each repetition of this field specifies a single sort field. Thus, the first repetition of this field specifies the primary sort field; the second repetition specifies the secondary sort field; etc.

RCP-7: Segment group inclusion (ID) 01594

Definition: Specifies those optional segment groups which are to be included in the response. Refer to HL7 Table 0391—Segment group in Chapter 2C, Code Tables, for values for Segment Group. This is a repeating field, to accommodate inclusion of multiple segment groups. The default for this field, not present, means that all relevant groups are included.