USCIS website shows medicaid is not "public charge" unless it is long term care. So it should be OK if you apply for it.