Skip to content

Conversation

thomasleese
Copy link
Contributor

@thomasleese thomasleese commented Mar 10, 2025

This builds the new designs for the patient session page to match the latest designs in the prototype.

Four new sections are added which shows on the patient session page:

  • Consent: including consent responses and Gillick assessment.
  • Triage: including the form to record triage and view previous notes.
  • Record vaccination: including the form to record a vaccination.
  • Programme outcome: including a table of vaccination records for this patient in the programme.

This is a big PR and probably easier to review commit by commit. In theory we could extract the different parts in to separate PRs if that's helpful, although in general the page doesn't work as well in a half-redesigned state.

Associated change to the functional tests: NHSDigital/manage-vaccinations-in-schools-testing#337

Jira Issue - MAV-1171

Screenshots

Screenshot 2025-03-08 at 13 34 59 Screenshot 2025-03-14 at 08 45 19 Screenshot 2025-03-14 at 13 14 35 Screenshot 2025-03-14 at 14 02 29 Screenshot 2025-03-14 at 14 31 46

@thomasleese thomasleese added the feature New functionality label Mar 10, 2025
@thomasleese thomasleese added this to the v2.2.0 milestone Mar 10, 2025
@thomasleese thomasleese force-pushed the redesign-patient-session branch from 4b79fc8 to 979564d Compare March 10, 2025 10:25
@thomasleese thomasleese force-pushed the redesign-patient-session branch from 979564d to 62fe355 Compare March 10, 2025 19:00
@thomasleese thomasleese force-pushed the redesign-patient-session branch from 62fe355 to a1ff7be Compare March 11, 2025 07:25
@thomasleese thomasleese force-pushed the redesign-patient-session branch from a1ff7be to 4da1abf Compare March 11, 2025 19:11
@thomasleese thomasleese force-pushed the redesign-patient-session branch from 4da1abf to e79b665 Compare March 11, 2025 19:34
Base automatically changed from v2.1.0-wip to main March 12, 2025 08:17
@thomasleese thomasleese force-pushed the redesign-patient-session branch from e79b665 to 3e6d2eb Compare March 12, 2025 08:18
@thomasleese thomasleese force-pushed the redesign-patient-session branch from 3e6d2eb to 3699968 Compare March 13, 2025 07:30
@thomasleese thomasleese force-pushed the redesign-patient-session branch from 3699968 to 9cfc142 Compare March 14, 2025 07:09
@thomasleese thomasleese force-pushed the redesign-patient-session branch from 9cfc142 to 809f150 Compare March 14, 2025 07:45
@thomasleese thomasleese force-pushed the redesign-patient-session branch from 809f150 to 618e3cf Compare March 14, 2025 07:46
@thomasleese thomasleese force-pushed the redesign-patient-session branch from a4b86af to 592ac27 Compare March 14, 2025 08:27
@thomasleese thomasleese force-pushed the redesign-patient-session branch from 592ac27 to 8f1b43d Compare March 14, 2025 08:46
@thomasleese thomasleese force-pushed the redesign-patient-session branch from 8f1b43d to e13f27a Compare March 14, 2025 10:03
@thomasleese thomasleese force-pushed the redesign-patient-session branch from 2ad39f0 to 942c18d Compare June 11, 2025 09:49
@thomasleese thomasleese changed the base branch from main to next June 12, 2025 16:35
@thomasleese thomasleese force-pushed the redesign-patient-session branch 3 times, most recently from f5c025d to 5420c71 Compare June 17, 2025 18:25
This adds a new component that renders the patient summary information
shown on the side of the patient session page containing the name, date
of birth, address and a link to the full record.
This refactors the component to work in a similar way to the
`AppPatientSummaryComponent` as they are both used in similar ways.
This adds a component that renders the table of consent responses, which
comes from the existing `AppConsentComponent`.
This refactors the helper used to generate a status tag for a consent
response to match the latest designs in the prototype.
This adds a component that renders the table of consent responses, which
comes from the existing `AppPatientPageComponent`.
This adds a component that renders the consent section of the patient
session page, containing the consent card, gillick assessments and
health answers.
This refactors the component to simplify its use and make it work
in a similar way to the `AppVaccinateFormComponent`.
This component renders a list of triage notes and replaces the existing
`AppTriageNotesComponent` to match the latest designs in the prototype.
This adds a component that renders the triage section of the patient
session page, containing the consent card, gillick assessments and
health answers.
From `AppSimpleStatusBannerComponent` as the link will show instead in
the triage section.
This adds a component that renders the record section of the patient
session page, containing the pre-screening questions and vaccinate form.
This adds the functionality to render the location of a vaccination
record to be used in multiple places in the service.
This updates the component to match the latest designs in the prototype
where the date, location, programme and outcome is shown.
This adds a component which renders the programme outcome section of the
patient session page, which lists the vaccination records for the
patient.
This is no longer being used as it's been replaced with separate patient
session components. This component doesn't follow the latest designs in
the prototype.
This is no longer being used so it can be safely removed.
It's no longer being used so it can be safely removed.
We no longer have a single status for patient sessions and this is no
longer be used so it can be safely removed.
On the patient page, this helps with accessibility by giving structure
to the page.
@thomasleese thomasleese force-pushed the redesign-patient-session branch from 5420c71 to 3c19f49 Compare June 18, 2025 16:22
Copy link

@thomasleese thomasleese merged commit 2a48081 into next Jun 18, 2025
13 checks passed
@thomasleese thomasleese deleted the redesign-patient-session branch June 18, 2025 17:01
thomasleese added a commit that referenced this pull request Jun 19, 2025
Build new patient session page design
thomasleese added a commit that referenced this pull request Jun 19, 2025
Build new patient session page design
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants