HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

EQL segment

Embedded Query Language

The shape of one line

segmentEQL|EQL-1Query Tag|EQL-2Query/Response Format…|EQL-3EQL Query Name|EQL-4EQL Query Statement

required optional

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 EQL-2 and its value arrives as EQL-1, so the receiver stores Query/Response Format Code as Query Tag.

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

Every field

SEQLENDTOPTRP/#TBL#ITEM#Element nameCardinality
EQL-132STO00696Query Tag0..1
EQL-21IDR010600697Query/Response Format Code1..1
250CER00709EQL Query Name1..1

EQL-3 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
EQL-44096STR00710EQL Query Statement1..1

No message structure in v2.5.1 carries EQL, and no other segment is linked to it here. The standard defines the segment on its own.