MAGV UPDATE WORK ITEM

TITLEVALUE
NAMEMAGV UPDATE WORK ITEM
DESCRIPTION +---------------------------------------------------------------+
| Property of the US Government. |
| No permission to copy or redistribute this software is given. |
| Use of unreleased versions of this software requires the user |
| to execute a written test agreement with the VistA Imaging |
| Development Office of the Department of Veterans Affairs, |
| telephone (301) 734-0100. |
| |
| The Food and Drug Administration classifies this software as |
| a medical device. As such, it may not be changed in any way. |
| Modifications to this software may result in an adulterated |
| medical device under 21CFR820, the use of which is considered |
| to be a violation of US Federal Statutes. |
+---------------------------------------------------------------+

This RPC updates a work item in the MAG WORK ITEM file (#2006.941).
TAGUPDITEM
ROUTINEMAGVIM01
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERITEMID
DESCRIPTIONThis is the item ID that uniquely identifies the work list item.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETEREXPSTAT
DESCRIPTIONThis is the expected status of the work item. If the expected status
does not match the status of the work item then the item will not
be updated.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERNEWSTAT
DESCRIPTIONThis is the new status to be filed in the work item.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERMESSAGE
DESCRIPTIONThis is the message that is associated with the work item.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER5
INPUT PARAMETERUPDUSR
DESCRIPTIONThis is the user that has updated the work item.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER6
INPUT PARAMETERUPDAPP
DESCRIPTIONThis is the application/service that has updated the work item.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTIONThe return parameter returns a "0" for success. "-1" followed by an error message is returned if an error has occurred.
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED