After receiving a plea of guilty for a violation of § 22-42-5 or 22-42-5.1 , a court that has jurisdiction of the defendant may, without entering a judgment of guilt, and with the consent of the defendant, defer the imposition of sentence and place the defendant on probation for a period, terms, and conditions as the court deems best. The conditions shall include that the defendant complete a drug and alcohol evaluation and complete any recommended course of treatment. If after one year, the defendant has successfully completed the course of treatment and complied with all conditions of probation, the court shall dismiss the charge under § 22-42-5 or 22-42-5.1 upon the defendant pleading guilty to ingestion under § 22-42-15 or possession under §