Keep upgrading. Once your workshop has been expanded to size 5, the option to build a hospital becomes available.
That means the workshop is the prerequisite rather than the hospital itself, so put your resources into expansions first and the new building will follow.