HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

QID segment

The QID segment contains the information necessary to uniquely identify a query. Its primary use is in query cancellation or subscription cancellation. 5.5.3.0 QID field definitions 5.5.3.1 QID-1 Query Tag (ST) 00696 Definition: This field identifies the instance of a query. 5.5.3.2 QID-2 Message Query Name (CE) 01375

The shape of one line

segmentQID|QID-1Query Tag|QID-2Message Query Name

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

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

Every field

SEQLENDTOPTRP/#TBL#ITEM#Element nameCardinality
QID-132STR00696Query Tag1..1
250CER047101375Message Query Name1..1

QID-2 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

Message types carrying QID

QID appears in 1 message structure, belonging to 1 message type.