Print Page as PDF
MAG RESCIND IMAGES ICR (5730)

MAG RESCIND IMAGES    ICR (5730)

Name Value
NUMBER 5730
IA # 5730
DATE CREATED 2011/10/05
CUSTODIAL PACKAGE IMAGING
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE MAGGSIU4
NAME MAG RESCIND IMAGES
GENERAL DESCRIPTION
This ICR will allow the TIU Package to set a Queue so
that Images attached to a Rescinded Advance Directive will be Watermarked with
the word 'RESCINDED'.
STATUS Active
KEYWORDS
  • RESCIND
  • ADVANCE DIRECTIVE
DURATION Till Otherwise Agreed
ID MAGGSIU4
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
RESCIND(MAGRY,TIUDA)
This is the entry point for TIU to call.  It will
start the process of queuing a job with the Imaging Background Processor to
Watermark all images associated with the Advanced Directive that is being
Rescinded.
VARIABLES TYPE VARIABLES DESCRIPTION
MAGRY Both
MAGRY is the Result Array

if error found during execution
MAGRY(0) = 0^Error message
MAGRU(1..N) = messages describing the Error.

if success
MAGRY(0) = 1^Success

for each image queued we have 3 lines of info.
MAGRY(x)   = Image(1..n): Tracking ID: TRKID
MAGRY(x+1) = Image(1..n): Queue: QUENUMBER
MAGRY(x+2) = Image(1..n): Image: MAGDA

if First image success, and subsequent image
problem we Return
MAGRY(0) =  2^Warning message

for each successfully Queued image queued we
have 3 lines info, same as above.

For any image that was a problem deleting
(unlikely) we have MAGDA and error messages.

The Image is changed to status of "Needs Review",
so it is blocked from view.

information of the image is in the format
MAGRY(x) = Image(n): Image: MAGDA
where x is the incremental count of lines in
the results array and n is the nth image
in this session.

MAGDA is the internal entry number for the image in the File : IMAGE (#2005)
TIUDA Input
TIUDA = IEN of TIU note in TIU DOCUMENT file (#8925)
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
TEXT INTEGRATION UTILITIES
TIU Package will call the RESCIND^MAGGSIU4 API when an
Advance Directive is being Rescinded and has images attached.
DATE ACTIVATED 2011/10/14