Drug treatment is sometimes a part of a criminal justice clients court sentence. In order to provide these individuals the treatment they need, there are a few steps that need to be followed before they can enroll into a recovery treatment program. First, they need to determine if they are eligible for drug rehab while involved in the Port Costa, California criminal justice system. Their case is reviewed by a panel who makes the decision if they are in need of rehabilitation and if so how much and what type is required. Additionally, when the client is evaluated for substance abuse problems, the client is also evaluated for mental health problems as well. Severity of addiction, mental health problems, criminal activity, sentence length and previous substance abuse history are all determining variables in the creation of the treatment plan.