From eab77b261db34fc54abc61bb4ffbf03ea6f4e32f Mon Sep 17 00:00:00 2001 From: stephhou Date: Tue, 17 Mar 2026 10:40:41 +0000 Subject: [PATCH 1/9] fix: Added page titles to static pages --- .../questions/jinja2/cookies.jinja | 1 + .../questions/jinja2/terms_of_use.jinja | 394 ++++++++++-------- 2 files changed, 230 insertions(+), 165 deletions(-) diff --git a/lung_cancer_screening/questions/jinja2/cookies.jinja b/lung_cancer_screening/questions/jinja2/cookies.jinja index 02193fce..53103387 100644 --- a/lung_cancer_screening/questions/jinja2/cookies.jinja +++ b/lung_cancer_screening/questions/jinja2/cookies.jinja @@ -1,4 +1,5 @@ {% extends 'layout.jinja' %} +{% block pageTitle %}NHS check if you need a lung scan cookies - NHS{% endblock %} {% block content %}
diff --git a/lung_cancer_screening/questions/jinja2/terms_of_use.jinja b/lung_cancer_screening/questions/jinja2/terms_of_use.jinja index a593215a..11f9ec8d 100644 --- a/lung_cancer_screening/questions/jinja2/terms_of_use.jinja +++ b/lung_cancer_screening/questions/jinja2/terms_of_use.jinja @@ -1,170 +1,234 @@ {% extends 'layout.jinja' %} +{% block pageTitle %}NHS check if you need a lung scan terms of use - NHS{% endblock %} {% block content %} -
-
-

NHS check if you need a lung scan terms of use

- - -

Information:

- -

Version 3, 5 March 2026

- - - -
-

Introduction

- -
    -
  1. We (NHS England) have developed a digital service called NHS check if you need a lung scan. This is a digital way to access NHS lung cancer screening. This service is currently in pilot so is only available in certain areas, and if you are invited by your GP to take part.
  2. -

    -

    This service will not provide you with any results or information in relation to the lung cancer screening, you will need to complete your lung cancer screening by phone to receive a result.

    - -

    To find out more about who we are and our role, visit the NHS England website.

    - - -
  3. Contacting us: if you have any questions about the service, contact us by email: england.digitallungcancerscreening@nhs.net
  4. -
-
-
-

When these terms apply

- -
    -
  1. Please read these terms of use and our privacy policy, cookies policy and accessibility statement. By continuing to use the NHS check if you need a lung scan, you agree to be bound by these terms.
  2. -
  3. We may, at any time and in our sole discretion, amend these terms for any reason. The latest version of our terms will be accessible through the NHS check if you need a lung scan.
  4. -
-
-
-

How to use the NHS check if you need a lung scan

- -
    -
  1. NHS check if you need a lung scan is free. To use NHS check if you need a lung scan, you must be invited to take part by your GP. Your GP will send you a letter and an SMS with a link to access the NHS check if you need a lung scan pilot service in a web browser.
  2. -
  3. To use the NHS check if you need a lung scan you need an NHS login account with a medium level of identity verification. If you do not have an account or a medium level of identity verification, you will be able to set this up as part of your application. Find out more about NHS login.
  4. -
  5. If you access or attempt to access the NHS check if you need a lung scan from outside of England, you are responsible for complying with any local laws that apply to you in the country from which you are using NHS check if you need a lung scan.
  6. -
  7. The NHS check if you need a lung scan is split into different sections. You must answer all the questions in each section to enable us to process your information. More information on this and how your information is used and processed is in the privacy policy.
  8. -
  9. The NHS check if you need a lung scan can only be accessed if you are aged between 55 and 74, registered with a supported GP surgery, and you smoke or used to smoke tobacco.
  10. -
-
- -
-

Accessing the NHS check if you need a lung scan

- -
    -
  1. You are responsible for making all arrangements necessary for you to access the NHS check if you need a lung scan, including but not limited to:
  2. -
      -
    • a secure internet connection (see Cyber Aware website)
    • -
    • an appropriate device, operating system and browser
    • -
    • using your own virus protection software (and regularly updating it) when accessing and using the NHS check if you need a lung scan
    • -
    - -
