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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: PSNPPSNU

Package: National Drug File

Routine: PSNPPSNU


Information

PSNPPSNU ;HP/MJE-PPSN update NDF data ; 05 Mar 2014 1:20 PM

Source Information

Source file <PSNPPSNU.m>

Call Graph

Call Graph

Call Graph Total: 14

Package Total Call Graph
National Drug File 7 ^PSNPPSCL  DATANT^PSNPPSI1  (DRGMSG,MESSAGE)^PSNPPSMG  (CTRKDL,CTRLSS,ERRORMS)^PSNPPSMS  POSTRUN^PSNPPSNK  LOAD^PSNPPSNV  (EN1,REMATCH)^PSNPPSNW  
Kernel 4 APPERROR^%ZTER  ^%ZTLOAD  $$FMTE^XLFDT  $$PATCH^XPDUTL  
VA FileMan 2 (,UPDATE)^DIE  ENALL^DIK  
Pharmacy Data Management 1 PSN^PSSHUIDG  

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: 5

Package Total Caller Graph
National Drug File 5 PSNPPSI2  PSNPPSI3  PSNPPSNF  PSNPPSNK  PSNPPSNW  

Entry Points

Name Comments DBIA/ICR reference
WORD ;
DRUGFILE ;
REINDEX ;Make sure APC xref is correct
MORE ; REINDEXING
QUIT ;
ERROR ;Track file errors
ERROR2(PSNERRN,PSNERRF,PSNERRIE,PSNERRFL,PSNERRTY) ;Track DICN errors
STRIP(X) ; Strip control characters
UNMDRG ; Unmatch Drug File entry

External References

