The process typically involves collecting a urine sample, which is then analyzed in a laboratory using techniques such as immunoassay screening and gas chromatography-mass spectrometry (GC-MS) confirmation. Immunoassays are rapid and cost-effective, while GC-MS provides more detailed and reliable results.