APCHAAP2 ; IHS/CMI/LAB - ;
Source file <APCHAAP2.m>
Package | Total | Call Graph |
---|---|---|
IHS VA Utilities | 3 | ($$VAL,$$VALI)^XBDIQ1 ^XBFMK EN^XBVK |
Kernel | 2 | ($$FMADD,$$FMDIFF,$$FMTE)^XLFDT ($$REPEAT,$$STRIP)^XLFSTR |
Patient Care Component | 2 | $$DPCP^APCHPWH1 ($$GREEN,$$PBPF,$$YELLOW)^APCHSAST |
VA Fileman | 2 | ^DIR ^DIWP |
IHS Patient | 1 | ($$AGE,$$DOB)^AUPNPAT |
Name | Comments | DBIA/ICR reference |
---|---|---|
LAST1YRC | ;EP
|
|
SIG | ;CONSTRUCT THE FULL TEXT FROM THE ENCODED SIG
|
|
AAP | ;
|
|
YELLOW(V,F) | ||
;EP
|
||
DISPMEDS | ;EP
|
|
REF | ;DETERMINE THE NUMBER OF REFILLS REMAINING
|
|
LAST1YRR | ;EP
|
|
GREEN(V,F) | ;
|
|
MEDS | ;
|
|
CTR(X,Y) | ;EP - Center X in a field Y wide.
|
|
REDH(V) | ;
|
|
HEAD | ;
|
|
RED(V,D,F) | ;
|
|
RELMEDS | ;
|
|
HEAD1 | ;
|
|
SR | ;
|
|
EC(L,I) | ;
|
|
EXIT | ;
|
|
PHARM(L,I) | ;
|
|
SC | ;
|
|
CONTMEDS | ;
|
Name | Field # of Occurrence |
---|---|
$$DPCP^APCHPWH1 | PRINT+7 |
$$GREEN^APCHSAST | AAP+69 |
$$PBPF^APCHSAST | AAP+3 |
$$YELLOW^APCHSAST | AAP+43 |
$$AGE^AUPNPAT | PRINT+5, HEAD1+5 |
$$DOB^AUPNPAT | PRINT+4, HEAD1+4 |
^DIR | HEAD+1 |
^DIWP | AAP+31, AAP+52 |
$$VAL^XBDIQ1 | PRINT+7, PRINT+8, PRINT+9, PHARM+4, EC+3, EC+6 |
$$VALI^XBDIQ1 | PRINT+9 |
^XBFMK | EXIT+2 |
EN^XBVK | EXIT+1 |
$$FMADD^XLFDT | DISPMEDS+10, LAST1YRR+9, LAST1YRC+9 |
$$FMDIFF^XLFDT | DISPMEDS+9 |
$$FMTE^XLFDT | PRINT+2, PRINT+20, AAP+17, HEAD1+2, DISPMEDS+4, DISPMEDS+10, DISPMEDS+12 |
$$REPEAT^XLFSTR | PRINT+6, PRINT+12, AAP+20, AAP+40, AAP+66, HEAD1+6 |
$$STRIP^XLFSTR | AAP+9, AAP+11, AAP+14 |
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 |
|
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 |
|
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 |
|
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 |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^ATXAX - [#9002226] | LAST1YRR+22, LAST1YRR+23, LAST1YRR+24, LAST1YRR+27, LAST1YRR+28, LAST1YRR+30, LAST1YRC+22, LAST1YRC+23, LAST1YRC+24, LAST1YRC+27 , LAST1YRC+28, LAST1YRC+29 |
^ATXAX("B" | LAST1YRR+3, LAST1YRR+4, LAST1YRR+5, LAST1YRR+6, LAST1YRR+7, LAST1YRR+8, LAST1YRC+3, LAST1YRC+4, LAST1YRC+5, LAST1YRC+6 , LAST1YRC+7, LAST1YRC+8 |
^AUPNVHF("AA" | PRINT+18, PRINT+19 |
^AUPNVMED - [#9000010.14] | DISPMEDS+3, DISPMEDS+13, LAST1YRR+12, LAST1YRR+13, LAST1YRR+16, LAST1YRC+12, LAST1YRC+13, LAST1YRC+16 |
^AUPNVMED("AA" | LAST1YRR+10, LAST1YRR+11, LAST1YRC+10, LAST1YRC+11 |
^AUPNVSIT - [#9000010] | DISPMEDS+4, DISPMEDS+8 |
^AUTTHF - [#9999999.64] | PRINT+20 |
^AUTTHF("AC" | PRINT+17 |
^AUTTHF("B" | PRINT+15 |
^AUTTLOC - [#9999999.06] | PRINT+9 |
^DIC(4 - [#4] | PRINT+2, HEAD1+2, PHARM+3 |
^DIC(5 - [#5] | PRINT+9 |
^DPT - [#2] | PRINT+3, HEAD1+3 |
^PS(51 - [#51] | SIG+2 |
^PS(55 - [#55] | DISPMEDS+6 |
^PS(59 - [#59] | PHARM+2, PHARM+5, PHARM+6 |
^PSDRUG - [#50] | DISPMEDS+11, LAST1YRR+25, LAST1YRR+29, LAST1YRC+25 |
^PSRX - [#52] | REF+2, LAST1YRR+19, LAST1YRC+19 |
^PSRX("APCC" | DISPMEDS+5, LAST1YRR+17, LAST1YRC+17 |
^UTILITY($J | AAP+31!, AAP+33, AAP+36!, AAP+52!, AAP+54, AAP+57! |
^VA(200 - [#200] | PRINT+7 |
Name | Line Occurrences |
---|---|
$$EC | PRINT+11 |
$$GREEN | AAP+13 |
$$PHARM | PRINT+10 |
$$RED | AAP+23 |
$$REDH | AAP+8 |
$$YELLOW | AAP+10 |
AAP | PRINT+16 |
DISPMEDS | CONTMEDS+4, CONTMEDS+8 |
HEAD | AAP+1, AAP+6, AAP+12, AAP+15, AAP+18, AAP+22, AAP+26, AAP+34, AAP+38, AAP+41 , AAP+45, AAP+48, AAP+55, AAP+60, AAP+63, AAP+67, AAP+70, AAP+73, DISPMEDS+17 |
LAST1YRC | RELMEDS+3 |
LAST1YRR | RELMEDS+2 |
REF | DISPMEDS+16 |
SC | LAST1YRC+22, LAST1YRC+23, LAST1YRC+24, LAST1YRC+27, LAST1YRC+28, LAST1YRC+29 |
SIG | DISPMEDS+15 |
SR | LAST1YRR+22, LAST1YRR+23, LAST1YRR+24, LAST1YRR+27, LAST1YRR+28, LAST1YRR+30 |
Name | Field # of Occurrence |
---|---|
^( | DISPMEDS+5 |
^(9 | SIG+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | PHARM+1~, PHARM+2*, PHARM+3, PHARM+4, PHARM+5, PHARM+6, EC+1~, EC+3*, EC+4 |
>> APCHB | AAP+3*, AAP+4, AAP+8, AAP+10, AAP+13, AAP+16, AAP+17, AAP+21, AAP+23, AAP+42 , AAP+43, AAP+68, AAP+69 |
>> APCHC | PRINT+15*, PRINT+16, PRINT+17 |
APCHCONT | RELMEDS+1!, CONTMEDS+3, LAST1YRC+2*, SC+1* |
APCHCONT( | SC+1* |
>> APCHCRN | DISPMEDS+6* |
>> APCHD | DISPMEDS+4*, DISPMEDS+18 |
>> APCHDC | DISPMEDS+5*, DISPMEDS+12, DISPMEDS+14 |
>> APCHDTM | DISPMEDS+8*, DISPMEDS+9, DISPMEDS+10 |
>> APCHDYS | DISPMEDS+5*, DISPMEDS+10, DISPMEDS+18 |
>> APCHEXP | DISPMEDS+8*, DISPMEDS+10*, DISPMEDS+12*, DISPMEDS+14*, DISPMEDS+18 |
>> APCHF | PRINT+17*, PRINT+18, PRINT+19, PRINT+20 |
>> APCHG | PRINT+14*, PRINT+20*, PRINT+21 |
APCHL | RELMEDS+1!, CONTMEDS+2!, CONTMEDS+3*, CONTMEDS+6!, CONTMEDS+7* |
APCHL( | DISPMEDS+2, DISPMEDS+3 |
APCHL(0 | DISPMEDS+1 |
>> APCHMED | DISPMEDS+11*, DISPMEDS+18 |
>> APCHMFX | DISPMEDS+5*, DISPMEDS+11 |
>> APCHORTS | DISPMEDS+13*, DISPMEDS+14 |
>> APCHQ | PRINT+1*, AAP+1, AAP+6, AAP+12, AAP+15, AAP+18, AAP+22, AAP+26, AAP+29, AAP+33 , AAP+34, AAP+38, AAP+41, AAP+45, AAP+48, AAP+50, AAP+54, AAP+55, AAP+60, AAP+63 , AAP+67, AAP+70, AAP+73, HEAD+1*, DISPMEDS+17 |
>> APCHQTY | DISPMEDS+7*, DISPMEDS+18 |
>> APCHREF | DISPMEDS+16, REF+1*, REF+2*, REF+3* |
APCHREL | RELMEDS+1!, CONTMEDS+7, LAST1YRR+2*, SR+1* |
APCHREL( | SR+1* |
>> APCHRELM | AAP+28, AAP+29, AAP+31 |
>> APCHRESM | AAP+49, AAP+50, AAP+52 |
>> APCHRFL | REF+2*, REF+3 |
>> APCHRX | DISPMEDS+5*, DISPMEDS+6, REF+1, REF+2 |
>> APCHRXN | LAST1YRR+17*, LAST1YRR+18, LAST1YRR+19, LAST1YRC+17*, LAST1YRC+18, LAST1YRC+19 |
>> APCHSIG | DISPMEDS+7*, DISPMEDS+15*, DISPMEDS+16*, DISPMEDS+19, DISPMEDS+20, SIG+1, SIG+2 |
>> APCHSP | SIG+1*, SIG+2 |
>> APCHSSGY | DISPMEDS+15, SIG+1*, SIG+3* |
>> APCHSTAT | LAST1YRR+19*, LAST1YRR+20, LAST1YRC+19*, LAST1YRC+20 |
APCHSX | PRINT+14! |
C | LAST1YRR+1~, LAST1YRR+29*, LAST1YRR+30, LAST1YRC+1~ |
D | PRINT+19*, PRINT+20, RED~, RED+3*, RED+4, DISPMEDS+2*, DISPMEDS+3, LAST1YRR+1~, LAST1YRR+10*, LAST1YRR+11 , SR+1, LAST1YRC+1~, LAST1YRC+10*, LAST1YRC+11, SC+1 |
>> DFN | PRINT+3, PRINT+4, PRINT+5, PRINT+7, PRINT+11, PRINT+18, PRINT+19, AAP+3, HEAD1+3, HEAD1+4 , HEAD1+5, DISPMEDS+6, LAST1YRR+10, LAST1YRR+11, LAST1YRC+10, LAST1YRC+11 |
DIR | HEAD+1! |
DIR(0 | HEAD+1* |
>> DIWL | AAP+31*, AAP+52* |
>> DIWR | AAP+31*, AAP+52* |
DT | PRINT+2, HEAD1+2, DISPMEDS+9, LAST1YRR+9, LAST1YRR+16, LAST1YRC+9, LAST1YRC+16 |
>> DTOUT | HEAD+1 |
DUZ(2 | PRINT+2, PRINT+7, PRINT+8, PRINT+9, PRINT+10, HEAD1+2 |
E | DISPMEDS+3*, DISPMEDS+5, DISPMEDS+13, LAST1YRR+1~, LAST1YRR+9*, LAST1YRR+10, LAST1YRC+1~, LAST1YRC+9*, LAST1YRC+10 |
F | AAP+33*, AAP+54*, EC+2*, EC+3, EC+5*, EC+6, GREEN~, GREEN+4, YELLOW~, YELLOW+6 , YELLOW+7, RED~, RED+6 |
G | AAP+7~, AAP+13*, AAP+14, LAST1YRR+1~, LAST1YRR+18*, LAST1YRR+20*, LAST1YRR+21, LAST1YRC+1~, LAST1YRC+18*, LAST1YRC+20* , LAST1YRC+21 |
I | PHARM~, PHARM+3, PHARM+4, PHARM+5, PHARM+6, EC~, EC+2, EC+5 |
IO | HEAD+1 |
IO(0 | HEAD+1 |
IOF | HEAD1+1 |
IOM | CTR+1 |
IOSL | AAP+1, AAP+6, AAP+12, AAP+15, AAP+18, AAP+22, AAP+26, AAP+34, AAP+38, AAP+41 , AAP+45, AAP+48, AAP+55, AAP+60, AAP+63, AAP+67, AAP+70, AAP+73, DISPMEDS+17 |
IOST | HEAD+1 |
L | PHARM~, PHARM+2, PHARM+3, PHARM+4, EC~, EC+3, EC+6 |
M | LAST1YRR+1~, LAST1YRR+11*, LAST1YRR+12, LAST1YRR+13, LAST1YRR+16, LAST1YRR+17, SR+1, LAST1YRC+1~, LAST1YRC+11*, LAST1YRC+12 , LAST1YRC+13, LAST1YRC+16, LAST1YRC+17, SC+1 |
N | DISPMEDS+3*, DISPMEDS+4, DISPMEDS+5, DISPMEDS+7, DISPMEDS+8, DISPMEDS+11, LAST1YRR+1~, LAST1YRR+25*, LAST1YRR+26, LAST1YRR+27 , LAST1YRR+28, LAST1YRC+1~, LAST1YRC+25*, LAST1YRC+26, LAST1YRC+27, LAST1YRC+28, LAST1YRC+29 |
P | GREEN+1~, GREEN+3*, GREEN+4, GREEN+5, YELLOW+1~, YELLOW+3*, YELLOW+4*, YELLOW+6, YELLOW+7, RED+1~ , RED+4*, RED+5*, RED+6, RED+7, REDH+1~, REDH+2*, REDH+3 |
P1 | GREEN+1~, GREEN+3*, YELLOW+1~, YELLOW+5*, YELLOW+6, YELLOW+7, RED+1~ |
R | AAP+7~, AAP+8*, AAP+9 |
T | LAST1YRR+1~, LAST1YRC+1~ |
T(1 | LAST1YRR+3*, LAST1YRR+22, LAST1YRC+3*, LAST1YRC+22 |
T(2 | LAST1YRR+4*, LAST1YRR+27, LAST1YRC+4*, LAST1YRC+27 |
T(3 | LAST1YRR+5*, LAST1YRR+23, LAST1YRC+5*, LAST1YRC+23 |
T(4 | LAST1YRR+6*, LAST1YRR+28, LAST1YRC+6*, LAST1YRC+28 |
T(5 | LAST1YRR+7*, LAST1YRR+24, LAST1YRC+7*, LAST1YRC+24 |
T(6 | LAST1YRR+8*, LAST1YRR+30, LAST1YRC+8*, LAST1YRC+29 |
U | PRINT+2, PRINT+3, PRINT+7, PRINT+9, PRINT+20, AAP+4, AAP+8, AAP+10, AAP+13, AAP+16 , AAP+17, AAP+21, AAP+23, AAP+42, AAP+43, AAP+68, AAP+69, HEAD1+2, HEAD1+3, PHARM+3 , PHARM+5, PHARM+6, DISPMEDS+4, DISPMEDS+5, DISPMEDS+7, DISPMEDS+8, DISPMEDS+11, REF+2, LAST1YRR+13, LAST1YRR+16 , LAST1YRR+19, LAST1YRR+25, LAST1YRR+29, LAST1YRC+13, LAST1YRC+16, LAST1YRC+19, LAST1YRC+25 |
V | GREEN~, GREEN+2, GREEN+3, GREEN+4, GREEN+5, YELLOW~, YELLOW+2, YELLOW+3, YELLOW+5, RED~ , RED+2, RED+4, REDH~, REDH+2 |
X | PRINT+7*, PRINT+20*, AAP+31*, AAP+33*, AAP+35, AAP+52*, AAP+54*, AAP+56, CTR~, CTR+1 , DISPMEDS+9*, DISPMEDS+10, DISPMEDS+18*, DISPMEDS+19*, DISPMEDS+20*, SIG+1*, SIG+2*, SIG+3 |
Y | AAP+7~, AAP+10*, AAP+11, HEAD+1, CTR~, CTR+1, DISPMEDS+10*, DISPMEDS+12*, DISPMEDS+14, SIG+2* , LAST1YRR+1~, LAST1YRR+13*, LAST1YRR+14, LAST1YRR+22, LAST1YRR+23, LAST1YRR+24, LAST1YRR+25, LAST1YRR+29, LAST1YRC+1~, LAST1YRC+13* , LAST1YRC+14, LAST1YRC+22, LAST1YRC+23, LAST1YRC+24, LAST1YRC+25 |