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 |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: ORQQPL2

Package: Order Entry Results Reporting

Routine: ORQQPL2


Information

ORQQPL2 ; ALB/PDR/REV/TC - RPCs FOR CPRS GUI IMPLEMENTATION ;03/08/13 08:25

Source Information

Source file <ORQQPL2.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Problem List 4 DT^GMPLHIST  NEWNOTE^GMPLSAVE  (AUDIT,DTMOD)^GMPLX  $$SERVICE^GMPLX1  
Kernel 3 ($$FMTE,$$HTFM,$$NOW)^XLFDT  $$NAME^XUSER  USERINFO^XUSRB2  
MailMan 2 KILL^XM  ^XMB  
Registration 1 $$SITE^VASITE  
Toolkit 1 ($$GET,ADD,CHG)^XPAR  
VA FileMan 1 ^DIE  

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

Package Total Caller Graph
Order Entry Results Reporting 10 ORQQPL  ORQQPL AUDIT HIST  ORQQPL DELETE  ORQQPL INACTIVATE  ORQQPL PROB COMMENTS  ORQQPL PROBLEM NTRT BULLETIN  ORQQPL REPLACE  ORQQPL SAVEVIEW  
ORQQPL VERIFY  ORVCODATA01  

Entry Points

Name Comments DBIA/ICR reference
HIST(RETURN,GMPIFN) ; GET AUDIT HISTORY
; taken from EN^GMPLDISP
FLUSH(RETURN,I,ORDT,TXT) ; FLUSH FORMATTED AUDIT STRING
STRIP(VAL) ; STRIP LEADING SPACES FROM VALUES
DELETE(RESULT,GMPIFN,GMPROV,GMPVAMC,REASON) ; DELETE A PROBLEM
; From GMPL1 - silent version
REPLACE(RETURN,DA) ; -- replace problem on patient's list
; taken from REPLACE^GMPLRPTR
VERIFY(RETURN,GMPIFN) ; -- verify a transcribed problem
; RETURN: ;(consistent with UPDATE function)
; SUCCESS:
; RETURN>0, RETURN(0)=""
; FAILURE:
; RETURN<0, RETURN(0)=verbose error message
INACT(RETURN,GMPIFN) ; -- inactivate a problem
; RETURN: ;(consistent with UPDATE function)
; SUCCESS:
; RETURN>0, RETURN(0)=""
; FAILURE:
; RETURN<0, RETURN(0)=verbose error message
OLDCOMM(ORY,PIFN) ; Return comments for a problem - SINGLE DIVISION!
GETCOMM(ORY,PIFN)
SAVEVIEW(Y,GMPLVIEW) ; -- save new view in File #200/Field #125
NTRTBULL(ORY,ORTERM,ORNP,ORPT,ORCOMM) ; Send NTRT Request bulletin to CAC mailgroup
TESTBULL ; Test setting up and sending PL NTRT bulletin

External References

Name Field # of Occurrence
^DIE REPLACE+7
DT^GMPLHIST HIST+13
NEWNOTE^GMPLSAVE DELETE+5
AUDIT^GMPLX DELETE+10, REPLACE+9, VERIFY+17, INACT+17
DTMOD^GMPLX DELETE+11, REPLACE+10, VERIFY+18, INACT+18
$$SERVICE^GMPLX1 NTRTBULL+4
$$SITE^VASITE NTRTBULL+6
$$FMTE^XLFDT NTRTBULL+16
$$HTFM^XLFDT DELETE+6, REPLACE+8, VERIFY+7, INACT+7
$$NOW^XLFDT NTRTBULL+16
KILL^XM NTRTBULL+22
^XMB NTRTBULL+22
$$GET^XPAR SAVEVIEW+5, NTRTBULL+13
ADD^XPAR SAVEVIEW+8
CHG^XPAR SAVEVIEW+7
$$NAME^XUSER NTRTBULL+3
USERINFO^XUSRB2 NTRTBULL+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Call Result: ",$S(+ORY:"Success!",1:$P(ORY,U,2))
  • Line Location: TESTBULL+3
