The bill unanimously cleared the state Senate and Assembly and was signed into law Monday, the Los Angeles Times reported Tuesday.
Only a handful of states still use alphanumeric codes created from birth dates, gender and elements of the patient's last name, the report said.
Under new provisions in the federal Ryan White CARE Act, which provides funding to states and metropolitan areas for HIV/AIDS care, states using patient codes will no longer be eligible for funds, which will be allocated later this year.
Los Angeles County alone, which records approximately 1,500 to 2,000 new HIV diagnoses each year, is set to receive $34.9 million this year.
Notable deaths of 2014 [PHOTOS]