UCSD vs UCI vs UCD vs UCR

For Medical school, you want to keep undergrad costs at a minimum and as pointed out by @NCalRent, you will get an excellent education at any of the schools. Do you want to be a “big fish and a smaller pond” with a High GPA? Go where you can excel and be happy for the next 4 years.