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 ;05/17/17 09:34

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

Package Total Caller Graph
Order Entry Results Reporting 10 ORCHECK  ORCSAVE  ORCSAVE2  ORCSEND3  ORMBLDPS  ORNORC  OROCAPI1  OROCLM  
ORSRCHOR  ORWDX2  
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
REMOTE ;Get remote allergy comment ;TDP

External References

Name Field # of Occurrence
UNWIND^%ZTER ERR+3
FILE^DICN COPY+7
^DIE SAVEOC+30
FILE^DIE SAVEOC+39
UPDATE^DIE SAVEOC+23, SAVEOC+43, SAVEOC+50
WP^DIE SAVEOC+31
^DIK DELETE+2, DELOCC+2
IX1^DIK COPY+15
SAVEOC^OROCAPI1 CONVERT1+13
$$CRC16^XLFCRC SAVEOC+35
$$FMADD^XLFDT CONVERT1+5
$$NOW^XLFDT CONVERT1+5
^XMD MAIL+18
$$GET^XPAR SAVEOC+28

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+17, SAVEOC+28, GETOC1+14, 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*
REMOTE+2, REMOTE+3, REMOTE+4
^ORD(100.8 - [#100.8] GETOC1+8
^ORD(101.43 - [#101.43] GETOC1+18
^TMP("DIERR" SAVEOC+21!
^TMP("OROCIDATA" SAVEOC+36, SAVEOC+38, SAVEOC+40, SAVEOC+41*, SAVEOC+42, SAVEOC+44, SAVEOC+45, SAVEOC+46, SAVEOC+47, SAVEOC+48
, SAVEOC+49, SAVEOC+52!
^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
REMOTE GETOC1+13

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% SAVEOC+14~
CLASS SAVEOC+37~, SAVEOC+44*, SAVEOC+45
CRC16 SAVEOC+34~, SAVEOC+35*, SAVEOC+36, SAVEOC+38, SAVEOC+40, SAVEOC+41, SAVEOC+42, SAVEOC+44, SAVEOC+45, SAVEOC+46
, SAVEOC+47, SAVEOC+48, SAVEOC+49, SAVEOC+52
D SAVEOC+14~
DA SAVEOC+14~, SAVEOC+24*, SAVEOC+25, SAVEOC+26, SAVEOC+31, SAVEOC+35, COPY+6~, COPY+8, COPY+13, DELETE+1~
, DELETE+2*, DELOCC+1~, DELOCC+2*
DC SAVEOC+14~
DE SAVEOC+14~
DESC CONVERT+1~, CONVERT1+3~, CONVERT1+4*, CONVERT1+6*, CONVERT1+10
DH SAVEOC+14~
DI SAVEOC+14~
DIC SAVEOC+14~, SAVEOC+27*, SAVEOC+28, COPY+1~, COPY+3*
DIC(0 SAVEOC+27*, COPY+3*
DIE SAVEOC+14~, SAVEOC+28*
DIEL SAVEOC+14~
DIFLD SAVEOC+14~
DIK COPY+1~, COPY+3*, DELETE+1~, DELETE+2*, DELOCC+1~, DELOCC+2*
DIP SAVEOC+14~
DK SAVEOC+14~
DM SAVEOC+14~
DO COPY+6~
DP SAVEOC+14~
DQ SAVEOC+14~
DR SAVEOC+14~, SAVEOC+29*
DTOUT SAVEOC+14~, COPY+6~
DUOUT COPY+6~
DUZ MAIL+3
DV SAVEOC+14~
DW SAVEOC+14~
ERROR SAVEOC+15~, SAVEOC+37~
FDA SAVEOC+37~, SAVEOC+43, SAVEOC+50, SAVEOC+51!
FDA( SAVEOC+38*, SAVEOC+42*, SAVEOC+45*, SAVEOC+47*, SAVEOC+49*
>> FLDS("ORDUZ" SAVEOC+20
I SAVEOC+13~*, SAVEOC+16, SAVEOC+18, SAVEOC+19, SAVEOC+20, SAVEOC+26, SAVEOC+28, SAVEOC+29, SAVEOC+31, SAVEOC+32
, SAVEOC+41, 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+15~, SAVEOC+51!, GETOC1~, GETOC1+4, GETOC1+5, GETOC1+6, GETOC1+7, GETOC1+8, GETOC1+9, GETOC1+10
, GETOC1+11, GETOC1+12, GETOC1+14, GETOC1+16, GETOC1+17, GETOC1+18, REMOTE+2, REMOTE+3, REMOTE+4
IEN(1 SAVEOC+45, SAVEOC+47, SAVEOC+49
ING SAVEOC+37~, SAVEOC+46*, SAVEOC+47
J SAVEOC+15~, SAVEOC+32*, CONVERT+1~, CONVERT1+3~, CONVERT1+7*, CONVERT1+8, CONVERT1+10, CONVERT1+11, CONVERT1+12, MAIL+2~
MAIL+16*
NUM SAVEOC+37~, SAVEOC+40*, SAVEOC+41, SAVEOC+42, SAVEOC+44, SAVEOC+45, SAVEOC+46, SAVEOC+47, SAVEOC+48, SAVEOC+49
OCC GETOC3~, GETOC3+6, GETOC3+7, GETOC5~, GETOC5+6, GETOC5+8, DELOCC~, DELOCC+1
OIEN GETOC1+15~, GETOC1+16*, GETOC1+17, GETOC1+18
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+34~, SAVEOC+35*, SAVEOC+38, SAVEOC+42, SAVEOC+45, SAVEOC+47, SAVEOC+49
ORDANG SAVEOC+14~, SAVEOC+28*, SAVEOC+29
ORFDART SAVEOC+15~
ORFDART( SAVEOC+22*
ORIENRT SAVEOC+15~
ORIENRT(1 SAVEOC+24
ORK CONVERT+1~, CONVERT1+3~, CONVERT1+13
ORK( CONVERT1+10*, CONVERT1+11*, CONVERT1+12*
ORKDT CONVERT1+9~*, CONVERT1+10
ORKMSG SAVEOC+14~, SAVEOC+32*, SAVEOC+35
ORL SAVEOC~
ORL( SAVEOC+13, SAVEOC+16, SAVEOC+18, SAVEOC+19, SAVEOC+20*, SAVEOC+28, SAVEOC+29, SAVEOC+32, SAVEOC+41
ORMSGRT SAVEOC+15~
ORN SAVEOC+14~, SAVEOC+16*, SAVEOC+17, SAVEOC+22, SAVEOC+27, SAVEOC+28, ERR+1, ERR+2
ORSTATUS SAVEOC+14~, SAVEOC+28*, SAVEOC+29
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+26*, GETOC1+6*, GETOC1+7*, GETOC1+8*, GETOC1+9*, GETOC1+10!, GETOC1+11*, GETOC1+12!, GETOC1+14*, GETOC1+16
, GETOC1+17!, GETOC1+18*, GETOC2+5*, GETOC3+7*, GETOC4+8, GETOC4+10*, GETOC4+12*, GETOC5+10, GETOC5+12*, GETOC5+14*
, COPY+4, DELETE+2, DELOCC+2, REMOTE+4*
RET2 GETOC4+5~, GETOC4+9, GETOC4+12, GETOC5+7~, GETOC5+11, GETOC5+14
RET2( GETOC4+10, GETOC4+11!, GETOC5+12, GETOC5+13!
SIGN SAVEOC+37~, SAVEOC+48*, SAVEOC+49
U SAVEOC+18, SAVEOC+28, SAVEOC+29, GETOC1+8, GETOC1+14, GETOC1+18, CONVERT1+5, CONVERT1+6, CONVERT1+9, CONVERT1+10
, CONVERT1+12, COPY+12
X SAVEOC+14~, SAVEOC+27*, COPY+6~, COPY+7*, REMOTE+1~, REMOTE+2*, REMOTE+3, REMOTE+4
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+14~, 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