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 |  Used in RPC |  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: MDRPCOT

Package: Clinical Procedures

Routine: MDRPCOT


Information

MDRPCOT ; HOIFO/DP/NCA - Object RPCs (TMDTransaction) ; 5/9/18 1:07pm

Source Information

Source file <MDRPCOT.m>

Call Graph

Call Graph

Call Graph Total: 17

Package Total Call Graph
Clinical Procedures 6 ($$CANCEL,$$SUB)^MDHL7B  ($$HL7CHK,ALERT,NOTICE)^MDHL7U3  UPD^MDKUTLR  $$EN1^MDPCE  ($$GETVSTR,$$MULT,$$PDT,$$SUBMIT)^MDRPCOT1  BADRPC^MDRPCU  
VA FileMan 5 NOW^%DTC  (FILE,UPDATE)^DIE  ^DIK  CLEAN^DILF  ($$GET1,D)^DIQ  
Text Integration Utility 3 EXTRACT^TIULQ  (DELETE,MAKE)^TIUSRVP  TGET^TIUSRVR1  
Kernel 2 $$NOW^XLFDT  $$LOW^XLFSTR  
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: 6

Package Total Caller Graph
Clinical Procedures 6 MD TMDTRANSACTION  MDAPI  MDRPCOP  MDRPCOT1  MDRPCOTH  MDWOR  

Entry Points

Name Comments DBIA/ICR reference
ADDMSG ; [Procedure] Add message to transaction
DELETE ; [Procedure] Delete Study
; Sets @RESULTS@(0)="-1^Reason for not deleting" or "1^Study Deleted"
FILEMSG(STUDY,MDPKG,MDSTAT,MDMSG) ; [Procedure] File Study Status and Message.
FILES ; [Procedure] Add/remove an attachment to this transaction
GETATT ; [Procedure] Get Attachments
GETERR ; [Procedure] Return list of Imaging Errors
; DATA = Transaction IEN
NEWSTAT ; [Procedure] RPC Call to set status
RPC(RESULTS,OPTION,DATA,TYPE,FILE,RESREP) ; [Procedure] Main RPC call
STATUS(MDIENS,MDSTAT,MDMSG) ; [Procedure] Update transaction status
SUBMIT ; [Procedure] Process the Image(s) Submission.
; Output: -1^Error Message or
; 1^Successful Message
VIEWTIU ; [Procedure] VIew the associated tiu document
GETDATA(STUDY) ; [Function] Return the Necessary data for creating a TIU note.
; Return: Patient DFN_"^"_TIU title_"^"_Hospital Location_"^"_TIU Note
; IEN_"^"_Consult #_"^"_CP Definition IEN_"^"_Visit String_"^"
; New Visit Flag
; or
; -1^Error Message
NEWTIUN(STUDY) ; [Function] Create a new TIU for transaction
; Input: STUDY - IENS of CP study entry
; Return: TIU Document IEN
PREV(MDC,MDS) ; [Function] Return the Previous TIU document.

External References

Name Field # of Occurrence
NOW^%DTC ADDMSG+5
FILE^DIE DELETE+24, FILES+24, NEWSTAT+2, NEWSTAT+3, NEWSTAT+9, STATUS+3, NEWTIUN+36, PREV+13
UPDATE^DIE ADDMSG+10, FILES+19
^DIK DELETE+25
CLEAN^DILF RPC+5
$$GET1^DIQ DELETE+8, GETDATA+8, GETDATA+10, GETDATA+13, GETDATA+16, GETDATA+19, GETDATA+21, GETDATA+26, GETDATA+28, GETDATA+30
D^DIQ GETERR+4
$$CANCEL^MDHL7B DELETE+9
$$SUB^MDHL7B NEWSTAT+5
$$HL7CHK^MDHL7U3 DELETE+19
ALERT^MDHL7U3 DELETE+5
NOTICE^MDHL7U3 DELETE+6, DELETE+20
UPD^MDKUTLR NEWTIUN+37
$$EN1^MDPCE NEWTIUN+27
$$GETVSTR^MDRPCOT1 GETDATA+26
$$MULT^MDRPCOT1 FILES+4
$$PDT^MDRPCOT1 GETDATA+23, NEWTIUN+17
$$SUBMIT^MDRPCOT1 SUBMIT+14
BADRPC^MDRPCU RPC+4
EXTRACT^TIULQ PREV+5
DELETE^TIUSRVP DELETE+10
MAKE^TIUSRVP NEWTIUN+30
TGET^TIUSRVR1 VIEWTIU+3
$$NOW^XLFDT NEWSTAT+8
$$LOW^XLFSTR FILES+9
$$GET^XPAR NEWTIUN+14

