MAGV GET ACCESSION NUM (3118)    REMOTE PROCEDURE (8994)

Name Value
NAME MAGV GET ACCESSION NUM
TAG GETACCNO
ROUTINE MAGVRS08
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
DESCRIPTION
This RPC returns an accession number given a patient reference internal 
entry number and procedure reference internal entry number.
INPUT PARAMETER
  • PATREFIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is the internal entry number of the entry on the IMAGING PATIENT 
    REFERENCE File (#2005.6) with which the procedure reference is associated.
    
  • PROCREFIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This is the procedure's internal entry number on the IMAGING PROCEDURE
    REFERENCE File (#2005.61).
    
  • OVERRIDE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   3
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    This parameter should be used with EXTREME CAUTION.  If set TRUE
    (nonzero), will suppress the validation of the procedure reference IEN
    against the patient reference IEN.
    
RETURN PARAMETER DESCRIPTION
This is the accession number of the radiology procedure or 
consult/request reference, if available.  Defined for VA procedures only.