The district attorneys shall, within their respective districts, establish a pre-arraignment diversion program which may be used to divert a veteran or person who is in active service in the armed forces, a person with a substance use disorder or a person with mental illness if such veteran or person is charged with an offense or offenses against the commonwealth.
Mass. Gen. Laws ch. 12, § 34