Used in RPC

RPC Name Call Tags
MD TMDTRANSACTION RPC

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^MDD(702 - [#702] Classic Fileman Calls,  GET1^DIQ
^MDS(702.01 - [#702.01] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^MDD(702 - [#702] ADDMSG+6, DELETE+6, DELETE+7, DELETE+8, DELETE+9, FILES+3, FILES+6, FILES+8, FILES+9, FILES+14
FILES+15, FILES+21, GETATT+1, GETATT+3, GETATT+4, GETERR+2, GETERR+3, GETERR+5, NEWSTAT+8, SUBMIT+5
SUBMIT+12, SUBMIT+18, VIEWTIU+1, VIEWTIU+3, NEWTIUN+14, PREV+3, PREV+4, PREV+5, PREV+6, PREV+8
, PREV+9
^MDD(702.001 - [#702.001] DELETE+18
^MDD(703.1 - [#703.1] NEWTIUN+18
^MDK(704.202 - [#704.202] DELETE+23, NEWSTAT+3
^TMP("MDTIUST" PREV+2!, PREV+6, PREV+7!, PREV+8!
^TMP($J GETERR+6*, GETERR+7*, RPC+2

Label References

Name Line Occurrences
$$GETDATA NEWTIUN+5
$$NEWTIUN SUBMIT+7
$$PREV GETDATA+32
@( RPC+3
ADDMSG DELETE+14, FILEMSG+3
FILEMSG SUBMIT+10, SUBMIT+16, NEWTIUN+7, NEWTIUN+28
STATUS DELETE+12, FILEMSG+3

Naked Globals

Name Field # of Occurrence
^(0 GETERR+3, GETERR+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% ADDMSG+5!
BODY DELETE+3~, DELETE+6, DELETE+20
CTR NEWTIUN+3~*, NEWTIUN+10*
DA DELETE+25~*
DATA DELETE+4, DELETE+21, DELETE+23, FILES+2, GETATT+1, GETATT+3, GETATT+4, GETERR+2, GETERR+3, GETERR+5
NEWSTAT+1, NEWSTAT+3, NEWSTAT+5, NEWSTAT+6, NEWSTAT+7, NEWSTAT+8, RPC~, SUBMIT+4, VIEWTIU+1, VIEWTIU+3
DATA("DATE" ADDMSG+5*, ADDMSG+7
DATA("MESSAGE" ADDMSG+3, ADDMSG+9, DELETE+14*, FILEMSG+2*
DATA("PKG" ADDMSG+8, DELETE+13*, FILEMSG+1*
DATA("TRANSACTION" ADDMSG+2, ADDMSG+4, DELETE+13*, FILEMSG+1*
DEVIEN DELETE+3~, DELETE+6, DELETE+20
DFN GETDATA+6~, GETDATA+10*, GETDATA+11, GETDATA+26, GETDATA+28, GETDATA+30, GETDATA+33, NEWTIUN+3~, NEWTIUN+30
DIK DELETE+25~*
DUZ DELETE+6, DELETE+20
FILE RPC~
MDAST DELETE+3~, DELETE+19*
MDC PREV~, PREV+3
MDCANR DELETE+9*, RPC+1~
MDCON RPC+1~, GETDATA+6~, GETDATA+16*, GETDATA+17, GETDATA+28, GETDATA+30, GETDATA+32, GETDATA+33, NEWTIUN+3~, NEWTIUN+23
MDDOC RPC+1~, PREV+1~, PREV+2*, PREV+9*, PREV+11, PREV+15
MDDPT GETDATA+6~, GETDATA+23*
MDERR NEWSTAT+5~
MDFDA FILES+1~, NEWSTAT+3!, NEWSTAT+9, RPC+1~, STATUS+3!, NEWTIUN+3~
MDFDA( ADDMSG+6*, ADDMSG+7*, ADDMSG+8*, ADDMSG+9*, DELETE+23*, FILES+15*, FILES+16*, FILES+17*, FILES+18*, FILES+23*
NEWSTAT+3*
MDFDA(702 DELETE+21*, NEWSTAT+1*, NEWSTAT+6*, NEWSTAT+7*, NEWSTAT+8*, STATUS+1*, STATUS+2*, NEWTIUN+33*, NEWTIUN+34*, NEWTIUN+35*
, PREV+11*, PREV+12*
MDFN RPC+1~, GETDATA+6~
MDGST RPC+1~, NEWTIUN+3~*, NEWTIUN+5, NEWTIUN+7, NEWTIUN+14, NEWTIUN+17, NEWTIUN+18, NEWTIUN+27, NEWTIUN+28
MDHL7 NEWSTAT+5~*, NEWSTAT+6, NEWSTAT+7
MDHOLD DELETE+3~, DELETE+4*, DELETE+9, RPC+1~
MDIEN ADDMSG+1~, ADDMSG+4*, ADDMSG+6, FILES+1~, FILES+3*, FILES+8*, FILES+9, FILES+10, FILES+11, FILES+23
, RPC+1~, GETDATA+6~, GETDATA+7*, GETDATA+10, GETDATA+13, GETDATA+16, GETDATA+21, GETDATA+23, GETDATA+26, GETDATA+30
, GETDATA+32
MDIEN(1 FILES+20
MDIENS ADDMSG+1~, ADDMSG+4*, ADDMSG+6, ADDMSG+7, ADDMSG+8, ADDMSG+9, FILES+1~, FILES+13*, FILES+15, FILES+16
FILES+17, FILES+18, RPC+1~, STATUS~, STATUS+1, STATUS+2, GETDATA+6~, GETDATA+7*, GETDATA+8
MDL RPC+1~, NEWTIUN+3~, NEWTIUN+9*, NEWTIUN+10
MDLOC RPC+1~, GETDATA+6~, GETDATA+27*, GETDATA+28, GETDATA+30, GETDATA+33, NEWTIUN+3~, NEWTIUN+15, NEWTIUN+30
MDMSG FILEMSG~, FILEMSG+2, FILEMSG+3, RPC+1~, STATUS~, STATUS+1
MDNEWV RPC+1~, GETDATA+6~, PREV+1~, PREV+2*, PREV+9*, PREV+12
MDNOTE DELETE+3~, DELETE+4*, DELETE+7*, DELETE+10, RPC+1~, GETDATA+6~, GETDATA+32*, GETDATA+33, NEWTIUN+3~, NEWTIUN+13
, NEWTIUN+30*, NEWTIUN+31*, NEWTIUN+33, NEWTIUN+37
MDNVST RPC+1~, GETDATA+6~, GETDATA+7*, GETDATA+23*, GETDATA+28, GETDATA+30, GETDATA+33, NEWTIUN+27, NEWTIUN+28
MDPDT RPC+1~, NEWTIUN+3~, NEWTIUN+17*, NEWTIUN+18*, NEWTIUN+19*, NEWTIUN+25
MDPKG FILEMSG~, FILEMSG+1, RPC+1~
MDPROC RPC+1~, GETDATA+6~, GETDATA+13*, GETDATA+14, GETDATA+19, GETDATA+26, GETDATA+28, GETDATA+30, GETDATA+33, NEWTIUN+3~
, NEWTIUN+14, NEWTIUN+27
MDPT NEWTIUN+3~, NEWTIUN+18*
MDRES DELETE+3~, DELETE+4*, DELETE+10*, DELETE+11, DELETE+12, DELETE+14, DELETE+15, RPC+1~
MDRESU RPC+1~, NEWTIUN+3~*, NEWTIUN+5*, NEWTIUN+7, NEWTIUN+27*, NEWTIUN+28
MDRESUL RPC+1~, SUBMIT+3~, SUBMIT+4*, SUBMIT+7*, SUBMIT+9, SUBMIT+10, SUBMIT+11, SUBMIT+14*, SUBMIT+16, SUBMIT+17
MDRET ADDMSG+1~, FILES+1~, FILES+25, RPC+1~
MDS RPC+1~, PREV~, PREV+10, PREV+11, PREV+12
MDSIEN DELETE+3~, DELETE+4*, DELETE+5, DELETE+6, DELETE+7, DELETE+8, DELETE+9, DELETE+12, DELETE+13, DELETE+18
DELETE+19, DELETE+25, RPC+1~
MDSTAT FILEMSG~, FILEMSG+3, RPC+1~, STATUS~, STATUS+2
MDSTUDY RPC+1~, SUBMIT+3~, SUBMIT+4*, SUBMIT+5, SUBMIT+7, SUBMIT+10, SUBMIT+12, SUBMIT+14, SUBMIT+16, SUBMIT+18
MDT FILES+1~, FILES+4*, FILES+10
MDT1 FILES+1~, FILES+4*
MDTITL RPC+1~, GETDATA+6~, GETDATA+19*, GETDATA+20, GETDATA+28, GETDATA+30, GETDATA+33, NEWTIUN+3~, NEWTIUN+30
MDTIUER RPC+1~, PREV+1~, PREV+2*, PREV+5
MDTRAN RPC+1~, PREV+1~, PREV+2*, PREV+3*, PREV+4, PREV+5, PREV+6, PREV+8, PREV+9, PREV+14*
MDTST RPC+1~, GETDATA+6~, PREV+1~, PREV+2*, PREV+6*, PREV+7, PREV+8
MDTSTR RPC+1~, NEWTIUN+3~, NEWTIUN+5*, NEWTIUN+8, NEWTIUN+10
MDVST RPC+1~, NEWTIUN+3~, NEWTIUN+11*, NEWTIUN+27*, NEWTIUN+30, NEWTIUN+35
MDVSTR RPC+1~, GETDATA+6~, GETDATA+21*, GETDATA+22, GETDATA+23*, GETDATA+25, GETDATA+26*, GETDATA+27, GETDATA+28, GETDATA+30
, GETDATA+33, NEWTIUN+3~, NEWTIUN+19, NEWTIUN+20*, NEWTIUN+27*, NEWTIUN+30
MDWP RPC+1~, NEWTIUN+3~, NEWTIUN+30
MDWP( NEWTIUN+22*
MDWP(1405 NEWTIUN+23*
MDWP(70201 NEWTIUN+24*
MDWP(70202 NEWTIUN+25*
MDX GETERR+2*, GETERR+3, GETERR+5, RPC+1~, GETDATA+6~
MDY GETERR+3*, GETERR+4*, GETERR+5*, GETERR+6, RPC+1~
OPTION RPC~, RPC+3, RPC+4
P1 FILES+1~, FILES+2*, FILES+3, FILES+4, FILES+6, FILES+8, FILES+9, FILES+13, FILES+14, FILES+15
FILES+21, FILES+23
P2 FILES+1~, FILES+2*, FILES+16, FILES+17
P3 FILES+1~, FILES+2*, FILES+8, FILES+18
P4 FILES+1~, FILES+2*, FILES+10, FILES+11, FILES+12, FILES+22
RESREP RPC~
RESULTS DELETE+6, DELETE+8, DELETE+9, DELETE+15, DELETE+18, DELETE+19, DELETE+26, FILES+6, FILES+10, FILES+11
FILES+14, FILES+20, FILES+25, GETATT+2, GETATT+3, GETATT+4*, GETATT+5, RPC~, RPC+2*, RPC+4
SUBMIT+5, SUBMIT+11, SUBMIT+17, VIEWTIU+2, VIEWTIU+3
STUDY FILEMSG~, FILEMSG+1, FILEMSG+3, GETDATA~, GETDATA+7, NEWTIUN~, NEWTIUN+3, NEWTIUN+33, NEWTIUN+34, NEWTIUN+35
, NEWTIUN+37
SUBJECT DELETE+3~, DELETE+6, DELETE+20
TYPE NEWSTAT+1, NEWSTAT+3, NEWSTAT+4, RPC~
U DELETE+7, DELETE+8, DELETE+9, FILES+2, GETATT+3, GETATT+4, GETERR+3, GETERR+4, GETERR+5, NEWSTAT+6
VIEWTIU+1, VIEWTIU+3, NEWTIUN+18, PREV+4, PREV+5, PREV+6, PREV+8, PREV+9
>> X FILES+8, FILES+9*, GETATT+1*, GETATT+3, GETATT+4
>> Y GETATT+2*, GETATT+3, GETATT+4, GETERR+3*, GETERR+4

Marked Items

Name Field # of Occurrence
$T(@OPTION RPC+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All