Also, most Brokers will allow you to borrow against the value of your IRA, or your 401k with very short notice. If you have a house and a mortgage you probably also qualify for an unsecured line of credit and could get a cash advance immediately.
The surgery example is a non sequitur because hospitals have very liberal payment terms and are willing to negotiate costs down significantly for people with financial hardships.