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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: ORCSEND1

Package: Order Entry Results Reporting

Routine: ORCSEND1


Information

ORCSEND1 ;SLC/MKB-Release cont ;24-Apr-2014 12:55;PLS

Source Information

Source file <ORCSEND1.m>

Call Graph

Call Graph Total: 16

Package Total Call Graph
Order Entry Results Reporting 10 ($$PTR,GETDLG1)^ORCD  ($$IMMCOLL,$$LABCOLL,GETIMES)^ORCDLR1  ($$DOSE,$$DUR,$$RTE,$$SCH)^ORCDPS2  $$FMDUR^ORCDPS3  (DATES,RELEASE)^ORCSAVE2  CANCEL^ORCSEND  EN^ORCSEND2  CHILD^ORCSEND3  
MSG^ORMBLD  $$VALUE^ORX8  
Inpatient Medications 2 (ENSPU,ENSV)^PSJEEU  $$STARTSTP^PSJORPOE  
Kernel 1 ($$FMADD,$$NOW)^XLFDT  
Pharmacy Data Management 1 ZERO^PSS51P1  
Toolkit 1 $$GET^XPAR  
VA Fileman 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Order Entry Results Reporting 2 ORCDLR  ORCSEND  

Entry Points

Name Comments DBIA/ICR reference
PSJ ; (Inpt only)
PS ; spawn child orders if multiple doses
SCHEDULE(IFN,PKG,ORY,STRT) ; Returns list of start time(s) from schedule
PTR(X) ; Returns ptr of prompt X in Order Dialog file
VBEC ; Spawn VBECS children
FRSTDOSE() ; Return instance of first dose
DUR(I) ; Accumulate duration in ORD("Xt") for offsetting next THEN dose
STRT ; Build ORSTRT(inst)=date.time array of start times by dose
LR1
GETORDER(IFN) ; Set ORX(Inst,Ptr)=Value
LR ; Spawn child orders if continuous schedule
PS2 ; ck if parent is unsigned or edit
PSS ;
PKGSTUFF(PKG) ; Package code
PS1
DOSES(IFN) ; count number of doses in order
SIG ; Build text of instructions

External References

