It's not legal in CA to "sell" to med marijuana patients, but you can provide marijuana to the collectives as a member of that collective, and it's legal. So, if you get a medical recommendation from a doctor, you can then join any collective you want, and provide the other members with their meds. That's legal, and will keep you out of trouble.