The Compassionate Use of Medical Cannabis Pilot Program Act, signed this year by Gov. Pat Quinn and taking effect beginning Jan. 1, allows for the legal possession, use and sale of marijuana for some 40 medical conditions, including HIV and cancer. It is more restrictive than laws in some other states.