Skip to content

Commit 6ee10c4

Browse files
authored
Merge pull request #208 from NHSDigital/PPHA-484-age-range-dropout
PPHA-484: age range dropout
2 parents a4e95c3 + 3eae1e8 commit 6ee10c4

4 files changed

Lines changed: 38 additions & 26 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<div class="nhsuk-do-dont-list">
2+
<h3 class="nhsuk-do-dont-list__label">Speak to a GP if:</h3>
3+
<p>You have any of the following symptoms:</p>
4+
5+
<ul class="nhsuk-list nhsuk-list--bullet" role="list">
6+
<li>a <a href="https://www.nhs.uk/symptoms/cough/">cough</a> that does not go away after 3 weeks</li>
7+
<li>a long-standing cough that gets worse</li>
8+
<li><a href="https://www.nhs.uk/conditions/chest-infection/">chest infections</a> that keep coming back</li>
9+
<li><a href="https://www.nhs.uk/symptoms/coughing-up-blood/">coughing up blood</a></li>
10+
<li>an ache or pain when breathing or coughing</li>
11+
<li>persistent <a href="https://www.nhs.uk/symptoms/shortness-of-breath/">breathlessness</a></li>
12+
<li>persistent tiredness or lack of energy</li>
13+
<li>loss of appetite or unexplained weight loss</li>
14+
</ul>
15+
16+
<p>They could be <a href="https://www.nhs.uk/conditions/lung-cancer/symptoms/">symptoms of lung cancer</a>. Your GP will ask about your general health and your symptoms.</p>
17+
18+
<p>You may be asked to have a <a href="https://www.nhs.uk/tests-and-treatments/blood-tests/">blood test</a> to rule out some of the possible causes of your symptoms, such as a <a href="https://www.nhs.uk/conditions/chest-infection/">chest infection</a>.</p>
19+
</div>
Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
11
{% extends 'layout.jinja' %}
2-
{% from 'nhsuk/components/button/macro.jinja' import button %}
3-
{% from 'nhsuk/components/input/macro.jinja' import input %}
2+
{% from 'nhsuk/components/back-link/macro.jinja' import backLink %}
3+
4+
{% block beforeContent %}
5+
<nav>
6+
{{
7+
backLink({
8+
"href": url("questions:date_of_birth"),
9+
"text": "Back"
10+
})
11+
}}
12+
</nav>
13+
{% endblock beforeContent %}
414

515
{% block content %}
616
<div class="nhsuk-grid-row">
717
<div class="nhsuk-grid-column-two-thirds">
8-
<h2 class="title">You do not need an NHS lung health check</h2>
18+
<h2 class="title">You are not eligible for lung cancer screening</h2>
19+
20+
<p>NHS lung cancer screening is for people between the ages of 55 and 74.</p>
21+
<p>According to the date of birth you have provided you are not in this age range.</p>
922

10-
<p>The NHS lung health check is for people between the ages of 55 and 74.</p>
23+
{% include '_speak_to_a_gp_if.jinja' %}
1124
</div>
1225
</div>
1326
{% endblock %}
Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{% extends 'layout.jinja' %}
2-
{% from 'nhsuk/components/button/macro.jinja' import button %}
3-
{% from 'nhsuk/components/input/macro.jinja' import input %}
42
{% from 'nhsuk/components/back-link/macro.jinja' import backLink %}
53

64
{% block beforeContent %}
@@ -21,25 +19,7 @@
2119

2220
<p>NHS lung cancer screening is for people who have smoked or are current smokers.</p>
2321

24-
<div class="nhsuk-do-dont-list">
25-
<h3 class="nhsuk-do-dont-list__label">Speak to a GP if:</h3>
26-
<p>You have any of the following symptoms:</p>
27-
28-
<ul class="nhsuk-list nhsuk-list--bullet" role="list">
29-
<li>a <a href="https://www.nhs.uk/symptoms/cough/">cough</a> that does not go away after 3 weeks</li>
30-
<li>a long-standing cough that gets worse</li>
31-
<li><a href="https://www.nhs.uk/conditions/chest-infection/">chest infections</a> that keep coming back</li>
32-
<li><a href="https://www.nhs.uk/symptoms/coughing-up-blood/">coughing up blood</a></li>
33-
<li>an ache or pain when breathing or coughing</li>
34-
<li>persistent <a href="https://www.nhs.uk/symptoms/shortness-of-breath/">breathlessness</a></li>
35-
<li>persistent tiredness or lack of energy</li>
36-
<li>loss of appetite or unexplained weight loss</li>
37-
</ul>
38-
39-
<p>They could be <a href="https://www.nhs.uk/conditions/lung-cancer/symptoms/">symptoms of lung cancer</a>. Your GP will ask about your general health and your symptoms.</p>
40-
41-
<p>You may be asked to have a <a href="https://www.nhs.uk/tests-and-treatments/blood-tests/">blood test</a> to rule out some of the possible causes of your symptoms, such as a <a href="https://www.nhs.uk/conditions/chest-infection/">chest infection</a>.</p>
42-
</div>
22+
{% include '_speak_to_a_gp_if.jinja' %}
4323
</div>
4424
</div>
4525
{% endblock %}

tests/features/not_in_age_range.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ Feature: Not in age range
55
When I go to "/date-of-birth"
66
And I fill in and submit my date of birth with "01-01-1900"
77
Then I am on "/age-range-exit"
8-
And I see a title "You do not need an NHS lung health check"
8+
And I see a title "You are not eligible for lung cancer screening"

0 commit comments

Comments
 (0)