From 420e7d93b5b7141680477ea43913163467cd8720 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 14 Aug 2026 09:15:45 +0100 Subject: [PATCH 1/8] Update COVID-19 too young for product warning --- app/views/record-vaccinations/covid-19/too-young-warning.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/record-vaccinations/covid-19/too-young-warning.html b/app/views/record-vaccinations/covid-19/too-young-warning.html index 994b0851..731d559e 100644 --- a/app/views/record-vaccinations/covid-19/too-young-warning.html +++ b/app/views/record-vaccinations/covid-19/too-young-warning.html @@ -21,7 +21,7 @@ {% endif %} {% set panelHtml %} -

Adjuvanted Quadrivalent Influenza Vaccine (aQIV) is not usually recommended for people under the age of 65. {{ displayName }} is 64 years old.

+

Adjuvanted Quadrivalent Influenza Vaccine (aQIV) is usually recommended for people aged 50 and over. {{ displayName }} is 48 years old.

Check before going ahead or refer to a prescriber for a patient specific direction (PSD).

{{ button({ From 36f9708f75325a9962591cfb5b3e66b4652b9476 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 14 Aug 2026 09:25:50 +0100 Subject: [PATCH 2/8] Update COVID-19 too young warning --- app/views/record-vaccinations/covid-19/too-young-warning.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/record-vaccinations/covid-19/too-young-warning.html b/app/views/record-vaccinations/covid-19/too-young-warning.html index 731d559e..25eea959 100644 --- a/app/views/record-vaccinations/covid-19/too-young-warning.html +++ b/app/views/record-vaccinations/covid-19/too-young-warning.html @@ -21,7 +21,7 @@ {% endif %} {% set panelHtml %} -

Adjuvanted Quadrivalent Influenza Vaccine (aQIV) is usually recommended for people aged 50 and over. {{ displayName }} is 48 years old.

+

Comirnaty 30 LP.8.1 is usually recommended for people aged 12 and over. {{ displayName }} is 11 years old.

Check before going ahead or refer to a prescriber for a patient specific direction (PSD).

{{ button({ From 38d08636d15e422ab02a274f9fad4d6aad7b063f Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 14 Aug 2026 09:30:58 +0100 Subject: [PATCH 3/8] Add COVID-19 too old for this vaccine warning page --- .../covid-19/too-old-warning.html | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 app/views/record-vaccinations/covid-19/too-old-warning.html diff --git a/app/views/record-vaccinations/covid-19/too-old-warning.html b/app/views/record-vaccinations/covid-19/too-old-warning.html new file mode 100644 index 00000000..a55668a2 --- /dev/null +++ b/app/views/record-vaccinations/covid-19/too-old-warning.html @@ -0,0 +1,42 @@ +{% extends 'layout.html' %} + +{% set pageName = "Vaccine product age warning" %} + +{% set currentSection = "vaccinate" %} + +{% block beforeContent %} +  {{ backLink({ href: "/record-vaccinations/patient-history" }) }} +{% endblock %} + +{% block content %} +  
+    
+ + + +      {% if data.firstName and data.lastName %} +        {% set displayName = data.firstName ~ ' ' ~ data.lastName %} +      {% else %} +        {% set displayName = 'Patient Name' %} +      {% endif %} + +      {% set panelHtml %} +        

Comirnaty 10 LP.8.1 is usually recommended for people aged 6 months to 11 years. {{ displayName }} is 13 years old.

+        

Check before going ahead or refer to a prescriber for a patient specific direction (PSD).

+ +        {{ button({ +          "text": "Continue anyway", +          "href": "/record-vaccinations/consent", +          "classes": "nhsuk-button--reverse" +        }) }} +      {% endset %} + +      {{ panel({ +        titleText: displayName + " may be too old for this vaccine product", +        html: panelHtml, +        classes: "nhsuk-panel--interruption" +      }) }} + +    
+  
+{% endblock %} From 7609a7940832e0ae3c6db8d36fa4cffc4c1e9bd6 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 14 Aug 2026 09:33:02 +0100 Subject: [PATCH 4/8] Add COVID-19 warning for being too old for product --- app/views/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/index.html b/app/views/index.html index 8297eb77..02dc3ad6 100755 --- a/app/views/index.html +++ b/app/views/index.html @@ -172,6 +172,7 @@

COVID-19

From a14f7dd4f0a0bb08a49990e46c30dfad66eadf43 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 14 Aug 2026 09:36:40 +0100 Subject: [PATCH 5/8] Update flu warning message for patient may be too young for this product --- app/views/record-vaccinations/flu/too-young-warning.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/record-vaccinations/flu/too-young-warning.html b/app/views/record-vaccinations/flu/too-young-warning.html index 37ff62fa..49e9b876 100644 --- a/app/views/record-vaccinations/flu/too-young-warning.html +++ b/app/views/record-vaccinations/flu/too-young-warning.html @@ -20,7 +20,7 @@ {% endif %} {% set panelHtml %} -

[Product name] is not usually recommended for people under the age of 65. {{ displayName }} is 64 years old.

+

Adjuvanted Trivalent Influenza Vaccine (aTIV) is usually recommended for people aged 50 and over. {{ displayName }} is 45 years old.

Check before going ahead or refer to a prescriber for a patient specific direction (PSD).

{{ button({ From e6e6a8a5404b04b8abb8a5186655841462511318 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 14 Aug 2026 09:43:47 +0100 Subject: [PATCH 6/8] Add age flu warning for may be too old for this vaccine prodcut --- .../flu/too-old-warning.html | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 app/views/record-vaccinations/flu/too-old-warning.html diff --git a/app/views/record-vaccinations/flu/too-old-warning.html b/app/views/record-vaccinations/flu/too-old-warning.html new file mode 100644 index 00000000..d03b1284 --- /dev/null +++ b/app/views/record-vaccinations/flu/too-old-warning.html @@ -0,0 +1,43 @@ + +{% extends 'layout.html' %} + +{% set pageName = "Vaccine product age warning" %} + +{% set currentSection = "vaccinate" %} + +{% block beforeContent %} + {{ backLink({ href: "/record-vaccinations/patient-history" }) }} +{% endblock %} + +{% block content %} +
+
+ + {% if data.firstName and data.lastName %} + {% set displayName = data.firstName ~ ' ' ~ data.lastName %} + {% else %} + {% set displayName = 'Patient Name' %} + {% endif %} + + {% set panelHtml %} +

Fluenz (LAIV) is usually recommended for people aged 2 years to 17 years. {{ displayName }} is 18 years old.

+

Check before going ahead or refer to a prescriber for a patient specific direction (PSD).

+ + {{ button({ + "text": "Continue anyway", + "href": "/record-vaccinations/consent", + "classes": "nhsuk-button--reverse" + }) }} + {% endset %} + + {{ panel({ + titleText: displayName + " may be too old for this vaccine product", + html: panelHtml, + classes: "nhsuk-panel--interruption" + }) }} + +
+
+ +{% endblock %} + From 3230772508f70896792f8fc99a84c7273da64b5a Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 14 Aug 2026 09:48:04 +0100 Subject: [PATCH 7/8] Add too old warning for flu to index page --- app/views/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/index.html b/app/views/index.html index 02dc3ad6..fcca759b 100755 --- a/app/views/index.html +++ b/app/views/index.html @@ -181,6 +181,7 @@

flu

RSV

From 0c63579162bf9e12a048a4dd06c5c26d26171887 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Fri, 14 Aug 2026 11:20:55 +0100 Subject: [PATCH 8/8] Remove white space characters from code --- .../covid-19/too-old-warning.html | 60 +++++++++---------- 1 file changed, 29 insertions(+), 31 deletions(-) diff --git a/app/views/record-vaccinations/covid-19/too-old-warning.html b/app/views/record-vaccinations/covid-19/too-old-warning.html index a55668a2..f8777052 100644 --- a/app/views/record-vaccinations/covid-19/too-old-warning.html +++ b/app/views/record-vaccinations/covid-19/too-old-warning.html @@ -5,38 +5,36 @@ {% set currentSection = "vaccinate" %} {% block beforeContent %} -  {{ backLink({ href: "/record-vaccinations/patient-history" }) }} + {{ backLink({ href: "/record-vaccinations/patient-history" }) }} {% endblock %} {% block content %} -  
-    
- - - -      {% if data.firstName and data.lastName %} -        {% set displayName = data.firstName ~ ' ' ~ data.lastName %} -      {% else %} -        {% set displayName = 'Patient Name' %} -      {% endif %} - -      {% set panelHtml %} -        

Comirnaty 10 LP.8.1 is usually recommended for people aged 6 months to 11 years. {{ displayName }} is 13 years old.

-        

Check before going ahead or refer to a prescriber for a patient specific direction (PSD).

- -        {{ button({ -          "text": "Continue anyway", -          "href": "/record-vaccinations/consent", -          "classes": "nhsuk-button--reverse" -        }) }} -      {% endset %} - -      {{ panel({ -        titleText: displayName + " may be too old for this vaccine product", -        html: panelHtml, -        classes: "nhsuk-panel--interruption" -      }) }} - -    
-  
+
+
+ + {% if data.firstName and data.lastName %} + {% set displayName = data.firstName ~ ' ' ~ data.lastName %} + {% else %} + {% set displayName = 'Patient Name' %} + {% endif %} + + {% set panelHtml %} +

Comirnaty 10 LP.8.1 is usually recommended for people aged 6 months to 11 years. {{ displayName }} is 13 years old.

+

Check before going ahead or refer to a prescriber for a patient specific direction (PSD).

+ + {{ button({ + "text": "Continue anyway", + "href": "/record-vaccinations/consent", + "classes": "nhsuk-button--reverse" + }) }} + {% endset %} + + {{ panel({ + titleText: displayName + " may be too old for this vaccine product", + html: panelHtml, + classes: "nhsuk-panel--interruption" + }) }} + +
+
{% endblock %}