DVBCHLQ ;ALB/JLU-Processing HL7 Query message 1 of 2 routines ;1/28/93
Source file <DVBCHLQ.m>
Package | Total | Call Graph |
---|---|---|
Automated Medical Information Exchange | 1 | (OBR,PID)^DVBCHLUT |
Health Level Seven | 1 | EN1^HLTRANS |
Registration | 1 | DEM^VADPT |
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
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | SSN+4, SSN+7 |
^DVB(396.3 - [#396.3] | SSN+8, CHKREQ+7, SET+2 |
^DVB(396.4 - [#396.4] | CHKREQ+2, CHKREQ+4, CHKREQ+5, CHKREQ+6, SET+1 |
^DVB(396.6 - [#396.6] | SET+3 |
^HL(772 - [#772] | START+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DFN | EXIT!, SSN+10* |
DVBC | EXIT!, ACK+2* |
DVBC1 | EXIT! |
DVBCARY | EXIT!, START+3*, START+4 |
DVBCERR | BEG+2, BEG+3, EXIT!, START+1!, START+5*, CHKIND+1*, QRD+4*, QRD+5*, SSN+6*, SSN+7* , SSN+9*, SSN+10*, SSN+11*, CHKREQ+8*, ACK+1, ACK+2, ACK+3 |
DVBCEXAM | EXIT!, CHKREQ+3*, CHKREQ+5*, CHKREQ+6, SET+1 |
DVBCEXN | CHKREQ+1~, CHKREQ+2*, CHKREQ+4, CHKREQ+5, SET+3 |
DVBCEXTY | EXIT!, SET+3* |
DVBCNT | EXIT!, START+2*, CHKREQ+2, CHKREQ+8, ACK+5, SET+7* |
DVBCNT1 | EXIT!, QRD+1*, CHKREQ+2 |
DVBCPDFN | EXIT!, SSN+4*, SSN+6, SSN+7, SSN+8, SSN+10, CHKREQ+2, CHKREQ+4, CHKREQ+5 |
DVBCPLCR | SET+5! |
DVBCQRD | EXIT!, START+4*, START+5, QRD+1, QRD+2, ACK+4 |
DVBCRDFN | EXIT!, SSN+8*, SSN+9, SET+1*, SET+2 |
DVBCRQDT | EXIT!, SET+2* |
DVBCSEG | EXIT!, START+2* |
DVBCSRX | EXIT!, SSN+2*, SSN+4, SSN+7 |
DVBCSSN | EXIT!, QRD+2*, QRD+4, QRD+5, SSN+1*, SSN+2, SSN+3*, SSN+4, SSN+7 |
DVBCSTAT | CHKREQ+1~, CHKREQ+3*, CHKREQ+4*, CHKREQ+5 |
ENTRY1 | CHKREQ+1~, CHKREQ+6*, CHKREQ+7 |
>> HLDA | START+3 |
>> HLDUZ | CHKIND+1 |
>> HLECH | QRD+1, ACK+5 |
>> HLFS | START+5, QRD+1, QRD+2, ACK+1, ACK+3, ACK+5 |
>> HLMID | ACK+3 |
HLSDATA | ACK+2! |
HLSDATA(1 | ACK+1*, ACK+2* |
HLSDATA(2 | ACK+3* |
HLSDATA(3 | ACK+4*, ACK+5* |
>> HLTRANS | ACK+6 |
U | SET+1, SET+2, SET+3 |
VADM | EXIT!, SSN+10! |
VADM(1 | SSN+11 |
VAERR | EXIT!, SSN+10! |