MDRPCOT ; HOIFO/DP/NCA - Object RPCs (TMDTransaction) ; 5/9/18 1:07pm
Source file <MDRPCOT.m>
| 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.
 | 
| RPC Name | Call Tags | 
|---|---|
| MD TMDTRANSACTION | RPC | 
| FileNo | Call Tags | 
|---|---|
| ^MDD(702 - [#702] | Classic Fileman Calls, GET1^DIQ | 
| ^MDS(702.01 - [#702.01] | GET1^DIQ |