What's new Report an issue
GIG Cymru NHS Wales, Digital Health and Care Wales

Patient Banner

The persistent identity strip at the top of every patient-context screen: alerts first, then who the patient is, then the actions that can be taken on them. Two types, each with an expanded and a collapsed state.

Type: Fill

The alert cards are tinted. This is the default — the tint carries further in peripheral vision on a busy screen.

Adverse Reactions
  • Peanut: Anaphylaxis
  • Benzylpenicilloyl polylysine: Anaphylaxis
Warnings

3 warnings recorded

JOHN, Elvet George (Mr)

Deceased
NHS:
000 111 2222
Address:
Penrhiw, Gwynfe Llangadog, Dyfed, SA19 9PU
Postcode:
SA19 9PU
CRN:
M8046459
DOB:
15 Dec 1992 (33y)
DOD:
23 Jun 2025
Sex:
Male
<section class="sr-patient-banner" aria-label="Patient: JOHN, Elvet George (Mr)">
  <div class="sr-patient-banner__alerts">…</div>
  <div class="sr-patient-banner__identity">…</div>
  <div class="sr-patient-banner__actions">…</div>
</section>

<!-- Border type -->
<section class="sr-patient-banner sr-patient-banner--border">…</section>
<!-- Collapsed state -->
<section class="sr-patient-banner sr-patient-banner--collapsed">…</section>
2 reactions 3 warnings

JOHN, Elvet George (Mr)

NHS:
000 111 2222
DOB:
15 Dec 1992 (33y)

Type: Border

The alert cards stay white with a coloured rule. Use where the screen is already colour-heavy, or where the view is likely to be printed.

Adverse Reactions
  • Peanut: Anaphylaxis
  • Benzylpenicilloyl polylysine: Anaphylaxis
Warnings

3 warnings recorded

JOHN, Elvet George (Mr)

Deceased
NHS:
000 111 2222
Address:
Penrhiw, Gwynfe Llangadog, Dyfed, SA19 9PU
Postcode:
SA19 9PU
CRN:
M8046459
DOB:
15 Dec 1992 (33y)
DOD:
23 Jun 2025
Sex:
Male
2 reactions 3 warnings

JOHN, Elvet George (Mr)

NHS:
000 111 2222
DOB:
15 Dec 1992 (33y)

Both types are live. Neither has been retired, and this page will say so plainly if one ever is. Pick one per product and stay with it — switching between screens makes the alert cards look like they mean different things.


The strip at the top of a patient screen that tells staff, at a glance, which patient they are looking at, and what they must know before acting.


When to use

When not to use

How it works

Choosing between Fill and Border

Use Fill whenUse Border when
Screen densityThe screen is busy and the banner competes for attention, the tint carries further in peripheral vision.The screen is already colour-heavy (status tags, charts) and another tinted block would add noise.
Print / export,The view may be printed; large tints waste toner and can drop out.

Pick one per product and stay with it. Switching type between screens makes the alert cards look like they mean different things.

Do and don't

Accessibility

Research and open questions

Accessibility requirements

RequirementWCAG SCHow Single Record meets itTest method
Patient identity always available3.2.3Name, NHS number and DOB survive collapse; the banner is persistent and cannot be dismissed.Collapse and re-read
Alerts precede demographics in reading order1.3.2The alerts block is first in the DOM, so it is reached before the identity block regardless of visual layout.Screen reader, tab order
Alerts are not live regions4.1.3Alerts are present on load rather than announced changes; marking them live would interrupt every screen entry.Screen reader announce
Collapse control names its action4.1.2A real button with aria-expanded, labelled "Hide Details" / "Show Details" rather than "toggle".Screen reader, keyboard
Icon-only actions name their subject4.1.2Collapsed actions read "Print label for JOHN, Elvet George", not "Print".Screen reader announce
Deceased status not colour alone1.4.1A Deceased flag beside the name and a date-of-death field, two independent signals.Greyscale review
Reaction severity not colour alone1.4.1Severity is stated in the text; the critical colour reinforces but never carries it.Greyscale review