-
- -
-

Details about the NHS check if you need a lung scan

- -
    -
  1. If you download, print or export any of your submitted information, you are responsible for ensuring that this is held securely, and we will not be liable for any associated disclosure of sensitive and personal data.
  2. -
  3. In order for you to receive the intended benefits of the NHS check if you need a lung scan, you must ensure that all data provided by you is complete and accurate.
  4. -
  5. Your GP health records are created and kept up to date by your GP and remain under your GP’s control. We do not hold or have access to any GP records and are unable to answer queries about them or provide hard copies.
  6. -
  7. The NHS check if you need a lung scan: -
      -
    • is not a substitute for seeking medical advice - always follow any medical advice given by your healthcare professionals
    • -
    • does not provide medical or clinical diagnostic services
    • -
    • does not arrange or guarantee further healthcare treatment. You remain responsible for booking further healthcare treatment via the phone service as directed by your GP.
    • -
    -
  8. -
  9. We are not responsible for any delay or lack of response by a GP surgery or for the outcome of any decision your GP may make about any follow-on treatment or advice. No information or results will be shared with GPs through NHS check if you need a lung scan, and we do not guarantee it will lead to onward healthcare.
  10. -
-
- -
-

Ending your use of the NHS check if you need a lung scan

-
    -
  1. You may stop using the NHS check if you need a lung scan at any time. If you fail to complete your NHS check if you need a lung scan within a set period of time your data will automatically be deleted. More information on how long your information is kept is in the privacy policy.
  2. -
-
- -
-

Your right to use the NHS check if you need a lung scan

-
    -
  1. We own or have the right to use all intellectual property rights used for the provision of the NHS check if you need a lung scan, including rights in copyright, patents, database rights, trademarks and other intellectual property rights, ("NHS IPR").
  2. -
  3. You have permission to use the NHS check if you need a lung scan for the sole purposes described in these terms and must not use it in any other way.
  4. -
  5. Unless permitted by law or under these terms, you will:
  6. -
      -
    • not copy the NHS check if you need a lung scan or any NHS IPR, except where such copying is incidental to normal use
    • -
    • not rent, lease, sub-license, loan, translate, merge, adapt or modify the NHS check if you need a lung scan or any NHS IPR
    • -
    • not combine or incorporate the NHS check if you need a lung scan in any other programmes or services
    • -
    • not disassemble, decompile, reverse-engineer or create derivative works based on the whole or any part of the NHS check if you need a lung scan or other NHS IPR
    • -
    • comply with all technology control or export laws that apply to the technology used by the NHS check if you need a lung scan or any other NHS IPR
    • -
    - -
-
- -
-

Prohibited uses

-
    -
  1. You may not use the NHS check if you need a lung scan: -
      -
    • to collect any data or attempt to decipher any transmissions to or from our servers
    • -
    • in a way that could damage, disable, overburden, impair or compromise our systems or security
    • -
    • to transmit any material that is insulting or offensive
    • -
    • in a way that interferes with other users
    • -
    • in any unlawful manner or for any unlawful purpose
    • -
    • in a manner that is improper use or inconsistent with these terms
    • -
    • to act fraudulently or maliciously by seeking to access or add data to another patient's GP record
    • -
    • to transmit, send or upload any data that contains viruses, Trojan horses, worms, spyware or any other harmful programs designed to adversely affect the operation of computer software or hardware
    • -
    • in connection with any kind of denial of service attack
    • -
    • on any device or operating system that has been modified outside the mobile device or operating system vendor supported or warranted configurations. This includes devices that have been "jail-broken" or "rooted"
    • -
    • with someone else's NHS login account
    • -
    -
  2. -
-

If you do any of the above acts you may also be committing a criminal offence, and we will report any such activity to the relevant law enforcement authorities. We will co-operate with those authorities by disclosing your identity to them.

-
- -
-

Our liability to you

