I do not think the law splits that hair.
Here is a google search. You will note further down that there are additional laws related to insurance, school, etc, all for "unauthorized" immigrants.
https://www.google.com/?gws_rd=ssl#q=new+ca+legislation+giving+illegals+medical+aid+access
Thanks!