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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PSONFI

Package: Outpatient Pharmacy

Routine: PSONFI


Information

PSONFI ;BIR/MHA - dispense drug/orderable item text display ;09/13/00

Source Information

Source file <PSONFI.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Outpatient Pharmacy 2 VIDEO^PSOERUT0  TD^PSONFI  
List Manager 1 (CNTRL,SAVE)^VALM10  
Pharmacy Data Management 1 ($$PROMPT,EN)^PSSDIN  
VA FileMan 1 ^DIR  

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

Package Total Caller Graph
Outpatient Pharmacy 15 PSO DRUG RESTR/GUIDE INFO  PSODRG  PSOERUT5  PSOLMLST  PSOLMPO  PSOLMPO1  PSOLMPO2  PSOLMRN  
PSONFI  PSOORFI1  PSOORNE2  PSOORNE3  PSOORNE4  PSOORNEW  PSOROS  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
NFI ;display restriction/guidelines
DDTX ;Display drug text for the hidden action DIN
1
HLD
DIN(OI,DD) ;Setup DIN indicator
RV ;reverse video
; Saves Normal Line formatting
TD
OIT ;
DDT ;
TXT ;
TXD

External References

Name Field # of Occurrence
^DIR NFI+2, HLD
VIDEO^PSOERUT0 RV+16
TD^PSONFI NFI+2
$$PROMPT^PSSDIN NFI+1
EN^PSSDIN NFI+1, 1+1, DIN+4
CNTRL^VALM10 RV+7, RV+8, RV+9, RV+14
SAVE^VALM10 RV+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF,!!,"Drug restriction/guideline info:",!!
  • Line Location: 1+3
Function Call: WRITE
  • Prompt: !,"Orderable Item: "_$P(^PS(50.7,OI,0),"^")_" "_$P(^PS(50.606,$P(^(0),"^",2),0),"^")_$S($P(^PS(50.7,OI,0),"^",12):" ***(N/F)***",1:""),!!
  • Line Location: 1+4
Function Call: WRITE
  • Prompt: !,"Drug: "_$P(^PSDRUG(DD,0),"^")_$S($P(^PSDRUG(DD,0),"^",9):" ***(N/F)***",1:""),!!
  • Line Location: 1+7
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: TD+1
Function Call: WRITE
  • Prompt: !,TX
  • Line Location: TXT+1
Function Call: WRITE
  • Prompt: !
  • Line Location: TXD+4
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: TXD+4
Function Call: WRITE
  • Prompt: !
  • Line Location: TXD+5
Routine Call
  • DIR
  • Line Location:
    • NFI+2
    • HLD

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(50.606 - [#50.606] 1+4
^PS(50.7 - [#50.7] 1+4, DIN+2
^PSDRUG - [#50] 1+7, DIN+3
^TMP( TXD+1, TXD+2, TXD+3, TXD+4
^TMP("PSSDIN" 1+5, 1+6, 1+8, 1+9, DIN+5, DIN+6, DIN+7!
^UTILITY($J TXD!, TXD+5!

Label References

Name Line Occurrences
1 DDTX+3, DDTX+4
DDT TD+3, TD+4
HLD TXD+4
OIT TD+2, TD+4
TXD 1+5, 1+8
TXT OIT+1, DDT+1

Naked Globals

Name Field # of Occurrence
^(0 1+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DD DDTX+1~, DDTX+2*, DDTX+3, DDTX+4*, DDTX+5*, 1*, 1+1, 1+7, DIN~, DIN+3
, DIN+4
DIR NFI+2!, HLD!
DIR(0 NFI+2*, HLD*
>> DIRUT TXD+1, TXD+2, TXD+3, TXD+4
>> FLAGLINE( RV+14
IOF 1+3, TD+1, TXD+4
>> IORVOFF RV+6, RV+7, RV+8, RV+9, RV+14
>> IORVON RV+6, RV+7, RV+8, RV+9, RV+14
L RV+3*, RV+12~, RV+13*, RV+14
>> LASTLINE RV+2, RV+3, RV+4*
N1 1+2~, 1+5*, 1+8*, TD~, OIT+1*, DDT+1*, TXD+1, TXD+2, TXD+3, TXD+4
N2 1+2~, TD~, TXD+1*, TXD+2, TXD+3, TXD+4
N3 1+2~, TD~, TXD+2*, TXD+3, TXD+4
N4 1+2~, TD~, TXD+3*, TXD+4
NFI NFI+1*, NFI+2, NFI+3!, TD+2, TD+3, TD+4
NFID DIN+1*, DIN+3*, DIN+6*, RV+9, RV+10!
NFIO DIN+1*, DIN+2*, DIN+5*, RV+8, RV+10!
NX 1+2~*, TD~*, TXD+1, TXD+2, TXD+3, TXD+4
OI DDTX+1~, DDTX+2*, DDTX+3, DDTX+4*, DDTX+5*, 1*, 1+1, 1+4, DIN~, DIN+2
, DIN+4
>> OR0 DDTX+4
PKID RV+7, RV+10!
>> PKIE RV+7
>> PSODRUG("IEN" NFI+1, DDTX+2
>> PSODRUG("OI" NFI+1, DDTX+2
>> PSORNSV DDTX+4
>> RX0 DDTX+5
>> RXOR DDTX+5
TX 1+2~, TD~, OIT+1*, DDT+1*, TXT+1
>> VALMCNT RV+2, RV+3, RV+4, RV+13
>> VALMEVL RV+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All