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 |  All
Print Page as PDF
Routine: PSIVSPDC

Package: Inpatient Medications

Routine: PSIVSPDC


Information

PSIVSPDC ;BIR/PR,MV-SPEED DC IV ORDERS ;02 Mar 99 / 9:27 AM

Source Information

Source file <PSIVSPDC.m>

Call Graph

Call Graph Total: 16

Package Total Call Graph
Inpatient Medications 10 $$REQPROV^PSGOEC  AC^PSGOECS  ENTACT^PSIVAL  D1^PSIVOPT2  HL^PSIVORA  STOP^PSIVORAL  NATURE^PSIVOREN  SPDCIV^PSIVSPDC  
CMPLX^PSJCOM1  DSPLORDV^PSJLMUT1  
VA Fileman 4 NOW^%DTC  YN^DICN  ^DIE  ^DIR  
Pharmacy Data Management 1 ($$LS,UNL)^PSSLOCK  
Registration 1 PAUSE^VALM1  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Inpatient Medications 2 PSGOECS  PSIVSPDC  

Entry Points

Name Comments DBIA/ICR reference
COMMENT ;Ask for activity log comments.
EN ;Loop thru to find IV ien to DC
LOG ;Record activity log comments.
PRNT ; DISPLAY IV ORDER AND PRINT MESSAGE
SPDCIV ;Speed DC orders
CHKCOM ;Check to see if order is part of complex order series.

External References

Name Field # of Occurrence
NOW^%DTC SPDCIV+6
YN^DICN CHKCOM+9
^DIE SPDCIV+12, LOG+2
^DIR EN+8, COMMENT+1
$$REQPROV^PSGOEC EN+11
AC^PSGOECS CHKCOM+15
ENTACT^PSIVAL LOG+1
D1^PSIVOPT2 SPDCIV+7
HL^PSIVORA SPDCIV+9, SPDCIV+13
STOP^PSIVORAL LOG+3
NATURE^PSIVOREN EN+11
SPDCIV^PSIVSPDC CHKCOM+16
CMPLX^PSJCOM1 CHKCOM+8
DSPLORDV^PSJLMUT1 PRNT+2, CHKCOM+5
$$LS^PSSLOCK SPDCIV+3, CHKCOM+12
UNL^PSSLOCK SPDCIV+10, SPDCIV+14, CHKCOM+17
PAUSE^VALM1 EN+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"You're not allowed to DC orders."
  • Line Location: EN+2
Function Call: WRITE
  • Prompt: !,$C(7),"No order(s) was DC."
  • Line Location: EN+11
Function Call: WRITE
  • Prompt: !," ***** DONE ORDER *****"
  • Line Location: SPDCIV+2
Function Call: WRITE
  • Prompt: !," ***** NO ACTION TAKEN ON ORDER *****",!
  • Line Location: PRNT+5
Function Call: WRITE
  • Prompt: !,"is part of a complex order. If you discontinue this order the following orders",!,"will be discontinued too (unless the stop date has already been reached)."
  • Line Location: CHKCOM+8
Function Call: WRITE
  • Prompt: !!,"Do you want to discontinue this series of complex orders"
  • Line Location: CHKCOM+9
Routine Call
  • DIE
  • Line Location:
    • SPDCIV+12
    • LOG+2
Routine Call
  • DIR
  • Line Location:
    • EN+8
    • COMMENT+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PS(53.1 - [#53.1] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(53.1 - [#53.1] SPDCIV+12
^PS(55 - [#55] SPDCIV+2, SPDCIV+5, CHKCOM+2, CHKCOM+11, CHKCOM+14
^TMP("PSIV" EN+4, EN+14
^TMP("PSJPRO" EN+5
^VA(200 - [#200] LOG+2

Label References

Name Line Occurrences
CHKCOM EN+15
COMMENT EN+12
LOG SPDCIV+8
PRNT EN+15, SPDCIV+2, SPDCIV+3
SPDCIV EN+16

Naked Globals

Name Field # of Occurrence
^( EN+14
^(0 CHKCOM+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % SPDCIV+6, CHKCOM+9*, CHKCOM+10
COMFLG EN+13~, EN+15, CHKCOM+2*, CHKCOM+10*, CHKCOM+11, CHKCOM+12*, CHKCOM+13
DA SPDCIV+12~*, COMMENT+1!, LOG+2!*
DA(1 LOG+2*
DA(2 LOG+2*
>> DFN SPDCIV+2, SPDCIV+3, SPDCIV+5, SPDCIV+10, SPDCIV+14, LOG+2, PRNT+2, CHKCOM+5, CHKCOM+8, CHKCOM+12
, CHKCOM+17
DIE SPDCIV+12~*, LOG+2!*
DIR EN+3~, COMMENT+1!
DIR("?" EN+7*
DIR("A" EN+8*
DIR(0 EN+8*, COMMENT+1*
>> DIRUT EN+9, COMMENT+1
DR SPDCIV+12~*, LOG+2!*
DUZ LOG+2
NAT EN+3~, EN+12*
O CHKCOM+11~*, CHKCOM+14~*
ON EN+3~, EN+14*, SPDCIV+1, SPDCIV+2, SPDCIV+3, SPDCIV+4, SPDCIV+8*, SPDCIV+10, SPDCIV+14, PRNT+2
, PRNT+3, PRNT+4, CHKCOM+2, CHKCOM+5, CHKCOM+6, CHKCOM+7, CHKCOM+8, CHKCOM+12, CHKCOM+16*
ON55 EN+3~, SPDCIV+1*, SPDCIV+2, SPDCIV+5, SPDCIV+8, LOG+2
OO CHKCOM+11~*, CHKCOM+12, CHKCOM+14~*, CHKCOM+15, CHKCOM+16
>> P("NAT" EN+11, EN+12, SPDCIV+9*
>> P("OLDON" SPDCIV+12*
>> P(3 SPDCIV+5*, SPDCIV+6
>> PSGLMT EN+4*, EN+5*, EN+6, EN+8
PSGODDD EN+3~, EN+9*, EN+14
PSGORD CHKCOM+15~*, CHKCOM+16~*, CHKCOM+17
>> PSGP CHKCOM+2
PSIVAL EN+3~, COMMENT+1*, LOG+1*
>> PSIVALCK SPDCIV+8*
>> PSIVALT SPDCIV+8*, COMMENT+1, LOG+1
>> PSIVLN LOG+2
>> PSIVREA SPDCIV+8*, LOG+2
PSIVX EN+3~, EN+14*
PSJCOM EN+13~*, EN+16, CHKCOM+2*, CHKCOM+3, CHKCOM+8, CHKCOM+11, CHKCOM+14
PSJLINE PRNT+1~*, CHKCOM+4~*
PSJND SPDCIV+12~*
>> PSJNOO SPDCIV+9
PSJOC PRNT+1~, CHKCOM+4~
PSJOC( PRNT+3, PRNT+4, CHKCOM+6, CHKCOM+7
PSJORD EN+3~, SPDCIV+1*, SPDCIV+12
PSJSTAT CHKCOM+1~, CHKCOM+2*, CHKCOM+3
>> PSJSYSU EN+1
>> PSJUNDC COMMENT+1
SORT EN+3~, EN+14*
U SPDCIV+2, SPDCIV+5, SPDCIV+12, LOG+2, CHKCOM+2
>> X PRNT+3*, PRNT+4, CHKCOM+6*, CHKCOM+7
>> Y EN+9, COMMENT+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 |  All