Routine Call
  • DIE
  • Line Location:
    • REPLACE+7

Used in RPC

RPC Name Call Tags
ORQQPL DELETE DELETE
ORQQPL AUDIT HIST HIST
ORQQPL REPLACE REPLACE
ORQQPL VERIFY VERIFY
ORQQPL PROB COMMENTS GETCOMM
ORQQPL INACTIVATE INACT
ORQQPL SAVEVIEW SAVEVIEW
ORQQPL PROBLEM NTRT BULLETIN NTRTBULL

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AUPNPROB - [#9000011] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNPROB - [#9000011] DELETE+8*, REPLACE+3, VERIFY+8, VERIFY+11, VERIFY+15*, VERIFY+19, INACT+8, INACT+11, INACT+15*, INACT+19
, GETCOMM+3, GETCOMM+5, GETCOMM+6, GETCOMM+7
^GMPL(125.8 - [#125.8] HIST+4, HIST+8, HIST+10, HIST+11
^VA(200 - [#200] SAVEVIEW+3, SAVEVIEW+4*, NTRTBULL+8

Label References

Name Line Occurrences
$$STRIP HIST+21, HIST+22, FLUSH+2
FLUSH HIST+19, HIST+24
NTRTBULL TESTBULL+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AIFN HIST+2~, HIST+9*, HIST+10*, HIST+11
CHNGE DELETE+2~, DELETE+6*, DELETE+7*, DELETE+10, REPLACE+2~, REPLACE+8*, REPLACE+9, VERIFY+6~, VERIFY+16*, VERIFY+17
, INACT+6~, INACT+16*, INACT+17
DA REPLACE~, REPLACE+3, REPLACE+8, REPLACE+10
DIE REPLACE+2~, REPLACE+6*
DR REPLACE+2~, REPLACE+5*
DUZ DELETE+7, REPLACE+8, VERIFY+16, INACT+16, SAVEVIEW+3, SAVEVIEW+4, SAVEVIEW+5, SAVEVIEW+7, SAVEVIEW+8, NTRTBULL+3
, NTRTBULL+8
DUZ(2 NTRTBULL+13
FAC GETCOMM+1~, GETCOMM+2*, GETCOMM+3*, GETCOMM+5, GETCOMM+6, GETCOMM+7
FLD HIST+11~*, HIST+12
GMPDT HIST+2~
GMPDT( HIST+16, HIST+17
GMPFLD DELETE+12!
GMPFLD(10 DELETE+4*
GMPIFN HIST~, HIST+4, HIST+8, HIST+10, DELETE~, DELETE+6, DELETE+8, DELETE+11, VERIFY~, VERIFY+8
, VERIFY+11, VERIFY+15, VERIFY+16, VERIFY+18, VERIFY+19, INACT~, INACT+8, INACT+11, INACT+15, INACT+16
, INACT+18, INACT+19
GMPL0 HIST+11~*
GMPLVIEW SAVEVIEW~, SAVEVIEW+2, SAVEVIEW+4, SAVEVIEW+7, SAVEVIEW+8
GMPROV DELETE~, DELETE+7
GMPVAMC DELETE~
I HIST+2~, HIST+15*, HIST+19, HIST+23, HIST+24, FLUSH~, FLUSH+1, FLUSH+2, FLUSH+3*
IDT HIST+2~, HIST+7*, HIST+8*, HIST+10
J STRIP+1~, STRIP+2*, STRIP+3
L HIST+2~, HIST+17*, HIST+18, HIST+20, HIST+21, HIST+22
LCNT HIST+2~, HIST+3*
NIFN GETCOMM+1~, GETCOMM+4*, GETCOMM+5*, GETCOMM+6, GETCOMM+7
NOTE GETCOMM+1~, GETCOMM+7*, GETCOMM+8
NOTECNT GETCOMM+1~, GETCOMM+2*, GETCOMM+8*
NOW VERIFY+6~, VERIFY+7*, VERIFY+16, INACT+6~, INACT+7*, INACT+16
ORCOMM NTRTBULL~, NTRTBULL+21
ORDGRP NTRTBULL+1~, NTRTBULL+13*, NTRTBULL+14
ORDT HIST+2~, HIST+19, HIST+20*, HIST+24, FLUSH~, FLUSH+2
OREQSTR NTRTBULL+1~, NTRTBULL+3*, NTRTBULL+17
OREQSVC NTRTBULL+1~, NTRTBULL+4*, NTRTBULL+5
ORNP NTRTBULL~, NTRTBULL+3, NTRTBULL+4
ORPT NTRTBULL~, NTRTBULL+20
ORSITE NTRTBULL+1~, NTRTBULL+2*, NTRTBULL+6*, NTRTBULL+19
ORSVC NTRTBULL+1~, NTRTBULL+2*, NTRTBULL+5*, NTRTBULL+18
ORTERM NTRTBULL~, NTRTBULL+7, NTRTBULL+15
ORUSER NTRTBULL+1~, NTRTBULL+2
ORUSER(2 NTRTBULL+3
ORUSER(3 NTRTBULL+2
ORUSER(5 NTRTBULL+2
ORY OLDCOMM~, GETCOMM~, NTRTBULL~, NTRTBULL+7*, NTRTBULL+8*, NTRTBULL+22*, TESTBULL+1~, TESTBULL+2, TESTBULL+3
ORY( GETCOMM+8*
PIFN OLDCOMM~, GETCOMM~, GETCOMM+3, GETCOMM+5, GETCOMM+6, GETCOMM+7
REASON DELETE~, DELETE+3, DELETE+4
RESULT DELETE~, DELETE+9*
RETURN HIST~, HIST+19, HIST+24, FLUSH~, REPLACE~, REPLACE+4*, REPLACE+11*, VERIFY~, VERIFY+9*, VERIFY+13*
, VERIFY+20*, INACT~, INACT+9*, INACT+13*, INACT+20*
RETURN( FLUSH+2*
RETURN(0 HIST+5*, HIST+23*, VERIFY+10*, VERIFY+14*, VERIFY+21*, INACT+10*, INACT+14*, INACT+21*
S HIST+2~, HIST+15*, HIST+16*, HIST+17
TMP SAVEVIEW+1~, SAVEVIEW+3*, SAVEVIEW+4, SAVEVIEW+5*, SAVEVIEW+6
TXT HIST+2~, HIST+15*, HIST+19, HIST+21*, HIST+22*, HIST+24, FLUSH~, FLUSH+2
U HIST+11, FLUSH+2, DELETE+7, DELETE+8, REPLACE+3, REPLACE+8, VERIFY+8, VERIFY+15, VERIFY+16, INACT+8
, INACT+15, INACT+16, GETCOMM+6, GETCOMM+7, SAVEVIEW+3, SAVEVIEW+4, SAVEVIEW+7, SAVEVIEW+8, NTRTBULL+4, NTRTBULL+19
TESTBULL+3
VAL STRIP~, STRIP+2, STRIP+3
XMB NTRTBULL+1~, NTRTBULL+9*
XMB(1 NTRTBULL+15*
XMB(2 NTRTBULL+16*
XMB(3 NTRTBULL+17*
XMB(4 NTRTBULL+18*
XMB(5 NTRTBULL+19*
XMB(6 NTRTBULL+20*
XMB(7 NTRTBULL+21*
XMDUZ NTRTBULL+1~, NTRTBULL+10*
XMY NTRTBULL+1~
XMY("G." NTRTBULL+14*
Y SAVEVIEW~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All