Medicaid agencies are scrambling to rework IT systems and make sure they have staff to effectively enforce the rules.