-
    -
  1. Although we make reasonable efforts to provide, maintain and update the NHS check if you need a lung scan it is provided "as is" and, to the extent permitted by law, we make no representations, warranties or guarantees, whether express or implied (including but not limited to the implied warranties of satisfactory quality and fitness for a particular purpose), that the NHS check if you need a lung scan: -
      -
    • is accurate, complete or up-to-date
    • -
    • will meet your particular requirements or needs
    • -
    • will always be available, error free, uninterrupted or free of viruses
    • -
    -
  2. We are not responsible for external links to or from the NHS check if you need a lung scan and cannot guarantee these will always work.
  3. -
  4. Nothing in these terms excludes or limits our liability for:
  5. -
      -
    • death or personal injury arising from our negligence
    • -
    • fraud or fraudulent misrepresentation
    • -
    • any loss or damage to a device or digital content belonging to you, if you can show that a) this was caused by NHS check if you need a lung scan and b) we failed use to use reasonable skill and care to prevent this
    • -
    • any other liability that cannot be excluded or limited under English law
    • -
    - -
  6. Subject to clause 9.3 of these terms, we will not be liable or responsible to you or any other person for:
  7. -
      -
    • any harm, loss or damage suffered where this is not caused by i) our negligence or ii) our breach of these terms
    • -
    • any loss or damage arising from an inability to access or use the NHS check if you need a lung scan in whole or in part
    • -
    • any business loss (including but not limited to loss of profits, revenue, contracts, anticipated savings, data, goodwill or wasted expenditure)
    • -
    • any indirect or consequential losses that were not foreseeable to both you and us when you commenced using the NHS check if you need a lung scan (loss or damage is "foreseeable" if it was an obvious consequence of our breach or if it was recognised by you and us at the time we entered into the contract created by your use of the NHS check if you need a lung scan)
    • -
    - -
  8. This clause 9 does not affect any legal rights you may have as a consumer in relation to defective services or software. Advice about your legal rights is available from your local Citizen's Advice or Trading Standards Office.
  9. -
- -
- -
-

General

-
    -
  1. These terms, any instructions in the service, and any other terms or policies referenced, set out the entire agreement between you and us in respect of your use of the NHS check if you need a lung scan.
  2. -
  3. These terms do not give any rights to any third party to enforce any of these terms.
  4. -
  5. Each of the clauses and sub-clauses of these terms operates separately. If any part is determined to be invalid or unenforceable it will be superseded by a valid and enforceable provision that most closely matches the intent of the original and all other terms shall continue in effect.
  6. -
  7. Even if we delay in enforcing these terms, we can still enforce them later.
  8. -
  9. The laws of England shall apply exclusively to these terms and all matters relating to use of the NHS check if you need a lung scan, and any dispute shall be subject to the exclusive jurisdiction of the courts of England.
  10. -
-
-
+
+
+

NHS check if you need a lung scan terms of use

+

Information:

+

Version 3, 5 March 2026

+
+

Introduction

+ +
    +
  1. We (NHS England) have developed a digital service called NHS check if you need a lung scan. This is a + digital way to access NHS lung cancer screening. This service is currently in pilot so is only available in + certain areas, and if you are invited by your GP to take part.
  2. +

    +

    This service will not provide you with any results or information in relation to the lung cancer screening, + you will need to complete your lung cancer screening by phone to receive a result.

    + +

    To find out more about who we are and our role, visit the NHS England website.

    + + +
  3. Contacting us: if you have any questions about the service, contact us by email: england.digitallungcancerscreening@nhs.net
  4. +
+
+
+

When these terms apply

+ +
    +
  1. Please read these terms of use and our privacy + policy, cookies policy and accessibility statement. By continuing to + use the NHS check if you need a lung scan, you agree to be bound by these terms.
  2. +
  3. We may, at any time and in our sole discretion, amend these terms for any reason. The latest version of our + terms will be accessible through the NHS check if you need a lung scan.
  4. +
+
+
+

How to use the NHS check if you need a lung scan

