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

Package: National Drug File

Routine: PSN166D


Information

PSN166D ;BIR/DMA-post install routine to load data ; 06 Feb 2008 7:42 AM

Source Information

Source file <PSN166D.m>

Call Graph

Call Graph

Call Graph Total: 13

Package Total Call Graph
VA FileMan 5 FILE^DICN  (,FILE,UPDATE)^DIE  ENALL^DIK  $$ROOT^DILFD  $$GET1^DIQ  
Kernel 3 ^%ZTLOAD  $$FMTE^XLFDT  $$PATCH^XPDUTL  
National Drug File 2 ^PSNCLEAN  ING^PSNXREF  
Adverse Reaction Tracking 1 EN2^GMRAUIX0  
MailMan 1 ^XMD  
Pharmacy Data Management 1 PSN^PSSHUIDG  

Entry Points

Name Comments DBIA/ICR reference
DRUGFILE ;
QUIT
REINDEX ;Make sure APC xref is correct
GROUP
LOAD ;GET DOSE STUFF
LOAD1 ;BUILD THE MESSAGE
WORD
MESSAGE
MORE ;REINDEXING

External References

Name Field # of Occurrence
^%ZTLOAD DRUGFILE+27
FILE^DICN PSN166D+22
^DIE DRUGFILE+8, DRUGFILE+10, DRUGFILE+13, DRUGFILE+14, DRUGFILE+15, DRUGFILE+22
FILE^DIE PSN166D+21, PSN166D+45
UPDATE^DIE PSN166D+34
ENALL^DIK REINDEX+9
$$ROOT^DILFD PSN166D+19, PSN166D+26, PSN166D+39
$$GET1^DIQ PSN166D+21
EN2^GMRAUIX0 REINDEX+1
^PSNCLEAN MORE+11
ING^PSNXREF PSN166D+46
PSN^PSSHUIDG DRUGFILE+27
$$FMTE^XLFDT DRUGFILE+7, LOAD1+6
^XMD GROUP+6, GROUP+16, DRUGFILE+22
$$PATCH^XPDUTL DRUGFILE+3

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD( PSN166D+30, PSN166D+42
^GMR(120.8 - [#120.8] REINDEX+3, REINDEX+4, REINDEX+5!
^PS(50.416 - [#50.416] MORE+2!*, MORE+5, MORE+6, MORE+7, MORE+8
^PS(50.605 - [#50.605] DRUGFILE+14
^PS(50.607 - [#50.607] LOAD+1
^PS(56 - [#56] MORE+4!, MORE+9*
^PSDRUG - [#50] DRUGFILE+5, DRUGFILE+9!, DRUGFILE+10, DRUGFILE+11!, DRUGFILE+12, DRUGFILE+15, LOAD+1, LOAD+2, LOAD+3, LOAD+4
, LOAD+5
^PSNDF(50.68 - [#50.68] DRUGFILE+6, DRUGFILE+13, DRUGFILE+14, DRUGFILE+15
^TMP("PSN" PSN166D+10!, DRUGFILE+17!, QUIT+2!, LOAD1+1*, LOAD1+2*, LOAD1+3*, LOAD1+5*, LOAD1+6*, LOAD1+7*
^TMP("PSNN" PSN166D+10!, PSN166D+35*, PSN166D+46, QUIT+2!
^TMP($J PSN166D+10!, MESSAGE!*, GROUP+8!*, DRUGFILE+2!, DRUGFILE+7*, DRUGFILE+27, QUIT+2!, LOAD+1*, LOAD+2*, LOAD+3*
, LOAD+4*, LOAD+5*, LOAD1+5, LOAD1+6, LOAD1+7
^XMB("NETNAME" GROUP, GROUP+10, DRUGFILE+19
^XUSEC("PSNMGR" GROUP+1, GROUP+11, DRUGFILE+20

Label References

Name Line Occurrences
@( DRUGFILE+24
LOAD DRUGFILE+9
LOAD1 DRUGFILE+17
MORE REINDEX+1

Naked Globals

Name Field # of Occurrence
^( DRUGFILE+10*, DRUGFILE+15*, MORE+2, MORE+4, LOAD+2*, LOAD+3*, LOAD+4*, LOAD+5*, LOAD1+6, LOAD1+7
^("DOS1" DRUGFILE+9!, DRUGFILE+11!
^("DOS2" DRUGFILE+9!, DRUGFILE+11!
^("I" DRUGFILE+5
^("ND" DRUGFILE+5
^("POST" DRUGFILE+24
^(0 MORE+4, LOAD1+6*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CL PSN166D+7~, QUIT!
CLA PSN166D+7~, DRUGFILE+5*, QUIT!
CLASS REINDEX+2~, REINDEX+5*
CMOP PSN166D+7~, DRUGFILE+5*, DRUGFILE+7, QUIT!
CT PSN166D+7~, WORD*, WORD+1*, QUIT!
DA PSN166D+7~, PSN166D+20*, PSN166D+21, PSN166D+22, PSN166D+32*, PSN166D+34, PSN166D+46*, GROUP+1*, GROUP+11*, DRUGFILE+4*
, DRUGFILE+5*, DRUGFILE+7, DRUGFILE+9, DRUGFILE+10, DRUGFILE+11, DRUGFILE+12, DRUGFILE+15, DRUGFILE+20*, DRUGFILE+22*, REINDEX+2~
, MORE+2*, MORE+4*, MORE+9, QUIT!, LOAD+1, LOAD+2, LOAD+3, LOAD+4, LOAD+5
DA(1 PSN166D+46*, REINDEX+6*
DA1 PSN166D+7~, QUIT!, LOAD+2*, LOAD+3*, LOAD+4*, LOAD+5*
DD PSN166D+22!
DIA PSN166D+7~, PSN166D+19*, PSN166D+20, PSN166D+26*, PSN166D+27, PSN166D+30, PSN166D+31, PSN166D+35, PSN166D+39*, PSN166D+40
, PSN166D+42, PSN166D+43, QUIT!
DIC PSN166D+7~, PSN166D+22*, QUIT!
DIC("DR" PSN166D+22*
DIC(0 PSN166D+22*
DIE PSN166D+7~, DRUGFILE+8*!, DRUGFILE+10*!, DRUGFILE+13*, DRUGFILE+14*, DRUGFILE+15*!, DRUGFILE+22*, QUIT!
DIFROM GROUP+6~, GROUP+16~, DRUGFILE+22~
DIK PSN166D+7~, REINDEX+2~, REINDEX+7*, QUIT!
DIK(1 REINDEX+8*
DINUM PSN166D+7~, PSN166D+22*, QUIT!
DO PSN166D+22!
DR PSN166D+7~, DRUGFILE+8*!, DRUGFILE+10*!, DRUGFILE+13*, DRUGFILE+14*, DRUGFILE+15*!, DRUGFILE+22*, QUIT!
DT DRUGFILE+5
DUZ GROUP+2, GROUP+12, DRUGFILE+21
FDA PSN166D+7~, PSN166D+20!, PSN166D+27!, PSN166D+40!, QUIT!
FDA( PSN166D+21*, PSN166D+34*, PSN166D+45*
FILE PSN166D+7~, PSN166D+17*, PSN166D+19*, PSN166D+21, PSN166D+24*, PSN166D+26*, PSN166D+27, PSN166D+35, PSN166D+37*, PSN166D+39*
, PSN166D+40, QUIT!
FLDS PSN166D+7~, PSN166D+27*, PSN166D+28, PSN166D+40*, PSN166D+41, PSN166D+44*, PSN166D+45, QUIT!
GE PSN166D+7~, DRUGFILE+5*, DRUGFILE+7, QUIT!
GMRAIEN REINDEX+2~, REINDEX+4*, REINDEX+5
GROOT PSN166D+7~, PSN166D+17*, PSN166D+19, PSN166D+24*, PSN166D+26, PSN166D+37*, PSN166D+39, QUIT!
GROOT1 PSN166D+7~, PSN166D+19*, PSN166D+26*, PSN166D+39*, QUIT!
IEN PSN166D+27!, PSN166D+40!
IEN( PSN166D+34*
IENS PSN166D+7~, PSN166D+20!, PSN166D+27*, PSN166D+31*, PSN166D+32, PSN166D+34, PSN166D+40*, PSN166D+43*, PSN166D+45, QUIT!
IN PSN166D+7~, DRUGFILE+5*, DRUGFILE+7*, QUIT!, LOAD+1, LOAD+2, LOAD+3, LOAD+4, LOAD+5
INA PSN166D+7~, DRUGFILE+5*, DRUGFILE+7, QUIT!
IND PSN166D+7~, DRUGFILE+10*, DRUGFILE+15*, QUIT!
INDX PSN166D+7~, DRUGFILE+7*, DRUGFILE+17*, QUIT!, LOAD+1, LOAD+2, LOAD+3, LOAD+4, LOAD+5, LOAD1+2
, LOAD1+5, LOAD1+6, LOAD1+7
INV PSN166D+7~, DRUGFILE+5*, DRUGFILE+7, QUIT!
J PSN166D+7~, PSN166D+30*, PSN166D+31*, PSN166D+42*, PSN166D+43*, QUIT!, LOAD+1*, LOAD+2*, LOAD+3*, LOAD+4*
, LOAD+5*, LOAD1+3*, LOAD1+6*, LOAD1+7*
JJ PSN166D+7~, PSN166D+19*, PSN166D+26*, PSN166D+39*, PSN166D+46*, QUIT!
K PSN166D+7~, MORE+2*, QUIT!
LI PSN166D+7~, PSN166D+30*, PSN166D+31*, PSN166D+42*, PSN166D+43*, QUIT!
LINE PSN166D+7~, DRUGFILE+17*, QUIT!, LOAD1+1*, LOAD1+2*, LOAD1+3*, LOAD1+5*, LOAD1+6*, LOAD1+7*
NA PSN166D+7~, DRUGFILE+5*, DRUGFILE+7, MORE+5*, MORE+6*, MORE+7*, MORE+8*, QUIT!, LOAD+1, LOAD+2
, LOAD+3, LOAD+4, LOAD+5, LOAD1+5*, LOAD1+6*, LOAD1+7
NAME PSN166D+7~, WORD+1*, QUIT!
ND PSN166D+7~, DRUGFILE+12*, DRUGFILE+13, QUIT!
NEW PSN166D+7~, PSN166D+19*, PSN166D+21, PSN166D+22, PSN166D+26*, PSN166D+34, PSN166D+39*, PSN166D+45, QUIT!
NFI PSN166D+7~, DRUGFILE+13*, QUIT!
POST PSN166D+7~, DRUGFILE+24*, QUIT!
PR PSN166D+7~, DRUGFILE+5*, DRUGFILE+6, DRUGFILE+7, DRUGFILE+11, DRUGFILE+12*, DRUGFILE+13, DRUGFILE+14, DRUGFILE+15, QUIT!
PSN PSN166D+7~, DRUGFILE+3*, DRUGFILE+9, DRUGFILE+11, QUIT!
PSN1 PSN166D+7~, DRUGFILE+3*, DRUGFILE+10, MORE+4!*, MORE+5, MORE+6, MORE+9*, QUIT!
PSN1( MORE+5*, MORE+6*, MORE+9
PSN11 PSN166D+7~, MORE+6*, QUIT!
PSN2 MORE+4!*, MORE+7, MORE+8, MORE+9*
PSN2( MORE+7*, MORE+8*, MORE+9
PSN21 PSN166D+7~, MORE+8*, QUIT!
PSNDF PSN166D+7~, PSN166D+12*, QUIT!
R1 PSN166D+7~, QUIT!
ROOT PSN166D+7~, PSN166D+19*, PSN166D+22, PSN166D+26*, PSN166D+27*, PSN166D+30*, PSN166D+34, PSN166D+39*, PSN166D+40*, PSN166D+42*
, PSN166D+45, QUIT!
ROOT1 PSN166D+7~, WORD*, WORD+1, DRUGFILE+4*, DRUGFILE+7, QUIT!
ROOT2 PSN166D+7~, WORD*, WORD+1*, DRUGFILE+4*, DRUGFILE+7, QUIT!
ROOT3 PSN166D+7~, WORD+1*, DRUGFILE+4*, DRUGFILE+11, QUIT!
SUB REINDEX+2~, REINDEX+3*, REINDEX+4, REINDEX+5, REINDEX+6
SUBS PSN166D+7~, QUIT!
U REINDEX+4
VAC PSN166D+7~, DRUGFILE+14*, QUIT!
VAIN PSN166D+7~, DRUGFILE+6*, DRUGFILE+7, QUIT!
VAPN PSN166D+7~, DRUGFILE+5*, DRUGFILE+7, QUIT!
X PSN166D+8~, PSN166D+22*, GROUP*, GROUP+10*, DRUGFILE+5*, DRUGFILE+7*, DRUGFILE+19*, MORE+2*, QUIT+1!, LOAD+1*
, LOAD+3*, LOAD+5*, LOAD1+6*
XMDUZ PSN166D+8~, GROUP+5*, GROUP+15*, DRUGFILE+18*, QUIT+1!
XMSUB PSN166D+8~, GROUP+4*, GROUP+14*, DRUGFILE+18*, QUIT+1!
XMTEXT PSN166D+8~, GROUP+6*, GROUP+16*, DRUGFILE+18*, QUIT+1!
XMY PSN166D+8~, GROUP!, GROUP+10!, DRUGFILE+19!, QUIT+1!
XMY( GROUP+1*, GROUP+2*, GROUP+11*, GROUP+12*, DRUGFILE+20*, DRUGFILE+21*
XMY("G." GROUP*, GROUP+10*, DRUGFILE+19*
XMZ PSN166D+8~, DRUGFILE+22, QUIT+1!
>> XPDGREF PSN166D+17, PSN166D+24, PSN166D+37, WORD, MESSAGE, GROUP, GROUP+8, GROUP+10, DRUGFILE+4, DRUGFILE+19
, DRUGFILE+24, LOAD1+3
XUMF PSN166D+8~, PSN166D+13*, QUIT+1!
ZTDESC PSN166D+9~, DRUGFILE+27*, QUIT+1!
ZTDTH PSN166D+9~, DRUGFILE+27*, QUIT+1!
ZTIO PSN166D+9~, DRUGFILE+27*, QUIT+1!
ZTRTN PSN166D+9~, DRUGFILE+27*, QUIT+1!
ZTSAVE PSN166D+9~, QUIT+1!
ZTSAVE("^TMP($J,""^""," DRUGFILE+27*

Marked Items

Name Field # of Occurrence
$T(EN2^GMRAUIX0 REINDEX+1
$T(PSN^PSSHUIDG DRUGFILE+27
Info |  Source |  Call 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