The following is a query of the EKG system for the data for a particular patient number 0123456-1 for reports that have been modified or created since 1/1/88. The response ends with a continuation pointer. A continuation query follows, in reply to which a continuation response is sent.
Query (QRY)
MSH|^~\&|CBD||EKG||||QRY^R02|CDB22222|P<CR>
QRD|198904180943|R|I|Q4412|||10|RD|0123456-1|RES<CR>
QRF|EKG||198801010000<CR>
Response
MSH|^~\&|EKG||CDB||||ORF^R04|X981672|P<CR>
MSA|AA|CDB22222|P<CR>
QRD|198904180943|R|I|Q4412|||10|RD|0123456-1|RES<CR>
QRF|EKG||198804010000<CR>
PID|1|0123456-1||ROBERTSON^JOHN^H|||||||9821111<CR>
OBR|1|43215^OE|98765^EKG|93000^EKG REPORT|R|198801111000|198801111330|||RMT||||
... 1988011 11330|?|P030||||||198801120930||||||88-126666|A111|
... VIRANYI ^ANDREW<CR>
OBX|1|ST|8897-1^QRS COMPLEX:^LN||91|/MIN|60-100||||F<CR>
OBX|2|ST|8894-8^P WAVE:^LN|||/MIN|60-100||||F<CR>
OBX|3|ST|8625-6^P-R INTERVAL:^LN||0|/MSEC|1.06-.10||||F<CR>
OBX|4|ST|8633-0^QRS DURATION:^LN||368|/MSEC|.18-.22||||F<CR>
...
...
...
OBX|8|CE|8601-7^EKG IMPRESSION:^LN|1|^ATRIAL FIBRILATION||||||F<CR>
OBX|9|CE|8601-7^EKG IMPRESSION:^LN|2|^ST DEPRESSION||||||F<CR> OBX|109|FT||93000&ADT^EKG COMMENT||\.in+4\\.ti-4\ 1. When compared with EKG of
... 31-oct-88 ventricular rate has increased by 30 bpm.\.sp\\.ti-4\
... 2. Criteria for Lateral infarct are no longer present.|||||F<cr>
OBR|2|43217^OE|98767^EKG|93000^EKG REPORT||198810311004|198810311004||||?|||198810311004|?|P030||||||198810311744||||||
... 88-126689|A122|BREAL|WILLIAM<CR>
...
...
...
DSC|1896X22;0123456-1<CR>
Continuation query
MSH|^~\&|CDB||EKG||||QRY^R02|CDB22289|P<CR>
QRD|198904180943|R|I|Q4412|||10|RD|0123456-1|RES<CR>
QRF|EKG||1988040100000<CR>
DSC|1896X22;0123456-1<CR>
Continuation response
MSH|^~\&|EKG||CDB||||ORF^R04|X981672|P<CR>
MSA|AA|CDB22289|P<CR>
QRD|198904180943|R|I|Q4412|||10|RD|0123456-1RES<CR>
QRF|EKG||198804010000<CR>
PID||0123456-1||ROBERTSON^JOHN^H|||||||9821111<CR>
OBR| ...
...
...