In 2018, UK cannabis law changed through updates to the Misuse of Drugs...
https://www.generate-bookmark.win/since-2018-uk-cannabis-law-has-changed-under-the-misuse-of-drugs-regulations
In 2018, UK cannabis law changed through updates to the Misuse of Drugs Regulations 2001, not the Misuse of Drugs Act 1971. Since then, specialist doctors can prescribe cannabis-based medicines listed as Schedule 2 substances