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 |  Local Variables |  All
Print Page as PDF
Routine: OROCAPI1

Package: Order Entry Results Reporting

Routine: OROCAPI1


Information

OROCAPI1 ;SLC/JMH - ORDER CHECK INSTANCES FILE APIS; 02/04/2015 12:18

Source Information

Source file <OROCAPI1.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Kernel 3 UNWIND^%ZTER  $$CRC16^XLFCRC  ($$FMADD,$$NOW)^XLFDT  
VA FileMan 3 FILE^DICN  (,FILE,UPDATE,WP)^DIE  (,IX1)^DIK  
MailMan 1 ^XMD  
Order Entry Results Reporting 1 SAVEOC^OROCAPI1  
Toolkit 1 $$GET^XPAR  

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

Package Total Caller Graph
Order Entry Results Reporting 8 ORCHECK  ORCSAVE  ORCSAVE2  ORCSEND3  ORMBLDPS  OROCAPI1  ORSRCHOR  ORWDXC  
Inpatient Medications 5 PSGSICH1  PSGSICH2  PSJDGAL2  PSJNEWOA  PSJNEWOC  
Outpatient Pharmacy 4 PSODGAL1  PSODGAL2  PSONEWOA  PSONEWOC  

Entry Points

Name Comments DBIA/ICR reference
SAVEOC(ORL,RET) ;SAVE A GROUP OF ORDER CHECKS
GETOC1(IEN,RET) ;GET A SINGLE ORDER CHECK
GETOC2(ORD,RET) ;GET ALL 100.05 IENS FOR A SPECIFIC ORDER
GETOC3(ORD,OCC,RET) ;GET ALL 100.05 IENS FOR A SPECIFIC ORDER/OCCURANCE PAIR
GETOC4(ORD,RET) ;GET DATA FOR ALL 100.05 RECORDS OF A SPECIFIC ORDER
GETOC5(ORD,OCC,RET) ;GET DATA FOR ALL 100.05 RECORDS OF A SPECIFIC ORDER/OCCURANCE PAIR
CONVERT ;CONVERT EXISTING FILE 100 NODE 9 ENTRIES OVER TO FILE 100.05
CONVERT1(I) ;CONVERT EXISTING FILE 100 NODE 9 ENTRIES OVER TO FILE 100.05 FOR 1 ORDER
COPY(ORD1,ORD2) ;COPY THE ORDER CHECKS FROM ORDER 1 TO ORDER 2
OCCNT(ORD) ;RETURN 1 IF THERE ARE ORDER CHECKS AND 0 IF NOT
DELETE(ORD) ;DELETE ALL OF THE OC INSTANCES FOR AN ORDER
DELOCC(ORD,OCC) ;DELETE ALL OF THE OC INSTANCES FOR AN ORDER/OCCURANCE PAIR
ERR ;
MAIL ;send mail message to installer if any errors encountered during conversion process

External References

