From 637e1dbfb4faa1a7389f821f4a48a211272bbd42 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Thu, 19 Mar 2026 21:48:46 +0000 Subject: [PATCH 01/17] PDS and history errors --- app/views/errors/no-patient-details-alt | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 app/views/errors/no-patient-details-alt diff --git a/app/views/errors/no-patient-details-alt b/app/views/errors/no-patient-details-alt new file mode 100644 index 00000000..2ba2f2a5 --- /dev/null +++ b/app/views/errors/no-patient-details-alt @@ -0,0 +1,27 @@ +{% extends 'layout.html' %} + +{% set pageName = "There is a temporary problem getting the patient's details" %} + + +{% block beforeContent %} + {{ backLink({ href: "/record-vaccinations/patient" }) }} +{% endblock %} + + +{% block content %} +
+
+

{{ pageName }}

+ + +{% from "button/macro.njk" import button %} + +{{ button({ + text: "Try again" +}) }} + +
+
+ + +{% endblock %} From 9b1b932d80c6808ec2f6d6ec915d91ed9c18812b Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Thu, 19 Mar 2026 21:50:32 +0000 Subject: [PATCH 02/17] Update and rename no-patient-details-alt to no-patient-details-alt.html Added secondary button to page. --- ...patient-details-alt => no-patient-details-alt.html} | 10 ++++++++++ 1 file changed, 10 insertions(+) rename app/views/errors/{no-patient-details-alt => no-patient-details-alt.html} (77%) diff --git a/app/views/errors/no-patient-details-alt b/app/views/errors/no-patient-details-alt.html similarity index 77% rename from app/views/errors/no-patient-details-alt rename to app/views/errors/no-patient-details-alt.html index 2ba2f2a5..03e1332e 100644 --- a/app/views/errors/no-patient-details-alt +++ b/app/views/errors/no-patient-details-alt.html @@ -20,6 +20,16 @@

{{ pageName }}

text: "Try again" }) }} + +    + +{% from "button/macro.njk" import button %} + +{{ button({ + text: "Continue anyway", + classes: "nhsuk-button--secondary" +}) }} + From 3820d3e1a9250baabe98cc6124fdd39db8d107d6 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Thu, 19 Mar 2026 21:52:27 +0000 Subject: [PATCH 03/17] Changed message on partial-vaccination-history.html --- app/views/errors/partial-vaccination-history.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/errors/partial-vaccination-history.html b/app/views/errors/partial-vaccination-history.html index a0e0a9a5..8c6ce2ef 100644 --- a/app/views/errors/partial-vaccination-history.html +++ b/app/views/errors/partial-vaccination-history.html @@ -16,7 +16,7 @@

{{ pageName }}

-

You may not see all the vaccination records that are usually shown in this service.

+

We cannot access some flu vaccination records.

{% from "button/macro.njk" import button %} From ac0c1d28457797ac459b141a9496f43529d8787e Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Thu, 19 Mar 2026 21:54:36 +0000 Subject: [PATCH 04/17] Create no-and-partial-history-combined.html --- .../no-and-partial-history-combined.html | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 app/views/errors/no-and-partial-history-combined.html diff --git a/app/views/errors/no-and-partial-history-combined.html b/app/views/errors/no-and-partial-history-combined.html new file mode 100644 index 00000000..805cd608 --- /dev/null +++ b/app/views/errors/no-and-partial-history-combined.html @@ -0,0 +1,42 @@ +{% extends 'layout.html' %} + +{% set pageName = "There is a temporary problem getting Jodie Brown's vaccination history" %} + + +{% block beforeContent %} + {{ backLink({ href: "/record-vaccinations/patient" }) }} +{% endblock %} + +{% set currentSection = "vaccinate" %} + + +{% block content %} +
+
+

{{ pageName }}

+ + +

We cannot access some vaccination records.

+ +{% from "button/macro.njk" import button %} + +{{ button({ + text: "Try again" +}) }} + +    + +{% from "button/macro.njk" import button %} + +{{ button({ + text: "Continue anyway", + classes: "nhsuk-button--secondary" +}) }} + + + +
+
+ + +{% endblock %} From 37ba643a0295e8a35f4d183f0a07bbfd33ccf9a9 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Thu, 19 Mar 2026 22:01:53 +0000 Subject: [PATCH 05/17] Added warning callout to patient-history-none.html --- .../patient-history-none.html | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/app/views/record-vaccinations/patient-history-none.html b/app/views/record-vaccinations/patient-history-none.html index 09113a13..5df359b4 100644 --- a/app/views/record-vaccinations/patient-history-none.html +++ b/app/views/record-vaccinations/patient-history-none.html @@ -65,21 +65,15 @@

Check {{ data.patientName }}’s details

] }) }} - {% if data.vaccine == "COVID-19" %} + {% from "warning-callout/macro.njk" import warningCallout %} - {% set screeningConsiderations %} -
    -
  • Does the patient have a history of anaphylaxis or significant allergic reactions to any vaccines or their ingredients?
  • -
  • Has the patient had a serious adverse reaction after the COVID-19 vaccine?
  • -
  • Is the patient pregnant or could they be?
  • -
