Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
d77f812
WIP item 15 arrival checklist lines
claude Nov 10, 2026
2b2e81a
Add interpreter, Aboriginal liaison and MHAS lines to the arrival che…
claude Nov 10, 2026
3af5f10
Show the under 18 on an adult ward notice (item 4, held)
claude Nov 11, 2026
7f2052c
Merge remote-tracking branch 'origin/main' into claude/project-thread…
claude Nov 11, 2026
2bf0183
Held batch checks: journey model for the new event, legal wording all…
claude Nov 11, 2026
41f0945
Raise five phone limits by about 1 KB for items 4 and 15
claude Nov 11, 2026
0c52613
Merge main into held arrival support and under 18 PR
claude Nov 11, 2026
c8b618b
Format files touched by the main merge
claude Nov 11, 2026
e0e6112
Refuse ED discharge notices and reset the under 18 form per stay
claude Nov 11, 2026
a6a1b3e
Address CodeRabbit review on held arrival support and under 18 PR
claude Nov 11, 2026
9b9ded4
Set four more phone limits from hosted CI's measurement
claude Nov 11, 2026
595171e
Merge remote-tracking branch 'origin/main' into claude/project-thread…
claude Nov 11, 2026
621bd4f
Raise four phone limits after merging main
claude Nov 11, 2026
f0a4a00
Under 18 notice: show nothing when the store has no day zero
claude Nov 11, 2026
8bf4e2c
Under 18 notice: read the age line from clinical values and raise by …
claude Nov 11, 2026
74d596b
Merge main into claude/project-thread-03eds3-clinical
claude Nov 11, 2026
5c1360e
Under 18 test: drop the source-text check the new ratchet bans
claude Nov 11, 2026
40d9a31
Merge main into the held clinical PR
claude Nov 11, 2026
81e2e47
Format the regenerated journey files
claude Nov 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 11 Nov 2026, Held arrival support lines and under 18 notice (items 4 and 15, held PR)

Changed on top of `main` at `5b08a5e`. Each raise is under 1 KB, within the 5 KB per-screen allowance in HOW-WE-WORK section 6:

| Screen | Old | New | Raise |
| --------------------------------------- | ----- | ----- | ----- |
| Referrals `/ward-flow/referrals` | 583.6 | 584.3 | 0.7 |
| ED `/ward-flow/ed` | 535.4 | 536.0 | 0.6 |
| Ward `/ward-flow/ward/rph-adult-secure` | 613.8 | 614.7 | 0.9 |
| Movement `/ward-flow/movements/WF-001` | 609.8 | 610.9 | 1.1 |
| Bed meeting `/ward-flow/bed-meeting` | 592.2 | 593.3 | 1.1 |

Measured on a local production build before merging `main`: referrals 583.7, ED 534.5, ward 613.5, movement 609.0, bed meeting 591.1, and each limit was then the measurement plus about 0.4. After merging `main` at `5b08a5e`, each limit is main's new limit plus the same raise, so it sits 0.6 to 2.2 KB above those older measurements. Hosted CI's build after the merge is the measurement that counts.

Hosted CI's build after the merge (e0e6112) measured home 575.6, referrals 583.8, ED 535.2, ward 614.0, movement 609.7, capacity 654.5, ED desk 667.0, bed meeting 592.1 and statistics 632.6. Home and capacity were 0.2 KB over main's limits, so four more limits are main's limit plus a small raise, each the CI measurement plus about 0.6 for the review fixes that followed:

| Screen | Main | New | Raise |
| ---------------------------------- | ----- | ----- | ----- |
| Home `/ward-flow` | 575.4 | 576.2 | 0.8 |
| Capacity `/ward-flow/capacity` | 654.3 | 655.1 | 0.8 |
| ED desk `/ward-flow/ed/arm-ed` | 667.4 | 667.6 | 0.2 |
| Statistics `/ward-flow/statistics` | 632.6 | 633.2 | 0.6 |

Hosted CI's build after merging `main` at `b393351` (9b9ded4 plus main) measured home 576.1, referrals 584.3, capacity 655.0 and statistics 633.1. Referrals hit its limit, and the other three sat 0.1 KB under theirs, so each is now the CI measurement plus about 0.5. Total raises on main's limits stay under 2 KB per screen:

| Screen | Main | New | Raise |
| ---------------------------------- | ----- | ----- | ----- |
| Home `/ward-flow` | 575.4 | 576.6 | 1.2 |
| Referrals `/ward-flow/referrals` | 583.6 | 584.8 | 1.2 |
| Capacity `/ward-flow/capacity` | 654.3 | 655.5 | 1.2 |
| Statistics `/ward-flow/statistics` | 632.6 | 633.6 | 1.0 |

After merging `main` at `35c7ccd`, which raised five of these screens by 0.3 to 0.4 KB, each limit is main's new limit plus this PR's same total raise (0.2 to 1.2 KB). No raise grew.

Why it changed: item 4 adds the `RECORD_CHIEF_PSYCHIATRIST_NOTIFIED` event, its storage check and history words to the shared engine, and item 15 adds the interpreter, Aboriginal liaison and advocate lines to the arrival checklist.

Trim tried: the new event lives in its own small file and the notice renders only inside the bed drawer. No other safe trim was found.
1 change: 1 addition & 0 deletions docs/ward-flow/code-map/engine.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ fails when a `ward-flow-*-events.ts` file is missing from this list.
| `ward-flow-review-ready-events.ts` | `reduceReviewReadyEvent` | `REQUEST_PSYCH_REVIEW`, `RECORD_PSYCH_REVIEW_SEEN`, `MARK_WARD_READY_FOR_NEXT` (9 Nov 2026; the reducer imports it directly) |
| `ward-flow-restrictive-practice-events.ts` | `reduceRestrictivePracticeEvent` | restrictive practice start and end, ward incidents, seclusion room status |
| `ward-flow-transport-events.ts` | `reduceTransportEvent` | booking, accepting, en route, collected, arrived, handover ready, arrival details, lateness, stop and cancel |
| `ward-flow-under-18-events.ts` | `reduceChiefPsychiatristNotified` | `RECORD_CHIEF_PSYCHIATRIST_NOTIFIED` (item 4: when the Chief Psychiatrist was notified, under 18 on an adult ward) |
| `ward-flow-undo-events.ts` | `reduceUndoEvent` | the `UNDO_*` events other than `UNDO_AUDIT_REVIEW` |
| `ward-flow-ward-closure-events.ts` | `reduceWardClosureEvent` | `CLOSE_WARD_TO_ADMISSIONS`, `REOPEN_WARD_TO_ADMISSIONS` |
| `ward-flow-weekend-review-events.ts` | `reduceWeekendDischargeReview` | `MARK_WEEKEND_DISCHARGE_REVIEWED` (the weekend discharge review tick) |
Expand Down
Loading
Loading