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 ;06-Dec-2012 20:35;PLS

Source Information

Source file <PSOHELP.m>

Call Graph

Call Graph Total: 9

Package Total Call Graph
VA Fileman 4 EN^DDIOL  ^DIC  ^DIE  ^DIR  
Outpatient Pharmacy 2 XREF^PSOHELP3  DAYS^PSOUTLA  
Registration 2 (DEM,INP)^VADPT  FULL^VALM1  
National Drug File 1 (,ENOP)^PSNPPIP  

Caller Graph

Caller Graph Total: 32

Package Total Caller Graph
Outpatient Pharmacy 26 ^PSRX  PSO52API  PSOARX  PSODIR  PSOHCSUM  PSONEW2  PSOORDER  PSOORED1  
PSOORED4  PSOORED5  PSOORED6  PSOORFI4  PSOORNE1  PSOORNE2  PSOORNE3  PSOORNE4  
PSOORNE6  PSOP1  PSORENW2  PSORENW3  PSORXVW  PSOVER1  PSOXX  PSOXZA8  
REFILL  ^PS(52.41  
IHS Changes To Pharmacy 2 APSPDSC1  APSPFNC2  
GUI Objects 1 BGORX  
Health Summary Components 1 BHSPOS  
PCC New Encounter Form 1 VENPCC1H  
Patient Chart 1 BPCRXDAY  

Entry Points

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

External References

Name Field # of Occurrence
EN^DDIOL SIG+2, SSIG+2, QTY+4, QTY+9, HLP, HLP+1, HLP+2, HLP+3, MAX+3, MAX+15
, REF+1, REF+2, PAT+2, PAT+3
^DIC ADD+2, CRI+1
^DIE ADD+3, CRI+3
^DIR DIR, PRMI+5, PRMID+5
^PSNPPIP PRMI+3
ENOP^PSNPPIP PRMID+1, PRMID+3
XREF^PSOHELP3 XREF
DAYS^PSOUTLA REF+3
DEM^VADPT PAT+1
INP^VADPT PAT+1
FULL^VALM1 PRMI+3, PRMID+2

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+3
Function Call: WRITE
  • Prompt: PSNPPI("MESSAGE"),!
  • Line Location: PRMID+5
Routine Call
  • DIE
  • Line Location:
    • ADD+3
    • CRI+3
Routine Call
  • DIC
  • Line Location:
    • ADD+2
    • CRI+1
Routine Call
  • DIR
  • Line Location:
    • DIR
    • PRMI+5
    • PRMID+5

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+3, SIGONE+4, SSIG+6, SSIG+7
^PS(53 - [#53] MAX, REF
^PS(56 - [#56] ADD+2, ADD+3, QU, CRI+2, CRI+3
^PS(59.3 - [#59.3] BG+1*
^PSDRUG - [#50] QTY+4, QTY+6, QTY+9, MAX+1
^PSDRUG("AQ" QTY+3, HLP
^PSRX - [#52] QTY+2, HELP+2, MAX, MAX+2, MAX+3*, MAX+14, REF, PRMID+3

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+14
^(0 QTY+2, MAX, REF
^(660 QTY+6, QTY+9
^(660.1 QTY+4, QTY+6
^(9 SIGONE+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> CLOZPAT MAX+2
CS MAX+1*, MAX+3!, MAX+4*, MAX+5, MAX+13!, REF+4!
>> D0 QTY+5*, QTY+6, QTY+9*
DA QTY+2, HELP+2, ADD+2*, ADD+3!, QU!, CRI+1*, CRI+2, CRI+3!, MAX, MAX+2
, MAX+3, MAX+14, REF, BG+1
DAYS REF+4!
DEA MAX+4*, MAX+13!, 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+5!
DIR("A" DIR*, PRMI+5*, PRMID+5*
DIR("B" DIR*
DIR(0 DIR*, PRMI+5*, PRMID+5*
DIRUT PAT+4!, DIR+1!, PRMI+5!, PRMID+5!
>> DLAYGO ADD+1*
>> DR ADD+2*, CRI+1*
DTOUT PAT+4!, DIR+1!
DUOUT PAT+4!, DIR+1!
>> EXH MAX, MAX+15
INS1 SIGONE!, SIGONE+2*
MAX MAX+2*, MAX+7*, MAX+12*, MAX+15!, REF+1, REF+4!
MAX1 MAX+15!, REF+4!
MIN MAX+2*, MAX+14*, MAX+15!, REF+2, REF+4!
>> P(2 MAX*, MAX+15!, REF*, REF+4!
>> P(5 MAX*, MAX+1, MAX+15!, REF*, REF+4!
>> P(7 MAX*, MAX+7, MAX+9, MAX+12, MAX+15!, REF*, REF+4!
PDP BG+1!
PSDAYS REF+4!
PSDY MAX+13!, REF+4!
PSDY1 MAX+7*, MAX+12*, MAX+13!, REF+4!
PSNDFN PRMI+2~*
>> PSNPPI("MESSAGE" PRMI+3!, PRMI+4, PRMI+5, PRMID+2!, PRMID+4, PRMID+5
>> PSNPPI("MESSGAE" PRMI+5!, PRMID+5!
PSODEA MAX+1*, MAX+3!, MAX+4, MAX+13!, REF+4!
>> PSODFN PRMI+2, PRMID+3
>> PSODRUG("IEN" QTY+1, QTY+2, HELP+2, HLP
PSOELSE MAX+5*, MAX+8, MAX+13!
>> PSOFDR HELP+1
PSOT MAX+6*, MAX+7*, MAX+9*, MAX+12, MAX+13!
PSOX REF+4!
PSOX1 MAX+6*, MAX+9*, MAX+13!, REF+4!
PSRF REF*, REF+4!
>> PSXYES QTY+2, HELP+2
PTDY MAX*, REF*, REF+4!
PTRF MAX*, MAX+6, MAX+9, REF*, REF+4!
PTST MAX*, MAX+3!, REF*, REF+4!
REF MAX+14*, MAX+15!, REF+4!
>> RX0 PRMID+3
>> RXN PRMID+3
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+1*, PRMID+4*
VALMSG SIG+1!, SIG+2*, SSIG+1!, SSIG+2*, PRMI+1*, PRMID+1*
X SIG+2, SIGONE, SIGONE+1!, SIGONE+2, SIGONE+4, SSIG+2, SSIG+3, SSIG+4!, SSIG+5, QTY+3!
, QTY+4, QTY+5, QTY+7*, QTY+8*, QTY+9*, ADD+2, QU!, CRI+1, MAX+3!, MAX+14
, REF, REF+1!, REF+2!, PAT+1, PAT+2!, PAT+4*, DIR+1!*, PRMI+1*
Y SIGONE+3*, SIGONE+4*, SSIG+6*, SSIG+7, ADD+2, CRI+1, MAX+3!, DIR+1, BG+1!
Y(18 QTY+6*, QTY+7
Z0 SIGONE*, SIGONE+4, EN!, SSIG+3*, EX!, QTY+2*, QTY+3!, QTY+4, QTY+5, QTY+9!
, HELP+2*, HLP*!, HLP+4!
Z1 SIGONE*, SIGONE+1, SIGONE+2, SIGONE+3*, SIGONE+4*, EN!, SSIG+3*, SSIG+4, SSIG+5, SSIG+6*
, SSIG+7*, EX!, QTY+4*!
>> ZRX QTY+2, HELP+2
ZX QTY+5*, QTY+9!
ZZ0 QTY+5*, QTY+9!

Marked Items

Name Field # of Occurrence
$T(ENOP^PSNPPIP PRMID+1
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