Medicaid applications can be full of legal difficulties