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

Package: Inpatient Medications

Routine: PSIVOPT1


Information

PSIVOPT1 ;BIR/MLM - EDIT/DC ORDER (BACKDOOR) ;May 01, 2019@12:56:55

Source Information

Source file <PSIVOPT1.m>

Call Graph

Call Graph

Call Graph Total: 29

Package Total Call Graph
Inpatient Medications 22 NEWNVAL^PSGAL5  ENGNN^PSGOETO  (ENSTOP,ENT)^PSIVCAL  ENLBL^PSIVOPT  (D1,OK)^PSIVOPT2  LOG^PSIVORAL  EN^PSIVORE  (,GSTRING)^PSIVORE1  
GTPD^PSIVORE2  (NATURE,ORPARM)^PSIVOREN  (GT531,PUT531)^PSIVORFA  (GT55,NEW55,SET55)^PSIVORFB  (GTFLDS,SET)^PSIVORFE  EN1^PSJHL2  PSBPOIV^PSJIBAG  VF1^PSJLIACT  
($$COMPARE,$$INFRATE,PAUSE,TMPDRG)^PSJMISC  SETOC^PSJNEWOC  IN^PSJOCDS  ($$CHKPDCL,$$PDACT)^PSJPDCLA  PDORD^PSJPDCLU  $$ENORL^PSJUTL  
VA FileMan 5 ^%DT  NOW^%DTC  ^DIE  IX^DIK  ^DIR  
List Manager 1 EN^VALM  
Pharmacy Data Management 1 ($$LS,UNL)^PSSLOCK  

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

Package Total Caller Graph
Inpatient Medications 3 PSIVOPT  PSJCLOR2  PSJLIACT  

Entry Points

Name Comments DBIA/ICR reference
E ; Edit order through Pharmacy.
ACCEPT ; To be called by ACCEPT^PSJLIACT
DOSING ;
CKNEW ; Check if new order is to be created.
UPDATE ; Update original order.
NEWORD ; DC orig. order, get new order no.
NEWSTOP ; Set stop date for DC and renewals.
NONVF()

External References

Name Field # of Occurrence
^%DT ACCEPT+10
NOW^%DTC ACCEPT+7
^DIE NEWORD+13, NEWORD+16, NONVF+15, NONVF+30
IX^DIK NEWSTOP+2
^DIR UPDATE+28
NEWNVAL^PSGAL5 NONVF+20
ENGNN^PSGOETO NONVF+4
ENSTOP^PSIVCAL ACCEPT+10
ENT^PSIVCAL ACCEPT+10
ENLBL^PSIVOPT UPDATE+22, NEWORD+20, NONVF+18
D1^PSIVOPT2 NEWORD+8, NONVF+7
OK^PSIVOPT2 ACCEPT+12
LOG^PSIVORAL UPDATE+3, NEWORD+21, NONVF+19
EN^PSIVORE ACCEPT+17
^PSIVORE1 UPDATE+29
GSTRING^PSIVORE1 E+2
GTPD^PSIVORE2 NONVF+6
NATURE^PSIVOREN NEWORD+2
ORPARM^PSIVOREN UPDATE+23, NEWORD+2
GT531^PSIVORFA NONVF+28
PUT531^PSIVORFA NONVF+6
GT55^PSIVORFB ACCEPT+14
NEW55^PSIVORFB NEWORD+6
SET55^PSIVORFB UPDATE+20, NEWORD+18
GTFLDS^PSIVORFE E+2
SET^PSIVORFE NEWORD+23
EN1^PSJHL2 ACCEPT+18, UPDATE+26, NEWORD+9, NONVF+8, NONVF+23
PSBPOIV^PSJIBAG UPDATE+21
VF1^PSJLIACT NEWORD+19
$$COMPARE^PSJMISC DOSING+4, CKNEW+4
$$INFRATE^PSJMISC DOSING+4
PAUSE^PSJMISC ACCEPT+11
TMPDRG^PSJMISC DOSING+3, CKNEW+3
SETOC^PSJNEWOC ACCEPT+20
IN^PSJOCDS DOSING+5
$$CHKPDCL^PSJPDCLA UPDATE+12
$$PDACT^PSJPDCLA UPDATE+10
PDORD^PSJPDCLU UPDATE+17
$$ENORL^PSJUTL ACCEPT+16
$$LS^PSSLOCK ACCEPT+18, NONVF+27
UNL^PSSLOCK NEWORD+11, NONVF+10
EN^VALM E+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Order unchanged."
  • Line Location: ACCEPT+11
Function Call: WRITE
  • Prompt: !,"Order unchanged."
  • Line Location: ACCEPT+14
Function Call: WRITE
  • Prompt: !
  • Line Location: UPDATE+27
Function Call: WRITE
  • Prompt: !,"Order unchanged."
  • Line Location: NEWORD+2
Function Call: WRITE
  • Prompt: !!,"Original order discontinued...",!!
  • Line Location: NEWORD+10
Function Call: WRITE
  • Prompt: !!,"Original order discontinued...",!!
  • Line Location: NONVF+9
