Mahony, Daniel, Physician