DVBCHLQ ;ALB/JLU-Processing HL7 Query message 1 of 2 routines ;1/28/93
Source file <DVBCHLQ.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| BEG | ;Main entry point for this routine.
 | 
|
| EXIT | ||
| START | ;This subroutine will check the segment type for QRD
 | 
|
| CHKIND | ;Checking for the requestor's DUZ
 | 
|
| QRD | ;This subroutine is to break apart the QRD segment of a query
 | 
|
| SSN | ;Checking the existence of the patient with ssn
 | 
|
| CHKREQ | ;Checks for an open exam
 | 
|
| ACK | ;builds new QRD and MSA to send back to requestor
 | 
|
| SET | ;calls the subroutines to set PID and OBR
 |