MDRPCOT2 ; HOIFO/NCA - Object RPCs (TMDTransaction) Continued 2;10/29/04 12:20 ;3/12/08 09:18
Source file <MDRPCOT2.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| ADDMSG | ; [Procedure] Add message to transaction
 | 
|
| FILEMSG(STUDY,MDPKG,MDSTAT,MDMSG) | ; [Procedure] File Study Status and Message.
 | 
|
| STATUS(MDIENS,MDSTAT,MDMSG) | ; [Procedure] Update transaction status
 | 
|
| SUBMIT(MDDATA,MDESIG,MDG1) | ; [Procedure] Process the Image(s) Submission.
 ; Input: MDDATA - Study ID ; MDESIG - Electronic Signature ; MDG1 - ^TMP global with the text of the report ; Output: -1^Error Message or ; 1^Successful Message  | 
|
| 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  | 
|
| UPDATE(STUDY,SIGN,MDGLB) | ; Update the TIU document with the text
 | 
|
| SIGN(MDTIUIN,MDSIGN) | ; Sign the TIU Document
 ; [Function] TIU SIGN RECORD  | 
|
| PREV(MDC,MDS) | ; [Function] Return the Previous TIU document.
 | 
| FileNo | Call Tags | 
|---|---|
| ^MDD(702 - [#702] | GET1^DIQ | 
| ^MDS(702.01 - [#702.01] | GET1^DIQ |