EDR_R07
EQQ - embedded query language query (event Q04)
7 segments
This query provides an envelope with which a query expressed in a language (e.g., SQL) is packaged and sent to the responding system. It is meant to provide the maximum query function without reinventing the wheel.
The EQQ with its EQL query defining segment supports free-form select statements, based on the query language of choice (e.g., SQL).
Message Structure
7 segments
R RequiredO Optional Choice
MSH
R1SFT
O*MSA
R1ERR
O1QAK
R1DSP
R*DSC
O1