Macleod, John, active 1780-1827, Dr