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

Package: Inpatient Medications

Routine: PSIVORE1


Information

PSIVORE1 ;BIR/RGY,PR,MLM - ACT,NEW ORDER ;Sep 16, 2019@16:06:07

Source Information

Source file <PSIVORE1.m>

Call Graph

Call Graph

Call Graph Total: 13

Package Total Call Graph
Inpatient Medications 9 ENQ^PSIV  ^PSIVHLP  ^PSIVHYPL  ^PSIVLABL  ^PSIVLTR  (PSBPOIV,SETNML55)^PSIVORC1  ($$CONVER,C,K,TL)^PSIVORE2  ENP3^PSIVWL  
$$LASTREN^PSJLMPRI  
Kernel 2 ^%ZTLOAD  $$FMADD^XLFDT  
List Manager 1 FULL^VALM1  
VA FileMan 1 (C,NOW)^%DTC  

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

Package Total Caller Graph
Inpatient Medications 5 PSIVCHK  PSIVOPT1  PSIVORC2  PSJLIACT  PSJOEA2  

Entry Points

Name Comments DBIA/ICR reference
S ;
STR ;
EC ;
P ;*305
ACT ; Prompt and process label action.
B
B1 ;
SS ;
GSTRING ; Setup edit "^" string.

External References

Name Field # of Occurrence
C^%DTC EC+1, EC+2, SS+7
NOW^%DTC S+13, P+5, SS+4, SS+9
^%ZTLOAD SS+12
ENQ^PSIV B1+2, SS+1
^PSIVHLP B1+2
^PSIVHYPL SS+10
^PSIVLABL SS+10
^PSIVLTR SS+9, SS+10
PSBPOIV^PSIVORC1 S+2
SETNML55^PSIVORC1 S+3
$$CONVER^PSIVORE2 P+4
C^PSIVORE2 B1+3
K^PSIVORE2 BB1+2
TL^PSIVORE2 P+5
ENP3^PSIVWL S+5, EC+4
$$LASTREN^PSJLMPRI S+4
FULL^VALM1 P+2
$$FMADD^XLFDT S+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: P+5
Function Call: WRITE
  • Prompt: !!,"Next delivery time is "
  • Line Location: P+5
Function Call: WRITE
  • Prompt: !!,"Next delivery time is "
  • Line Location: P+5
Function Call: WRITE
  • Prompt: !
  • Line Location: B1+1
Function Call: WRITE
  • Prompt: !!,"There ",$S(SNM>1:"are",1:"is")," already ",SNM," LABEL",$E("S",SNM>1)," suspended for this order."
  • Line Location: B1+3
Function Call: WRITE
  • Prompt: !!
  • Line Location: SS+1
Function Call: WRITE
  • Prompt: !,"Enter # labels, less than 100, to act on."
  • Line Location: SS+2
Function Call: WRITE
  • Prompt: " No action taken ***"
  • Line Location: SS+3
Function Call: WRITE
  • Prompt: $C(7),"NO Labels suspended, Wait 8 seconds and try again."
  • Line Location: SS+4
Function Call: WRITE
  • Prompt: " ... ",PSIVLABN," Label",$E("s",PSIVLABN>1)," suspended !"
  • Line Location: SS+9
Function Call: WRITE
  • Prompt: !
  • Line Location: SS+11

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(55 - [#55] B1+3, SS+4, SS+5, SS+6, SS+9*, SS+10
^PS(59.5 - [#59.5] STR+2, EC+3, P+5

Label References

Name Line Occurrences
B SS+9, SS+10, SS+12
B1 P+5, B1+2, SS+3, SS+4
EC EC+3
SS SS+2
STR EC+1

Naked Globals

Name Field # of Occurrence
^( P+5
^(0 STR+2, SS+5*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % S+13, P+5, SS+4, SS+9
>> ACTION SS+9*, SS+10*
BEG S+6~*, S+7
CD S+5~*, EC+4*
>> D S+8*, S+9
DAT B1+3!
DAY S+6~*, S+7*
DAY( S+7*, S+8
>> DFN S+4, B1+3, SS+4, SS+5, SS+6, SS+9, SS+10
DL S+6~
DT S+13
>> EDIT GSTRING+2*, GSTRING+4*
>> HELP B1+2*
>> I STR+2*
ION SS+10
>> IONOFF SS+10*
LBLPC S+6~*, S+7
NEXTX S+6~*, S+7
NXTLBL S+6~*, S+8, S+9*, S+10
>> OD S+5*, S+10*, S+11*, S+13*, EC+4
OLDX S+6~*, S+7*
>> ON S+4, B1+3, SS+4, SS+5, SS+6, SS+9, SS+10
OP2 S+4~, S+10*, B
>> P("APPT" GSTRING+4
>> P("CLIN" GSTRING+4
>> P("OT" GSTRING+1, GSTRING+2
>> P(16 SS+6*, SS+9*, SS+10*, SS+11*
>> P(2 S+5, S+10*, S+11*, S+13, EC+4, B*
>> P(3 S+5, EC+4
>> P(4 S+13, STR+2, SS+10
>> P16 SS+10*, SS+11*
>> PLAST SS+5*
>> PNOW S+13*, STR+2, EC+1*, P+5*, SS+4*, SS+9*
>> PSGCNT S+13*, P+3, P+4, BB1+1, SS+1, SS+5*
PSGSA S+5~, S+6, S+13!, P+1*, P+4, SS+5*, SS+7*, SS+8*
PSI STR+2!
PSI("E" STR+2*, EC+1
PSI("S" STR+2*, EC+2*, EC+3
>> PSIVA SS+1*, SS+2, SS+4, SS+9
>> PSIVDOSE SS+5*, SS+7, SS+8, SS+9
>> PSIVEC EC+1*, EC+2, EC+3, EC+4
>> PSIVLABN SS+2*, SS+9
>> PSIVNOL SS+5*, SS+9*
>> PSIVOK GSTRING+1*, GSTRING+4*
>> PSIVPL SS+10, SS+11
>> PSIVSITE P+5, B1+1
>> PSIVSN STR+2, EC+3, P+5, B1+3, SS+4, SS+9
>> PSJCOM S+3
>> PSJPRI B1+1
>> PSJSYSU S+1
RNDT S+4~*, S+9, S+11, B
SNM B1+3!
>> TRACK SS+9*, SS+10*
U STR+2, EC+3, P+5, B1+1, SS+5, SS+6, SS+9, SS+10
UP1 SS+5*, SS+7, SS+8, SS+9!
X EC+1, EC+2*, P+4*, P+5*, B1+1*, B1+2*, B1+3, SS+1*, SS+2*, SS+3
SS+5, SS+7, SS+9!, SS+11
>> X1 EC+1*, EC+2*, SS+7*
>> X2 EC+1*, EC+2*, SS+7*
XX1 SS+7*!
XX2 SS+7*!
>> Y S+13*, EC+1, EC+3*, P+4*, P+5*, SS+4*, SS+9*, SS+11*
>> ZTDESC SS+12*
>> ZTDTH SS+11*
>> ZTIO SS+11*
>> ZTRTN SS+12*
>> ZTSAVE( SS+11*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All