Thomas Lehmann, Spital-Apotheker des Kantonsspitals in St. Gallen