When the woman came out of a washroom in the hospital on the intervening night of October 19-20, the accused forcibly took her to a nearby under-construction building and raped her there, they said.
The accused, identified as ward boy Deepak Majhi and security guard Aditya, threatened her not to reveal about the offence to anybody.
However, the woman later informed her husband about it following which the matter was reported to police.
Subsequently, the duo was arrested and booked under relevant sections, police said. The victim's daughter had been admitted in the hospital about a week back.