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 |  Interaction Calls |  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: PSOHELP

Package: Outpatient Pharmacy

Routine: PSOHELP


Information

PSOHELP ;BHAM ISC/SAB-outpatient utility routine ; 10/17/07 7:41am

Source Information

Source file <PSOHELP.m>

Call Graph

Call Graph

Call Graph Total: 11

Package Total Call Graph
Outpatient Pharmacy 4 XREF^PSOHELP3  $$UPPER^PSOSIG  $$MAXNUMRF^PSOUTIL  DAYS^PSOUTLA  
VA FileMan 4 EN^DDIOL  ^DIC  ^DIE  ^DIR  
List Manager 1 FULL^VALM1  
National Drug File 1 (,ENOP)^PSNPPIP  
Registration 1 (DEM,INP)^VADPT  

Caller Graph

Caller Graph Total: 33

Package Total Caller Graph
Outpatient Pharmacy 32 PSO ACTION PROFILE #2  PSO ALPHA DRUG LIST  PSO DISPLAY EDIT  PSO LM PRINT MED INFO  PSO LM PROFILE PRINT MED INFO  ^PSRX  PSO52API  PSOARX  
PSODIR  PSOERXD2  PSOHCSUM  PSONEW2  PSOORDER  PSOORED1  PSOORED4  PSOORED5  
PSOORED6  PSOORFI4  PSOORNE1  PSOORNE2  PSOORNE3  PSOORNE4  PSOORNE6  PSOP1  
PSORENW2  PSORENW3  PSORXVW  PSOVER1  PSOXX  PSOXZA10  REFILL  ^PS(52.41  
CMOP 1 REFILL  

Entry Points

Name Comments DBIA/ICR reference
XREF
SIG ;checks PI for RXs
SIGONE
EN
SSIG ;other lang. mods
EX
QTY ;Check quantity dispensed against inventory
HELP ;qty help
HLP
ADD ;add/edited local drug/drug interactions
QU
CRI ;change drug interaction severity to critical from significant
MAX
REF
PAT ;patient field screen in file 52
DIR
BG ;prevents editing of display groups with patients from name to ticket
CLNAP ;quits action profile
PRMI ;prints medication instruction sheets. select drug.
PRMID ;prints medication instruction sheets. pass in drug.

External References

Name Field # of Occurrence
EN^DDIOL SIG+2, SSIG+2, QTY+6, QTY+11, HLPHLP+1, HLP+2, HLP+3, MAX+3, MAX+7
REF+1, REF+2, PAT+2, PAT+3
^DIC ADD+2, CRI+1
^DIE ADD+3, CRI+3
^DIR DIRPRMI+5, PRMID+8
^PSNPPIP PRMI+3
ENOP^PSNPPIP PRMID+3, PRMID+6
XREF^PSOHELP3 XREF
$$UPPER^PSOSIG SIGONE+3, SSIG+6
$$MAXNUMRF^PSOUTIL MAX+5
DAYS^PSOUTLA REF+3
DEM^VADPT PAT+1
INP^VADPT PAT+1
FULL^VALM1 PRMI+3, PRMID+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $C(7),!?5,"MAX OF 32 CHARACTERS ALLOWED BETWEEN SPACES.",!
  • Line Location: SIGONE+1
Function Call: WRITE
  • Prompt: $C(7),!?5,"MAX OF 32 CHARACTERS ALLOWED BETWEEN SPACES.",!
  • Line Location: SSIG+4
Function Call: WRITE
  • Prompt: !
  • Line Location: ADD+1
Function Call: WRITE
  • Prompt: !,"Entry is being edited by another user. Try Later!",!
  • Line Location: ADD+2
Function Call: WRITE
  • Prompt: !
  • Line Location: CRI+1
Function Call: WRITE
  • Prompt: !,"Entry is being edited by another user. Try Later!",!
  • Line Location: CRI+2
Function Call: WRITE
  • Prompt: !,$C(7),"The display cannot be changed from NAME to TICKET when patients are",!,"already in the Display Group. All patients must be purged and re-entered.",!,"Ticket numbers must be issued !!",!
  • Line Location: BG+1
Function Call: WRITE
  • Prompt: !!
  • Line Location: PRMI+3
Function Call: WRITE
  • Prompt: PSNPPI("MESSAGE"),!
  • Line Location: PRMI+5
Function Call: WRITE
  • Prompt: !!
  • Line Location: PRMID+6
Function Call: WRITE
  • Prompt: PSNPPI("MESSAGE"),!
  • Line Location: PRMID+8
Routine Call
  • DIC
  • Line Location:
    • ADD+2
    • CRI+1
Routine Call
  • DIE
  • Line Location:
    • ADD+3
    • CRI+3
Routine Call
  • DIR
  • Line Location:
    • DIR
    • PRMI+5
    • PRMID+8

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PS(56 - [#56] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("TEST" PRMI+1
^DD("DILOCKTM" ADD+2, CRI+2
^PS(51 - [#51] SIGONE+4, SIGONE+5, SSIG+7, SSIG+8
^PS(53 - [#53] MAXREF
^PS(56 - [#56] ADD+2, ADD+3, QUCRI+2, CRI+3
^PS(59.3 - [#59.3] BG+1*
^PSDRUG - [#50] QTY+6, QTY+8, QTY+11, MAX+1
^PSDRUG("AQ" HLP
^PSRX - [#52] QTY+2, HELP+2, MAXMAX+2, MAX+3*, MAX+6, REFPRMID+5, PRMID+6

Label References

Name Line Occurrences
ADD ADD+2, ADD+3
CRI CRI+1, CRI+2, CRI+3
DIR PAT+3
EN SIGONE
EX SSIG+3
HLP HELP+1
MAX REF+1
QU ADD+2, CRI+1, CRI+4

Naked Globals

Name Field # of Occurrence
^( MAX+6
^(0 QTY+2, MAXREF
^(660 QTY+8, QTY+11
^(660.1 QTY+6, QTY+8
^(9 SIGONE+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> CLOZPAT MAX+2, MAX+5
CS MAX+1*, MAX+3!, REF+4!
>> D0 QTY+7*, QTY+8, QTY+11*
DA QTY+2, HELP+2, ADD+2*, ADD+3!, QU!, CRI+1*, CRI+2, CRI+3!, MAXMAX+2
MAX+3, MAX+6, REFBG+1
DAYS REF+4!
DEA REF+4!
DFN PAT+1*, PAT+2!, PAT+4!, DIR+1!
DIC ADD+2*, QU!, CRI+1*, PAT+1~
DIC("A" ADD+1*, CRI+1*
DIC("S" ADD+2*, CRI+1*
DIC(0 ADD+1*, CRI+1*
DIE ADD+2*, QU!, CRI+1*, PAT+1~
DIR PAT+3!, DIR!, PRMI+5!, PRMID+8!
DIR("A" DIR*, PRMI+5*, PRMID+8*
DIR("B" DIR*
DIR(0 DIR*, PRMI+5*, PRMID+8*
DIRUT PAT+4!, DIR+1!, PRMI+5!, PRMID+8!
>> DLAYGO ADD+1*
>> DR ADD+2*, CRI+1*
DTOUT PAT+4!, DIR+1!
DUOUT PAT+4!, DIR+1!
>> EXH MAXMAX+7
INS1 SIGONE!, SIGONE+2*
MAX MAX+2*, MAX+5*, MAX+7!, REF+1, REF+4!
MAX1 MAX+7!, REF+4!
MIN MAX+2*, MAX+6*, MAX+7!, REF+2, REF+4!
>> ORN PRMID+2
>> P(2 MAX*, MAX+5, MAX+7!, REF*, REF+4!
>> P(5 MAX*, MAX+1, MAX+5, MAX+7!, REF*, REF+4!
>> P(7 MAX*, MAX+5, MAX+7!, REF*, REF+4!
PDP BG+1!
PSDAYS REF+4!
PSDY REF+4!
PSDY1 REF+4!
PSNDFN PRMI+2~*
>> PSNPPI("MESSAGE" PRMI+3!, PRMI+4, PRMI+5, PRMID+4!, PRMID+7, PRMID+8
>> PSNPPI("MESSGAE" PRMI+5!, PRMID+8!
PSODEA MAX+1*, MAX+3!, REF+4!
>> PSODFN PRMI+2, PRMID+6
>> PSODRUG("IEN" QTY+1, QTY+2, HELP+2, HLP
>> PSOFDR HELP+1
>> PSOLST( PRMID+2
PSOX REF+4!
PSOX1 REF+4!
PSRF REF*, REF+4!
>> PSXYES QTY+2, HELP+2
PTDY MAX*, REF*, REF+4!
PTRF MAX*, REF*, REF+4!
PTST MAX*, MAX+3!, REF*, REF+4!
REF MAX+6*, MAX+7!, REF+4!
RX0 PRMID+1~, PRMID+5*, PRMID+6
RXN PRMID+1~, PRMID+2*, PRMID+5, PRMID+6
SINS1 SSIG+3!, SSIG+5*
VA PAT+3!, DIR+1!
VADM DIR+1!
VADM(6 PAT+2
VADN PAT+3!
VAIN PAT+3!, DIR+1!
VAIN(4 PAT+3
>> VALMBCK PRMI+1*, PRMI+3*, PRMID+3*, PRMID+7*
VALMSG SIG+1!, SIG+2*, SSIG+1!, SSIG+2*, PRMI+1*, PRMID+3*
X SIG+2, SIGONESIGONE+1!, SIGONE+2, SIGONE+5, SSIG+2, SSIG+3, SSIG+4!, SSIG+5, QTY+6
QTY+7, QTY+9*, QTY+10*, QTY+11*, ADD+2, QU!, CRI+1, MAX+3!, MAX+6, REF
REF+1!, REF+2!, PAT+1, PAT+2!, PAT+4*, DIR+1!*, PRMI+1*
Y SIGONE+4*, SIGONE+5*, SSIG+7*, SSIG+8, ADD+2, CRI+1, MAX+3!, DIR+1, BG+1!
Y(18 QTY+8*, QTY+9
Z0 SIGONE*, SIGONE+5, EN!, SSIG+3*, EX!, QTY+2*, QTY+6, QTY+7, QTY+11!, HELP+2*
, HLP*!, HLP+4!
Z1 SIGONE*, SIGONE+1, SIGONE+2, SIGONE+3*, SIGONE+4*, SIGONE+5*, EN!, SSIG+3*, SSIG+4, SSIG+5
SSIG+6*, SSIG+7*, SSIG+8*, EX!, QTY+6*!
>> ZRX QTY+2, HELP+2
ZX QTY+7*, QTY+11!
ZZ0 QTY+7*, QTY+11!

Marked Items

Name Field # of Occurrence
$T(ENOP^PSNPPIP PRMID+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All