MAGJ RADSTATUSUPDATE

TITLEVALUE
NAMEMAGJ RADSTATUSUPDATE
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 procedure is used by the Radiology Imaging Workstation to update the
Radiology Exam Status code for the current exam to "Interpreted" (or an
equivalent value). Also, the case is closed by this procedure, and
Key Image and/or Presentation State data is stored, if required.
Note: This procedure will only update the Exam Status if the current
value is "Examined".
TAGSTATUS
ROUTINEMAGJUPD1
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERPARAMS
DESCRIPTIONInput string = UPDFLAG ^ RARPT ^ RADFN ^ RADTI ^ RACNI ^ UPDPSKEY
UPDFLAG = 1/0 -- 1 to perform update; else no update made
RARPT = pointer to Rad Exam Report file
RADFN,RADTI,RACNI = pointers to Rad Patient File for the exam
UPDPSKEY = 1 if updating Pres State or Key Image data
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH50

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERDATA
DESCRIPTIONoptional array of text containing Key Image and/or
Image Presentation State data. The format of the message
contained in DATA is:
*IMAGE
Image_IEN ^ KEY
*PS
PS_UID ^ KEY
xml text lines 1
xml text lines 2:N (as needed)
*END_PS
[*PS . . . *END_PS] (as many as for this image)
*END_IMAGE
[*IMAGE . . . *END_IMAGE] (as many as for the exam)
*END
PARAMETER TYPEWORD PROCESSING
REQUIREDNO
MAXIMUM DATA LENGTH120

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONReturns string = 1/0 ^ RESULT
1--Normal result; 0--Unexpected result
RESULT--text description of the update results
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED