Dr James Corkingdale, Medical Director, 1823-1824, and 1834