The trial will see 5,000 patients living with chronic pain take vaporised cannabis daily for at least a year