PSUCSR2 ;BIR/DAM - PBM CS AMIS SUMMARY;6 APR 2004
Source file <PSUCSR2.m>
Package | Total | Call Graph |
---|---|---|
Pharmacy Benefits Management | 2 | EN^PSUAMC $$VAL^PSUTL |
MailMan | 1 | ^XMD |
VA FileMan | 1 | IX^DIC |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Pharmacy Benefits Management | 1 | PSUCS0 |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ;Entry point to create AMIS summary report
|
|
DISP | ;Calculate orders dispensed
|
|
TCOST | ;Calculate total cost of orders dispensed
|
|
AVE | ;Calculate average cost per order
|
|
TRUNC | ;Truncate pieces with dollar values to 2 decimal places
|
|
TOTAL | ;Add column totals
|
|
MSG | ;Construct lines for the MailMan message
|
|
;Mail CS AMIS summary report
|
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
A | TRUNC+3~, TRUNC+8*, TRUNC+10, TRUNC+12, TOTAL+10~, TOTAL+11*, TOTAL+12, TOTAL+13 |
AMISC | MSG+5!, MAIL+5, MAIL+16 |
AMISC( | MSG+40*, MSG+42*, MSG+52*, MSG+54* |
AMISC(1 | MSG+7* |
AMISC(2 | MSG+9* |
AMISC(3 | MSG+12*, MSG+18* |
AMISC(4 | MSG+13*, MSG+20* |
AMISC(5 | MSG+14*, MSG+22* |
AMISC(6 | MSG+23* |
AMISC(7 | MSG+25* |
B | TRUNC+3~, TRUNC+10*, TRUNC+16, TOTAL+10~, TOTAL+12*, TOTAL+15 |
C | TRUNC+3~, TRUNC+12*, TRUNC+14*, TRUNC+16, TOTAL+10~, TOTAL+13*, TOTAL+14*, TOTAL+15 |
CSAM | EN+4!, MSG+11 |
CSAM( | EN+16, DISP+2*, TCOST+7*, AVE+4, AVE+5, AVE+7*, TRUNC+5, TRUNC+6*, TRUNC+8, TRUNC+10 , TRUNC+12, TRUNC+16*, TOTAL+5, TOTAL+6, TOTAL+7, MSG+30, MSG+35, MSG+37, MSG+39 |
>> D | MSG+31*, MAIL+11* |
>> DIC | MSG+31*, MAIL+11* |
>> DIC(0 | MSG+31*, MAIL+11* |
DSP | AVE+2~, AVE+4*, AVE+7 |
>> I | TRUNC+2*, TRUNC+5, TRUNC+6, TRUNC+8, TRUNC+10, TRUNC+12, TRUNC+16 |
PRC | TCOST+2~, TCOST+5*, TCOST+7 |
>> PSUA | EN+8*, EN+9*, EN+11, EN+12, TCOST+4, TCOST+5 |
>> PSUB | EN+10*, EN+11*, EN+12, TCOST+4, TCOST+5 |
>> PSUCSJB | EN+7, EN+9, EN+11, EN+12, TCOST+4, TCOST+5, MSG+16 |
>> PSUDIV | TOTAL+4*, TOTAL+5*, TOTAL+6, TOTAL+7, MSG+16, MSG+29*, MSG+30*, MSG+31, MSG+35, MSG+37 , MSG+39 |
>> PSUDIVNM | MSG+7, MSG+32*, MSG+34, MAIL+12*, MAIL+14 |
>> PSUDTE | MSG+3*, MSG+7 |
>> PSUDTS | MSG+2*, MSG+7 |
>> PSUDV | EN+6*, EN+7*, EN+9, EN+11, EN+12, EN+16, DISP+2, TCOST+4, TCOST+5, TCOST+7 , AVE+4, AVE+5, AVE+7, TRUNC+5, TRUNC+6, TRUNC+8, TRUNC+10, TRUNC+12, TRUNC+16 |
>> PSUEDT | MSG+3 |
>> PSUJOB | MAIL+4, MAIL+5, MAIL+6, MAIL+16 |
>> PSULINE | MSG+33*, MSG+34*, MSG+35*, MSG+36*, MSG+37*, MSG+38*, MSG+39*, MSG+40, MSG+45*, MSG+46* , MSG+47*, MSG+48*, MSG+49*, MSG+50*, MSG+51*, MSG+52 |
>> PSULN | MSG+27*, MSG+40*, MSG+42, MSG+43*, MSG+52*, MSG+54* |
>> PSUMC | MSG+16 |
>> PSUMON | MAIL+14 |
>> PSUSDT | MSG+2 |
>> PSUSNDR | MAIL+11, MAIL+14 |
>> PSUXMYS2 | MAIL+9 |
QTY | TCOST+2~, TCOST+4*, TCOST+7 |
TAVE | TOTAL+2~, TOTAL+8*, TOTAL+9*, TOTAL+11, TOTAL+12, TOTAL+13, TOTAL+15*, TOTAL+17 |
TCST | AVE+2~, AVE+5*, AVE+7, TOTAL+2~, TOTAL+7*, TOTAL+8, TOTAL+17 |
TDSP | TOTAL+2~, TOTAL+6*, TOTAL+8, TOTAL+17 |
>> TOTAL("TOT" | TOTAL+17*, MSG+47, MSG+49, MSG+51 |
TYP | EN+3~, EN+12*, EN+13 |
U | DISP+2, TCOST+7, AVE+4, AVE+5, AVE+7, TRUNC+5, TRUNC+6, TRUNC+8, TRUNC+10, TRUNC+12 , TRUNC+16, TOTAL+6, TOTAL+7, TOTAL+17, MSG+35, MSG+37, MSG+39, MSG+47, MSG+49, MSG+51 |
>> X | MSG+31*, MSG+32*, MAIL+11*, MAIL+12* |
>> XMCHAN | MAIL+17* |
>> XMSUB | MAIL+14* |
>> XMTEXT | MAIL+15* |
>> XMY | MAIL+9* |
>> Y | MSG+2*, MSG+3*, MSG+32, MAIL+12 |