Automated record system for computer programming of dental treatment