Name Field # of Occurrence
APPERROR^%ZTER ERROR+1, ERROR2+1
^%ZTLOAD DRUGFILE+31
^DIE DRUGFILE+15, DRUGFILE+22, DRUGFILE+23, DRUGFILE+24
UPDATE^DIE WORD+3, REINDEX+2
ENALL^DIK REINDEX+11
^PSNPPSCL MORE+12
DATANT^PSNPPSI1 PSNPPSNU+22
DRGMSG^PSNPPSMG DRUGFILE+26
MESSAGE^PSNPPSMG WORD+9
CTRKDL^PSNPPSMS WORD+1, WORD+8, WORD+11, DRUGFILE+33, MORE+1
CTRLSS^PSNPPSMS WORD+6
ERRORMS^PSNPPSMS MORE+13
POSTRUN^PSNPPSNK PSNPPSNU+23
LOAD^PSNPPSNV DRUGFILE+14
EN1^PSNPPSNW DRUGFILE+4
REMATCH^PSNPPSNW DRUGFILE+19
PSN^PSSHUIDG DRUGFILE+31
$$FMTE^XLFDT DRUGFILE+11
$$PATCH^XPDUTL DRUGFILE+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMR(120.8 - [#120.8] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^GMR(120.8 - [#120.8] REINDEX+5, REINDEX+6, REINDEX+7!
^PS(50.416 - [#50.416] MORE+3!*, MORE+6, MORE+7, MORE+8, MORE+9
^PS(50.605 - [#50.605] DRUGFILE+23
^PS(56 - [#56] MORE+5!, MORE+10*
^PS(59.7 - [#59.7] PSNPPSNU+17
^PSDRUG - [#50] DRUGFILE+7, DRUGFILE+8, DRUGFILE+14!, DRUGFILE+15, DRUGFILE+20!, DRUGFILE+21, DRUGFILE+24, UNMDRG+2, UNMDRG+3*
^PSDRUG("AQ1" UNMDRG+5!
^PSDRUG("VAPN" UNMDRG+4!
^PSNDF(50.68 - [#50.68] DRUGFILE+9, DRUGFILE+22, DRUGFILE+23, DRUGFILE+24
^TMP("PSN PPSN ERR" PSNPPSNU+14!, QUIT+4!, ERROR+6*, ERROR2+3*
^TMP("PSN PPSN PARSED" PSNPPSNU+19, WORD+5, DRUGFILE+4, DRUGFILE+6, DRUGFILE+18, DRUGFILE+28
^TMP("PSN PPSN.WP" PSNPPSNU+14!
^TMP("PSN" PSNPPSNU+14!, QUIT+4!
^TMP("PSNINGRED" PSNPPSNU+14!, QUIT+4!
^TMP("PSNN" PSNPPSNU+14!, QUIT+4!
^TMP($J PSNPPSNU+14!, DRUGFILE+3!, DRUGFILE+12*, DRUGFILE+31, QUIT+4!

Label References

Name Line Occurrences
@( DRUGFILE+28
ERROR DRUGFILE+15, DRUGFILE+22, DRUGFILE+23, DRUGFILE+24
UNMDRG DRUGFILE+13

Naked Globals

Name Field # of Occurrence
^( DRUGFILE+15*, DRUGFILE+24*, MORE+3, MORE+5
^("DOS1" DRUGFILE+14!, DRUGFILE+20!
^("DOS2" DRUGFILE+14!, DRUGFILE+20!
^("I" DRUGFILE+7
^("ND" DRUGFILE+7
^("POST" DRUGFILE+28
^(0 MORE+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CL PSNPPSNU+9~, QUIT+2!
CLA PSNPPSNU+9~, DRUGFILE+7*, QUIT+2!
CLASS REINDEX+4~, REINDEX+7*
CMOP PSNPPSNU+9~, DRUGFILE+7*, DRUGFILE+10, QUIT+2!
CT PSNPPSNU+9~, WORD+5*, WORD+6*, QUIT+2!
>> CTRLIEN WORD+2, REINDEX+1
>> CTRLXIEN WORD+2, REINDEX+1
DA PSNPPSNU+9~, DRUGFILE+6*, DRUGFILE+7*, DRUGFILE+8, DRUGFILE+12, DRUGFILE+14, DRUGFILE+15, DRUGFILE+19, DRUGFILE+20, DRUGFILE+21
, DRUGFILE+24, REINDEX+4~, MORE+3*, MORE+5*, MORE+10, QUIT+2!, UNMDRG+2, UNMDRG+3, UNMDRG+4, UNMDRG+5
DA(1 REINDEX+8*
DA1 PSNPPSNU+9~, QUIT+2!
DIA PSNPPSNU+9~, QUIT+2!, ERROR+5, ERROR+6, ERROR2+3
DIC PSNPPSNU+9~, QUIT+2!
DIE PSNPPSNU+9~, DRUGFILE+15*!, DRUGFILE+22*, DRUGFILE+23*, DRUGFILE+24*!, QUIT+2!
DIK PSNPPSNU+9~, REINDEX+4~, REINDEX+9*, QUIT+2!
DIK(1 REINDEX+10*
DINUM PSNPPSNU+9~, QUIT+2!
DR PSNPPSNU+9~, DRUGFILE+15*!, DRUGFILE+22*, DRUGFILE+23*, DRUGFILE+24*!, QUIT+2!
DT DRUGFILE+7
ERRFILE ERROR+2~, ERROR+3*, ERROR+5*, ERROR+6
ERRIEN ERROR+2~, ERROR+3*, ERROR+5*, ERROR+6
>> ERROR("DIERR" DRUGFILE+15, DRUGFILE+22, DRUGFILE+23, DRUGFILE+24, ERROR+4, ERROR+5, ERROR+6
FDA PSNPPSNU+9~, WORD+4!, REINDEX+3!, QUIT+2!
FDA( WORD+2*, REINDEX+1*
FILE PSNPPSNU+9~, QUIT+2!, ERROR+6
FLDS PSNPPSNU+9~, QUIT+2!
GE PSNPPSNU+9~, DRUGFILE+7*, QUIT+2!
GMRAIEN REINDEX+4~, REINDEX+6*, REINDEX+7
GROOT PSNPPSNU+9~, QUIT+2!
GROOT1 PSNPPSNU+9~, QUIT+2!
I STRIP+1~, STRIP+2*
IENS PSNPPSNU+9~, QUIT+2!
IN PSNPPSNU+9~, DRUGFILE+7*, DRUGFILE+12*, QUIT+2!
INA PSNPPSNU+9~, DRUGFILE+7*, DRUGFILE+11, QUIT+2!
IND PSNPPSNU+9~, DRUGFILE+15*, DRUGFILE+24*, QUIT+2!
INDX PSNPPSNU+9~, DRUGFILE+11*, DRUGFILE+12, QUIT+2!
INV PSNPPSNU+9~, DRUGFILE+7*, DRUGFILE+11, QUIT+2!
J PSNPPSNU+9~, QUIT+2!
JJ PSNPPSNU+9~, QUIT+2!
K PSNPPSNU+9~, MORE+3*, QUIT+2!
LI PSNPPSNU+10~, QUIT+2!
LINE PSNPPSNU+10~, QUIT+2!
MJJ PSNPPSNU+11~
NA PSNPPSNU+10~, DRUGFILE+7*, DRUGFILE+12, MORE+6*, MORE+7*, MORE+8*, MORE+9*, QUIT+2!
NAME PSNPPSNU+10~, WORD+6*, QUIT+2!
ND PSNPPSNU+10~, DRUGFILE+21*, DRUGFILE+22, QUIT+2!, UNMDRG+1~, UNMDRG+2*
NDP10 UNMDRG+1~, UNMDRG+2*, UNMDRG+5
NEW PSNPPSNU+10~, QUIT+2!, ERROR+6, ERROR2+3
NFI PSNPPSNU+10~, DRUGFILE+22*, QUIT+2!
>> OLDNDF DRUGFILE+4*, DRUGFILE+5*, DRUGFILE+8*, DRUGFILE+18
PIECE UNMDRG+1~, UNMDRG+3*
POST PSNPPSNU+10~, DRUGFILE+28*, QUIT+2!
PR PSNPPSNU+10~, DRUGFILE+7*, DRUGFILE+9, DRUGFILE+10, DRUGFILE+20, DRUGFILE+21*, DRUGFILE+22, DRUGFILE+23, DRUGFILE+24, QUIT+2!
PRDNAM UNMDRG+1~, UNMDRG+2*, UNMDRG+4
PSN PSNPPSNU+10~, DRUGFILE+5*, DRUGFILE+14, DRUGFILE+20, QUIT+2!
PSN1 PSNPPSNU+10~, DRUGFILE+5*, DRUGFILE+15, MORE+5!*, MORE+6, MORE+7, MORE+10*, QUIT+2!
PSN1( MORE+6*, MORE+7*, MORE+10
PSN11 PSNPPSNU+10~, MORE+7*, QUIT+2!
PSN2 MORE+5!*, MORE+8, MORE+9, MORE+10*
PSN2( MORE+8*, MORE+9*, MORE+10
PSN21 PSNPPSNU+10~, MORE+9*, QUIT+2!
PSNDF PSNPPSNU+10~, PSNPPSNU+19*, QUIT+2!
PSNERRC ERROR+2~, ERROR+3*, ERROR+4*, ERROR+5, ERROR+6, ERROR2+2*
PSNERRF ERROR2~, ERROR2+3
PSNERRFL ERROR2~, ERROR2+3
PSNERRIE ERROR2~, ERROR2+3
PSNERRN ERROR2~, ERROR2+3
PSNERROR PSNPPSNU+11~, PSNPPSNU+17*, ERROR+3*, ERROR+6, ERROR2+2*
PSNERRTY ERROR2~, ERROR2+3
PSNMULTI PSNPPSNU+11~
PSNPS PSNPPSNU+13~, PSNPPSNU+17*, PSNPPSNU+18*, PSNPPSNU+23, DRUGFILE+4
>> PSNSCJOB WORD+12, DRUGFILE+34
PSNTMPN PSNPPSNU+13~, ERROR+6
PSNUNMAT DRUGFILE+2~
R1 PSNPPSNU+10~, QUIT+2!
REM DRUGFILE+2~, DRUGFILE+18*, DRUGFILE+19
RES1 PSNPPSNU+13~
ROOT PSNPPSNU+10~, QUIT+2!, ERROR+6
ROOT1 PSNPPSNU+10~, WORD+5*, WORD+6, QUIT+2!
ROOT2 PSNPPSNU+10~, WORD+5*, WORD+6*, DRUGFILE+6*, DRUGFILE+10, QUIT+2!
ROOT3 PSNPPSNU+10~, WORD+6*, DRUGFILE+6*, DRUGFILE+20, QUIT+2!
SUB REINDEX+4~, REINDEX+5*, REINDEX+6, REINDEX+7, REINDEX+8
SUBS PSNPPSNU+10~, QUIT+2!
TREC PSNPPSNU+11~, PSNPPSNU+19*
U REINDEX+6
VAC PSNPPSNU+10~, DRUGFILE+23*, QUIT+2!
VAIN PSNPPSNU+10~, DRUGFILE+9*, DRUGFILE+10, DRUGFILE+11, QUIT+2!
VAPN PSNPPSNU+10~, DRUGFILE+7*, DRUGFILE+11, QUIT+2!
X PSNPPSNU+11~, DRUGFILE+7*, DRUGFILE+10*, DRUGFILE+11*, DRUGFILE+12, MORE+3*, QUIT+3!, STRIP~, STRIP+2
XMDUZ PSNPPSNU+11~, QUIT+3!
XMSUB PSNPPSNU+11~, QUIT+3!
XMTEXT PSNPPSNU+11~, QUIT+3!
XMY PSNPPSNU+11~, QUIT+3!
XMZ PSNPPSNU+11~, QUIT+3!
XPATH PSNPPSNU+12~
XPDIDTOT PSNPPSNU+13~, PSNPPSNU+19*
XUMF QUIT+3!
Y STRIP+1~, STRIP+2*, STRIP+3
ZTDESC PSNPPSNU+12~, DRUGFILE+31*, QUIT+3!
ZTDTH PSNPPSNU+12~, DRUGFILE+31*, QUIT+3!
ZTIO PSNPPSNU+12~, DRUGFILE+31*, QUIT+3!
ZTRTN PSNPPSNU+12~, DRUGFILE+31*, QUIT+3!
ZTSAVE PSNPPSNU+12~, QUIT+3!
ZTSAVE("^TMP($J,""^""," DRUGFILE+31*

Marked Items

Name Field # of Occurrence
$T(PSN^PSSHUIDG DRUGFILE+31
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All