APCLASK ; IHS/CMI/LAB -GET PATIENT OR COHORT ;
Source file <APCLASK.m>
Package | Total | Call Graph |
---|---|---|
Kernel | 4 | (,HOME)^%ZIS ^%ZISC ^%ZTLOAD $$LOW^XLFSTR |
VA Fileman | 3 | (,DD)^%DT ^DIC ^DIR |
Patient Care Component Reports | 2 | ($$REC,WRITEF)^APCLDM EN^APCLPRT |
IHS VA Utilities | 1 | ^XBKVAR |
Package | Total | Caller Graph |
---|---|---|
Patient Care Component Reports | 2 | APCLDM APCLRPT |
Name | Comments | DBIA/ICR reference |
---|---|---|
AGIN | ||
EOJ | ;
|
|
ASKBD | ||
TASK | ; Task?
|
|
EPIREC | ;create epi info record in ^TMP("APCLEPI",$J,n)
|
|
1 | ; Fiscal Year
|
|
GETTIME | ||
2 | ; Date Range
|
|
X2 | ||
X3 | ||
X1 | ||
ZTM | ;PEP - CALLED FROM BDM - ENTRY POINT - for taskman
|
|
FLAT | ;
|
|
START2 | ;PEP PUBLISHED ENTRY POINT - called to create a report template
|
|
START | ||
CLEAN | ;
|
|
X | ||
ASKED | ||
ASK | ; Get patient name or cohort
|
|
QUE | ||
TIME | ;PEP - CALLED FROM BDM Get fiscal year or time frame
|
|
START1(APCLDFN,APCLCUML) | ;EP
|
Name | Field # of Occurrence |
---|---|
^%DT | ASKBD, ASKED |
DD^%DT | TIME+1, 1+8, 1+9, X3+2, X3+3 |
^%ZIS | TASK+1 |
HOME^%ZIS | QUE+4 |
^%ZISC | ZTM+14, EOJ+1 |
^%ZTLOAD | QUE+3 |
$$REC^APCLDM | EPIREC+1, EPIREC+2, EPIREC+3 |
WRITEF^APCLDM | ZTM+11 |
EN^APCLPRT | ZTM+8, ZTM+10 |
^DIC | ASK+10 |
^DIR | START+3, TIME+2, 1+1, FLAT+2, FLAT+12 |
^XBKVAR | START2+5 |
$$LOW^XLFSTR | FLAT+5 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^APCLRPT - [#9001200] | START2+2, START2+4, ZTM+7, ZTM+10, QUE+2 |
^AUTTSITE(1 | FLAT+6 |
^DIBT( | ASK+13 |
^TMP("APCL" | ZTM+4!, ZTM+6! |
^TMP("APCLCUML" | ZTM+4!, ZTM+10, ZTM+12! |
^TMP("APCLEPI" | ZTM+4!, ZTM+12!, EPIREC+1*, EPIREC+2*, EPIREC+3* |
^TMP("APCLPTS" | START!, START+1, ASK+12*, ASK+13*, ZTM+6, ZTM+12!, CLEAN+1!, EOJ+2! |
Name | Line Occurrences |
---|---|
@( | TIME+3, ZTM+7, ZTM+10 |
AGIN | START+7 |
ASK | START, ASK+11 |
ASKBD | ASKBD, ASKED+1 |
ASKED | ASKED |
CLEAN | START+1, AGIN |
EOJ | X, ZTM+13 |
EPIREC | ZTM+9 |
FLAT | START+6, FLAT+4 |
GETTIME | START+1 |
QUE | START+7 |
START | START+4, AGIN |
START2 | APCLASK+6 |
TASK | START+7 |
TIME | GETTIME |
X | GETTIME |
X1 | ASK+6 |
X3 | ASKBD, ASKED |
ZTM | START+8 |
Name | Field # of Occurrence |
---|---|
^(0 | ZTM+7, ZTM+10 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | QUE+1~* |
>> %DT | ASKBD*, ASKED* |
>> %DT("A" | ASKBD*, ASKED* |
%ZIS | TASK+1!* |
APCLASK | ZTM+3*, EOJ+2! |
APCLBD | EOJ+2! |
APCLBDT | START+1!, 1+6*, 1+8*, 1+10, ASKBD*, ASKED+1, X3, X3+2*, X3+4, EOJ+2! |
APCLCUML | START1~, START2+3*, START2+4, ZTM+10 |
APCLDATE | START+1!, 1+10*, X3+4*, EOJ+2! |
APCLDFN | START1~, START2+1, START2+2, ZTM+7, ZTM+8, QUE+2, EOJ+2! |
APCLDTE | EOJ+2! |
APCLED | 1+9*, X3+3*, EOJ+2! |
APCLEDT | START+1!, 1+6*, 1+9*, 1+10, ASKED*, ASKED+1, X3, X3+3*, X3+4, EOJ+2! |
APCLEPIN | ZTM+2*, EPIREC+1*, EPIREC+2*, EPIREC+3*, CLEAN+1!, EOJ+2! |
>> APCLFILE | FLAT+1*, FLAT+5*, FLAT+6, FLAT+8, FLAT+10 |
APCLFISC | START+1!, 1+2*, 1+11*, EOJ+2! |
APCLHTKI | EOJ+3! |
APCLMAM | EOJ+2! |
APCLPD | ASK+13*, ZTM+6*, ZTM+8, EPIREC+1, EPIREC+2, EPIREC+3, CLEAN+1!, EOJ+2! |
APCLPREP | START+5*, START+6, ZTM+8, ZTM+9, ZTM+10, ZTM+11, CLEAN+1!, EOJ+2! |
APCLPT | ASK+2!, ASK+7*, ASK+9, ASK+10, ASK+12, ASK+14!, CLEAN+1!, EOJ+2! |
APCLPTS | ASK+3, ASK+4, ASK+12*, CLEAN+1! |
APCLROOT | ZTM+5*, ZTM+8, ZTM+10*, EOJ+2! |
APCLRXC1 | EOJ+3! |
APCLSTP | GETTIME*, START, START+2*, START+6, START+8*, AGIN*, TIME+4*, 1+12*, X3*, ASK+6* , ZTM+2*, ZTM+6, ZTM+10, FLAT+3*, FLAT+13*, FLAT+14*, EOJ+2! |
APCLTDTE | TIME+1*, EOJ+2! |
APCLUED | EOJ+2! |
AUPNDAYS | EOJ+2! |
AUPNDOB | EOJ+2! |
AUPNDOD | EOJ+2! |
AUPNPAT | EOJ+2! |
AUPNSEX | EOJ+2! |
DA | FLAT+2!, FLAT+12! |
DIC | ASK+10*! |
DIC("S" | ASK+9* |
DIC(0 | ASK+10* |
DIR | START+3!, TIME+2!, 1+1!, FLAT+2!, FLAT+12! |
DIR("A" | START+3*, TIME+2*, 1+1*, FLAT+2*, FLAT+12* |
DIR("B" | START+3*, FLAT+12* |
DIR(0 | START+3*, TIME+2*, 1+1*, FLAT+2*, FLAT+12* |
>> DIROUT | TIME+3, 1+2 |
>> DIRUT | START+3*, START+4, TIME+3, 1+2, FLAT+3, FLAT+13 |
DT | TIME+1, ASKED+1 |
DTIME | START2+5, ASK+3, ASK+4 |
>> DTOUT | TIME+3, 1+2 |
>> DUOUT | START+3 |
IO | ZTM+1, TASK+1*, EOJ+1 |
IO("Q" | START+7! |
IO(0 | TASK+1, EOJ+1 |
>> IOCPU | QUE+2 |
IOF | QUE+6 |
ION | QUE+2 |
IOP | TASK+1! |
>> POP | START+8, TASK+1 |
U | ASKBD, ASKED, X3, ZTM+7, ZTM+10, QUE+2, FLAT+6 |
>> X | START+1, ASKBD, ASKED, X3, ASK+3*, ASK+4*, ASK+6, ASK+7, ASK+8*, EPIREC+1* , EPIREC+2*, EPIREC+3*, FLAT+4 |
>> Y | START+5, TIME+1*, TIME+3, 1+2, 1+6, 1+8*, 1+9*, ASKBD, ASKED, X3+2* , X3+3*, ASK+11, ASK+12, ASK+13, FLAT+5, FLAT+14 |
ZTCPU | QUE+2*, QUE+5!, EOJ+2! |
ZTDESC | QUE+2*, QUE+5! |
ZTDTH | QUE+2*, QUE+5! |
>> ZTIO | QUE+2* |
>> ZTQUEUED | ZTM+13, ZTM+14 |
>> ZTREQ | ZTM+13* |
ZTRTN | QUE+2*, QUE+5! |
ZTSAVE | QUE!, QUE+5! |
ZTSAVE( | QUE+1* |
ZTSK | QUE!, QUE+5! |