@Annmarie2444, yes if the Get to Work downloads properly, the hospital will work. 😉 However, as stated above, there is no ultrasound in the hospital. According to @s_stutler , this is a Mod that you have to get from elsewhere. But just beware that Mods (as well as Custom Contnet (CC) require upkeep in order work properly and not mess up your game!) This is most likely to happen when the game is patched since that can make a lot of Mods outdated , and then your game will do crazy things. Then you have to go through a series of steps to find which Mods or CC item is causing the problem and then get the newer version when the Mod creator who made it updates their Mod to work with the updated game! 😞
So, yes, the hospital will work if you get Get to Work, but there is no sonogram in the official game. ☹️ Also, normally in the gameplay that is included with Get to Work, your pregnant Sim will only go to the hospital when they are in labor, so they never go to the hospital to have a check up or to find out the gender of the baby. This video probably achieved these shots by playaing the doctor career path with the doctor as the controlable Sim or with some other Mod! These kinds of videos are creative and fun, but are a bit deciptive as they don't show real gameplay. For real gameplay it is better to watch "Let's Play" videos (where either the person doing them doesnt' use Mods, or if they do, they will probably tell you!). 😇