MAGV GENERATE DICOM UID (3295)    REMOTE PROCEDURE (8994)

Name Value
NAME MAGV GENERATE DICOM UID
TAG GENNWUID
ROUTINE MAGVUID2
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
DESCRIPTION
Per VHA Directive 2004-038, this RPC should not be modified.
| 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 generates a new DICOM UID that is not unique.
+---------------------------------------------------------------+
| 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  |
INPUT PARAMETER
  • MAGPARAM
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    MAGPARAM("ACCESSION NUMBER")
    MAGPARAM("SITE")
    MAGPARAM("INSTRUMENT")
    MAGPARAM("TYPE") = "STUDY" or "SERIES" or "SOP"
    
RETURN PARAMETER DESCRIPTION
if error MAGRY = Negative number ` Error message
if success MAGRY = 0 ` New UID