Methadone treatment programs commonly monitor patient compliance by screening urine samples for drugs of abuse. Our experience suggests that re-submission of urine samples (for example, providing a urine sample that is either not that of the patient or was previously submitted) is often used as a method of sample tampering. We have developed an algorithm that combines urine sodium, chloride, creatinine and pH values with urine drug screening results to effectively detect resubmitted samples. Given the widespread use of urine drug screening in drug and alcohol rehabilitation programs, we believe this technique has significant practical benefits. This technique may also have an application in forensic identification of duplicate samples.