BQIDCAPC ;GDIT/HS/ALA-Scheduled Visits by Clinic Stop ; 21 Nov 2005 6:04 PM
Source file <BQIDCAPC.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 clinic stop codes
|
|
FND1 | ; Check one clinic stop code
; 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+23, FND1+30, FNDALL+16, FNDALL+23, FNDALL+24 |
^SC - [#44] | FND1+8, FND1+10 |
^SC("ASTOP" | FND1+4, FNDALL+8, FNDALL+13 |
^TMP("BQIDCAPC" | APT+19 |
Name | Line Occurrences |
---|---|
FND1 | FND+26, FND+27 |
FNDALL | FND+25 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
APCHK | FND1+7~, FND1+21*, FND1+22*, FND1+23, FND1+28*, FND1+29*, FND1+30, FNDALL+14~ |
APRANGE | FND+2~, FND1+2, FNDALL+3 |
APST | FND+1~, FND+22*, FND+23*, FND+24, FND1+26*, FND1+27*, FND1+28, FND1+29 |
APSTAT | FND+2~, FND+20, FND1+20, FND1+21, FND1+22, FNDALL+27, FNDALL+28, FNDALL+29 |
APTYPE | FND+2~, FND+5, FND+7 |
CLIN | FND+1~, FND+26, FND+27*, FND1+4, FNDALL+6, FNDALL+8, FNDALL+10*, FNDALL+11*, FNDALL+13 |
DA | FND1+11~, FND1+12* |
DA(1 | FND1+12* |
DA(2 | FND1+12* |
DATA | APT~, APT+19*, APT+20, FND1+24, FND1+31, FNDALL+30, FNDALL+34, FNDALL+35 |
DFN | FND+1~, FND1+13*, FND1+17, FND1+23, FND1+24, FND1+30, FND1+31, FNDALL+15*, FNDALL+16*, FNDALL+19 , FNDALL+23, FNDALL+24, FNDALL+30, FNDALL+34, FNDALL+35 |
EDT | FND+1~, FND1+6*, FND1+8, FNDALL+22*, FNDALL+23 |
ENDT | FND+1~, FNDALL+2~, FNDALL+5*, FNDALL+22 |
FDT | FND+1~, FND1+5*, FND1+8*, FND1+10, FND1+12, FND1+23, FND1+30, FNDALL+22*, FNDALL+23*, FNDALL+24 |
FRDT | FND+1~, FNDALL+2~, FNDALL+4*, FNDALL+22 |
FROM | FND+1~, FND1+5, FNDALL+4 |
IENS | FND1+11~, FND1+12*, FND1+13 |
II | APT+17~, APT+21* |
LABEL | FND+1~, FND+19*, FND+20*, FND+24*, FND+25 |
LOC | FND+1~, FND1+3*, FND1+4*, FND1+8, FND1+10, FND1+12, FNDALL+7*, FNDALL+8*, FNDALL+12*, FNDALL+13* |
LOC( | FNDALL+8*, FNDALL+13*, FNDALL+26 |
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+21, FND+23, FND1+25, FND1+27, FNDALL+31, FNDALL+32, FNDALL+33 |
MPARMS("APTYPE" | FND+11, FND+14 |
MPARMS("CLIN" | FND+27, FNDALL+9, FNDALL+11 |
MPM | FND+12~, FND+13*, FND+14*, FND+15 |
N | FND+1~, FND+9*, FND+17*, FND1+9*, FND1+10*, FND1+12 |
NM | FND+1~, FND+3*, FND+4*, FND+9*, FND+17* |
PARMS | APT~ |
PARMS( | FND+4 |
>> PPIEN | FND1+2, FNDALL+3 |
RFROM | FND+2~, FND1+5, FNDALL+4 |
RTHRU | FND+2~, FND1+6, FNDALL+5 |
SLOC | FND+2~, FNDALL+25*, FNDALL+26 |
STAT | FND+2~, FNDALL+25*, FNDALL+28, FNDALL+29, FNDALL+32, FNDALL+33 |
STOP | FND+1~, FND+22*, FND+23, FND+24* |
STR | FND+2~, FNDALL+24*, FNDALL+25 |
THRU | FND+1~, FND1+6, FNDALL+5 |
U | FND+8, FND+16, FND1+23, FND1+30, FNDALL+25 |
UID | APT+17~, APT+18*, APT+19 |
>> ZTSK | APT+18 |