A medical bill in bankruptcy is treated like any other unsecured debt. You can discharge a medical bill like you can discharge a credit card, a mortgage or a loan. Every debt you have a legal obligation to pay with the exception of taxes, student loans and certain criminal and civil penalties.