Depending on the absolved medical debt (being discharged by your bankruptcy), and its would-be crushing monthly payments, the higher interest rate of your new (mortgage/credit) credit lines and its monthly payments are often less than the impact by (then dissolved) medical payments therefore your living standard would still improve after such medical-related bankruptcy.