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

Package Total Call Graph
Outpatient Pharmacy 2 TD^PSONFI  RV^PSOPKIV1  
Pharmacy Data Management 1 ($$PROMPT,EN)^PSSDIN  
Registration 1 CNTRL^VALM10  
VA Fileman 1 ^DIR  

Caller Graph

Caller Graph Total: 12

Package Total Caller Graph
Outpatient Pharmacy 12 PSODRG  PSOLMLST  PSOLMPO  PSOLMPO1  PSOLMPO2  PSOLMRN  PSONFI  PSOORFI1  
PSOORNE2  PSOORNE3  PSOORNE4  PSOORNEW  

Entry Points

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

External References

Name Field # of Occurrence
^DIR NFI+2, HLD
TD^PSONFI NFI+2
RV^PSOPKIV1 RV+2
$$PROMPT^PSSDIN NFI+1
EN^PSSDIN NFI+1, 1+1, DIN+4
CNTRL^VALM10 RV+2, RV+3, RV+4, RV+5, RV+10

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
^PS(52.41 - [#52.41] RV+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+10
IOF 1+3, TD+1, TXD+4
>> IORVOFF RV+2, RV+3, RV+4, RV+5, RV+10
>> IORVON RV+2, RV+3, RV+4, RV+5, RV+10
L RV+8~, RV+9*, RV+10
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+5, RV+6!
NFIO DIN+1*, DIN+2*, DIN+5*, RV+4, RV+6!
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
>> ORD RV+2
PKID RV+1, RV+6!
>> PKIE RV+1, RV+3
>> 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+9
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All