PSOPROD2 ;ALB/MRD - Pharmacy Productivity and Revenue Report ;9/8/15
Source file <PSOPROD2.m>
Package | Total | Call Graph |
---|---|---|
E Claims Management Engine | 2 | $$STATUS^BPSOSRX ($$BPSINSCO,$$PAIDAMNT)^BPSUTIL |
VA FileMan | 2 | $$GET1^DIQ ^DIR |
Kernel | 1 | ($$FMTE,$$NOW)^XLFDT |
Outpatient Pharmacy | 1 | $$FIND^PSOREJUT |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ; Main entry point for compile and print.
|
|
COMPILE | ; Compile data for report.
|
|
ECMEINS(PSOEPAYABLE) | ; Check ECME Status and Insurance Company.
|
|
ADDLINE | ; Add one Rx/Fill to the ^TMP global.
|
|
; Print report data.
|
||
PX | ;
|
|
PRINTX | ;
|
|
EXCELN | ; Write one line in Excel format.
|
|
HDR | ; Write the report header.
|
|
HDRX | ;
|
|
EXCELHDR | ; Write the Excel header record.
|
Name | Field # of Occurrence |
---|---|
$$STATUS^BPSOSRX | ECMEINS+8 |
$$BPSINSCO^BPSUTIL | ECMEINS+14 |
$$PAIDAMNT^BPSUTIL | COMPILE+107, COMPILE+127 |
$$GET1^DIQ | COMPILE+61, COMPILE+66, COMPILE+68, COMPILE+72, COMPILE+80, COMPILE+84, COMPILE+90, COMPILE+92, COMPILE+102, COMPILE+104 , COMPILE+105, ADDLINE+2, ADDLINE+3, PRINT+45, PRINT+49, PRINT+53, PRINT+57, PRINT+60, PRINT+61, EXCELN+4 , EXCELN+8, EXCELN+11, EXCELN+16, EXCELN+19, EXCELN+20 |
^DIR | PX+1, HDR+7 |
$$FIND^PSOREJUT | COMPILE+97 |
$$FMTE^XLFDT | PRINT+46, PRINT+47, PRINT+48, EXCELN+5, EXCELN+6, EXCELN+7, HDR+20, HDR+23 |
$$NOW^XLFDT | HDR+20 |
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 |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^DPT - [#2] | GET1^DIQ |
^VA(200 - [#200] | GET1^DIQ |
^DIC(36 - [#36] | GET1^DIQ |
^PSDRUG - [#50] | GET1^DIQ |
^PSRX - [#52] | GET1^DIQ |
52.1 | GET1^DIQ |
52.25 | GET1^DIQ |
^PS(59 - [#59] | GET1^DIQ |
^BPSF(9002313.93 - [#9002313.93] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^BPSF(9002313.93 - [#9002313.93] | PRINT+56, EXCELN+15 |
^PSRX - [#52] | COMPILE+126 |
^PSRX("CLSDAT" | COMPILE+51, COMPILE+53, COMPILE+76 |
^TMP("PSOPRODA" | EN+2!, EN+7!, ADDLINE+34*, PRINT+27, PRINT+30, PRINT+32, PRINT+34, PRINT+36, PRINT+37 |
^TMP("PSOPRODB" | EN+2!, EN+7!, ADDLINE+29, ADDLINE+30* |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DIR | PRINT+18~, PX+1!, HDR+7! |
DIR(0 | PX+1*, HDR+7* |
IOF | HDR+8 |
IOSL | PRINT+22*, PRINT+43, PRINT+69 |
IOST | COMPILE+44, PRINT+21 |
PSOACTION | COMPILE+38~, COMPILE+105*, COMPILE+123*, ADDLINE+8 |
PSOCOB | COMPILE+38~, COMPILE+92*, COMPILE+93*, ECMEINS+8 |
PSOCRT | PRINT+18~, PRINT+21*, PX+1, HDR+7, HDR+8, HDR+9 |
PSODASHES | PRINT+18~, PRINT+23*, HDR+31, HDR+36 |
PSODATA | COMPILE+38~, ADDLINE+2*, ADDLINE+3*, ADDLINE+4*, ADDLINE+5*, ADDLINE+6*, ADDLINE+7*, ADDLINE+8*, ADDLINE+9*, ADDLINE+10* , ADDLINE+11*, ADDLINE+12*, ADDLINE+13*, ADDLINE+14*, ADDLINE+15*, ADDLINE+29*, ADDLINE+34, PRINT+18~, PRINT+37*, PRINT+46 , PRINT+47, PRINT+48, PRINT+49, PRINT+50, PRINT+51, PRINT+52, PRINT+53, PRINT+54, PRINT+55, PRINT+56 , PRINT+58, PRINT+60, PRINT+61, EXCELN+5, EXCELN+6, EXCELN+7, EXCELN+8, EXCELN+9, EXCELN+10, EXCELN+11 , EXCELN+12, EXCELN+14, EXCELN+15, EXCELN+16, EXCELN+19, EXCELN+20, EXCELN+21 |
PSODATE | COMPILE+38~, COMPILE+50*, COMPILE+51*, COMPILE+53, COMPILE+76, COMPILE+103 |
>> PSODIV | COMPILE+73, HDR+22 |
>> PSODIV( | COMPILE+73 |
PSODIVISION | COMPILE+38~, COMPILE+72*, COMPILE+73, ADDLINE+13, ADDLINE+21 |
PSODRUG | COMPILE+38~, COMPILE+66*, COMPILE+67, COMPILE+68*, ADDLINE+11, ADDLINE+21 |
>> PSODTBEGIN | COMPILE+51, HDR+23 |
>> PSODTEND | COMPILE+50, HDR+23 |
PSODTREJECTED | COMPILE+39~, COMPILE+102*, COMPILE+120*, ADDLINE+5 |
PSODTRESLVDA | COMPILE+39~, COMPILE+103*, COMPILE+106, ADDLINE+21 |
PSODTRESLVDB | COMPILE+39~, COMPILE+106*, COMPILE+121*, ADDLINE+6 |
PSOECMESTATUS | COMPILE+39~, ECMEINS+8*, ECMEINS+9, ECMEINS+10, ECMEINS+11, ECMEINS+12 |
PSOEPAYABLE | COMPILE+40~, COMPILE+110, COMPILE+129, ECMEINS~, ECMEINS+7*, ECMEINS+12*, ADDLINE+15 |
>> PSOEXCEL | COMPILE+44, PRINT+22, PRINT+24, PRINT+27, PRINT+41, PRINT+70, HDR+14 |
PSOFILL | COMPILE+40~, COMPILE+90*, COMPILE+91*, COMPILE+97, COMPILE+107, COMPILE+126*, COMPILE+127, ECMEINS+8, ECMEINS+14, ADDLINE+2 , ADDLINE+3, ADDLINE+29, ADDLINE+30, ADDLINE+34, PRINT+18~, PRINT+33*, PRINT+34*, PRINT+36, PRINT+37, PRINT+45 , EXCELN+4 |
>> PSOINCLUDE | PRINT+24, HDR+25, HDR+26 |
>> PSOINCLUDE( | HDR+25, HDR+26 |
>> PSOINCLUDE("DRUG" | COMPILE+67 |
>> PSOINCLUDE("INSURANCE" | ECMEINS+15 |
>> PSOINCLUDE("PATIENT" | COMPILE+62, PRINT+24* |
>> PSOINCLUDE("R | EJECT CODE" , COMPILE+85 |
>> PSOINCLUDE("RX" | COMPILE+57 |
PSOINSURANCE | COMPILE+40~, ECMEINS+14*, ECMEINS+15, ADDLINE+10 |
PSOPAGE | PRINT+18~, PRINT+23*, HDR+7, HDR+8, HDR+9, HDR+10*, HDR+21 |
PSOPAIDAMT | COMPILE+40~, COMPILE+107*, COMPILE+108*, COMPILE+127*, COMPILE+128*, ADDLINE+9 |
PSOPATIENT | COMPILE+40~, COMPILE+61*, COMPILE+62, ADDLINE+14 |
PSOREJ | COMPILE+41~, COMPILE+75*, COMPILE+76*, COMPILE+80, COMPILE+84, COMPILE+90, COMPILE+92, COMPILE+102, COMPILE+104, COMPILE+105 , ADDLINE+34, PRINT+35*, PRINT+36*, PRINT+37 |
PSOREJCODEA | COMPILE+41~, COMPILE+84*, COMPILE+85, COMPILE+86, ADDLINE+21 |
PSOREJCODEB | COMPILE+41~, COMPILE+86*, COMPILE+124*, ADDLINE+12 |
>> PSOREPORT | COMPILE+80, COMPILE+115, HDR+18 |
PSORESLVDBYA | COMPILE+41~, COMPILE+104*, COMPILE+106, ADDLINE+21 |
PSORESLVDBYB | COMPILE+41~, COMPILE+106*, COMPILE+122*, ADDLINE+7 |
PSORX | COMPILE+42~, COMPILE+52*, COMPILE+53*, COMPILE+57, COMPILE+61, COMPILE+66, COMPILE+72, COMPILE+76, COMPILE+80, COMPILE+84 , COMPILE+90, COMPILE+92, COMPILE+97, COMPILE+102, COMPILE+104, COMPILE+105, COMPILE+107, COMPILE+126, COMPILE+127, ECMEINS+8 , ECMEINS+14, ADDLINE+2, ADDLINE+3, ADDLINE+29, ADDLINE+30, ADDLINE+34, PRINT+18~, PRINT+31*, PRINT+32*, PRINT+34 , PRINT+36, PRINT+37, PRINT+45, EXCELN+4 |
>> PSOSHOWPAT | PRINT+24, PRINT+61, HDR+35 |
>> PSOSORT | ADDLINE+21 |
>> PSOSORT(0 | HDR+27 |
PSOSORTB | COMPILE+42~, ADDLINE+21*, ADDLINE+34, PRINT+19~, PRINT+29*, PRINT+30*, PRINT+32, PRINT+34, PRINT+36, PRINT+37 |
>> PSOSTATUS | ECMEINS+10, ECMEINS+11 |
>> PSOSTATUS(0 | HDR+24 |
PSOSTOP | PRINT+19~, PRINT+23*, PRINT+30, PRINT+32, PRINT+34, PRINT+36, PRINT+43, PRINT+68, PRINT+69, HDR+7* |
PSOX | PRINT+19~, PRINT+56*, PRINT+57*, PRINT+58, EXCELN+2~, EXCELN+13*, EXCELN+15*, EXCELN+16*, EXCELN+18 |
U | COMPILE+107, COMPILE+127, ECMEINS+8, ADDLINE+29, PRINT+46, PRINT+47, PRINT+48, PRINT+49, PRINT+50, PRINT+51 , PRINT+52, PRINT+53, PRINT+54, PRINT+55, PRINT+56, PRINT+58, PRINT+60, PRINT+61, EXCELN+5, EXCELN+6 , EXCELN+7, EXCELN+8, EXCELN+9, EXCELN+10, EXCELN+11, EXCELN+12, EXCELN+14, EXCELN+15, EXCELN+16, EXCELN+19 , EXCELN+20, EXCELN+21 |
Y | PRINT+19~, HDR+7 |
>> ZTQUEUED | EN+9 |
>> ZTREQ | EN+9* |