The RDF segment defines the content of the row data segments (RDT) in the tabular response (RTB).
As an optional segment in a query either a QBP or QBS, this segment can be used to limit the number of columns returned and to specify what column positions the fields occupy (where supported, these features can be used to override the defaults for the particular query). If omitted, all fields defined for the query are returned in their default column order.
As a required segment in a tabular response (RTB) to either a QBP or QBS, this segment defines the contents of the table row data (RDT) segments that follows. It is not necessarily an echo back of the segment as it appeared in the query.
|1||00701||Number of Columns per Row||SHALL||=||[1..1]||3||NM|
Definition: This field specifies the number of data columns (and therefore the number of fields) contained within each row of returned data.
Definition: Each repetition of this field consists of three components:
The segment field name that identifies the field occupying the column. The segment field name SHALL agree with the column name as it appears in the Query Profile. Use of the @ sign as prefix to the column name is optional.
The 2 or 3 character HL7 data type, as defined in Chapter 2. Refer to HL7 Table 0440 – Data types in Chapter 2C, Code Tables, for valid values.
The maximum width of the column, as dictated by the responding system. (This may vary from the HL7-defined maximum field length.)