+ +
    +
  1. NHS check if you need a lung scan is free. To use NHS check if you need a lung scan, you must be invited to + take part by your GP. Your GP will send you a letter and an SMS with a link to access the NHS check if you + need a lung scan pilot service in a web browser.
  2. +
  3. To use the NHS check if you need a lung scan you need an NHS login account with a medium level of identity + verification. If you do not have an account or a medium level of identity verification, you will be able to + set this up as part of your application. Find out more about NHS login.
  4. +
  5. If you access or attempt to access the NHS check if you need a lung scan from outside of England, you are + responsible for complying with any local laws that apply to you in the country from which you are using NHS + check if you need a lung scan.
  6. +
  7. The NHS check if you need a lung scan is split into different sections. You must answer all the questions in + each section to enable us to process your information. More information on this and how your information is + used and processed is in the privacy policy.
  8. +
  9. The NHS check if you need a lung scan can only be accessed if you are aged between 55 and 74, registered + with a supported GP surgery, and you smoke or used to smoke tobacco.
  10. +
+
+ +
+

Accessing the NHS check if you need a lung scan

+ +
    +
  1. You are responsible for making all arrangements necessary for you to access the NHS check if you need a + lung scan, including but not limited to:
  2. +
      +
    • a secure internet connection (see Cyber Aware website)
    • +
    • an appropriate device, operating system and browser
    • +
    • using your own virus protection software (and regularly updating it) when accessing and using the NHS + check if you need a lung scan
    • +
    + +
+
+ +
+

Details about the NHS check if you need a lung scan

+ +
    +
  1. If you download, print or export any of your submitted information, you are responsible for ensuring that + this is held securely, and we will not be liable for any associated disclosure of sensitive and personal data. +
  2. +
  3. In order for you to receive the intended benefits of the NHS check if you need a lung scan, you must ensure + that all data provided by you is complete and accurate.
  4. +
  5. Your GP health records are created and kept up to date by your GP and remain under your GP’s control. We do + not hold or have access to any GP records and are unable to answer queries about them or provide hard copies. +
  6. +
  7. The NHS check if you need a lung scan: +
      +
    • is not a substitute for seeking medical advice - always follow any medical advice given by your + healthcare professionals
    • +
    • does not provide medical or clinical diagnostic services
    • +
    • does not arrange or guarantee further healthcare treatment. You remain responsible for booking further + healthcare treatment via the phone service as directed by your GP.
    • +
    +
  8. +
  9. We are not responsible for any delay or lack of response by a GP surgery or for the outcome of any decision + your GP may make about any follow-on treatment or advice. No information or results will be shared with GPs + through NHS check if you need a lung scan, and we do not guarantee it will lead to onward healthcare.
  10. +
+
+ +
+

Ending your use of the NHS check if you need a lung scan

+
    +
  1. You may stop using the NHS check if you need a lung scan at any time. If you fail to complete your NHS check + if you need a lung scan within a set period of time your data will automatically be deleted. More information + on how long your information is kept is in the privacy policy.
  2. +
+
+ +
+

Your right to use the NHS check if you need a lung scan

+
    +
  1. We own or have the right to use all intellectual property rights used for the provision of the NHS check if + you need a lung scan, including rights in copyright, patents, database rights, trademarks and other + intellectual property rights, ("NHS IPR").
  2. +
  3. You have permission to use the NHS check if you need a lung scan for the sole purposes described in these + terms and must not use it in any other way.
  4. +
  5. Unless permitted by law or under these terms, you will:
  6. +
      +
    • not copy the NHS check if you need a lung scan or any NHS IPR, except where such copying is incidental to + normal use
    • +
    • not rent, lease, sub-license, loan, translate, merge, adapt or modify the NHS check if you need a lung + scan or any NHS IPR
    • +
    • not combine or incorporate the NHS check if you need a lung scan in any other programmes or services
    • +
    • not disassemble, decompile, reverse-engineer or create derivative works based on the whole or any part of + the NHS check if you need a lung scan or other NHS IPR
    • +
    • comply with all technology control or export laws that apply to the technology used by the NHS check if + you need a lung scan or any other NHS IPR
    • +
    + +
+
+ +
+

