Text this: Logic of Discovery and Diagnosis in Medicine