Object-oriented design and programming in medical decision support