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# Data Element Name DataType Usage Vocabulary Cardinality Item # Length C.LEN Flags
RCP
1 Query Priority ID O [0..1] 00027 [1..1]
2 Quantity Limited Request CQ O [0..1] 00031
3 Response Modality CNE O [0..1] 01440
4 Execution and Delivery Time DTM C [0..1] 01441
5 Modify Indicator ID O [0..1] 01443 [1..1]
6 Sort-by Field SRT O [0..*] 01624
7 Segment group inclusion ID O [0..*] 01594 [1..256]

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.