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

18.8.141 RCP - response control parameter segment (5.5.6)

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

Base Framework
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
RCP
100027Query Priority MAY[0..1][1..1]univ: V2QueryPriority (CD) hl7VS-queryPriority (VS) queryPriority (CS)
ID

Coded Value for HL7 Defined Tables

200031Quantity Limited Request MAY[0..1] univ: QuantityLimitedRequest (CD)
CQ

Composite Quantity with Units

301440Response Modality MAY[0..1] univ: V2ResponseModality (CD) hl7VS-responseModality (VS) responseModality (CS)
CNE

Coded with No Exceptions


401441Execution and Delivery Time
C

Condition defined for this element

MAY[0..1] 
DTM

Date/Time

501443Modify Indicator MAY[0..1][1..1]univ: V2ModifyIndicator (CD) hl7VS-modifyIndicator (VS) modifyIndicator (CS)
ID

Coded Value for HL7 Defined Tables

601624Sort-by Field MAY[0..*] 
SRT

Sort Order

701594Segment group inclusion  MAY[0..*][1..256]univ: SegmentGroup (CD) hl7VS-segmentGroup (VS) segmentGroup (CS)
ID

Coded Value for HL7 Defined Tables

Conditions/Invariants

The root for the expression is on the segment.

Seq. Referenced Elements Introduction Invariant Comment
1 ?

Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
RCP
100027Query Priority MAY[0..1][1..1]univ: V2QueryPriority (CD) hl7VS-queryPriority (VS) queryPriority (CS)
ID

Coded Value for HL7 Defined Tables

200031Quantity Limited Request MAY[0..1] univ: QuantityLimitedRequest (CD) hl7VS-quantityLimitedRequest (VS) quantityLimitedRequest (CS)
CQ

Composite Quantity with Units

301440Response Modality MAY[0..1] univ: V2ResponseModality (CD) hl7VS-responseModality (VS) responseModality (CS)
CNE

Coded with No Exceptions


401441Execution and Delivery Time
C

Condition defined for this element

MAY[0..1] 
DTM

Date/Time

501443Modify Indicator MAY[0..1][1..1]univ: V2ModifyIndicator (CD) hl7VS-modifyIndicator (VS) modifyIndicator (CS)
ID

Coded Value for HL7 Defined Tables

601624Sort-by Field MAY[0..*] 
SRT

Sort Order

701594Segment group inclusion  MAY[0..*][1..256]univ: SegmentGroup (CD) hl7VS-segmentGroup (VS) segmentGroup (CS)
ID

Coded Value for HL7 Defined Tables

Base FrameworkBase Standard Profile
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData TypeImplementVocabulary
RCP 
100027Query Priority MAY[0..1][1..1]univ: V2QueryPriority (CD) hl7VS-queryPriority (VS) queryPriority (CS)
ID

Coded Value for HL7 Defined Tables

MAY 
200031Quantity Limited Request MAY[0..1] univ: QuantityLimitedRequest (CD)
CQ

Composite Quantity with Units

MAYhl7VS-quantityLimitedRequest (VS) quantityLimitedRequest (CS)
301440Response Modality MAY[0..1] univ: V2ResponseModality (CD) hl7VS-responseModality (VS) responseModality (CS)
CNE

Coded with No Exceptions

MAY 

401441Execution and Delivery Time
C

Condition defined for this element

MAY[0..1] 
DTM

Date/Time

MAY
501443Modify Indicator MAY[0..1][1..1]univ: V2ModifyIndicator (CD) hl7VS-modifyIndicator (VS) modifyIndicator (CS)
ID

Coded Value for HL7 Defined Tables

MAY 
601624Sort-by Field MAY[0..*] 
SRT

Sort Order

MAY
701594Segment group inclusion  MAY[0..*][1..256]univ: SegmentGroup (CD) hl7VS-segmentGroup (VS) segmentGroup (CS)
ID

Coded Value for HL7 Defined Tables

MAY 
Base Framework Base Standard Profile
Seq# Data Element Description Flags Optionality Repetition Length C.LEN Table Data Type Optionality Table
RCP  
1 00027 Query Priority   O   [1..1]  
ID

Coded Value for HL7 Defined Tables

  (0091)
2 00031 Quantity Limited Request   O      
CQ

Composite Quantity with Units

  (0126)
3 01440 Response Modality   O      
CNE

Coded with No Exceptions

  (0394)

4 01441 Execution and Delivery Time
C

Condition defined for this element

O      
DTM

Date/Time

   
5 01443 Modify Indicator   O   [1..1]  
ID

Coded Value for HL7 Defined Tables

  (0395)
6 01624 Sort-by Field   O Y    
SRT

Sort Order

   
7 01594 Segment group inclusion   O Y [1..256]  
ID

Coded Value for HL7 Defined Tables

  (0391)
Seq# Data Element Description Optionality Repetition Length C.LEN Table Data Type
RCP
1 00027 Query Priority O   [1..1] (0091)
ID

Coded Value for HL7 Defined Tables

2 00031 Quantity Limited Request O     (0126)
CQ

Composite Quantity with Units

3 01440 Response Modality O     (0394)
CNE

Coded with No Exceptions

4 01441 Execution and Delivery Time C      
DTM

Date/Time

5 01443 Modify Indicator O   [1..1] (0395)
ID

Coded Value for HL7 Defined Tables

6 01624 Sort-by Field O Y    
SRT

Sort Order

7 01594 Segment group inclusion O Y [1..256] (0391)
ID

Coded Value for HL7 Defined Tables

18.8.141.1 RCP field definitions (5.5.6.0)

18.8.141.2 RCP-1 Query Priority (ID) 00027 (5.5.6.1)

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.

18.8.141.3 RCP-2 Quantity Limited Request (CQ) 00031 (5.5.6.2)

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.

18.8.141.4 RCP-3 Response Modality (CNE) 01440 (5.5.6.3)

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.

18.8.141.5 RCP-4 Execution and Delivery Time (DTM) 01441 (5.5.6.4)

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).

18.8.141.6 RCP-5 Modify Indicator (ID) 01443 (5.5.6.5)

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.

18.8.141.7 RCP-6 Sort-by Field (SRT) 01624 (5.5.6.6)

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.

18.8.141.8 RCP-7 Segment Group Inclusion (ID) 01594 (5.5.6.7)

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.