Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PSUCS17

Package: Pharmacy Benefits Management

Routine: PSUCS17


Information

PSUCS17 ;BIR/DJE,DJM - GENERATE PSU CS RECORDS (TYPE 17) ;25 AUG 1998

Source Information

Source file <PSUCS17.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Pharmacy Benefits Management 4 DIVISION^PSUCS2  (FORMIND,GNAME,LOCTYP,NDC,NFIND,VDC,VPNAME)^PSUCS4  BUILDREC^PSUCS5  $$VALI^PSUTL  
Registration 1 PID^VADPT  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Pharmacy Benefits Management 1 PSUCS1  

Entry Points

Name Comments DBIA/ICR reference
EN ;EP scan the ^XTMP(job,"MC",loc,pat,drug,qt)=PSUIENDA
; where type 17 were stored combining multiples for a patient
DRUG ;EP loop drugs within patient
TYP17 ; Processing the transaction for dispensing type 17
FACILTY ;
SSN ;Field # 58.81,73 [PATIENT] Points to File # 2
DUNIT ;Dispense Unit
UNITC ;Unit Cost
QTY17 ;For transactions with a dispensing type =17, total the number of doses

External References

Name Field # of Occurrence
DIVISION^PSUCS2 FACILTY+1
FORMIND^PSUCS4 TYP17+17
GNAME^PSUCS4 TYP17+11
LOCTYP^PSUCS4 TYP17+11
NDC^PSUCS4 TYP17+17
NFIND^PSUCS4 TYP17+17
VDC^PSUCS4 TYP17+24
VPNAME^PSUCS4 TYP17+24
BUILDREC^PSUCS5 DRUG+10
$$VALI^PSUTL DRUG+5, DUNIT+2, UNITC+2
PID^VADPT SSN+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^XTMP( EN+3, EN+5, DRUG+2, QTY17+8

Label References

Name Line Occurrences
DRUG EN+5
DUNIT TYP17+21
FACILTY TYP17+4
QTY17 TYP17+21
SSN TYP17+8
TYP17 DRUG+8
UNITC TYP17+21

Naked Globals

Name Field # of Occurrence
^( DRUG+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> DFN EN+4*, EN+5*, DRUG+2, DRUG+3, SSN+3*, QTY17+8
>> PSUCSJB EN+3, EN+5, DRUG+2, QTY17+8
>> PSUDRG DRUG+4*, QTY17+8
>> PSUDRG(4 DUNIT+2, UNITC+2
>> PSUDTM(3 DRUG+5*
>> PSUDUN( DUNIT+2*, DUNIT+3
>> PSUIENDA DRUG+4*, DRUG+5
>> PSULOC EN+2*, EN+3*, EN+5, DRUG+2, QTY17+8
>> PSULTP(1 TYP17+13
>> PSUMCHK EN+2*
>> PSUPDU(16 UNITC+2*
>> PSUPIEN(73 DRUG+3*, SSN+2, SSN+3
PSUPLC DRUG+11!
>> PSUSNDR DRUG+5
PSUSSN DRUG+11!
PSUSSN( SSN+4*
>> PSUTQY(5 DRUG+9, QTY17+8*
>> PSUTYP EN+2*
>> SENDER DRUG+5*
>> UNIT DUNIT+3*
>> VA("PID" SSN+4
>> X DRUG+2*, DRUG+4
Z DRUG+1*, DRUG+2*, DRUG+4, DRUG+7~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All