The Philippine patient bill of rights state that a hospital or doctor can not keep you in the hospital until you pay your bill. But you do have to set up a payment plan before you can leave, Look it up on the internet. It is under patient bill of rights.
"What's that? You can leave without paying? Come to the back room here, you have to 'sign some papers' before you leave."