Jablunkov Sanatoryum binası, tıp tarihi