No one had to announce anything and it's not impossible for DJT to leave the WH without fanfare in something other than an official vehicle and enter the hospital though a private entrance. (JFK managed to leave the WH frequently without anyone noticing). How did Melania get in to the hospital without tipping off the press?
Perhaps she didn't want him to be there, but I'm not buying the too much press line.