Prohibited uses

+
    +
  1. You may not use the NHS check if you need a lung scan: +
      +
    • to collect any data or attempt to decipher any transmissions to or from our servers
    • +
    • in a way that could damage, disable, overburden, impair or compromise our systems or security
    • +
    • to transmit any material that is insulting or offensive
    • +
    • in a way that interferes with other users
    • +
    • in any unlawful manner or for any unlawful purpose
    • +
    • in a manner that is improper use or inconsistent with these terms
    • +
    • to act fraudulently or maliciously by seeking to access or add data to another patient's GP record
    • +
    • to transmit, send or upload any data that contains viruses, Trojan horses, worms, spyware or any other + harmful programs designed to adversely affect the operation of computer software or hardware
    • +
    • in connection with any kind of denial of service attack
    • +
    • on any device or operating system that has been modified outside the mobile device or operating system + vendor supported or warranted configurations. This includes devices that have been "jail-broken" or + "rooted"
    • +
    • with someone else's NHS login account
    • +
    +
  2. +
+

If you do any of the above acts you may also be committing a criminal offence, and we will report any such + activity to the relevant law enforcement authorities. We will co-operate with those authorities by disclosing + your identity to them.

+
+ +
+

Our liability to you

+
    +
  1. Although we make reasonable efforts to provide, maintain and update the NHS check if you need a lung scan it + is provided "as is" and, to the extent permitted by law, we make no representations, warranties or guarantees, + whether express or implied (including but not limited to the implied warranties of satisfactory quality and + fitness for a particular purpose), that the NHS check if you need a lung scan: +
      +
    • is accurate, complete or up-to-date
    • +
    • will meet your particular requirements or needs
    • +
    • will always be available, error free, uninterrupted or free of viruses
    • +
    +
  2. We are not responsible for external links to or from the NHS check if you need a lung scan and cannot + guarantee these will always work.
  3. +
  4. Nothing in these terms excludes or limits our liability for:
  5. +
      +
    • death or personal injury arising from our negligence
    • +
    • fraud or fraudulent misrepresentation
    • +
    • any loss or damage to a device or digital content belonging to you, if you can show that a) this was + caused by NHS check if you need a lung scan and b) we failed use to use reasonable skill and care to prevent + this
    • +
    • any other liability that cannot be excluded or limited under English law
    • +
    + +
  6. Subject to clause 9.3 of these terms, we will not be liable or responsible to you or any other person for: +
  7. +
      +
    • any harm, loss or damage suffered where this is not caused by i) our negligence or ii) our breach of these + terms
    • +
    • any loss or damage arising from an inability to access or use the NHS check if you need a lung scan in + whole or in part
    • +
    • any business loss (including but not limited to loss of profits, revenue, contracts, anticipated savings, + data, goodwill or wasted expenditure)
    • +
    • any indirect or consequential losses that were not foreseeable to both you and us when you commenced using + the NHS check if you need a lung scan (loss or damage is "foreseeable" if it was an obvious consequence of + our breach or if it was recognised by you and us at the time we entered into the contract created by your + use of the NHS check if you need a lung scan)
    • +
    + +
  8. This clause 9 does not affect any legal rights you may have as a consumer in relation to defective services + or software. Advice about your legal rights is available from your local Citizen's Advice or Trading Standards + Office.
  9. +
+ +
+ +
+

General

+
    +
  1. These terms, any instructions in the service, and any other terms or policies referenced, set out the entire + agreement between you and us in respect of your use of the NHS check if you need a lung scan.
  2. +
  3. These terms do not give any rights to any third party to enforce any of these terms.
  4. +
  5. Each of the clauses and sub-clauses of these terms operates separately. If any part is determined to be + invalid or unenforceable it will be superseded by a valid and enforceable provision that most closely matches + the intent of the original and all other terms shall continue in effect.
  6. +
  7. Even if we delay in enforcing these terms, we can still enforce them later.
  8. +
  9. The laws of England shall apply exclusively to these terms and all matters relating to use of the NHS check + if you need a lung scan, and any dispute shall be subject to the exclusive jurisdiction of the courts of + England.
  10. +
