Yes, there's a federal mandate stating that you cannot be refused care in an E.R., but that doesn't mean it's free. Jim would be billed in this situation, and he would have to provide financial records (tax records, bank account balances, etc.) to get his bill reduced.
Of course, the most important thing here is that Jim's health has improved. Kudos to you for doing whatever you could to remedy your situation.