Print Page as PDF
Imaging's API for CP ICR (4588)

Imaging's API for CP    ICR (4588)

Name Value
NUMBER 4588
IA # 4588
DATE CREATED 2005/01/11
CUSTODIAL PACKAGE IMAGING
CUSTODIAL ISC Washington
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE MAGMC2CP
NAME Imaging's API for CP
GENERAL DESCRIPTION
Imaging grants Clinical Procedures permission to call
routine MAGMC2CP.
STATUS Active
KEYWORDS MAGMC2CP
DURATION Till Otherwise Agreed
ID MAGMC2CP
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
TIU
This module will re-point an image's existing
Medicine report entry to a TIU report. Both the image entry and the TIU report
entry will be updated with the correct TIU/image pointer.

Passed into this module will be the Image Internal Entry Number (IEN) to be
updated, the Medicine Report IEN and the TIU note IEN which replaces the
Medicine report pointer.
VARIABLES TYPE VARIABLES DESCRIPTION
MODE Input
Boolean value: 0:Test mode, 1:Real mode
VP Input
Pointer to Medicine file report entry that is being
converted.  The calling application should validate this number before
sending.
TIUEN Input
The IEN of a TIU note; calling application should
validate this number before sending.
IP Input
The image's IEN in file 2005.
$$TIU(MODE,VP,TIU,IP) Output
An extrinsic function that returns the success of the
call and additional information on the results.

Example of call S X=$$TIU^MAGMC2CP(MODE,VP,TIUE,IP) See above documentation on
passing variables.

Possible results: -1^description of error

0^No Action - No conversion took place for the entry.

1^Success message - The image's report pointer was re-pointed to the TIU entry
sent.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC SUBSCRIBING DETAILS
CLINICAL PROCEDURES Hines
Imaging provides an Application Programmer Interface
(API) that will enable the Clinical Procedure conversion application to
re-point the image records from Medicine reports to the new TIU documents
generated by the CP conversion application.