Drug or alcohol treatment is sometimes a part of a criminal justice clients court sentence. In order to provide these clients the rehabilitation they need, there are some steps that should be followed before they can enroll into a drug rehabilitation center. First, they need to find out if they are eligible for drug rehabilitation during their time in the Middlefield, Massachusetts criminal justice system. Their case is reviewed by a panel who determines if they are in need of rehabilitation and if so how much and what type is necessary. Additionally, when the client is evaluated for substance abuse problems, the client is also evaluated for mental health issues as well. Severity of addiction, mental health problems, criminal activity, sentence length and previous treatment history are all determining variables in the creation of the rehabilitation plan.