HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

RDF segment

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.

The shape of one line

segmentRDF|RDF-1Number of Columns per…|RDF-2Column Description

required

Count the pipes to find a field, and count the empty ones too: an empty field still holds its place. Leave out the separator before RDF-2 and its value arrives as RDF-1, so the receiver stores Column Description as Number of Columns per Row.

This page carries the RDF field table as published and nothing beyond it. The field notes, vendor behaviour, FHIR mapping and parsing guidance that thePID page has are still to be written for RDF.

Every field

SEQLENDTOPTRP/#TBL#ITEM#Element nameCardinality
RDF-13NMR00701Number of Columns per Row1..1
40RCDRY044000702Column Description1..*

RDF-2 is a RCD, which holds 3 components separated by carets.

SEQLENDTOPTTBL#Component name
RCD.112STOSegment Field Name
RCD.23IDO0440HL7 Data Type
RCD.32NMOMaximum Column Width

Message types carrying RDF

RDF appears in 5 message structures, belonging to 3 message types.