MAG DICOM GET RAD INFO BY ACN (2750)    REMOTE PROCEDURE (8994)

Name Value
NAME MAG DICOM GET RAD INFO BY ACN
TAG ACNUMB
ROUTINE MAGDRPCA
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
VERSION 3
DESCRIPTION
This RPC takes the Accession Number and returns the first radiology study that matches it.  This RPC uses $$ACCFIND^RAAPI() to get this information.
INPUT PARAMETER
  • ACNUMB
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The accession number in either a 'sss-mmddyy-xxxxx' or
       'mmddyy-xxxxx' format
    
RETURN PARAMETER DESCRIPTION
The results will be either:
If successful:    1^RADFN_^_RADTI_^_RACNI_^_IMAGLOCN
If unsuccessful: -1^"invalid site accession number format"^accession #
 or -2^"invalid accession number format"^accession #
 or -3^"no data associated with this accession number"^accession #