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 |  Local Variables  | All
Print Page as PDF
Routine: PSOVER2

Package: Outpatient Pharmacy

Routine: PSOVER2


Information

PSOVER2 ;BHAM ISC/SAB - edit and/or discontinue unverified rx's ;07/03/95 9:32

Source Information

Source file <PSOVER2.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Outpatient Pharmacy 5 NOOR^PSOCAN4  DCV^PSOPKIV1  ENQ^PSORXDL  (QUIT,REDO)^PSOVER1  CANOLD^PSOVERC  
VA FileMan 3 ^DIE  ^DIK  ^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: 1

Package Total Caller Graph
Outpatient Pharmacy 1 PSOVER1  

Entry Points

Name Comments DBIA/ICR reference
CHANGE
NO ;called by `dr strings' at change+1^psover2 and at change^psover1
OITEM
MUST ;called by `dr string' at change+1^psover2
DELETE ;
KILL
DR

External References

Name Field # of Occurrence
^DIE CHANGE+1, CHANGE+2
^DIK KILL
^DIR PSOVER2+6, NO+2, NO+6, DR+1
NOOR^PSOCAN4 DELETE+2
DCV^PSOPKIV1 DELETE+3
ENQ^PSORXDL DELETE+4
QUIT^PSOVER1 PSOVER2+6
REDO^PSOVER1 CHANGE+4
CANOLD^PSOVERC PSOVER2+6

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$C(7),?12,"You CANNOT change a "_$S(DEA1:"",1:"NON-")_"Narcotic Drug to a "_$S(DEA2:"",1:"Non-"),"Narcotic Drug",!?13,"You must discontinue this prescription and enter a new one",!
  • Line Location: NO+5
Function Call: WRITE
  • Prompt: ?5,"Use the DELETE option rather than the EDIT option on this prescription",!!,$C(7)
  • Line Location: NO+6
Function Call: WRITE
  • Prompt: !!!,$C(7),"This is a duplicate drug for an existing prescription",!!,"You MUST either CHANGE the drug in this prescription",!,?16,"DELETE this prescription",!,?13,"or DISCONTINUE the existing prescription",!!,$C(7)
  • Line Location: MUST+1
Function Call: WRITE
  • Prompt: $C(7)," ACTION NOT TAKEN!",!
  • Line Location: DR+0
Routine Call
  • DIE
  • Line Location:
    • CHANGE+1
    • CHANGE+2
Routine Call
  • DIR
  • Line Location:
    • PSOVER2+6
    • NO+2
    • NO+6
    • DR+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSRX - [#52] Classic Fileman Calls
^PS(52.4 - [#52.4] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PSDRUG - [#50] NO+1, NO+3
^PSRX - [#52] PSOVER2+3, PSOVER2+4, PSOVER2+5, CHANGE, DELETE+1

Label References

Name Line Occurrences
CHANGE PSOVER2+6
DELETE PSOVER2+6
DR DELETE+2, DELETE+3
KILL DELETE+3
OITEM NO+1
PSOVER2 CHANGE+2, CHANGE+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DA CHANGE*, DELETE+3*, KILL*!, KILL+1!
DEA1 CHANGE+4!, NO+3*, NO+4, NO+5
DEA2 CHANGE+4!, NO+3*, NO+4, NO+5
DIE CHANGE+1*, CHANGE+4!
DIK KILL*!
DIR PSOVER2+6!, NO+2!, NO+6!, DR+1!
DIR("?" PSOVER2+3*, PSOVER2+4*, PSOVER2+5*
DIR("A" PSOVER2+3*, NO+2*, NO+6*, DR+1*
DIR("B" PSOVER2+3*
DIR(0 PSOVER2+6*, NO+2*, NO+6*, DR+1*
>> DIRUT DELETE+2
DR CHANGE+1*, CHANGE+2*, CHANGE+4!
>> DRG DELETE+1*, DELETE+3
>> DRGG CHANGE
>> DUPRX0 PSOVER2+3, PSOVER2+4
GOOF CHANGE*, CHANGE+2, CHANGE+3, CHANGE+4!, OITEM*, MUST+1*
>> PKI1 DELETE+3
>> PKIR DELETE+3
>> PSD( DELETE+3!
>> PSDOLD CHANGE*
PSOKL KILL+1!
PSOKL1 KILL+1!
PSOKL2 KILL+1!
PSOKL3 KILL+1!
PSOKL6 KILL+1!
PSOKL7 KILL+1!
PSONOOR KILL+1!
>> PSONV PSOVER2+3, PSOVER2+4, PSOVER2+5, CHANGE, DELETE+1, DELETE+3, KILL
>> PSOPAR CHANGE+1
PSRX1 CHANGE*, CHANGE+2, CHANGE+4!, NO+1, NO+3
PSRX2 CHANGE*, CHANGE+4!, NO+1, NO+3
>> UPFLAGX DR+2*
>> Y PSOVER2+6, OITEM*, MUST+1*
Z KILL+1!
Z1 KILL+1!
Z2 KILL+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 |  Local Variables  | All