Urine drug testing is a common way to detect the presence of drugs and metabolites.…