| $$EXTDATA(MDPROC) | 
Entry Point to check if a medical device is
associated with the CP Definition.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
MDPROC | 
Input | 
The CP Definition IEN from CP DEFINITION file
(702.01)
 
 | 
$$EXTDATA | 
Output | 
This is an extrinsic function and it returns: 1/0 for
Yes/No.
 
 | 
 
 | 
$$TIUCOMP(MDNOTE) | 
Entry Point to complete a CP transaction.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
MDNOTE | 
Input | 
The TIU Document IEN from TIU DOCUMENT file (#8925).
 
 | 
$$TIUCOMP | 
Output | 
This is an Extrinsic Function and it returns: 0/1 for
fail/success of transaction completion.
 
 | 
 
 | 
$$TIUDEL(MDNOTE) | 
Entry Point to clean up the CP Transaction file entry
of the TIU Note that was deleted.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
MDNOTE | 
Input | 
The TIU Document IEN from TIU DOCUMENT file (#8925).
 
 | 
$$TIUDEL | 
Output | 
This is an extrinsic Function and it returns: 0/1 for
fail/success of the TIU Note deletion update.
 
 | 
 
 | 
ISTAT(MDARR) | 
Entry Point to update Clinical Procedures of the
result of the image(s) that was copied to the Imaging Server.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
MDARR | 
Input | 
An array of the following: MDARR(0)="0^error message"
or "1^success message"                          MDARR(1)=TrackID
(CP;Transaction IEN)                                    MDARR(2)=Image(s)
Queue Number                                            MDARR(3..N)=Warnings,
if error(s) exist.
 
 | 
 
 | 
ITIU(RESULTS,DFN,CONSULT,VSTRING) | 
This entry point enables VistA Imaging to
retrieve/create a TIU note for a consult for attaching images to.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
RESULTS | 
Output | 
RESULTS(0) will equal one of the following (Required)
;   IEN of the TIU note if successful
;   or on failure one of the following status messages
;   -1^No patient DFN
;   -1^No Consult IEN
;   -1^No VString
;   -1^Error in CP transaction
;   -1^Unable to create CP transaction
;   -1^Unable to create the TIU document
;   -1^No such consult for this patient.
 
 | 
DFN | 
Input | 
Patient IEN. (Required)
 
 | 
CONSULT | 
Input | 
Consult IEN. (Required)
 
 | 
VSTRING | 
Input | 
VString data for TIU Note. (Required)
 
 | 
 
 | 
['$$TIUREAS(MDFN,MDOLDC,MDANOTE,MDNDFN,MDNEWC,MDNEWV,MDNTIU', ')'] | 
This entry point enables TIU to notify CP that a TIU
note was reassigned and CP needs to clean up and update the TIU note
re-assignment.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
MDFN | 
Input | 
Patient DFN in Patient File (#2).
 
 | 
MDOLDC | 
Input | 
The old consult number that the TIU note is being
re-assigned from.
 
 | 
MDANOTE | 
Input | 
The TIU Note internal Entry Number that is being
re-assigned.
 
 | 
MDNDFN | 
Input | 
The patient DFN who will be re-assigned to the TIU
document.
 
 | 
MDNEWC | 
Input | 
The new consult number that will be re-assigned to
the TIU document.
 
 | 
MDNEWV | 
Input | 
The new visit for the TIU document assignment.
 
 | 
MDNTIU | 
Input | 
The new re-assigned TIU document internal entry
number.
 
 | 
$$TIUREAS | 
Output | 
This is an extrinsic function and it returns: 1 for
Success or 0^Error Message.
 
 | 
 
 |