In private hospitals they ask for marriage certificate before delivery of the baby. But the first time the person comes to a hospital, they ask for ID which will show wether she is married and on family visa. Also the doctor will ask how long she has has been married. It is a very big risk here, better to leave the country as soon as possible. If god forbid something happens and she needs emergency medical care, the hospital will report that she is not married and she will be put in prison.