Effects of a knowledge-based electronic patient record in adherence to practice guidelines.