Name Field # of Occurrence
$$GET1^DIQ PKGSTUFF+1, SCHEDULE+5, SIG+11
$$PTR^ORCD LR+9, LR+10, LR+11, LR+12, LR+13, LR+14, LR+15, LR+16, LR+18, LR+20
, STRT+2
GETDLG1^ORCD LR+8, PSS+8
$$IMMCOLL^ORCDLR1 LR1+7
$$LABCOLL^ORCDLR1 LR1+6
GETIMES^ORCDLR1 LR+8
$$DOSE^ORCDPS2 SIG+4
$$DUR^ORCDPS2 SIG+4
$$RTE^ORCDPS2 SIG+4
$$SCH^ORCDPS2 SIG+4
$$FMDUR^ORCDPS3 DUR+1
DATES^ORCSAVE2 LR+6, LR1+10, PSS+13
RELEASE^ORCSAVE2 LR1+14, PS1+17
CANCEL^ORCSEND PS2+7
EN^ORCSEND2 VBEC+1
CHILD^ORCSEND3 LR1+8, PS1+7, PS1+13
MSG^ORMBLD PS2+4
$$VALUE^ORX8 PSS+19
ENSPU^PSJEEU SCHEDULE+23
ENSV^PSJEEU SCHEDULE+6
$$STARTSTP^PSJORPOE STRT+7
ZERO^PSS51P1 SCHEDULE+17
$$FMADD^XLFDT SCHEDULE+10, SCHEDULE+12, SCHEDULE+22, STRT+8
$$NOW^XLFDT PS1+6, STRT+6
$$GET^XPAR SCHEDULE+15

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSDRUG - [#50] GET1^DIQ
^PS(51.1 - [#51.1] GET1^DIQ
^DIC(9.4 - [#9.4] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100 - [#100] LR+3, LR+5, LR1+9, LR1+10*, LR1+11*, LR1+12, SCHEDULE+2, SCHEDULE+4, SCHEDULE+5, SCHEDULE+8
, SCHEDULE+9, GETORDER+2, PSS+4, PSS+17, PSS+19, PSS+20, PS1+14*, PS1+15, PS1+18*, PS2+1!
, PS2+3, PS2+4, PS2+6*, DOSES+2, DOSES+3
^ORD(100.02 - [#100.02] PS2+5
^ORD(101.41 - [#101.41] GETORDER+3, PTR+1
^ORD(101.43 - [#101.43] SIG+12, STRT+3
^SC - [#44] STRT+4
^TMP("ORWORD" PS1+17!, SIG+1!, SIG+5*, SIG+6
^TMP($J SCHEDULE+16!, SCHEDULE+18, SCHEDULE+19!

Label References

Name Line Occurrences
$$DOSES PSS+13
$$FRSTDOSE PS1+3
$$PTR LR+19, PSS+9, PSS+10, PSS+11, PSS+12, PSS+14, PSS+15, PSS+16, PS1+1
@( PKGSTUFF+2
DUR STRT+10
GETORDER LR+8, PSS+8
SCHEDULE LR+4
SIG PS1+7, PS1+13
STRT PSS+11

Naked Globals

Name Field # of Occurrence
^( GETORDER+2
^(0 PS2+1*
^(1 GETORDER+2, SIG+5*
^(3 PSS+4, PS2+6*
^(6 PS2+6*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CNT DOSES+1~*, DOSES+2*, DOSES+3*, DOSES+4
CODE PSS+3~, PS2+3*, PS2+4
DAYS SCHEDULE+14~, SCHEDULE+21*, SCHEDULE+22
DOSE SIG+1~, SIG+3*
DT SIG+5
DUZ LR1+14, PS1+17, PS2+6
I SCHEDULE+1~, SCHEDULE+4*, SCHEDULE+5, SCHEDULE+8*, SCHEDULE+9, SCHEDULE+27*, GETORDER+1~, GETORDER+2*, GETORDER+5, PSS+3~
, PSS+18*, PSS+19*, PSS+20*, DOSES+1~, DOSES+2*, DOSES+3*, FRSTDOSE+1~*, FRSTDOSE+2*, STRT+12~*, DUR~
, DUR+1
ID PSS+3~, PS1+5*, PS1+10*, PS1+11, SIG+1~, SIG+2*, SIG+9, SIG+10
IFN SCHEDULE~, SCHEDULE+2, SCHEDULE+4, SCHEDULE+5, SCHEDULE+8, SCHEDULE+9, GETORDER~, GETORDER+2, GETORDER+5, DOSES~
, DOSES+2, DOSES+3
INST GETORDER+1~, GETORDER+3*, GETORDER+4, GETORDER+5
ITM SIG+10~, SIG+12*, SIG+13
LOCMX SCHEDULE+14~, SCHEDULE+15*, SCHEDULE+21
NATR PS2+5~*, PS2+6
>> NATURE LR1+14, PS1+17
NXT SCHEDULE+26~, SCHEDULE+27*
OI STRT+1~, STRT+2*, STRT+3
OR0 LR+1~, LR+3*, LR+7, PSS+1~, PSS+4*, PSS+5, PSS+6, PSS+7
OR3 PSS+3~, PSS+4*, PSS+17, PSS+18, PS1+15*, PS2+2
ORADMIN PSS+3~, PSS+12*, PS1+9
ORCAT PSS+1~, PSS+5*
ORCHLD LR+1~, LR1+11, PSS+3~, PS1+14
ORCOLLCT LR+1~, LR1+3*, LR1+6, LR1+7
ORCONJ PSS+2~, PSS+11*, STRT+10
ORD STRT+1~, STRT+13!
ORD( STRT+12
ORD("XD" STRT+11*, DUR+6*
ORD("XH" STRT+11, DUR+4*
ORD("XM" STRT+11, DUR+3*
ORD("XS" STRT+11, DUR+2*
ORDD PSS+2~, PSS+15*, PS1+5, PS1+10, PS1+11, SIG+2
ORDG LR+1~, LR+7*, PSS+1~, PSS+7*
ORDGNM PSS+2~, PSS+16*, SIG+8, SIG+11
ORDIALOG LR+1~, LR+7*, LR+8, PSS+1~, PSS+6*, PSS+8
ORDIALOG( LR+9!, LR1+2*, LR1+3, LR1+5*, LR1+6*, LR1+7*, PS1+2*, PS1+4*, PS1+5*, PS1+6*
, PS1+9*!, PS1+10!, PS1+11*, SIG+2, SIG+3, SIG+6*, SIG+7*, SIG+8!, SIG+11*, SIG+13*
ORDOSE PSS+2~, PSS+9*, PS1+4, PS1+9, FRSTDOSE+2, SIG+3, SIG+7
ORDRUG SIG+1~, SIG+2*, SIG+9, SIG+11
ORDUR SCHEDULE+1~, SCHEDULE+9*, SCHEDULE+10, SCHEDULE+11, SCHEDULE+24, SCHEDULE+25, PSS+2~, PSS+10*, PS1+9, DUR+1
ORDUZ LR+1~, LR+7*, PSS+1~, PSS+6*
ORENEW PSS+3~, PSS+18*, PSS+19, PSS+20
ORENEW( PSS+20*
>> ORERR LR1+13*, PS1+16*
ORFRST PSS+2~, PSS+14*, PS1+3
ORI PSS+1~, PS1+3*, PS1+4, PS1+5, PS1+8*, PS1+9, PS1+10, PS1+12, SIG+1~, SIG+3*
, STRT+1~, STRT+5*, STRT+6, STRT+8, STRT+10, STRT+15*
ORID PSS+2~, PSS+15*, PS1+4, PS1+5, PS1+9, PS1+10, SIG+2
>> ORIFN LR+3, LR+4, LR+5, LR+6, LR+8, LR1+9, LR1+12*, PSS+4, PS1+15*, PS1+17
, PS1+18, PS2+1
ORIG PSS+3~, PS2+2*, PS2+3, PS2+4, PS2+6, PS2+7
ORIND LR+2~, LR+18*, LR1+2
ORIND2 LR+2~, LR+19*, LR1+2
ORL LR+1~, LR+3*, SCHEDULE+6, SCHEDULE+15, PSS+1~, PSS+7*, STRT+4
ORLAST LR+1~, LR1+11, PSS+3~, PS1+14
ORLASTC LR1~, LR1+9*, LR1+10
ORLOG LR+1~, LR+7*, PSS+1~, PSS+6*, PS2+1
>> ORNOW LR1+14, PS1+17, PS2+6
ORNP LR+1~, LR+7*, PSS+1~, PSS+5*
OROI PSS+3~, PS1+2*, SIG+12
ORP PSS+1~, PS1*, PS1+1, PS1+2, PS1+4*, PS1+9*
ORPARENT LR+1~, LR+3*, LR1+10, LR1+11, LR1+12, LR1+14, PSS+1~, PSS+4*, PSS+8, PSS+13
, PS1+14, PS1+15
ORPCOLL LR+1~, LR+16*, LR1+5
ORPCOMM LR+1~, LR+14*, LR1+2
ORPITEM LR+1~, LR+10*, LR1+2
ORPKG PSS+3~, PSS+7*
ORPSAMP LR+1~, LR+11*, LR1+2
ORPSPEC LR+1~, LR+12*, LR1+2
ORPTYPE LR+1~, LR+15*, LR1+2, LR1+3, LR1+6, LR1+7
ORPURG LR+1~, LR+13*, LR1+2
>> ORQUIT LR1+12*, PS1+15*
ORS1 LR+1~, LR1*, LR1+2
ORS2 LR+1~, LR1+4*, LR1+5, LR1+6, LR1+7
ORSCH PSS+2~, PSS+10*, PS1+6, PS1+9, STRT+6
ORSD STRT+1~, STRT+6*, STRT+7*, STRT+11
ORSIG PSS+3~, PSS+14*, SIG+1, SIG+5, SIG+6
ORSTART PSS+3~, PSS+11*, PSS+13, PS1+6*, PS1+7, PS1+12*, PS1+13
ORSTR PSS+2~, PSS+16*, SIG+8, SIG+13
ORSTRT LR+1~, LR+4, PSS+2~, STRT+1!
ORSTRT( LR1+4, PS1+12, STRT+8*, STRT+15
ORSTRT("BEG" PSS+11, STRT+16*
ORSTRT(0 LR+5
ORT PSS+2~, PSS+9*, PS1+4, PS1+9
ORTIME LR+1~
>> ORVP PS2+1, STRT+7
ORWD STRT+1~, STRT+4*, STRT+7
ORX LR+1~, PSS+1~, SIG+1~, SIG+4*, SIG+5
ORX( LR1, LR1+2, GETORDER+4*, GETORDER+5*, PS1+4, PS1+5, PS1+8, PS1+9, PS1+10, FRSTDOSE+2
, STRT+5, STRT+6, STRT+10, DUR+1
ORX(1 PS1+1, PS1+2, PS1+3, STRT+2
ORY SCHEDULE~, SCHEDULE+2*, SCHEDULE+3*, SCHEDULE+23!, SCHEDULE+24*, SCHEDULE+25*, SCHEDULE+27
ORY( SCHEDULE+3*, SCHEDULE+27*
P LR+1~, LR1+2*
PKG PKGSTUFF~, PKGSTUFF+1*, PKGSTUFF+2, SCHEDULE~, SCHEDULE+4, SCHEDULE+6
PSJAT SCHEDULE+1~
PSJAX SCHEDULE+1~
PSJC SCHEDULE+1~, SCHEDULE+24, SCHEDULE+25
PSJC( SCHEDULE+27
PSJFD SCHEDULE+1~, SCHEDULE+10*, SCHEDULE+12*, SCHEDULE+22*
PSJM SCHEDULE+1~, SCHEDULE+12
PSJNE SCHEDULE+1~, SCHEDULE+6*
PSJOFD SCHEDULE+1~
PSJOSD SCHEDULE+1~
PSJPP SCHEDULE+1~, SCHEDULE+6*
PSJSCH SCHEDULE+1~, SCHEDULE+8*
PSJSD SCHEDULE+1~, SCHEDULE+2*, SCHEDULE+3, SCHEDULE+10, SCHEDULE+12, SCHEDULE+22
PSJTS SCHEDULE+1~, SCHEDULE+7
PSJW SCHEDULE+1~, SCHEDULE+6*
PSJX SCHEDULE+1~, SCHEDULE+5*, SCHEDULE+6, SCHEDULE+8
PSJY SCHEDULE+1~, SCHEDULE+17, SCHEDULE+18
PSOI STRT+1~, STRT+3*, STRT+7
PTR GETORDER+1~, GETORDER+3*, GETORDER+4, GETORDER+5, PS1+1~*, PS1+2
SCH STRT+1~, STRT+6*, STRT+7
SCHMX SCHEDULE+14~, SCHEDULE+18*, SCHEDULE+21
SNMDCID LR+2~, LR+20*, LR1+2
START LR+5~*, LR+6
STR SIG+10~*, SIG+11, SIG+13
STRT SCHEDULE~, SCHEDULE+2
STS LR+1~, LR1+12*, LR1+13, PSS+1~, PS1+15*, PS1+16, PS1+19
TYPE GETORDER+1~, GETORDER+3*, GETORDER+4
U LR+3, LR+5, LR+7, LR1+11, LR1+12, SCHEDULE+2, GETORDER+3, PSS+5, PSS+6, PSS+7
, PSS+17, PSS+18, PS1+14, PS1+15, PS1+18, PS2+1, PS2+2, PS2+3, PS2+4, PS2+6
, SIG+5, SIG+12, STRT+3, STRT+7, STRT+11
X SCHEDULE+1~, SCHEDULE+5*, SCHEDULE+11*, SCHEDULE+12, GETORDER+1~, GETORDER+2*, GETORDER+3, PTR~, PTR+1, STRT+1~
, STRT+6*, STRT+7*, STRT+8, STRT+15*, STRT+16, DUR+1~*, DUR+2, DUR+3, DUR+4, DUR+5
XD STRT+1~, STRT+3*, STRT+8
XH STRT+1~, STRT+3*, STRT+8
XM STRT+1~, STRT+3*, STRT+8
XS STRT+1~, STRT+3*, STRT+8
Y GETORDER+1~, GETORDER+2*, GETORDER+4, FRSTDOSE+1~*, FRSTDOSE+2*, FRSTDOSE+3, STRT+12~*, DUR+1~, DUR+5*, DUR+6

Marked Items

Name Field # of Occurrence
$T(@PKG PKGSTUFF+2
$T(EN^ORCSEND2 VBEC+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All