- {% endset %} +{{ warningCallout({ + heading: "Important", + text: "We could not access some vaccination records. Ask the patient about previous vaccinations." +}) }} - {% endif %} - -
{{ button({ From b3be5546472d3b8161a261faad64b04b500b9472 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Thu, 19 Mar 2026 22:16:45 +0000 Subject: [PATCH 06/17] Added Jodie Brown's name to H1 on patient-history-none.html --- app/views/record-vaccinations/patient-history-none.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/record-vaccinations/patient-history-none.html b/app/views/record-vaccinations/patient-history-none.html index 5df359b4..3ee38bb3 100644 --- a/app/views/record-vaccinations/patient-history-none.html +++ b/app/views/record-vaccinations/patient-history-none.html @@ -25,7 +25,7 @@
-

Check {{ data.patientName }}’s details

+

Check Jodie Brown’s details

{{ summaryList({ classes: 'xnhsuk-summary-list--no-border', From 667ae8ffe70ee1bce4fd11e5e1b8b0654f922fa2 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Thu, 19 Mar 2026 22:32:13 +0000 Subject: [PATCH 07/17] Updates to patient-history-none.html --- app/views/record-vaccinations/patient-history-none.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/record-vaccinations/patient-history-none.html b/app/views/record-vaccinations/patient-history-none.html index 3ee38bb3..81ccb3d8 100644 --- a/app/views/record-vaccinations/patient-history-none.html +++ b/app/views/record-vaccinations/patient-history-none.html @@ -69,7 +69,7 @@

Check Jodie Brown’s details

{{ warningCallout({ heading: "Important", - text: "We could not access some vaccination records. Ask the patient about previous vaccinations." + text: "There was a problem getting vaccination records. Ask the patient about their vaccination history." }) }} From f7f1318ea70a79b63eebb7953fea1e17a1d8e335 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 20 Mar 2026 09:38:58 +0000 Subject: [PATCH 08/17] Update to no-and-partial-history-combined.html --- app/views/errors/no-and-partial-history-combined.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/views/errors/no-and-partial-history-combined.html b/app/views/errors/no-and-partial-history-combined.html index 805cd608..92aeb89e 100644 --- a/app/views/errors/no-and-partial-history-combined.html +++ b/app/views/errors/no-and-partial-history-combined.html @@ -15,9 +15,6 @@

{{ pageName }}

- -

We cannot access some vaccination records.

- {% from "button/macro.njk" import button %} {{ button({ From d51436c970d03fc6464d6af508e5f2da476ecdd9 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 20 Mar 2026 09:41:35 +0000 Subject: [PATCH 09/17] Updates to patient-history-none.html --- app/views/record-vaccinations/patient-history-none.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/record-vaccinations/patient-history-none.html b/app/views/record-vaccinations/patient-history-none.html index 81ccb3d8..7862ed58 100644 --- a/app/views/record-vaccinations/patient-history-none.html +++ b/app/views/record-vaccinations/patient-history-none.html @@ -69,7 +69,7 @@

Check Jodie Brown’s details

{{ warningCallout({ heading: "Important", - text: "There was a problem getting vaccination records. Ask the patient about their vaccination history." + text: "There was a problem getting the patient's vaccination history. Ask them about previous vaccinations." }) }} From 939e2f8dd171dcad2b6fcdd124d4874f5307a1dd Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 20 Mar 2026 09:56:36 +0000 Subject: [PATCH 10/17] Update to patient-history.html Trying out a warning on this page. --- app/views/record-vaccinations/patient-history.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/views/record-vaccinations/patient-history.html b/app/views/record-vaccinations/patient-history.html index 2b5bb47b..e9ca6c34 100644 --- a/app/views/record-vaccinations/patient-history.html +++ b/app/views/record-vaccinations/patient-history.html @@ -104,6 +104,13 @@

Check {{ data.firstName }} {{ data.lastName }}’s d {% endif %} + {% from "warning-callout/macro.njk" import warningCallout %} + +{{ warningCallout({ + heading: "Important", + text: "There was a problem getting the patient's vaccination history. Some flu vaccination records may be missing." +}) }} +

Vaccination history

This shows NHS vaccinations given in England. Currently it includes COVID-19, flu and RSV, plus some pertussis, pneumococcal and MMR vaccination records.

From 09c8e50b9495921acc2192da2c8a313cb4a96951 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 20 Mar 2026 10:29:37 +0000 Subject: [PATCH 11/17] Update patient-history.html --- app/views/record-vaccinations/patient-history.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/record-vaccinations/patient-history.html b/app/views/record-vaccinations/patient-history.html index e9ca6c34..243768df 100644 --- a/app/views/record-vaccinations/patient-history.html +++ b/app/views/record-vaccinations/patient-history.html @@ -108,7 +108,7 @@

Check {{ data.firstName }} {{ data.lastName }}’s d {{ warningCallout({ heading: "Important", - text: "There was a problem getting the patient's vaccination history. Some flu vaccination records may be missing." + text: "There was a problem getting the patient's vaccination history and some records may be missing. Ask them about previous vaccinations." }) }}

Vaccination history

From 65abc654eed66cea3f47355a7850c4256fe1933e Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 20 Mar 2026 10:47:15 +0000 Subject: [PATCH 12/17] Update to patient-history-none.html --- app/views/record-vaccinations/patient-history-none.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/record-vaccinations/patient-history-none.html b/app/views/record-vaccinations/patient-history-none.html index 7862ed58..a878d87c 100644 --- a/app/views/record-vaccinations/patient-history-none.html +++ b/app/views/record-vaccinations/patient-history-none.html @@ -69,7 +69,7 @@

Check Jodie Brown’s details

{{ warningCallout({ heading: "Important", - text: "There was a problem getting the patient's vaccination history. Ask them about previous vaccinations." + text: "There was a problem getting the patient's vaccination history. Check previous vaccinations with them." }) }} From 80eecd868894449c8e1e7eb7fdc90d5c23f6a492 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 20 Mar 2026 10:48:11 +0000 Subject: [PATCH 13/17] Removed warning on patient-history.html --- app/views/record-vaccinations/patient-history.html | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/views/record-vaccinations/patient-history.html b/app/views/record-vaccinations/patient-history.html index 243768df..0a400846 100644 --- a/app/views/record-vaccinations/patient-history.html +++ b/app/views/record-vaccinations/patient-history.html @@ -104,13 +104,7 @@

Check {{ data.firstName }} {{ data.lastName }}’s d {% endif %} - {% from "warning-callout/macro.njk" import warningCallout %} - -{{ warningCallout({ - heading: "Important", - text: "There was a problem getting the patient's vaccination history and some records may be missing. Ask them about previous vaccinations." -}) }} - +

Vaccination history

This shows NHS vaccinations given in England. Currently it includes COVID-19, flu and RSV, plus some pertussis, pneumococcal and MMR vaccination records.

From 0c72a29463e2fcbb3162c972cab71b8a5c82b583 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 20 Mar 2026 12:58:03 +0000 Subject: [PATCH 14/17] Update partial-vaccination-history.html --- app/views/errors/partial-vaccination-history.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/errors/partial-vaccination-history.html b/app/views/errors/partial-vaccination-history.html index 8c6ce2ef..b99e6413 100644 --- a/app/views/errors/partial-vaccination-history.html +++ b/app/views/errors/partial-vaccination-history.html @@ -16,7 +16,7 @@

{{ pageName }}

-

We cannot access some flu vaccination records.

+

We cannot access flu vaccination records.

{% from "button/macro.njk" import button %} From f4fb188b3f24b44a018370dd6790dfeabd45ad5b Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 20 Mar 2026 13:01:42 +0000 Subject: [PATCH 15/17] Update patient-history.html --- app/views/record-vaccinations/patient-history.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/record-vaccinations/patient-history.html b/app/views/record-vaccinations/patient-history.html index 0a400846..ba3c1f9a 100644 --- a/app/views/record-vaccinations/patient-history.html +++ b/app/views/record-vaccinations/patient-history.html @@ -103,7 +103,11 @@

Check {{ data.firstName }} {{ data.lastName }}’s d }) }} {% endif %} - + +{{ warningCallout({ + heading: "Important", + text: "We could not get the patient's flu vaccination records." +}) }}

Vaccination history

From 583f5802159fc8fd638886cd1a0235ace1e6ff07 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 20 Mar 2026 13:06:21 +0000 Subject: [PATCH 16/17] Update patient-history.html --- app/views/record-vaccinations/patient-history.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/record-vaccinations/patient-history.html b/app/views/record-vaccinations/patient-history.html index ba3c1f9a..f5508e66 100644 --- a/app/views/record-vaccinations/patient-history.html +++ b/app/views/record-vaccinations/patient-history.html @@ -106,7 +106,7 @@

Check {{ data.firstName }} {{ data.lastName }}’s d {{ warningCallout({ heading: "Important", - text: "We could not get the patient's flu vaccination records." + text: "There was a problem getting the patient's vaccination history. We could not get their flu vaccination records." }) }}

Vaccination history

From fe6683bd96d256f788f53d8c2928b9b62111d3bc Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Fri, 20 Mar 2026 15:54:43 +0000 Subject: [PATCH 17/17] Removed warning on patient-history.html --- app/views/record-vaccinations/patient-history.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/views/record-vaccinations/patient-history.html b/app/views/record-vaccinations/patient-history.html index f5508e66..f1e754db 100644 --- a/app/views/record-vaccinations/patient-history.html +++ b/app/views/record-vaccinations/patient-history.html @@ -104,10 +104,6 @@

Check {{ data.firstName }} {{ data.lastName }}’s d {% endif %} -{{ warningCallout({ - heading: "Important", - text: "There was a problem getting the patient's vaccination history. We could not get their flu vaccination records." -}) }}

Vaccination history