You askedGive the patient a unique ID to fill in
A question page that asks for a patient meal ID. The hint says where to find it and gives the format. The answer is filled in for the example.
GOV.UK Design System: Question pages, text input
You askedPre-fill the ID and date of birth in the example, and note that the patient completes them
Inset text on both pages: This is an example. We have filled in this answer for you. In the real service, the patient types this themselves.
GOV.UK Design System: Inset text. A real service would never pre-fill identity questions.
You askedShow name, ward and bed, then confirm them
A summary list with no Change links and a Yes or No question. No leads to a stop page that asks the patient to find a member of staff.
GOV.UK Design System: Summary list, radios
You askedShow allergies, allow adding but not removing the recorded ones
Recorded allergies are a plain list with no actions. Added allergies come from checkboxes of the 14 allergens in UK food law, plus another allergy as free text. Only added allergies have Change links.
GOV.UK Design System: Checkboxes with a conditional reveal. Checkboxes suit a known list better than the add another loop.
You askedConfirm the allergies
A check page with a Confirm allergies button, and warning text for allergies typed in.
GOV.UK Design System: Summary list, warning text
You askedThree choices for breakfast, lunch, dinner and a snack, Saturday and Sunday
Eight question pages. Each shows the first three options that are safe for this patient, with allergens in the hint.
GOV.UK Design System: Question pages, radios with hints
You askedFollow the GOV.UK Design System strictly
GOV.UK Frontend 6.5.1 markup and styles, the check answers and confirmation patterns, and the GOV.UK style for errors, page titles and buttons. The Generic header replaces the GOV.UK header, and Arial replaces GDS Transport, because the service is not on GOV.UK.
GOV.UK Design System: Generic header, page template
You askedAdd people who have recently arrived or replaced someone else, especially if they cannot eat what the previous person ordered
A staff journey: choose the bed and confirm the previous patient has left. Then find the new patient by hospital number and date of birth, check them, and add them. The old order and meal ID are cancelled, never passed on, and the check page warns about food the new patient cannot eat.
GOV.UK Design System: Question pages, summary list, warning text, confirmation page
You askedShow how the sequence was built, with error states and checking
Two flowcharts, one for patients and one for staff, with every error state, stop page and check page. A list version follows each one.
GOV.UK Design System: Question pages, validation
You askedThe meal stays with the patient during their stay
The order belongs to the patient, not the bed. When staff say a patient has moved bed or ward, the order and meal ID go with them. Only going home cancels them.
GOV.UK Design System: Radios with hints that say what will happen
You askedPatients can edit their order up to 12 hours before the meal
Each meal page gives the serving time and the time to change it by. Coming back to the service shows the current order, ready to change.
GOV.UK Design System: Hint text, check answers
You askedFuture: family choosing for a patient, without it being abused
Written up as future work with safeguards. They include consent, a personal code per family member, and no access to allergies or medical details. The patient's choice wins, every change is logged, and staff get alerts and can switch it off.
You askedBuild it in the NHS design system and explain the differences
The same journey, built with NHS.UK frontend 10.6.1. A side-by-side list sets out what changes between the two design systems and what stays the same.
GOV.UK Design System: NHS design system
You askedAdd each ingredient in the meal following UK label guidelines, with the UK traffic light system on the menu
Each dish has an ingredients list in descending order of weight, with allergens in bold and percentages for named ingredients. This follows UK labelling law for prepacked food. Traffic lights use the Department of Health and Social Care thresholds per 100g or 100ml, and the per-portion red thresholds for large portions. Each light says low, medium or high in words. All values are made up for the example.
GOV.UK Design System: Radios with hint text, details. The traffic light label is not a GOV.UK component, so it is built from plain HTML and styled to the UK label.
You askedAdd choices of drinks
A drink question after every meal, with all the drinks that are safe for the patient's allergies. A No drink, thank you answer follows an or divider. Each drink has its own label.
GOV.UK Design System: Radios with a divider, question pages
You askedDocument this chat against the GOV.UK Design System
This page. Every future change goes in the change log below, so earlier decisions are not lost.