Darryl Dyck/Canadian Press A man is shown smoking a marijuana joint during a rally in Vancouver on April 20, 2011. The feds are starting a pilot program that will roadside test to detect drug-impaired driving.

EDMONTON — Canada's health minister says pilot projects have begun on roadside police testing for marijuana, and the plan is to have rules in place for edible cannabis around July 2019. "Our priority right now is to ensure that we can legalize cannabis by July 2018," Ginette Petitpas Taylor said Friday. "There's no specific date (for edibles to be available), but I would say if you look a year after the legalization, that is the window that we're giving ourselves."

Petitpas Taylor made the comments to reporters after briefing her provincial and territorial counterparts on Ottawa's progress toward legalizing marijuana. Ottawa will not allow edible cannabis in the marketplace until it has put in place the rules surrounding packaging, potency and health warnings. The federal government is toughening up Criminal Code rules and will handle the overall health regime for cannabis, while the provinces will be in charge of distributing and selling the weed. Police will be administering roadside saliva tests to check for drug-impaired driving. The federal government has announced it will spend $161 million over the next five years to help train and equip the officers.

Sean Kilpatrick/Canadian Press Health Minister Ginette Petitpas Taylor shown speaking during Question Period in the House of Commons in Ottawa on Sept. 21, 2017.

Petitpas Taylor said pilot tests for these checks have begun across the country with municipal police forces and the RCMP. She said her department is also working on public education by setting up partnerships with non-profit outreach agencies such as Drug-Free Kids. "What we learned from the lessons of the United States when they started their rollout was really to ensure that the prevention was rolled out before the actual legalization date became a reality," she said. Eight states in the U.S. plus the District of Columbia have already legalized recreational use of marijuana. July deadline could be too ambitious Provinces, territories and some police agencies have cautioned that having Canada's regime in place by next July 1 is too ambitious. Alberta Health Minister Sarah Hoffman said while they're still consulting on their plans "we're working forward with that deadline in mind and we expect we will be able to achieve it." Quebec Health Minister Gaetan Barrette said the public awareness campaign of marijuana's health impacts is key. "An awareness campaign most of the time will take time to have a positive effect,'' said Barrette. "We need to have that as soon as possible and I think Minister Petitpas Taylor is working in that direction." More from HuffPost Canada: Justin Trudeau Doesn't Have Advice For Canadian Pot Smokers Travelling To U.S.

Trudeau Confirms Feds Will Ensure Access To Legal Pot If Provinces Don't Act

Trudeau Government's Introduces Marijuana Legalization Bill In Spring Prime Minister Justin Trudeau's government introduced the legalization legislation in the spring aimed at keeping marijuana out of the hands of youngsters and denying profits to black marketers. The minimum age to buy and consume cannabis will be 18, but provinces are free to set it higher. Some provinces have already announced their plans. Ontario will set the minimum age at 19 and retail marijuana through government-run outlets. New Brunswick has said it will use a Crown corporation model, and a legislature committee has recommended the minimum age at 19.

Chris Wattie / Reuters A Canadian flag with a marijuana leaf shown waving during the annual 4/20 marijuana rally on Parliament Hill in Ottawa on April 20, 2017.