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" + }) }} +

  • diff --git a/app/views/records/patient-record-deceased.html b/app/views/records/patient-record-deceased.html new file mode 100644 index 00000000..d47a7744 --- /dev/null +++ b/app/views/records/patient-record-deceased.html @@ -0,0 +1,227 @@ +{# 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" %} + +{% 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" + } + }, + { + key: { + text: "Registered GP" + }, + value: { + html: "Beech House surgery
    1 Ash Tree Road
    Knaresborough
    HG5 0UB" + } + } + ] + }) }} + +

    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