Print Page as PDF
DBIA3378 ICR (3378)

DBIA3378    ICR (3378)

Name Value
NUMBER 3378
IA # 3378
DATE CREATED 2005/04/07
CUSTODIAL PACKAGE CLINICAL PROCEDURES
CUSTODIAL ISC Chicago
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE MDAPI
NAME DBIA3378
GENERAL DESCRIPTION
This IA documents calls to MDAPI.
STATUS Active
DURATION Till Otherwise Agreed
ID MDAPI
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$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.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC SUBSCRIBING DETAILS
CONSULT/REQUEST TRACKING Salt Lake City
Consult will be calling the $$EXTDATA(MDPROC) entry
point to determine whether the procedure requires external data.
TEXT INTEGRATION UTILITIES Salt Lake City
TIU will be calling the $$TIUCOMP(MDNOTE) entry point
to complete the CP transaction, the $$TIUDEL(MDNOTE) entry points to update
Clinical Procedures that a TIU document is deleted, and $$TIUREAS(MDFN,MDOLDC,
MDANOTE,MDNDFN,MDNEWC,MDNEWV,MDNTIU) entry point to clean up and update a TIU
document re-assignment.
IMAGING Washington/Silver Spring
Imaging will be calling the ISTAT(MDARR) entry point to
update Clinical Procedures with the result of the image(s) being copied to the
Imaging Server.