BQIDCAPH ;GDIT/HS/ALA-Scheduled Visits by Hospital location ; 17 Nov 2005 6:04 PM
Source file <BQIDCAPH.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
FNDALL | ; Loop through all patients since cancelled status selected
; If timeframe is selected populate start and end dates |
|
FND | ; Find the patients with appts for one or more hospital locations
|
|
FND1 | ; Check one hospital location
; If timeframe is selected populate start and end dates |
|
APT(DATA,PARMS,MPARMS) | ;EP
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^BQI(90506 - [#90506] | FND+7, FND+8, FND+15, FND+16 |
^DPT - [#2] | FND1+21, FND1+28, FNDALL+7, FNDALL+14, FNDALL+15 |
^SC - [#44] | FND1+6, FND1+8 |
^TMP("BQIDCAPH" | APT+17 |
Name | Line Occurrences |
---|---|
FND1 | FND+30, FND+31 |
FNDALL | FND+29 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
APCHK | FND1+5~, FND1+19*, FND1+20*, FND1+21, FND1+26*, FND1+27*, FND1+28, FNDALL+5~ |
APRANGE | FND+2~, FND1+2, FNDALL+2 |
APST | FND+1~, FND+26*, FND+27*, FND+28, FND1+24*, FND1+25*, FND1+26, FND1+27 |
APSTAT | FND+2~, FND+23, FND+24, FND1+18, FND1+19, FND1+20, FNDALL+20, FNDALL+21, FNDALL+22 |
APTYPE | FND+2~, FND+5, FND+7 |
DA | FND1+9~, FND1+10* |
DA(1 | FND1+10* |
DA(2 | FND1+10* |
DATA | APT~, APT+17*, APT+18, FND1+22, FND1+29, FNDALL+23, FNDALL+27, FNDALL+28 |
DFN | FND+1~, FND1+11*, FND1+15, FND1+21, FND1+22, FND1+28, FND1+29, FNDALL+6*, FNDALL+7*, FNDALL+10 , FNDALL+14, FNDALL+15, FNDALL+23, FNDALL+27, FNDALL+28 |
EDT | FND+1~, FND1+4*, FND1+6, FNDALL+13*, FNDALL+14 |
ENDT | FND+1~, FNDALL+4*, FNDALL+13 |
FDT | FND+1~, FND1+3*, FND1+6*, FND1+8, FND1+10, FND1+21, FND1+28, FNDALL+13*, FNDALL+14*, FNDALL+15 |
FRDT | FND+1~, FNDALL+3*, FNDALL+13 |
FROM | FND+1~, FND1+3, FNDALL+3 |
HLOC | FND+1~, FND+30, FND+31*, FND1+6, FND1+8, FND1+10, FNDALL+17 |
IENS | FND1+9~, FND1+10*, FND1+11 |
LABEL | FND+1~, FND+22*, FND+23*, FND+24*, FND+28*, FND+29 |
LOC | FND+1~, FNDALL+16*, FNDALL+17, FNDALL+18, FNDALL+19 |
MAPS | FND+6~, FND+8*, FND+9, FND+12~, FND+16*, FND+17 |
MIEN | FND+6~, FND+7*, FND+8, FND+12~, FND+15*, FND+16 |
MPARMS | APT~ |
MPARMS( | FND+9*, FND+17* |
MPARMS("APSTAT" | FND+23, FND+25, FND+27, FND1+23, FND1+25, FNDALL+24, FNDALL+25, FNDALL+26 |
MPARMS("APTYPE" | FND+11, FND+14 |
MPARMS("HLOC" | FND+31, FNDALL+18, FNDALL+19 |
MPM | FND+12~, FND+13*, FND+14*, FND+15 |
N | FND+1~, FND+9*, FND+17*, FND1+7*, FND1+8*, FND1+10 |
NM | FND+1~, FND+3*, FND+4*, FND+9*, FND+17* |
PARMS | APT~ |
PARMS( | FND+4 |
>> PPIEN | FND1+2, FNDALL+2 |
RFROM | FND+2~, FND1+3, FNDALL+3 |
RTHRU | FND+2~, FND1+4, FNDALL+4 |
STAT | FND+1~, FNDALL+16*, FNDALL+21, FNDALL+22, FNDALL+25, FNDALL+26 |
STOP | FND+1~, FND+26*, FND+27, FND+28* |
STR | FND+1~, FNDALL+15*, FNDALL+16 |
THRU | FND+1~, FND1+4, FNDALL+4 |
U | FND+8, FND+16, FND1+21, FND1+28, FNDALL+16 |
UID | APT+15~, APT+16*, APT+17 |
>> ZTSK | APT+16 |