From a68028b03403ba9994cc6232bce1cc4877c524df Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Mon, 28 Sep 2026 09:54:02 +0100 Subject: [PATCH 1/6] Initial commit --- .../records/patient-record-deceased.html | 217 ++++++++++++++++++ 1 file changed, 217 insertions(+) create mode 100644 app/views/records/patient-record-deceased.html diff --git a/app/views/records/patient-record-deceased.html b/app/views/records/patient-record-deceased.html new file mode 100644 index 00000000..39e74597 --- /dev/null +++ b/app/views/records/patient-record-deceased.html @@ -0,0 +1,217 @@ +{% extends 'layout.html' %} + +{% set pageName = "Patient's vaccination records – Records" %} + +{% set currentSection = "records" %} + +{% set patientFirstName = "Jodie" %} +{% set patientLastName = "Brown" %} +{% set patientFullName = patientFirstName + " " + patientLastName %} + +{% block beforeContent %} + {{ backLink({ + href: "#", + text: "Back" + }) }} +{% endblock %} + +{% block content %} +
+
+ +

{{ patientFullName }}’s vaccination records

+ + {% from "warning-callout/macro.njk" import warningCallout %} + + {{ warningCallout({ + heading: "Important", + headingLevel: 2, + text: "This patient has died according to the Personal Demographics Service." + }) }} + + {{ summaryList({ + rows: [ + { + key: { + text: "Name" + }, + value: { + text: patientFullName + } + }, + { + key: { + text: "Date of birth" + }, + value: { + html: "15 March 1984" + } + }, + { + key: { + text: "Date of death" + }, + value: { + html: "20 April 2024
40 years old
" + } + }, + { + key: { + text: "Address" + }, + value: { + html: "73 Roman Rd
Leeds
LS2 5ZN" + } + }, + { + key: { + text: "NHS number" + }, + value: { + text: "9123456789" + } + } + ] + }) }} + +

Vaccination history

+ +

You can only view, edit or delete records your organisation has created.

+ +
+
+
+
+ + {{ table({ + panel: false, + caption: "", + firstCellIsHeader: false, + head: [ + { + text: "Date" + }, + { + text: "Vaccine" + }, + { + text: "Product" + } + ], + rows: [ + [ + { + text: "15 April 2025" + }, + { + text: "COVID-19" + }, + { + text: "Spikevax JN.1" + } + ],[ + { + text: "9 November 2024" + }, + { + text: "MMR (2nd dose)" + }, + { + text: "Priorix" + } + ],[ + { + text: "11 November 2024" + }, + { + text: "RSV" + }, + { + text: "Abrysvo" + } + ], + [ + { + text: "29 October 2024" + }, + { + text: "Pneumococcal" + }, + { + text: "Pneumovax" + } + ], + [ + { + text: "25 October 2024" + }, + { + text: "Flu (1st dose)" + }, + { + text: "Adjuvanted Quadrivalent Influenza Vaccine (aQIV)" + } + ], + [ + { + text: "15 October 2023" + }, + { + text: "COVID-19" + }, + { + text: "Comirnaty 30 Omicron XBB.1.5" + } + ], + [ + { + text: "10 October 2023" + }, + { + text: "Flu" + }, + { + text: "Not known", + classes: "nhsuk-u-secondary-text-color" + } + ], + [ + { + text: "7 October 2023" + }, + { + text: "Pertussis" + }, + { + text: "Boostrix-IPV suspension" + } + ], + [ + { + text: "11 March 2022" + }, + { + text: "COVID-19" + }, + { + text: "Moderna mRNA (Spikevax) Original" + } + ], + [ + { + text: "4 December 2023" + }, + { + text: "MMR" + }, + { + text: "Priorix" + } + ] + ] + }) }} + +
+
+ +{% endblock %} \ No newline at end of file From 2d8a0dbfd4c00a018fa383c9ef48e60721dccff0 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Tue, 29 Sep 2026 09:14:00 +0100 Subject: [PATCH 2/6] Update age styling to match QA --- app/views/records/patient-record-deceased.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/records/patient-record-deceased.html b/app/views/records/patient-record-deceased.html index 39e74597..0f0ad219 100644 --- a/app/views/records/patient-record-deceased.html +++ b/app/views/records/patient-record-deceased.html @@ -52,7 +52,7 @@

{{ patientFullName }}’s vaccination records

text: "Date of death" }, value: { - html: "20 April 2024
40 years old
" + html: "20 April 2024
(40 years old)" } }, { From ce96f927a580c6bb0407c47f9ebfe1f37bab59de Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Tue, 29 Sep 2026 09:27:56 +0100 Subject: [PATCH 3/6] Add Registered GP --- app/views/records/patient-record-deceased.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/views/records/patient-record-deceased.html b/app/views/records/patient-record-deceased.html index 0f0ad219..663db483 100644 --- a/app/views/records/patient-record-deceased.html +++ b/app/views/records/patient-record-deceased.html @@ -70,6 +70,14 @@

{{ patientFullName }}’s vaccination records

value: { text: "9123456789" } + }, + { + key: { + text: "Registered GP" + }, + value: { + html: "Beech House surgery
1 Ash Tree Road
Knaresborough
HG5 0UB" + } } ] }) }} From 83e5f097b44acc090546c4db2df7817c105b37ca Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Tue, 29 Sep 2026 09:34:30 +0100 Subject: [PATCH 4/6] Adding link to deceased patient's record --- app/views/index.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/app/views/index.html b/app/views/index.html index caeeac19..ec952de0 100755 --- a/app/views/index.html +++ b/app/views/index.html @@ -218,12 +218,24 @@

Special circumstances

text: "Deceased patient history", size: "m" }, - description: "This shows what users will see if they access a patient history for a patient who is recorded as deceased", + description: "This shows what users will see if they access a patient history for a patient who is recorded as deceased.", href: "/prototype-setup/quick-access/pharmacy?next=/record-vaccinations/patient-history-deceased", clickable: true, variant: "primary" }) }} +
  • + {{ card({ + heading: { + text: "Deceased patient record", + size: "m" + }, + description: "This shows what users will see if they access a record for a patient who is deceased.", + href: "/prototype-setup/quick-access/pharmacy?next=/records/patient-record-deceased", + clickable: true, + variant: "primary" + }) }} +

  • From d0ce7dc9505fb57a87c0ca1845d649b49311d844 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Tue, 29 Sep 2026 09:38:05 +0100 Subject: [PATCH 5/6] Adding a comment --- app/views/record-vaccinations/patient-history-deceased.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/record-vaccinations/patient-history-deceased.html b/app/views/record-vaccinations/patient-history-deceased.html index 7ab2efbd..d9b47c9e 100644 --- a/app/views/record-vaccinations/patient-history-deceased.html +++ b/app/views/record-vaccinations/patient-history-deceased.html @@ -1,3 +1,5 @@ +{# This page has been desiged to match the QA envirnment #} +{# Elsewhere in the prototype, the 'records' section has a different design which has not been built into QA yet #} {% extends 'layout.html' %} {% set pageName = "Check the patient's details" %} From 7cb06d3bc2999889f7b60a584c4e874ba5c7de4c Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Tue, 29 Sep 2026 09:57:38 +0100 Subject: [PATCH 6/6] Move comment to the correct file --- app/views/record-vaccinations/patient-history-deceased.html | 2 -- app/views/records/patient-record-deceased.html | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/record-vaccinations/patient-history-deceased.html b/app/views/record-vaccinations/patient-history-deceased.html index d9b47c9e..7ab2efbd 100644 --- a/app/views/record-vaccinations/patient-history-deceased.html +++ b/app/views/record-vaccinations/patient-history-deceased.html @@ -1,5 +1,3 @@ -{# This page has been desiged to match the QA envirnment #} -{# Elsewhere in the prototype, the 'records' section has a different design which has not been built into QA yet #} {% extends 'layout.html' %} {% set pageName = "Check the patient's details" %} diff --git a/app/views/records/patient-record-deceased.html b/app/views/records/patient-record-deceased.html index 663db483..d47a7744 100644 --- a/app/views/records/patient-record-deceased.html +++ b/app/views/records/patient-record-deceased.html @@ -1,3 +1,5 @@ +{# This page has been desiged to match the QA envirnment #} +{# Elsewhere in the prototype, the 'records' section has a different design which has not been built into QA yet #} {% extends 'layout.html' %} {% set pageName = "Patient's vaccination records – Records" %}