Either they have income to pay for the home loan or they don’t.
If they have income to pay for the home loan – they should instead renegotiate the amount with their doctors/hospitals and pay in installments instead of taking on a mortgage.
If they don’t have income to pay for the home loan then their options are
1. declare bankrupcy and keep the house. or,
2. Sell the house and pay the medical bills (if they feel like they need to do the right thing.)
Taking on a mortgage makes an unsecured debt (medical bill) secured and it is probably not in their best interest.
Maybe I missed something in which case I apologize.