The medical marijuana program is a result of various court decisions over the years, the first one over a decade ago. The program evolved in response to subsequent court decisions and has been overhauled and replaced with the new regime, which came into effect last June under a new set of marijuana for medical purposes regulations.
On May 1st, 2014. See this statement in context.