DSIC DPT GET ID

TITLEVALUE
NAMEDSIC DPT GET ID
DESCRIPTIONThis 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.
TAGID
ROUTINEDSICDPT
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERPAT
DESCRIPTIONThis is the patient's name, IFN, or any other acceptable lookup value.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH35

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERISSSN
DESCRIPTIONThis is a Boolean flag (1 or 0). If 1 then the lookup value in the PAT
input parameter is the patient's SSN.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH1

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERVAPTYP
DESCRIPTIONThis is a pointer value to the Eligibility file (#8).
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH5

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTIONIf 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).
AVAILABILITYAGREEMENT
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED