HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

QPD segment

The QPD segment defines the parameters of the query.

The shape of one line

segmentQPD|QPD-1Message Query Name|QPD-2Query Tag|QPD-3User Parameters

required required in some cases kept for older systems, still counted

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 QPD-2 and its value arrives as QPD-1, so the receiver stores Query Tag as Message Query Name.

This page carries the QPD 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 QPD.

Every field

SEQLENDTOPTRP/#TBL#ITEM#Element nameCardinality
250CER047101375Message Query Name1..1

QPD-1 is a CE, which holds 6 components separated by carets.

SEQLENDTOPTTBL#Component name
CE.120STOIdentifier
CE.2199STOText
CE.320IDO0396Name of Coding System
CE.420STOAlternate Identifier
CE.5199STOAlternate Text
CE.620IDO0396Name of Alternate Coding System
QPD-232STC00696Query Tag0..1
QPD-3256 variesVARIESU01435User Parameters (in successive fields)0..1

Message types carrying QPD

QPD appears in 22 message structures, belonging to 6 message types.