PSXCSSUM ;BIR/JMB-Drug Cost by Facility Report ;08 Oct 97 5:31 PM
Source file <PSXCSSUM.m>
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 |
---|---|---|
CMOP | 1 | PSX COST DRUG COST BY FAC |
Name | Comments | DBIA/ICR reference |
---|---|---|
DEV | ;Device handling
|
|
START | ;Queued entry point
|
|
ALL | ;Loops thru all facilities
|
|
ALLDV | ;Loops thru all divisions
|
|
DATE | ;Entry point if specific fac & div OR this is called by ALL & ALLDV
|
|
DRUG | ;Gets drug data & sets ^TMP nodes
|
|
;Print report if no data found
|
||
EX | ||
EX1 | ||
HD | ;N X,Y S X=PSXFAC,DIC(0)="MNZ",DIC=4 S:$D(^PSX(552,"D",X)) X=$E(X,2,99) D ^DIC S PSXFACN=$S($G(Y(0,0))]"":Y(0,0),1:"UNKNOWN") K DIC,X,Y ;****DOD L1
|
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 |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^DIC(4 - [#4] | GET1^DIQ |
Name | Field # of Occurrence |
---|---|
^( | DRUG+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> % | PRINT+2 |
%ZIS | DEV+1!* |
%ZIS("B" | DEV+1* |
>> AGNCY | HD+1* |
IO | START+1 |
IO("Q" | DEV+3, DEV+4! |
IOF | EX, HD+3 |
IOM | DEV+2 |
ION | DEV+1 |
IOP | DEV+1!* |
IOSL | PRINT+6 |
IOST | DEV+2 |
POP | DEV+1! |
>> PSXAVG | PRINT+7*, PRINT+8* |
>> PSXBDT | DATE+3, PRINT+2 |
>> PSXBDTR | PRINT+2*, HD+4 |
>> PSXCNT | PRINT+4*, PRINT+6*, PRINT+8 |
>> PSXCNTO | PRINT+4*, PRINT+6*, PRINT+8 |
>> PSXCNTR | PRINT+4*, PRINT+6*, PRINT+8 |
>> PSXCOST | PRINT+4*, PRINT+6*, PRINT+8 |
>> PSXDG | DATE+4*, DRUG+1 |
>> PSXDLN | START+1*, HD+5 |
>> PSXDT | DATE+3*, DATE+4, DRUG+1 |
>> PSXDV | START+3, ALL+1*, ALLDV+1*, DATE+1, DRUG+1*, DRUG+2, DRUG+3, PRINT+5*, PRINT+6, PRINT+7 |
>> PSXDVCNT | PRINT+5*, PRINT+8 |
>> PSXEDT | DATE+3, PRINT+2 |
>> PSXEDTR | PRINT+2*, HD+4 |
>> PSXFAC | START+3, ALL+1*, ALLDV+1, DATE+1, DATE+3, DATE+4, DRUG+1, DRUG+2, DRUG+3, PRINT+4* , PRINT+5, PRINT+6, HD+1 |
>> PSXFACN | HD+2*, HD+4 |
>> PSXFLS | PRINT+6*, PRINT+7 |
>> PSXG | DEV+3* |
>> PSXIDV | DATE+1*, DATE+3, DATE+4, DRUG+1 |
PSXION | DEV+1*!, DEV+3! |
>> PSXOUT | PSXCSSUM+3 |
>> PSXPG | PRINT+2*, HD+3* |
>> PSXRUN | PRINT+2*, HD+3 |
>> PSXSLN | START+1*, PRINT+8 |
X | HD+1~*, HD+2! |
Y | DRUG+1*, DRUG+2, DRUG+3, PRINT+2*, PRINT+6*, PRINT+7, HD+1~*, HD+2*! |
>> ZTDESC | DEV+3* |
>> ZTRTN | DEV+3* |
>> ZTSAVE( | DEV+3* |
ZTSK | DEV+1!, DEV+4! |