A method for inferring medical diagnoses from patient similarities | Synapse