+
+
{% endblock %} From da2deece0ee0b7f42175d85bbe6eaf1561d9abf2 Mon Sep 17 00:00:00 2001 From: stephhou Date: Tue, 17 Mar 2026 10:51:07 +0000 Subject: [PATCH 2/9] fix: Update page title for privacy policy --- lung_cancer_screening/questions/jinja2/privacy_policy.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lung_cancer_screening/questions/jinja2/privacy_policy.jinja b/lung_cancer_screening/questions/jinja2/privacy_policy.jinja index b810a41b..f395f14c 100644 --- a/lung_cancer_screening/questions/jinja2/privacy_policy.jinja +++ b/lung_cancer_screening/questions/jinja2/privacy_policy.jinja @@ -1,5 +1,5 @@ {% extends 'layout.jinja' %} - +{% block pageTitle %}NHS check if you need a lung scan privacy policy - NHS{% endblock %} {% block content %}
From fd0767f1808991f996ac228ccb80ca2f278a9836 Mon Sep 17 00:00:00 2001 From: stephhou Date: Tue, 17 Mar 2026 12:39:20 +0000 Subject: [PATCH 3/9] Page titles on jinja templates before smokin g questions --- lung_cancer_screening/core/jinja2/layout.jinja | 2 +- lung_cancer_screening/questions/jinja2/age_range_exit.jinja | 1 + .../questions/jinja2/agree_terms_of_use.jinja | 2 +- .../questions/jinja2/asbestos_exposure.jinja | 2 ++ .../questions/jinja2/book_an_appointment.jinja | 2 ++ lung_cancer_screening/questions/jinja2/cancer_diagnosis.jinja | 2 ++ .../questions/jinja2/check_need_appointment.jinja | 1 + lung_cancer_screening/questions/jinja2/education.jinja | 1 + lung_cancer_screening/questions/jinja2/ethnicity.jinja | 4 ++++ .../questions/jinja2/family_history_lung_cancer.jinja | 2 ++ .../questions/jinja2/have_you_ever_smoked.jinja | 2 ++ lung_cancer_screening/questions/jinja2/height.jinja | 2 ++ lung_cancer_screening/questions/jinja2/non_smoker_exit.jinja | 2 ++ .../questions/jinja2/periods_when_you_stopped_smoking.jinja | 3 +++ .../questions/jinja2/relative_age_when_diagnosed.jinja | 2 ++ lung_cancer_screening/questions/jinja2/sex_at_birth.jinja | 2 +- lung_cancer_screening/questions/jinja2/start.jinja | 2 +- .../questions/jinja2/types_tobacco_smoking.jinja | 2 ++ lung_cancer_screening/questions/jinja2/weight.jinja | 2 ++ 19 files changed, 34 insertions(+), 4 deletions(-) diff --git a/lung_cancer_screening/core/jinja2/layout.jinja b/lung_cancer_screening/core/jinja2/layout.jinja index 099038df..1ae54b90 100644 --- a/lung_cancer_screening/core/jinja2/layout.jinja +++ b/lung_cancer_screening/core/jinja2/layout.jinja @@ -9,7 +9,7 @@ {% endblock %} -{% block pageTitle %}Check if you need a lung scan{% endblock %} +{% block pageTitle %}{{ page_title|default("Check if you need a lung scan – NHS") }}{% endblock %} {% block header %} {{ header({ diff --git a/lung_cancer_screening/questions/jinja2/age_range_exit.jinja b/lung_cancer_screening/questions/jinja2/age_range_exit.jinja index 66a5595c..e31e120a 100644 --- a/lung_cancer_screening/questions/jinja2/age_range_exit.jinja +++ b/lung_cancer_screening/questions/jinja2/age_range_exit.jinja @@ -1,6 +1,7 @@ {% extends 'layout.jinja' %} {% from 'nhsuk/components/back-link/macro.jinja' import backLink %} +{% block pageTitle %}You are not in the age range for NHS lung cancer screening – NHS{% endblock %} {% block beforeContent %}