PSUOP8 ;BIR/DAM - Outpatient AMIS Summary Message;04 MAR 2004
Source file <PSUOP8.m>
Package | Total | Call Graph |
---|---|---|
MailMan | 1 | ^XMD |
Pharmacy Benefits Management | 1 | $$VAL^PSUTL |
VA Fileman | 1 | (,IX)^DIC |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ;Entry point for MailMan message
|
|
VAR2 | ;Set contents of ^TMP globals into variables
|
|
TOTAL1 | ;Add each column to get totals for all divisions
|
|
TOTAL2 | ;Add each column to get totals for all divisions
|
|
VAR | ;Set contents of ^TMP global into VARIABLES
|
|
UNADCST | ;Calculate Cost Per Unadjusted Fill
|
|
MSG | ;Create the Rx AMIS summary mailman message
|
|
;Send AMIS summary mailman message
|
||
TCOST | ;Calculate total cost for prescription fills
|
|
FILL | ;Calculate Cost Per 30-day Fill
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DD("DD" | MSG+12, MSG+13 |
^TMP($J | MSG+29, MSG+86, VAR+4, VAR+6, VAR+8, VAR+10, VAR+12, TCOST+5, TCOST+7, TCOST+8 , VAR2+5, VAR2+7, VAR2+9, VAR2+11, VAR2+13, VAR2+15, VAR2+17, VAR2+19, VAR2+21, VAR2+23 , VAR2+25, TOTAL2+2, TOTAL2+4, TOTAL2+6, TOTAL2+8, TOTAL2+10, TOTAL2+12, TOTAL2+14, TOTAL2+16, TOTAL2+18 , TOTAL2+20, TOTAL2+22 |
^XTMP("PSU_" | EN+3, MSG+7, MSG+8, MAIL+3, MAIL+4*, MAIL+5*, MAIL+9* |
Name | Line Occurrences |
---|---|
FILL | MSG+36 |
EN+5 | |
MSG | EN+4 |
TCOST | MSG+10 |
TOTAL1 | MSG+37 |
TOTAL2 | MSG+92 |
UNADCST | MSG+35 |
VAR | MSG+34 |
VAR2 | MSG+91 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
A | TCOST+11~, TCOST+12*, TCOST+13, TCOST+14, UNADCST+2~, UNADCST+7*, UNADCST+9, UNADCST+11, FILL+2~, FILL+7* , FILL+9, FILL+11, TOTAL1+18~, TOTAL1+19*, TOTAL1+20, TOTAL1+21, TOTAL1+28~, TOTAL1+29*, TOTAL1+30, TOTAL1+31 |
>> AMIS | MAIL+4, MAIL+9 |
>> AMIS( | MSG+54*, MSG+56*, MSG+74*, MSG+76*, MSG+79*, MSG+81*, MSG+83*, MSG+108*, MSG+110*, MSG+127* |
>> AMIS(1 | MSG+14* |
>> AMIS(2 | MSG+16* |
>> AMIS(3 | MSG+18* |
>> AMIS(4 | MSG+20* |
>> AMIS(5 | MSG+22* |
>> AMIS(6 | MSG+24* |
B | TCOST+11~, TCOST+13*, TCOST+16, UNADCST+2~, UNADCST+9*, UNADCST+13, FILL+2~, FILL+9*, FILL+13, TOTAL1+18~ , TOTAL1+20*, TOTAL1+23, TOTAL1+28~, TOTAL1+30*, TOTAL1+33 |
C | TCOST+11~, TCOST+14*, TCOST+15*, TCOST+16, UNADCST+2~, UNADCST+11*, UNADCST+13, FILL+2~, FILL+11*, FILL+13 , TOTAL1+18~, TOTAL1+21*, TOTAL1+22*, TOTAL1+23, TOTAL1+28~, TOTAL1+31*, TOTAL1+32*, TOTAL1+33 |
>> CFILL( | MSG+52, FILL+3*, FILL+5*, FILL+7, FILL+9, FILL+11, FILL+13* |
>> D | MSG+32*, MSG+89* |
>> DIC | MSG+30*, MSG+32*, MSG+87*, MSG+89* |
>> DIC(0 | MSG+30*, MSG+32*, MSG+87*, MSG+89* |
>> EQUIV | MSG+46, VAR+2*, VAR+12*, FILL+3, TOTAL1+11 |
>> FILL30 | MSG+42, VAR+2*, VAR+4*, TOTAL1+3 |
>> FILL60 | MSG+43, VAR+2*, VAR+6*, TOTAL1+5 |
>> FILL90 | MSG+44, VAR+2*, VAR+8*, TOTAL1+7 |
>> PSU30 | MSG+3*, MSG+61, TOTAL1+3* |
>> PSU60 | MSG+3*, MSG+62, TOTAL1+5* |
>> PSU90 | MSG+3*, MSG+63, TOTAL1+7* |
>> PSUCFIL | MSG+3*, MSG+71, TOTAL1+26*, TOTAL1+27*, TOTAL1+29, TOTAL1+30, TOTAL1+31, TOTAL1+33* |
>> PSUDIVN | TCOST+4*, TCOST+5*, TCOST+7, TCOST+8, TCOST+9, TCOST+10, TCOST+12, TCOST+13, TCOST+14, TCOST+16 |
>> PSUDIVNM | MSG+31*, MSG+32, MSG+33*, MSG+41, MSG+88*, MSG+89, MSG+90*, MSG+95 |
>> PSUDTE | MSG+13*, MSG+14 |
>> PSUDTS | MSG+12*, MSG+14 |
>> PSUDVN | MSG+28*, MSG+29*, MSG+30, MSG+32, MSG+48, MSG+50, MSG+52, MSG+85*, MSG+86*, MSG+87 , MSG+89, VAR+4, VAR+6, VAR+8, VAR+10, VAR+12, UNADCST+3, UNADCST+5, UNADCST+7, UNADCST+9 , UNADCST+11, UNADCST+13, FILL+3, FILL+5, FILL+7, FILL+9, FILL+11, FILL+13, VAR2+5, VAR2+7 , VAR2+9, VAR2+11, VAR2+13, VAR2+15, VAR2+17, VAR2+19, VAR2+21, VAR2+23, VAR2+25, TOTAL1+13 , TOTAL2+2, TOTAL2+4, TOTAL2+6, TOTAL2+8, TOTAL2+10, TOTAL2+12, TOTAL2+14, TOTAL2+16, TOTAL2+18, TOTAL2+20 , TOTAL2+22 |
>> PSUEDT | MSG+13 |
>> PSUEQ | MSG+3*, MSG+65, TOTAL1+11*, TOTAL1+26 |
>> PSUFE | MSG+106, VAR2+3*, VAR2+25* |
>> PSUFEE | MSG+5*, MSG+125, TOTAL2+22* |
>> PSUJOB | EN+3, MSG+7, MSG+8, MAIL+3, MAIL+4, MAIL+5, MAIL+9 |
>> PSULC | MSG+4*, MSG+122, TOTAL2+16* |
>> PSULCS | MSG+104, VAR2+3*, VAR2+21* |
>> PSULINE | MSG+40*, MSG+41*, MSG+42*, MSG+43*, MSG+44*, MSG+45*, MSG+46*, MSG+47*, MSG+48*, MSG+49* , MSG+50*, MSG+51*, MSG+52*, MSG+54, MSG+59*, MSG+60*, MSG+61*, MSG+62*, MSG+63*, MSG+64* , MSG+65*, MSG+66*, MSG+67*, MSG+68*, MSG+69*, MSG+70*, MSG+71*, MSG+74, MSG+94*, MSG+95* , MSG+96*, MSG+97*, MSG+98*, MSG+99*, MSG+100*, MSG+101*, MSG+102*, MSG+103*, MSG+104*, MSG+105* , MSG+106*, MSG+108, MSG+113*, MSG+114*, MSG+115*, MSG+116*, MSG+117*, MSG+118*, MSG+119*, MSG+120* , MSG+121*, MSG+122*, MSG+123*, MSG+124*, MSG+125*, MSG+127 |
>> PSULN | MSG+26*, MSG+54*, MSG+56*, MSG+74*, MSG+76*, MSG+77*, MSG+79*, MSG+81*, MSG+83*, MSG+108* , MSG+110*, MSG+127* |
>> PSULOC | MSG+103, VAR2+3*, VAR2+19* |
>> PSULOCS | MSG+5*, MSG+123, TOTAL2+18* |
>> PSUM | MSG+100, VAR2+2*, VAR2+13* |
>> PSUMCS | MSG+101, VAR2+2*, VAR2+15* |
>> PSUML | MSG+4*, MSG+119, TOTAL2+10* |
>> PSUMLCS | MSG+4*, MSG+120, TOTAL2+12* |
>> PSUMON | MAIL+7 |
>> PSUMOP | MSG+102, VAR2+3*, VAR2+17* |
>> PSUMP | MSG+4*, MSG+121, TOTAL2+14* |
>> PSUN | MSG+96, VAR2+2*, VAR2+5* |
>> PSUNADC | MSG+3*, MSG+69, TOTAL1+16*, TOTAL1+17*, TOTAL1+19, TOTAL1+20, TOTAL1+21, TOTAL1+23* |
>> PSUNADJ | MSG+3*, MSG+64, TOTAL1+9*, TOTAL1+16 |
>> PSUNEW | MSG+4*, MSG+115, TOTAL2+2* |
>> PSUR | MSG+97, VAR2+2*, VAR2+7* |
>> PSUREF | MSG+4*, MSG+116, TOTAL2+4* |
>> PSURXIEN | TCOST+6*, TCOST+7*, TCOST+8 |
>> PSUSDT | MSG+12 |
>> PSUST | MSG+7*, MAIL+7 |
>> PSUSTF | MSG+5*, MSG+124, TOTAL2+20* |
>> PSUSTNM | MSG+5*, MSG+8*, MSG+14, MAIL+7 |
>> PSUTC | TCOST+2* |
>> PSUTCOST | TCOST+2*, TCOST+8*, TCOST+9 |
>> PSUTCST | MSG+3*, MSG+67, TOTAL1+13*, TOTAL1+16, TOTAL1+26 |
>> PSUTF | MSG+105, VAR2+3*, VAR2+23* |
>> PSUW | MSG+98, VAR2+2*, VAR2+9* |
>> PSUWCS | MSG+99, VAR2+2*, VAR2+11* |
>> PSUWN | MSG+4*, MSG+117, TOTAL2+6* |
>> PSUWNCS | MSG+4*, MSG+118, TOTAL2+8* |
>> PSUXMYS2 | MAIL+11 |
>> TCOST( | MSG+48, TCOST+9*, TCOST+10*, TCOST+12, TCOST+13, TCOST+14, TCOST+16*, UNADCST+3, FILL+3, TOTAL1+13 |
U | MSG+7, MSG+8 |
>> UNAD | MSG+45, VAR+2*, VAR+10*, UNADCST+3, TOTAL1+9 |
>> UNADC( | MSG+50, UNADCST+3*, UNADCST+5*, UNADCST+7, UNADCST+9, UNADCST+11, UNADCST+13* |
>> X | MSG+30*, MSG+31*, MSG+32*, MSG+33*, MSG+87*, MSG+88*, MSG+89*, MSG+90* |
>> XMCHAN | MAIL+10* |
>> XMSUB | MAIL+7* |
>> XMTEXT | MAIL+8* |
>> XMY | MAIL+11* |
>> Y | MSG+12*, MSG+13*, MSG+31, MSG+33, MSG+88, MSG+90 |