Routine Call
  • DIE
  • Line Location:
    • NEWORD+13
    • NEWORD+16
    • NONVF+15
    • NONVF+30
Routine Call
  • DIR
  • Line Location:
    • UPDATE+28
Routine Call
  • VALM
  • Line Location:
    • E+3

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(55 - [#55] ACCEPT+7, CKNEW+9, UPDATE+6, UPDATE+14, UPDATE+15*, UPDATE+18*, UPDATE+20*, UPDATE+24, NEWORD+8, NEWORD+9
NEWORD+14, NEWORD+17, NEWORD+22, NEWSTOP+1*, NONVF+7, NONVF+8, NONVF+16, NONVF+21, NONVF+29
^PS(58.7 - [#58.7] UPDATE+10
^TMP("PSODAOC" ACCEPT+19*, NONVF+24*
^VA(200 - [#200] ACCEPT+8

Label References

Name Line Occurrences
$$NONVF NEWORD+5
@( ACCEPT+15
CKNEW ACCEPT+2, ACCEPT+15
DOSING ACCEPT+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% ACCEPT+7!
>> %DT ACCEPT+10*
CLINAPPT NEWORD+14~*, NEWORD+15, NONVF+29~*, NONVF+30
DA NEWORD+12!, NEWORD+13*, NEWSTOP+2!*, NONVF+4!, NONVF+11!, NONVF+12*, NONVF+29!
DA(1 NEWORD+13*, NEWSTOP+2*, NONVF+14*
>> DFN ACCEPT+7, ACCEPT+18, DOSING+3, DOSING+4, CKNEW+3, CKNEW+9, UPDATE+6, UPDATE+14, UPDATE+15, UPDATE+18
UPDATE+20, UPDATE+21, UPDATE+22, UPDATE+24, UPDATE+26, NEWORD+8, NEWORD+9, NEWORD+11, NEWORD+13, NEWORD+14
NEWORD+17, NEWORD+20, NEWORD+22, NEWSTOP+1, NEWSTOP+2, NONVF+7, NONVF+8, NONVF+10, NONVF+14, NONVF+16
, NONVF+18, NONVF+21, NONVF+23, NONVF+27, NONVF+28, NONVF+29
DIE NEWORD+12!, NEWORD+13*, NONVF+11!, NONVF+13*, NONVF+14*, NONVF+29!
DIK NEWSTOP+2!*
DIR UPDATE+28~, UPDATE+29!
DIR("?" UPDATE+28*
DIR("A" UPDATE+28*
DIR("B" UPDATE+28*
DIR(0 UPDATE+28*
DNE CKNEW+1~*
DR NEWORD+12!, NEWORD+13*, NEWORD+15*, NONVF+11!, NONVF+13*, NONVF+14*, NONVF+29!, NONVF+30*
>> DRG DOSING+4, CKNEW+4
>> DRG( CKNEW+7
>> DRGI CKNEW+7*
>> DRGT CKNEW+7*
DUZ ACCEPT+8, UPDATE+1, UPDATE+22, NEWORD+20, NONVF+18, NONVF+33
I UPDATE+8~, UPDATE+9*, UPDATE+10*
>> J UPDATE+10*
ND CKNEW+1~, CKNEW+11*, CKNEW+12, NEWSTOP+1*
ND("PD" CKNEW+9*, CKNEW+11
ND(0 CKNEW+9*, CKNEW+10, CKNEW+11, CKNEW+13
>> NSTOP NEWSTOP+1*
>> OD ACCEPT+16*
OLCLN UPDATE+5~, UPDATE+6*, UPDATE+7, UPDATE+12
>> ON ACCEPT+16*, ACCEPT+17, DOSING+5, UPDATE+3*, NEWORD+7*, NONVF+4*, NONVF+22*, NONVF+23, NONVF+24, NONVF+27
, NONVF+28, NONVF+29
ON55 ACCEPT+7, ACCEPT+16, ACCEPT+18, ACCEPT+19, ACCEPT+20, DOSING+3, DOSING+4, CKNEW+3, CKNEW+9, UPDATE+3
UPDATE+6, UPDATE+14, UPDATE+15, UPDATE+16, UPDATE+18, UPDATE+20, UPDATE+21, UPDATE+22, UPDATE+24, UPDATE+26
NEWORD+3, NEWORD+6!, NEWORD+7*, NEWORD+9, NEWORD+11, NEWORD+12*, NEWORD+13, NEWORD+14, NEWORD+17, NEWORD+18
NEWORD+19, NEWORD+20, NEWORD+21, NEWORD+23*, NEWSTOP+1, NONVF+8, NONVF+11*, NONVF+12, NONVF+13, NONVF+14
, NONVF+16, NONVF+17, NONVF+18, NONVF+20, NONVF+22*
OSTA UPDATE+13~, UPDATE+14*, UPDATE+18
>> P("21FLG" ACCEPT+15, NEWORD+10*, NONVF+9*
>> P("CLIN" UPDATE+7
>> P("CLRK" ACCEPT+8*, NONVF+33
>> P("DO" CKNEW+12, NONVF+5*
>> P("DTYP" DOSING+4, CKNEW+4, CKNEW+13
>> P("LOG" ACCEPT+7*
>> P("MR" CKNEW+12
>> P("NAT" UPDATE+25*, NEWORD+2
>> P("NEWON" NEWORD+7*, NEWORD+12, NEWORD+13, NEWORD+14, NEWORD+18, NEWORD+19, NEWORD+20, NEWORD+23, NONVF+4*, NONVF+11
, NONVF+13, NONVF+14, NONVF+18, NONVF+20, NONVF+22
P("NUMLBL" UPDATE+20!
P("OLDON" ACCEPT+7*, UPDATE+3!, NEWORD+3*, NEWORD+7*, NEWORD+8, NEWORD+12, NEWORD+13, NEWORD+14, NEWORD+17, NEWORD+21
NEWORD+22, NEWSTOP+1, NEWSTOP+2, NONVF+7, NONVF+8, NONVF+10, NONVF+11, NONVF+13, NONVF+14, NONVF+16
, NONVF+17, NONVF+21, NONVF+33
>> P("OT" CKNEW+7*, CKNEW+11, CKNEW+12
>> P("PD" CKNEW+12, NONVF+5*
>> P("PON" NEWORD+7*
>> P("RES" NEWORD+3*
>> P(16 NEWORD+3*
>> P(17 NEWORD+23*, NONVF+4*, NONVF+33
>> P(2 ACCEPT+10*, ACCEPT+16, CKNEW+12
>> P(3 ACCEPT+10, CKNEW+12
>> P(6 CKNEW+12
>> P(8 DOSING+4, CKNEW+12
>> P(9 CKNEW+13
PDTYP UPDATE+13~, UPDATE+16*
>> PSGACT NONVF+32*, NONVF+33*, NONVF+34*
>> PSGFDX ACCEPT+9
PSGOEAV NONVF+1~*, NONVF+2, NONVF+3
>> PSGORQF ACCEPT+3, ACCEPT+4, ACCEPT+11, DOSING+6
>> PSGP UPDATE+16
>> PSGSDX ACCEPT+9
PSIEDFIR NEWORD+1~, NEWORD+9*!
PSIEDITO E+1~*
>> PSIVACEP ACCEPT+21*
>> PSIVAL NEWORD+21*, NONVF+19*
>> PSIVALCK UPDATE+3*, NEWORD+21*, NONVF+19*
>> PSIVALT UPDATE+3*, NONVF+19*
>> PSIVCHG ACCEPT+6, ACCEPT+15, ACCEPT+18, DOSING+4, CKNEW+1*, CKNEW+2, CKNEW+4*, CKNEW+6, CKNEW+12*, CKNEW+13*
UPDATE+27
>> PSIVCOPY NEWORD+3, NEWORD+6, NEWORD+7
PSIVDSFG ACCEPT+1~, DOSING+4, CKNEW+1*, CKNEW+13*
>> PSIVENO E+3*
>> PSIVREA UPDATE+3*, NEWORD+21*, NONVF+19*
PSIVXX ACCEPT+18~*
>> PSJAGYSV NEWORD+4*
PSJAP UPDATE+8~, UPDATE+9*, UPDATE+11
PSJCHG CKNEW+1~
>> PSJEDIT1 ACCEPT+6, ACCEPT+10*
PSJHLDFN UPDATE+13~, UPDATE+16*
PSJIBDT UPDATE+2~, NEWORD+1~*, NONVF+20
PSJINIV UPDATE+2~*, UPDATE+21, UPDATE+27
PSJIRPLB UPDATE+28~, UPDATE+29*
>> PSJIVORF ACCEPT+18, UPDATE+23, NEWORD+2, NEWORD+9, NEWORD+23, NONVF+8
>> PSJORIFN UPDATE+24*
>> PSJORL ACCEPT+16*
PSJPDO UPDATE+8~, UPDATE+9*
PSJSYSP UPDATE+1~*
>> PSJSYSP0 NONVF+1
>> PSJSYSU NONVF+2, NONVF+3, NONVF+34
RXO UPDATE+13~, UPDATE+16*
TDRG CKNEW+1~
TMPDRG DOSING+1~, DOSING+3, DOSING+4, CKNEW+1~, CKNEW+3, CKNEW+4, CKNEW+5!
U ACCEPT+8, ACCEPT+10, CKNEW+7, CKNEW+10, CKNEW+11, CKNEW+12, CKNEW+13, UPDATE+24, NEWORD+8, NEWORD+9
NEWORD+17, NEWSTOP+1, NONVF+1, NONVF+7, NONVF+8, NONVF+16
>> VAIN(4 ACCEPT+16
>> VALMBCK E+3*, ACCEPT+11*, ACCEPT+13*, DOSING+6*, NONVF+31*
X ACCEPT+10*, ACCEPT+13, ACCEPT+14, ACCEPT+15, CKNEW+10~*, CKNEW+11, UPDATE+23!, UPDATE+28~, UPDATE+30!, NEWORD+2*
NEWORD+23!, NONVF+22!, NONVF+27*
Y ACCEPT+7*, ACCEPT+10, UPDATE+28~, UPDATE+29, NEWSTOP+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