
| Name | Value | 
|---|---|
| NAME | PSO EPCS DETOX CHECK | 
| TAG | DTXCHK | 
| ROUTINE | PSOEPU1 | 
| RETURN VALUE TYPE | SINGLE VALUE | 
| AVAILABILITY | RESTRICTED | 
| DESCRIPTION | This 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.  | 
| INPUT PARAMETER | 
  | 
| RETURN PARAMETER DESCRIPTION | The return value will be: 4-DETOX number error 5-Duplicate DETOX number with DEA number 6-Provider's profile already has a DETOX number for DEA number (DEA#) 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  |