diff --git a/app/views/record-vaccinations/patient-history-none.html b/app/views/record-vaccinations/patient-history-none.html index 09113a13..1955fde8 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 and vaccination history

{{ summaryList({ classes: 'xnhsuk-summary-list--no-border', @@ -56,30 +56,22 @@

Check {{ data.patientName }}’s details

}, { key: { - text: "NHS number" + text: "Postcode" }, value: { - text: "9123456321" + text: "N7 0EA" } } ] }) }} - {% if data.vaccine == "COVID-19" %} - - {% set screeningConsiderations %} - - {% endset %} - - - - {% endif %} - + {% from "warning-callout/macro.njk" import warningCallout %} +{{ warningCallout({ + heading: "Important", + text: "We could not get any vaccination history for this patient." +}) }} +
{{ button({ diff --git a/app/views/record-vaccinations/patient-history-some.html b/app/views/record-vaccinations/patient-history-some.html new file mode 100644 index 00000000..61d80a1a --- /dev/null +++ b/app/views/record-vaccinations/patient-history-some.html @@ -0,0 +1,157 @@ + +{% extends 'layout.html' %} + +{% set pageName = "Check the patient's details" %} + +{% set currentSection = "vaccinate" %} + + +{% set dateOfBirthHtml %} + {% if data.dateOfBirth.day %} + {{ (data.dateOfBirth | isoDateFromDateInput | govukDate) }} +
(76 years old) + {% else %} + {{ (data.dateOfBirth | govukDate) }} + {% endif %} +{% endset %} + +{% if data.repeatVaccination === "yes" %} + {% set nextPage = "/record-vaccinations/consent" %} +{% elseif data.repeatPatient === "yes" %} + {% set nextPage = "/record-vaccinations/vaccine" %} +{% elseif data.vaccinationToday %} + {% set nextPage = "/record-vaccinations/vaccinator" %} +{% else %} + {% set nextPage = "/record-vaccinations/vaccination-date" %} +{% endif %} + +{% if data.repeatVaccination === "yes" %} + {% set previousPage = "/record-vaccinations/patient" %} +{% elseif data.repeatPatient === "yes" %} + {% set previousPage = "/record-vaccinations/done" %} +{% else %} + {% set previousPage = "/record-vaccinations" %} +{% endif %} + +{% block beforeContent %} + {{ backLink({ href: previousPage }) }} +{% endblock %} + +{% block content %} +
+
+ +

Check {{ data.firstName }} {{ data.lastName }}’s details and vaccination history

+ + {{ summaryList({ + rows: [ + { + key: { + text: "Name" + }, + value: { + text: (data.firstName + " " + data.lastName) + } + }, + { + key: { + text: "Date of birth" + }, + value: { + html: dateOfBirthHtml + } + }, + { + key: { + text: "Address" + }, + value: { + html: "73 Roman Rd
Leeds
LS2 5ZN" + } + }, + { + key: { + text: "Postcode" + }, + value: { + text: "N7 0EA" + } + } + ] + }) }} + + {% if data.vaccine == "COVID-19" %} + + {% 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 %} + + {{ details({ + summaryText: "Screening considerations", + html: screeningConsiderations + }) }} + + {% endif %} + + {% from "warning-callout/macro.njk" import warningCallout %} + +{{ warningCallout({ + heading: "Important", + text: "We can only show previous vaccinations that were recorded in RAVS for this patient." +}) }} + +

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.

+ +
+
+
+
+ + {{ table({ + panel: false, + caption: "", + firstCellIsHeader: false, + head: [ + { + text: "Date" + }, + { + text: "Vaccine" + }, + { + text: "Product" + } + ], + rows: [ + [ + { + text: "15 April 2025" + }, + { + text: "COVID-19" + }, + { + text: "Comirnaty 3" + } + ] + ] + }) }} + + + + + {{ button({ + text: "Continue" + })}} + + +
+
+ +{% endblock %}