Name Field # of Occurrence
UNWIND^%ZTER ERR+3
FILE^DICN COPY+7
^DIE SAVEOC+29
FILE^DIE SAVEOC+38
UPDATE^DIE SAVEOC+22, SAVEOC+41, SAVEOC+48
WP^DIE SAVEOC+30
^DIK DELETE+2, DELOCC+2
IX1^DIK COPY+15
SAVEOC^OROCAPI1 CONVERT1+13
$$CRC16^XLFCRC SAVEOC+34
$$FMADD^XLFDT CONVERT1+5
$$NOW^XLFDT CONVERT1+5
^XMD MAIL+18
$$GET^XPAR SAVEOC+27

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ORD(100.05 - [#100.05] Classic Fileman Calls,  WP^DIE

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100 - [#100] SAVEOC+16, SAVEOC+27, GETOC1+13, CONVERT+4, CONVERT1+6, CONVERT1+7, CONVERT1+8, CONVERT1+9
^ORD(100.05 - [#100.05] GETOC1+5, GETOC1+6, GETOC1+7, GETOC1+9, GETOC1+11, GETOC2+5, GETOC3+7, CONVERT+4, COPY+11, COPY+13*
^ORD(100.8 - [#100.8] GETOC1+8
^ORD(101.43 - [#101.43] GETOC1+17
^TMP("DIERR" SAVEOC+20!
^TMP("OROCIDATA" SAVEOC+35, SAVEOC+37, SAVEOC+39, SAVEOC+40, SAVEOC+42, SAVEOC+43, SAVEOC+44, SAVEOC+45, SAVEOC+46, SAVEOC+47
, SAVEOC+50!
^TMP($J COPY+10!, COPY+11*, COPY+12*, COPY+13, COPY+16!, MAIL+4*, MAIL+5*, MAIL+6*, MAIL+7*, MAIL+8*
, MAIL+9*, MAIL+10*, MAIL+11*, MAIL+12*, MAIL+13*, MAIL+14*, MAIL+15*, MAIL+16*
^XTMP("ORK FILE CONVERSION" CONVERT+3, CONVERT+6, CONVERT+7!, CONVERT+8*, CONVERT+9!, CONVERT+10*, CONVERT1+5*, CONVERT1+14*, ERR+1*, ERR+2*
, MAIL+1, MAIL+3, MAIL+16

Label References

Name Line Occurrences
CONVERT1 CONVERT+4
DELETE CONVERT+6
GETOC1 GETOC4+9, GETOC5+11
GETOC2 GETOC4+6, COPY+2, OCCNT+1, DELETE+1
GETOC3 GETOC5+8, DELOCC+1
MAIL CONVERT+11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% SAVEOC+13~
CLASS SAVEOC+36~, SAVEOC+42*, SAVEOC+43
CRC16 SAVEOC+33~, SAVEOC+34*, SAVEOC+35, SAVEOC+37, SAVEOC+39, SAVEOC+40, SAVEOC+42, SAVEOC+43, SAVEOC+44, SAVEOC+45
, SAVEOC+46, SAVEOC+47, SAVEOC+50
D SAVEOC+13~
DA SAVEOC+13~, SAVEOC+23*, SAVEOC+24, SAVEOC+25, SAVEOC+30, SAVEOC+34, COPY+6~, COPY+8, COPY+13, DELETE+1~
, DELETE+2*, DELOCC+1~, DELOCC+2*
DC SAVEOC+13~
DE SAVEOC+13~
DESC CONVERT+1~, CONVERT1+3~, CONVERT1+4*, CONVERT1+6*, CONVERT1+10
DH SAVEOC+13~
DI SAVEOC+13~
DIC SAVEOC+13~, SAVEOC+26*, SAVEOC+27, COPY+1~, COPY+3*
DIC(0 SAVEOC+26*, COPY+3*
DIE SAVEOC+13~, SAVEOC+27*
DIEL SAVEOC+13~
DIFLD SAVEOC+13~
DIK COPY+1~, COPY+3*, DELETE+1~, DELETE+2*, DELOCC+1~, DELOCC+2*
DIP SAVEOC+13~
DK SAVEOC+13~
DM SAVEOC+13~
DO COPY+6~
DP SAVEOC+13~
DQ SAVEOC+13~
DR SAVEOC+13~, SAVEOC+28*
DTOUT SAVEOC+13~, COPY+6~
DUOUT COPY+6~
DUZ MAIL+3
DV SAVEOC+13~
DW SAVEOC+13~
ERROR SAVEOC+14~, SAVEOC+36~
FDA SAVEOC+36~, SAVEOC+41, SAVEOC+48, SAVEOC+49!
FDA( SAVEOC+37*, SAVEOC+40*, SAVEOC+43*, SAVEOC+45*, SAVEOC+47*
>> FLDS("ORDUZ" SAVEOC+19
I SAVEOC+12~*, SAVEOC+15, SAVEOC+17, SAVEOC+18, SAVEOC+19, SAVEOC+25, SAVEOC+27, SAVEOC+28, SAVEOC+30, SAVEOC+31
, GETOC2+5~*, GETOC3+7~*, GETOC4+8~*, GETOC4+9, GETOC4+10, GETOC4+11, GETOC5+10~*, GETOC5+11, GETOC5+12, GETOC5+13
, CONVERT+1~, CONVERT+2*, CONVERT+3*, CONVERT+4*, CONVERT+5*, CONVERT+6*, CONVERT1~, CONVERT1+6, CONVERT1+7, CONVERT1+8
, CONVERT1+9, CONVERT1+10, CONVERT1+14, COPY+1~, COPY+4*, COPY+11, DELETE+1~, DELETE+2*, DELOCC+1~, DELOCC+2*
, MAIL+2~, MAIL+4*, MAIL+5*, MAIL+6*, MAIL+7*, MAIL+8*, MAIL+9*, MAIL+10*, MAIL+11*, MAIL+12*
, MAIL+13*, MAIL+14*, MAIL+15*, MAIL+16*
IEN SAVEOC+14~, SAVEOC+49!, GETOC1~, GETOC1+4, GETOC1+5, GETOC1+6, GETOC1+7, GETOC1+8, GETOC1+9, GETOC1+10
, GETOC1+11, GETOC1+12, GETOC1+13, GETOC1+15, GETOC1+16, GETOC1+17
IEN(1 SAVEOC+43, SAVEOC+45, SAVEOC+47
ING SAVEOC+36~, SAVEOC+44*, SAVEOC+45
J SAVEOC+14~, SAVEOC+31*, CONVERT+1~, CONVERT1+3~, CONVERT1+7*, CONVERT1+8, CONVERT1+10, CONVERT1+11, CONVERT1+12, MAIL+2~
, MAIL+16*
NUM SAVEOC+36~, SAVEOC+39*, SAVEOC+40, SAVEOC+42, SAVEOC+43, SAVEOC+44, SAVEOC+45, SAVEOC+46, SAVEOC+47
OCC GETOC3~, GETOC3+6, GETOC3+7, GETOC5~, GETOC5+6, GETOC5+8, DELOCC~, DELOCC+1
OIEN GETOC1+14~, GETOC1+15*, GETOC1+16, GETOC1+17
ORD GETOC2~, GETOC2+4, GETOC2+5, GETOC3~, GETOC3+5, GETOC3+7, GETOC4~, GETOC4+4, GETOC4+6, GETOC4+8
, GETOC4+10, GETOC4+12, GETOC5~, GETOC5+5, GETOC5+8, GETOC5+10, GETOC5+12, GETOC5+14, OCCNT~, OCCNT+1
, DELETE~, DELETE+1, DELETE+2, DELOCC~, DELOCC+1, DELOCC+2
ORD1 COPY~, COPY+2, COPY+4
ORD2 COPY~, COPY+7, COPY+12
ORDA SAVEOC+33~, SAVEOC+34*, SAVEOC+37, SAVEOC+40, SAVEOC+43, SAVEOC+45, SAVEOC+47
ORDANG SAVEOC+13~, SAVEOC+27*, SAVEOC+28
ORFDART SAVEOC+14~
ORFDART( SAVEOC+21*
ORIENRT SAVEOC+14~
ORIENRT(1 SAVEOC+23
ORK CONVERT+1~, CONVERT1+3~, CONVERT1+13
ORK( CONVERT1+10*, CONVERT1+11*, CONVERT1+12*
ORKDT CONVERT1+9~*, CONVERT1+10
ORKMSG SAVEOC+13~, SAVEOC+31*, SAVEOC+34
ORL SAVEOC~
ORL( SAVEOC+12, SAVEOC+15, SAVEOC+17, SAVEOC+18, SAVEOC+19*, SAVEOC+27, SAVEOC+28, SAVEOC+31
ORMSGRT SAVEOC+14~
ORN SAVEOC+13~, SAVEOC+15*, SAVEOC+16, SAVEOC+21, SAVEOC+26, SAVEOC+27, ERR+1, ERR+2
ORSTATUS SAVEOC+13~, SAVEOC+27*, SAVEOC+28
ORTXT MAIL+2~
RET SAVEOC~, GETOC1~, GETOC1+3!, GETOC2~, GETOC2+3!, GETOC3~, GETOC3+4!, GETOC4~, GETOC4+3!, GETOC4+6
, GETOC4+7, GETOC5~, GETOC5+4!, GETOC5+8, GETOC5+9, CONVERT1+3~, CONVERT1+13, COPY+1~, COPY+2, OCCNT+1~
, OCCNT+2, DELETE+1~, DELOCC+1~
RET( SAVEOC+25*, GETOC1+6*, GETOC1+7*, GETOC1+8*, GETOC1+9*, GETOC1+10!, GETOC1+11*, GETOC1+12!, GETOC1+13*, GETOC1+15
, GETOC1+16!, GETOC1+17*, GETOC2+5*, GETOC3+7*, GETOC4+8, GETOC4+10*, GETOC4+12*, GETOC5+10, GETOC5+12*, GETOC5+14*
, COPY+4, DELETE+2, DELOCC+2
RET2 GETOC4+5~, GETOC4+9, GETOC4+12, GETOC5+7~, GETOC5+11, GETOC5+14
RET2( GETOC4+10, GETOC4+11!, GETOC5+12, GETOC5+13!
SIGN SAVEOC+36~, SAVEOC+46*, SAVEOC+47
U SAVEOC+17, SAVEOC+27, SAVEOC+28, GETOC1+8, GETOC1+13, GETOC1+17, CONVERT1+5, CONVERT1+6, CONVERT1+9, CONVERT1+10
, CONVERT1+12, COPY+12
X SAVEOC+13~, SAVEOC+26*, COPY+6~, COPY+7*
X0 CONVERT1+8~*, CONVERT1+9, CONVERT1+10, CONVERT1+12
X1 CONVERT1+8~*, CONVERT1+11
XMDUZ MAIL+2~, MAIL+3*
XMMG MAIL+2~
XMSUB MAIL+2~, MAIL+17*
XMTEXT MAIL+2~, MAIL+17*
XMY MAIL+2~
XMY( MAIL+3*
XMZ MAIL+2~
Y SAVEOC+13~, COPY+6~, OCCNT+1~, OCCNT+2*, OCCNT+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All