DSIC DPT GET ID (2210)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIC DPT GET ID
TAG ID
ROUTINE DSICDPT
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY AGREEMENT
DESCRIPTION
This returns the patient's identifier based upon their eligibility code.  
For the VA, this will be the SSN (dashed) ^ last 4 of SSN.  For non-VA 
systems this will be that systems ID.
INPUT PARAMETER
  • PAT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   35
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is the patient's name, IFN, or any other acceptable lookup value.
    
  • ISSSN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This is a Boolean flag (1 or 0).  If 1 then the lookup value in the PAT 
    input parameter is the patient's SSN.
    
  • VAPTYP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   5
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    This is a pointer value to the Eligibility file (#8).
    
RETURN PARAMETER DESCRIPTION
If problems, return -1^message
Else return:
  For VA systems, SSN (dashed) ^ last 4 of SSN
  For non-VA systems, return patient identifier for that system
    Note, this will only work if the VAPTYP parameter is passed
    and that eligibility code is listed in that patient's record
    in the eligibility multiple in the (or primary eligibility
    field) in the PATIENT file (#2).