We used a rule-based software tool that queries the medical record for diagnoses, dates, laboratory values, pathology reports, and other information used in creating the individualized recommendations. 
rule-based software tool