PSO EPCS DETOX CHECK

TITLEVALUE
NAMEPSO EPCS DETOX CHECK
DESCRIPTIONThis RPC will accept a DEA number in text format, and a DETOX number in
text format. It will perform checking to see if the DETOX number is a
valid format, and will checking if the DETOX number is being used by
another DEA number.
TAGDTXCHK
ROUTINEPSOEPU1
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDEA NUMBER
DESCRIPTIONThis is the provider's DEA number in text format.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERDETOX NUMBER
DESCRIPTIONThis is the provider's DETOX number in text format.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTIONThe return value will be:
1 - For a DETOX number that is valid and has no duplicates.
0^Error Number^Duplicate information if the DETOX number is not valid
or has duplicates.

Error numbers:
1-DETOX length error
2-DETOX first character error
3-DETOX second character error
4-DETOX number error
5-Duplicate DETOX number with DEA number
6-Provider's profile already has a DETOX number for DEA number (DEA#)
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED