Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: PSIVOPT

Package: Inpatient Medications

Routine: PSIVOPT


Information

PSIVOPT ;BIR/PR,MLM - OPTION DRIVER ;Mar 04, 2019@16:30:34

Source Information

Source file <PSIVOPT.m>

Entry Points

Name Comments DBIA/ICR reference
UNLOCK ; Unlock order.
K ; Kill variables. *271
ACT ; Prompt for order action.
CK ; Check if drugs are still valid.
D ; Discontinue order.
O(DFN,ON,STAT,STOP) ; On/Off Call
E ; Entry for Pharmacy edit
R ; Renew order.
H(DFN,ON,STAT,STOP)
S ; View order.
EXPIR ; Update status of expired orders.
UPSTAT ; Update orders status.
ENIN ; Entry for inpatient order entry/profile options.
ENARI(DFN,ON,PSGUOW,PSIVAL) ; Auto-reinstate IV orders if movement is deleted.
ENINP(DFN,ON) ; Entry from Inpatient Profile.
ENLBL(PSGTOL,PSGUOW,PSGP,PSGTOO,DA,RES) ;
IVDUPADD(PSGP,ORDERNUM) ;
VA200(X) ;Return the IEN for the user.
; X = User name

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$C(7),$C(7),"This order is being edited by another user. Try later."
  • Line Location: PSIVOPT+11
Function Call: WRITE
  • Prompt: !,$C(7),$C(7),"This order is being edited by another user. Try later."
  • Line Location: PSIVOPT+12
Function Call: WRITE
  • Prompt: !,$C(7),"Only active orders may be placed on hold."
  • Line Location: O+2
Function Call: WRITE
  • Prompt: !,$C(7),"Only active orders may be placed on hold."
  • Line Location: H+2
Function Call: WRITE
  • Prompt: !!,"Order unchanged."
  • Line Location: H+3
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: S+1
Function Call: WRITE
  • Prompt: $C(7)," This order has expired."
  • Line Location: EXPIR+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] Classic Fileman Calls
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call