Parole Act 2002, s 41
If you have an illness that you will die from, you must be provided with care and treatment that keeps you comfortable and you must be treated with dignity. You can apply for, and may be granted, compassionate release.