The application of case-based reasoning to the tasks of health care planning