"""Design patterns and overlaps for the screen inventory. HAND-AUTHORED: edit this file, then run build_screens.py.

Every screen in section 6.2 of the domain specifications belongs to exactly one pattern here;
build_screens.py fails if one is missing, duplicated or unknown.

PATTERNS: id, title, note (what to design once for the whole pattern), ids ('<DOMAIN ABBREV>-<NNN>', expanded to UI-<ABBREV>-<NNN>)
OVERLAPS: title, ids, action, resolved (the OV-nn resolution, when there is one) and doc (the design page that holds it; a file name in docs/design/design-readiness/; default first-batch-design-readiness.md). Screens in different specifications that show the same thing and need one shared design.
FORM:     form factor overrides; the default is 'Workstation' ('Component' for pattern P01, 'Patient web and mobile' for P13)
"""

PATTERNS = [
    dict(id='P01', title='Shell and shared components',
         note='Design first. These appear inside other screens: the patient identity zone (SAFE-002), sign-on, emergency access, consent, alerts, tasks and status indicators. Every later screen inherits them.',
         ids='CLI-019, ESS-001, ESS-004, ESS-006, ESS-010, CLI-015, ISE-012, ANL-002, ANL-013, HIM-004, PEX-014, EBP-007, EBP-009, ANC-014'),
    dict(id='P02', title='Patient record workspaces',
         note='Screens centred on one patient or encounter, inside the patient context zone. Share layout, save, draft and sign states, and navigation between record views.',
         ids='CLI-001, CLI-002, CLI-003, CLI-004, CLI-008, CLI-010, CLI-017, CLI-007, ADM-009, ADM-003, EBP-008, HIM-006, FIN-001, ANC-013'),
    dict(id='P03', title='Charting grids and time-axis records',
         note='Dense time-based grids. Share the time axis, cell entry, trend display, units and correction behaviour.',
         ids='CLI-005, CLI-013, ANC-010, ANC-011, ANC-012'),
    dict(id='P04', title='Bedside scan-and-verify',
         note='Guided scan sequences on handheld devices with a hard stop on mismatch. Share the scan step, mismatch stop state, override capture and the commit-state indicator.',
         ids='CLI-014, ANC-002, ANC-007, ANC-009'),
    dict(id='P05', title='Front-desk and transaction workspaces',
         note='High-volume desks where one transaction is completed per visitor or item: search, form, confirm, print. Share search, duplicate prompts, form validation and print actions.',
         ids='ADM-001, ADM-005, ADM-007, FIN-004, FIN-005, FIN-007, FIN-012, FIN-013, FIN-014, FIN-015, FIN-016, HIM-005, HIM-010, PEX-015, CLI-012'),
    dict(id='P06', title='Worklists and departmental workbenches',
         note='A prioritized queue plus a work area for the selected item. Share queue columns, ageing, assignment, filters and the queue-to-item layout.',
         ids='ADM-002, ADM-006, CLI-006, CLI-009, CLI-011, ANC-001, ANC-003, ANC-005, ANC-006, ANC-015, ANC-016, HIM-001, HIM-002, HIM-003, HIM-008, FIN-002, FIN-006, FIN-008, PEX-013, EBP-005, EBP-010, ANL-009, ANL-011'),
    dict(id='P07', title='Flow boards and wall displays',
         note='Shared at-a-glance views of patient flow. Share status colours, privacy rules for public display, and refresh and staleness indicators.',
         ids='ADM-004, ADM-008, ADM-012, ANC-008'),
    dict(id='P08', title='Reconciliation and exception consoles',
         note='Lists of things that did not match or complete, with a resolve action. Share the exception row, cause, ageing, resolve and replay actions, and the completeness indicator.',
         ids='ADM-010, ISE-001, CLI-018, ANC-004, FIN-009, FIN-010, FIN-017, FIN-018, EBP-014, ESS-009'),
    dict(id='P09', title='Dashboards and reports',
         note='Read-only views of measures. Share the status banner (UI-ANL-002), filters, drill-down, and how definitions and data freshness are shown.',
         ids='ANL-001, ANL-003, ANL-004, ANL-005, ANL-014, EBP-011, ISE-005'),
    dict(id='P10', title='Audit, review and oversight',
         note='Search and review of what happened, for privacy, security and legal roles. Share the query form, evidence view and review-outcome capture.',
         ids='ESS-005, ESS-008, HIM-009, HIM-011, HIM-012, EBP-013, ISE-006'),
    dict(id='P11', title='Authoring, configuration and governed content',
         note='Versioned content with a draft, validate, approve, publish and retire lifecycle. Share the version list, comparison, simulation or test step, approval and publication.',
         ids='ADM-011, CLI-016, CLI-020, FIN-003, FIN-011, HIM-007, PEX-016, ANL-007, ANL-008, ANL-010, ANL-012, EBP-001, EBP-002, EBP-003, EBP-004, EBP-006, EBP-012, ESS-002, ESS-003, ESS-007, ESS-011, ESS-012'),
    dict(id='P12', title='Platform operations consoles',
         note='Technical consoles for platform, integration and security engineers. Lower design priority; may be met partly by the selected tools\' own interfaces (decision register, Tech stack sheet).',
         ids='ISE-002, ISE-003, ISE-004, ISE-007, ISE-008, ISE-009, ISE-010, ISE-011, ANL-006'),
    dict(id='P13', title='Patient portal',
         note='Patient-facing, responsive, plain-language screens with their own shell and navigation. Form depends on DEC-PEX-008.',
         ids='PEX-001, PEX-002, PEX-003, PEX-004, PEX-005, PEX-006, PEX-007, PEX-008, PEX-009, PEX-010, PEX-011, PEX-012'),
]

OVERLAPS = [
    dict(title='Task lists and inboxes', resolved='OV-01', ids='ESS-010, CLI-006, HIM-001, PEX-013',
         action='Design one task and notification component (UI-ESS-010); the nursing worklist, HIM queues and engagement inbox are views of it with role-specific columns.'),
    dict(title='Handover', resolved='OV-02', ids='ADM-009, CLI-007',
         action='Two specifications describe handover: at transfer (Domain 1) and SBAR (Domain 3). Design one handover form used in both places.'),
    dict(title='Flowsheets', resolved='OV-03', doc='second-batch-design-readiness.md', ids='CLI-005, ANC-012, ANC-011',
         action='The ICU flowsheet and recovery charting are higher-frequency versions of the observation flowsheet. Design one grid with density settings.'),
    dict(title='Flow boards', resolved='OV-04', ids='ADM-004, ADM-008, ADM-012, ANC-008',
         action='Bed board, emergency board, ward and clinic boards and the theatre board share one board component and one status colour scheme.'),
    dict(title='Bedside scanning', resolved='OV-05', doc='third-batch-design-readiness.md', ids='CLI-014, ANC-002, ANC-007, ISE-012',
         action='One scan-and-verify sequence, owned by Domain 3 on UI-CLI-014 and configured by Domain 4 for specimens, blood and milk, with the commit-state indicator. A mismatch is a hard stop; offline recording is not available in release 1.'),
    dict(title='Stale orders and unmatched results', resolved='OV-06', doc='second-batch-design-readiness.md', ids='CLI-009, ANC-004',
         action='The ordering side and the performing side each list stale orders. Agree which screen owns resolution and make the other a filtered view.'),
    dict(title='Critical results', resolved='OV-07', doc='second-batch-design-readiness.md', ids='ANC-003, CLI-017',
         action='The laboratory tracks acknowledgement and the clinician acknowledges. Design the two sides of one critical-result case together.'),
    dict(title='Release to patient', resolved='OV-08', doc='second-batch-design-readiness.md', ids='PEX-014, CLI-017, CLI-003, PEX-004, PEX-005',
         action='The clinician release panel is embedded in the result view and documentation editor, and controls what the portal shows. Design the three together.'),
    dict(title='Consent', resolved='OV-09', ids='ESS-006, PEX-010, ADM-001',
         action='Staff record directives in the shared panel (started from registration); patients review them in the portal. Both show the same directive model.'),
    dict(title='Eligibility at registration', resolved='OV-10', ids='FIN-007, ADM-001',
         action='The coverage workspace has an embedded panel for the registration clerk. Design that panel as part of the registration workspace.'),
    dict(title='Deficiencies in the clinician workspace', resolved='OV-11', doc='second-batch-design-readiness.md', ids='HIM-004, CLI-001, HIM-003',
         action='The clinician deficiency list is embedded in the Domain 3 workspace and mirrors the HIM worklist. Design the embedded list with the chart.'),
    dict(title='Pathway performance', resolved='OV-12', doc='fifth-batch-design-readiness.md', ids='EBP-011, ANL-003',
         action='One measure view owned by Domain 8 on UI-ANL-003. UI-EBP-011 is its pathway view, opened from the Domain 9 pathway screens. Domain 9 defines measures and cohorts and records the governance review.'),
    dict(title='Pathway in the chart', resolved='OV-13', doc='second-batch-design-readiness.md', ids='EBP-007, EBP-008, EBP-009, CLI-001, CLI-008',
         action='The activation panel, pathway timeline and exception dialog appear inside the clinical chart and order entry. Design them in that context.'),
    dict(title='Patient access report', resolved='OV-14', ids='HIM-012, ESS-008',
         action='Both specifications describe a report of who accessed a record. Design one report on the audit workspace, opened from HIM.'),
    dict(title='API catalogue', resolved='OV-15', ids='ISE-003, ESS-012',
         action='Listed in both Domain 2 and the Domain 10 governance registers. Build one catalogue.'),
    dict(title='Stewardship queues', resolved='OV-16', ids='ADM-002, ESS-007, ANL-009',
         action='Identity, master-data and data-quality stewardship all compare records and resolve items. Share the comparison and resolution layout.'),
    dict(title='Downtime', resolved='OV-17', ids='ISE-010, CLI-018, FIN-018',
         action='The command console declares downtime; clinical and financial screens reconcile after it. Design the downtime state and banner once.'),
    dict(title='Versioned content lifecycle', resolved='OV-18', ids='FIN-003, EBP-004, EBP-005, EBP-006, CLI-016, CLI-020, ESS-011, ANL-010, HIM-007',
         action='Tariffs, pathways, decision-support rules, templates, configuration, metric definitions and retention rules all follow draft, validate, approve, publish. Design one lifecycle pattern.'),
    dict(title='Architecture decision register', resolved='OV-19', ids='ESS-012, ISE-011',
         action='Both the Domain 10 governance registers and the Domain 2 vulnerability and dependency console list a register of architecture decision records. Keep one register on UI-ESS-012 and link to it from UI-ISE-011.'),
    dict(title='Second-person authorization', resolved='OV-20', ids='ADM-004, ADM-005, ADM-006, ADM-007, ESS-001',
         action='Overrides and overbooking need a supervisor to approve in place. Use one authorization control in the step-up dialog.'),
    dict(title='Bed selection', resolved='OV-21', ids='ADM-004, ADM-003, ADM-009',
         action='Admission, return from leave and transfer all pick a bed. Use the one eligible bed finder of the bed board.'),
    dict(title='Admission request', resolved='OV-22', ids='ADM-003, ADM-008, ADM-004',
         action='The request is raised, queued and tracked on three screens. Keep one form and tracker on the encounter and ADT console.'),
    dict(title='Ward board and bed board', resolved='OV-23', ids='ADM-012, ADM-004',
         action='The same ward by patient and by bed. Design one ward screen with a layout switch.'),
    dict(title='Dialog frame', resolved='OV-24', ids='ESS-001, ESS-004',
         action='Step-up, Break-the-Glass and confirmation dialogs share one frame.'),
    dict(title='Decision registers', resolved='OV-25', ids='ESS-012',
         action='The governance decision log and the architecture decision register have nearly the same fields. Use one register layout on UI-ESS-012.'),
    dict(title='Where governed content is edited', resolved='OV-26', ids='ESS-011, ESS-003, ESS-002, ADM-011',
         action='Content is authored on its specialist screen with the lifecycle pattern embedded; the configuration workspace lists all versions.'),
    dict(title='Security and access review', resolved='OV-27', ids='ESS-005, ESS-008, ISE-006, ISE-008, ESS-002',
         action='Emergency access, security alerts, audit evidence and rotation status each have one owning screen; the others link to it.'),
    dict(title='Operations indicators', resolved='OV-28', ids='ISE-005, ISE-007, ISE-009, ISE-010, ISE-011, ISE-004',
         action='Backup, change failure, vulnerability and service-state figures appear on several consoles. Each has one source screen; the others show a linked tile.'),
    dict(title='Restoration validation', resolved='OV-29', ids='ISE-009, ISE-010',
         action='Validation of a restored service is recorded on the backup and recovery console; the downtime console shows its status.'),
    dict(title='Record filter bar and timeline row', resolved='OV-30', doc='second-batch-design-readiness.md', ids='CLI-001, CLI-002, HIM-006',
         action='One filter bar (date range, encounter, type, author, status) and one timeline item row, with the item state at the end. The record views and the document history configure them; none has its own filter or row design.'),
    dict(title='Trend graph', resolved='OV-31', doc='second-batch-design-readiness.md', ids='CLI-005, CLI-017, CLI-001',
         action='One trend graph, part of the time-axis component of OV-03. Units are never mixed on one axis without a governed conversion. UI-CLI-017 configures it for results; the chart\'s observations panel shows a small version that opens UI-CLI-005.'),
    dict(title='Problem and allergy rows', resolved='OV-32', doc='second-batch-design-readiness.md', ids='CLI-004, CLI-002, CLI-001, CLI-007, CLI-019',
         action='One row design for problems, diagnoses and allergies, used in the record views\' problem headers, the chart panel and the handover\'s background section. "Open allergy and risk detail" in the patient context zone opens UI-CLI-004; there is no popover of its own.'),
    dict(title='Compare-and-decide row for imported items', resolved='OV-33', doc='second-batch-design-readiness.md', ids='CLI-004, CLI-010',
         action='One side-by-side row (local and imported, with source and date) with Accept, Reject and Defer. Medication reconciliation in stage 4 reuses it. Uses the compare-and-resolve detail of OV-16.'),
    dict(title='Escalation timeline', resolved='OV-34', doc='second-batch-design-readiness.md', ids='CLI-005, CLI-007, CLI-006',
         action='One timeline (raised, notified, acknowledged, escalated, closed) with the same words for deterioration, unacknowledged handover, overdue task and critical result. Each escalation is also a task in the work list (OV-01). "Acknowledge escalation" stops further escalation; it does not close the task or handover.'),
    dict(title='Pending-work list', resolved='OV-35', doc='second-batch-design-readiness.md', ids='CLI-007, CLI-001',
         action='The handover\'s "Pending work" reuses the rows of the chart\'s orders, results and tasks panels; it has no row design of its own.'),
    dict(title='Assessment form rendering', resolved='OV-36', doc='second-batch-design-readiness.md', ids='CLI-005, CLI-003',
         action='Assessments are templates (FR-CLI-DOC-001), so the observation chart embeds the documentation editor\'s form renderer in its side panel rather than building one.'),
    dict(title='Unit view of unacknowledged handovers', resolved='OV-37', doc='second-batch-design-readiness.md', ids='CLI-006, CLI-007, ADM-012',
         action='The charge nurse\'s unit view is a work-list configuration on UI-CLI-006; a row opens UI-CLI-007 for that patient. UI-CLI-007 stays per patient; the ward board shows only a flag.'),
    dict(title='Placer-side unmatched items', resolved='OV-38', doc='second-batch-design-readiness.md', ids='CLI-009, CLI-017, ANC-004',
         action='UI-ANC-004 owns resolution of every unmatched result and status event (OV-06). The Domain 3 requirements that give it its own queue (FR-CLI-RSP-001 part 6.7, FR-CLI-ORD-003 part 6.5) are amended to match. In stage 3 the simulator\'s unmatched events show as integration exceptions on UI-ISE-001. No unmatched view is designed on UI-CLI-009.'),
    dict(title='Care task states in the work list', resolved='OV-39', doc='second-batch-design-readiness.md', ids='CLI-006, ESS-010',
         action='For items it reads from another domain (DEC-CLI-007), the work list shows the owning domain\'s states, not its own. Scheduled, Due and "Overdue · escalated" are added to the glossary. The nursing configuration offers no "Mark task complete" and no "Change priority" in the list; tasks are completed where the work is recorded.'),
    dict(title='Default sort of the work list', resolved='OV-40', doc='second-batch-design-readiness.md', ids='ESS-010, CLI-006',
         action='A configuration may set the default sort to due time where a requirement asks for time sequence (FR-CLI-CAR-002 part 6.2). Escalated and overdue critical rows stay at the top (BR-CLI-033).'),
    dict(title='Clinical content types under OV-26', resolved='OV-41', doc='second-batch-design-readiness.md', ids='CLI-020, ESS-011',
         action='Following OV-26, UI-CLI-020 is the specialist screen for templates, order sets, catalogue entries, scoring rules and the flowsheet layout of OV-03. Parameters (CFG-CLI-022, -025, -026, -027) stay on UI-ESS-011.'),
    dict(title='CDS override analytics', resolved='OV-42', doc='second-batch-design-readiness.md', ids='CLI-016, ANL-003',
         action='As in OV-28: UI-CLI-016 shows override rates only for the rule under review. Category-level appropriateness and actionability (REP-CLI-007) are shown only in Domain 8, which links back to the rule.'),
    dict(title='Suspend, retire and roll back', resolved='OV-43', doc='second-batch-design-readiness.md', ids='EBP-006, EBP-012',
         action='UI-EBP-012 only starts the action, by opening UI-EBP-006 with the version in context. The confirmation summary, the count of affected pathway instances and the sign step exist only on UI-EBP-006.'),
    dict(title='Promotion of clinical content', resolved='OV-44', doc='second-batch-design-readiness.md', ids='EBP-006, ISE-007',
         action='The content publisher runs the release checks and presses "Promote to production" on UI-EBP-006. UI-ISE-007 lists content promotions read-only in its history and asks for no second "Approve promotion"; clinical approval is on UI-EBP-005.'),
    dict(title='Mapping exceptions', resolved='OV-45', doc='second-batch-design-readiness.md', ids='EBP-003, ESS-007',
         action='Exceptions in guideline and pathway mappings are resolved only on UI-EBP-003. The Domain 10 stewardship queue shows them as rows that open UI-EBP-003. Both use the work list (OV-01) and the compare-and-resolve detail (OV-16).'),
    dict(title='Published concept maps', resolved='OV-46', doc='second-batch-design-readiness.md', ids='EBP-003, ESS-007',
         action='As in OV-26: guideline and pathway mapping sets are authored only on UI-EBP-003. They are stored as concept maps in the terminology service (DEC-ESS-020); UI-ESS-007 shows them read-only with a link.'),
    dict(title='Deficiencies and pending work', resolved='OV-47', doc='second-batch-design-readiness.md', ids='HIM-004, CLI-001',
         action='Pending work (Domain 3) lists drafts, "Saved · not signed" items and items awaiting a certified signature (PH-03). UI-HIM-004 lists only HIM deficiencies. An item that is both appears once, as a deficiency, with a pending-work marker. Drafts never go to HIM.'),
    dict(title='Version and amendment history', resolved='OV-48', doc='second-batch-design-readiness.md', ids='HIM-006, CLI-001, CLI-002, CLI-003',
         action='One version-history panel, owned by Domain 6 on UI-HIM-006. The chart\'s "View original and amendment" opens it in a clinical configuration that hides the HIM-only tabs (provenance, index changes, lock snapshots).'),
    dict(title='Record component list', resolved='OV-49', doc='second-batch-design-readiness.md', ids='HIM-006, HIM-003',
         action='UI-HIM-006 owns the component list. The chart completion screen shows a summary and the post-lock changes, and links there.'),
    dict(title='Diagnostic report editor', resolved='OV-50', doc='third-batch-design-readiness.md', ids='ANC-005, ANC-015',
         action='One report editor: sections, templates and dictation, draft, sign, preliminary release, addendum or supplementary report, correction and critical-finding flag. Pathology configures its own sections.'),
    dict(title='Correcting a released result', resolved='OV-51', doc='third-batch-design-readiness.md', ids='ANC-001, ANC-005, ANC-015, CLI-017',
         action='One correct-or-withdraw dialog with reason and confirmation summary. The version list is the version-history panel of OV-48 in a result configuration.'),
    dict(title='Custody timeline', resolved='OV-52', doc='third-batch-design-readiness.md', ids='ANC-001, ANC-006, ANC-015',
         action='One append-only custody timeline for specimens, blood units, blocks and slides, and human milk containers.'),
    dict(title='Unmatched imaging studies', resolved='OV-53', doc='third-batch-design-readiness.md', ids='ANC-005, ANC-004',
         action='UI-ANC-004 resolves unmatched and emergency studies. UI-ANC-005 shows only "Awaiting reconciliation" with a link.'),
    dict(title='Overdue and stale work', resolved='OV-54', doc='third-batch-design-readiness.md', ids='ANC-001, ANC-005, ANC-016, ANC-004',
         action='Workbenches mark a row overdue against their stage timers (CFG-ANC-001). UI-ANC-004 lists only items past the stale age (CFG-ANC-003). Both use the same words.'),
    dict(title='Unmapped instrument codes and invalid units', resolved='OV-55', doc='third-batch-design-readiness.md', ids='ANC-004, ESS-007',
         action='Mappings are fixed only on UI-ESS-007, as in OV-26 and OV-45. Results held for them stay on UI-ANC-004 until reprocessed.'),
    dict(title='Quarantined and unmatched messages', resolved='OV-56', doc='third-batch-design-readiness.md', ids='ANC-004, ISE-001, EBP-014',
         action='Malformed messages and transport faults stay on UI-ISE-001. Business-unmatched items go to the owning domain\'s queue. Replay is requested from that queue, which opens the UI-ISE-001 replay dialog with the scope filled in; Domain 2 runs it and records the reason.'),
    dict(title='Intake of service requests and referrals', resolved='OV-57', doc='third-batch-design-readiness.md', ids='ANC-016, ANC-013',
         action='UI-ANC-016 owns acknowledge, accept, decline and reassign for every procedure, consultation and therapy request. UI-ANC-013 opens from an accepted therapy referral for the plan and sessions.'),
    dict(title='Implant entry row', resolved='OV-58', doc='third-batch-design-readiness.md', ids='ANC-010, ANC-016',
         action='One implant row: product identifier, lot or serial, expiry, site, expiry or recall warning. Implants recorded outside theatre reuse it unchanged.'),
    dict(title='Downtime entry for Domain 4 records', resolved='OV-59', doc='third-batch-design-readiness.md', ids='CLI-018',
         action='Entries are made on each owning workbench with the "Downtime" tag, reusing the entry pattern of UI-CLI-018. Their reconciliation is a work-list configuration on UI-ANC-004.'),
    dict(title='Blood unit fate and the custody report', resolved='OV-60', doc='third-batch-design-readiness.md', ids='ANC-006, FIN-017, FIN-018',
         action='UI-ANC-006 owns follow-up of each unit\'s fate. The reconciliation report of DEC-ANC-005 is a read-only view on UI-FIN-017 that shows only differences, open to blood bank and perioperative roles, and links to the unit on UI-ANC-006.'),
    dict(title='Urgency changed by the laboratory', resolved='OV-61', doc='third-batch-design-readiness.md', ids='ANC-001, CLI-009',
         action='A laboratory change of urgency is recorded in Domain 4 and published as a status event. UI-CLI-009 shows it read-only as "Urgency changed by laboratory".'),
    dict(title='Theatre sequencing', resolved='OV-62', doc='third-batch-design-readiness.md', ids='ANC-008',
         action='Cases are sequenced only in the List view of UI-ANC-008, with a reason. The board stays read-only, as in OV-04.'),
    dict(title='Counts and sign-out', resolved='OV-63', doc='third-batch-design-readiness.md', ids='ANC-010, ANC-009',
         action='Counts are recorded and reconciled on UI-ANC-010. The sign-out phase of UI-ANC-009 reads the count status and links to it.'),
    dict(title='Postoperative handoff', resolved='OV-64', doc='third-batch-design-readiness.md', ids='ANC-011, CLI-007, ADM-009',
         action='One Domain 3 handover of type transfer, filled in from the recovery record and acknowledged on UI-CLI-007 with the OV-02 control. EVT-ANC-026 follows EVT-CLI-011; it is not a second acknowledgement.'),
    dict(title='More configurations of the scan sequence', resolved='OV-65', doc='third-batch-design-readiness.md', ids='ANC-010, ANC-012, CLI-012, FIN-012, FIN-013, FIN-015, FIN-016',
         action='The OV-05 component gains three configurations: medication in theatre and ICU (workstation, patient identified by the case), intra-operative specimens (workstation), and stores product scan (no patient step). All share one message set. A stores rejection is amber, because no patient is at risk; at the point of use it is the red hard stop.'),
    dict(title='Clinical forms', resolved='OV-66', doc='third-batch-design-readiness.md', ids='ANC-010, ANC-013, CLI-003',
         action='Operative notes and therapy assessment and session records embed the form renderer of UI-CLI-003, extending OV-36.'),
    dict(title='Device association', resolved='OV-67', doc='third-batch-design-readiness.md', ids='ANC-014, ANC-010, ANC-011, ANC-012',
         action='UI-ANC-012, UI-ANC-010 and UI-ANC-011 embed the UI-ANC-014 panel; none designs its own device bar.'),
    dict(title='Recovery score', resolved='OV-68', doc='third-batch-design-readiness.md', ids='ANC-011, CLI-005',
         action='The recovery score is the calculated row of the time-axis component of OV-03, configured; it has no row design of its own.'),
    dict(title='Held device data and device faults', resolved='OV-69', doc='third-batch-design-readiness.md', ids='ANC-014, ISE-001, ISE-005, ESS-007',
         action='Held data and faults are a work-list configuration on the clinical engineering form of UI-ANC-014. Unmapped metrics go to the steward queue of UI-ESS-007. Domain 2 shows only gateway health.'),
    dict(title='Pharmacy stock reconciliation', resolved='OV-70', doc='third-batch-design-readiness.md', ids='FIN-017, CLI-012, FIN-018',
         action='UI-FIN-017 is the one console for pending stock postings and controlled-substance discrepancies. A discrepancy is one item per item, location and period, with the states Open, Under review and Resolved with reason, in the compare-and-resolve layout of OV-16. UI-CLI-012 shows "Stock posting pending" per dispense with a link; UI-FIN-018 shows counts that link there. The controlled-substance transaction record stays in Domain 3.'),
    dict(title='Product attributes of medication items', resolved='OV-71', doc='third-batch-design-readiness.md', ids='FIN-011, CLI-020, ESS-007',
         action='As in OV-26: for medication items, UI-FIN-011 shows the controlled-substance flag and product attributes read-only from the linked product, and authors only stock-control attributes.'),
    dict(title='Stock availability indicator', resolved='OV-72', doc='third-batch-design-readiness.md', ids='CLI-011, CLI-012, FIN-014, FIN-016',
         action='One indicator: quantity, "As at [time]", the stale words and "Stock not confirmed" (PH-12), built once and reused.'),
    dict(title='Returns', resolved='OV-73', doc='third-batch-design-readiness.md', ids='CLI-012, FIN-016',
         action='Returns of medication dispensed to a patient go through UI-CLI-012 and post to Domain 5. UI-FIN-016 returns only ward stock that was not dispensed to a patient.'),
    dict(title='Pathway escalations', resolved='OV-74', doc='third-batch-design-readiness.md', ids='EBP-010, CLI-006, ESS-010',
         action='UI-EBP-010 is the one work-list configuration, with the OV-34 timeline in its item detail. The charge nurse\'s panel on UI-CLI-006 embeds it; the notification on UI-ESS-010 links to it.'),
    dict(title='eMAR grid', resolved='OV-75', doc='third-batch-design-readiness.md', ids='CLI-013, CLI-005, ANC-010, ANC-012',
         action='The eMAR is a configuration of the OV-03 time-axis component: doses as cells, infusions as bars, the same column headers, current-time marker and overdue marker. Domain 4 views show eMAR records by reference; a correction is made in the screen where the dose was recorded.'),
    dict(title='Discharge medication reconciliation check', resolved='OV-76', doc='third-batch-design-readiness.md', ids='CLI-010, ADM-003',
         action='The Domain 1 discharge confirmation shows the Domain 3 check (CFG-CLI-013) and asks for the override reason. UI-CLI-010 shows only the status.'),
    dict(title='Coordination exceptions of pathways', resolved='OV-77', doc='third-batch-design-readiness.md', ids='EBP-014, ESS-010',
         action='UI-EBP-014 is the one queue for pathway coordination exceptions; no action on it creates a clinical record. An exception with no resolved recipient (PR-EXC003-3) is also listed there.'),
    dict(title='Contact points', resolved='OV-78', doc='fourth-batch-design-readiness.md', ids='PEX-010, PEX-011',
         action='UI-PEX-010 adds, verifies and removes contact points (FR-PEX-PRF-002). UI-PEX-011 shows them read-only as recovery targets, with a link.'),
    dict(title='Correction request intake', resolved='OV-79', doc='fourth-batch-design-readiness.md', ids='PEX-012, HIM-010, ESS-006',
         action='The portal correction request is the one patient-facing object, routed under FR-PEX-PRO-002 (DEC-HIM-007). It is registered in Domain 10 as a data-subject request by reference, with no second form, only where the jurisdiction profile makes correction a statutory right.'),
    dict(title='Confirming attendance', resolved='OV-80', doc='fourth-batch-design-readiness.md', ids='PEX-002, PEX-003',
         action='One confirm action, owned by UI-PEX-003; Home calls it.'),
    dict(title='Columns of the access report', resolved='OV-81', doc='fourth-batch-design-readiness.md', ids='HIM-012, ESS-008',
         action='Amends OV-14: view 2 of UI-ESS-008 gains action, resource, outcome, the "no care relationship" flag and their filters as an HIM configuration. One reason field serves as the purpose of query and the HIM reason list.'),
    dict(title='Incorporating patient-reported items', resolved='OV-82', doc='fourth-batch-design-readiness.md', ids='PEX-013, CLI-004, CLI-010',
         action='"Incorporate" in the inbox opens the Domain 3 screen with the item labelled Patient-reported in the compare-and-decide row of OV-33; the outcome returns to the inbox.'),
    dict(title='Clinical form authoring', resolved='OV-83', doc='fourth-batch-design-readiness.md', ids='PEX-016, CLI-020',
         action='Clinical form content is authored only on UI-CLI-020. UI-PEX-016 publishes it for patient use and adds the assignment rule, review route and threshold.'),
    dict(title='Engagement parameters', resolved='OV-84', doc='fourth-batch-design-readiness.md', ids='PEX-016, ESS-011',
         action='Under OV-26, UI-PEX-016 is the specialist screen for release rule sets, forms and routes, education, templates and triggers, reminders, requestable services and messaging settings. The other CFG-PEX parameters stay on UI-ESS-011.'),
    dict(title='Per-patient lines of statutory disclosures', resolved='OV-85', doc='fourth-batch-design-readiness.md', ids='HIM-011, ISE-001',
         action='UI-HIM-011 shows the per-patient lines of statutory classes itself: SATUSEHAT lines from the submission record of FR-HIM-ROI-005, other classes from the integration audit trail. Privacy users are not sent to UI-ISE-001.'),
    dict(title='Where the engagement inbox appears', resolved='OV-86', doc='fourth-batch-design-readiness.md', ids='PEX-013',
         action='The inbox is placed in the W09 and W11 workspace homes as well as W01, for scheduling and billing pools (application shell).'),
    dict(title='Eligibility status words', resolved='OV-87', doc='fourth-batch-design-readiness.md', ids='FIN-007, ADM-001',
         action='Amends OV-10: one set of verification states owned by Domain 5 (section 4.3: Recorded, Pending verification, Verified, Not eligible, Inactive, plus "Old · [date]"); the registration section maps its words from it.'),
    dict(title='Guarantee letters', resolved='OV-88', doc='fourth-batch-design-readiness.md', ids='FIN-007, FIN-005',
         action='The letter is recorded once, as coverage and authorization evidence on UI-FIN-007. The cashier\'s "guarantee letter" method shows that payer share and points to it; it never posts money.'),
    dict(title='Approvals of money-reducing requests', resolved='OV-89', doc='fourth-batch-design-readiness.md', ids='FIN-006, FIN-003, FIN-005, FIN-008, FIN-010',
         action='UI-FIN-006 is the one queue for refunds, discounts, manual charges, contractual adjustments, claim write-offs and cashier session variances. Tariff versions and account mappings are approved on their own screens on the OV-18 lifecycle. Requesting screens show "Awaiting approval" with a link.'),
    dict(title='Charge exceptions', resolved='OV-90', doc='fourth-batch-design-readiness.md', ids='FIN-002, FIN-018, ISE-001',
         action='UI-FIN-002 works charge exceptions; UI-FIN-018 counts them and drills down. An event that failed validation is read-only on UI-FIN-002 and replayed on UI-ISE-001, as in OV-56.'),
    dict(title='Reversal, adjustment and credit', resolved='OV-91', doc='fourth-batch-design-readiness.md', ids='FIN-001, FIN-002, FIN-004',
         action='One "Request reversal / Request adjustment" dialog on UI-FIN-001 and UI-FIN-002. "Generate invoice" on UI-FIN-001 opens UI-FIN-004; credit notes are made only on UI-FIN-004.'),
    dict(title='Remittance remainder and claim closure', resolved='OV-92', doc='fourth-batch-design-readiness.md', ids='FIN-009, FIN-008, FIN-006',
         action='UI-FIN-009 posts the payment and moves the remainder. Closing an unpaid remainder is requested on UI-FIN-008 and approved on UI-FIN-006.'),
    dict(title='Governed financial mappings', resolved='OV-93', doc='fourth-batch-design-readiness.md', ids='FIN-010, FIN-003, ESS-011',
         action='Under OV-26, account mappings (CFG-FIN-013) are edited on UI-FIN-010 and the event-to-service mapping (CFG-FIN-001) on UI-FIN-003. UI-ESS-011 lists them.'),
    dict(title='Dashboard status banner', resolved='OV-94', doc='fourth-batch-design-readiness.md', ids='ANL-002, ISE-005',
         action='One banner component drawn by the shell around both dashboard tools, with the words of CUX-53 and optional slots for quality, reconciliation, withheld refresh, restatement, cutoff and definition version (FR-ANL-OPS-004).'),
    dict(title='Financial event reconciliation', resolved='OV-95', doc='fourth-batch-design-readiness.md', ids='ANL-004, FIN-018, ANL-010',
         action='UI-FIN-018 owns the list of unaccounted events and the work on it. UI-ANL-004 and the scorecard show the rate as a linked tile, as in OV-28, with one definition on UI-ANL-010.'),
    dict(title='Analytics replay', resolved='OV-96', doc='fourth-batch-design-readiness.md', ids='ANL-006, ANL-009, ISE-001',
         action='One replay request form on UI-ANL-006; UI-ANL-009 opens it with the scope filled in. Analytics replay stays separate from message replay on UI-ISE-001.'),
    dict(title='Kinds of quarantine', resolved='OV-97', doc='fourth-batch-design-readiness.md', ids='ANL-006, ANL-009, ISE-001',
         action='Batches are quarantined on UI-ANL-006, records on UI-ANL-009 and transport faults on UI-ISE-001 (OV-56). Each screen links to the others.'),
    dict(title='Feed contracts', resolved='OV-98', doc='fourth-batch-design-readiness.md', ids='ANL-006, ISE-002, ISE-003',
         action='A feed refers to its contract in the one catalogue of OV-15 and never copies it. The Domain 2 approval arrives as a work-list task.'),
    dict(title='Pipeline run status', resolved='OV-99', doc='fourth-batch-design-readiness.md', ids='ANL-006, ISE-005',
         action='UI-ANL-006 is the source of pipeline status. UI-ISE-005 shows the analytics service as a linked tile.'),
    dict(title='Impact analysis and lineage summary', resolved='OV-100', doc='fourth-batch-design-readiness.md', ids='ANL-008, ANL-010, ANL-001',
         action='UI-ANL-008 owns impact analysis and the lineage summary. The dependents list of UI-ANL-010 and "Open lineage" on every figure use its query and summary panel.'),
    dict(title='Data product settings', resolved='OV-101', doc='fourth-batch-design-readiness.md', ids='ANL-007, ESS-011, ESS-003',
         action='Under OV-26, product thresholds and settings are authored on UI-ANL-007 and listed on UI-ESS-011; access policies stay on UI-ESS-003.'),
    dict(title='Utilization figures', resolved='OV-102', doc='fourth-batch-design-readiness.md', ids='ANL-005, ADM-004, ANC-008',
         action='Bed occupancy (KPI-ADM-006) and theatre utilization (KPI-ANC-011) each have one registry definition. UI-ANL-005 shows trends and links to UI-ADM-004 and UI-ANC-008 for the current state (DEC-ANL-011).'),
    dict(title='Governance review of a pathway', resolved='OV-103', doc='fifth-batch-design-readiness.md', ids='EBP-011, EBP-012',
         action='One Domain 9 review form, reached by "Record review" from the pathway view. UI-EBP-012 lists the review records and opens the same form. A review can be recorded while the Domain 8 dashboards are down (FR-EBP-OUT-003).'),
    dict(title='Pathway indicators', resolved='OV-104', doc='fifth-batch-design-readiness.md', ids='EBP-012, ANL-003',
         action='Rates such as eligibility, activation and exceptions are computed once and shown on UI-ANL-003; UI-EBP-012 shows them as linked tiles opening the pathway view. Live counts (active, overdue, blocked instances) stay from the Domain 9 runtime.'),
    dict(title='Override appropriateness', resolved='OV-105', doc='fifth-batch-design-readiness.md', ids='ANL-001, ANL-003',
         action='Computed once and shown on the Decision support tab of UI-ANL-003; the medication safety dashboard of UI-ANL-001 shows a linked tile.'),
    dict(title='Pathway and evidence dashboard', resolved='OV-106', doc='fifth-batch-design-readiness.md', ids='ANL-003, ANL-001, ANL-014',
         action='The pathway view of UI-ANL-003 is the entry of the minimum dashboard catalogue; UI-ANL-001 and UI-ANL-014 link to it.'),
    dict(title='Suspending AI use', resolved='OV-107', doc='fifth-batch-design-readiness.md', ids='ANL-012, ESS-011',
         action='One "Suspend use case" control on UI-ANL-012, used by the AI governance reviewer, and one switch that stops all AI use, used by the platform administrator, also on UI-ANL-012. UI-ESS-011 lists CFG-ANL-014 read-only.'),
    dict(title='Hazard log of AI use cases', resolved='OV-108', doc='fifth-batch-design-readiness.md', ids='ANL-012, CLI-016',
         action='The clinical safety assessment of a use case refers to its entry in the hazard register (DE-CLI-027) and holds only the reference.'),
    dict(title='Data for AI development', resolved='OV-109', doc='fifth-batch-design-readiness.md', ids='ANL-012, ANL-011',
         action='AI development and evaluation data is requested only on UI-ANL-011, in the class of PH-23. The console refers to the approved extract and never requests data itself.'),
    dict(title='AI monitoring reports', resolved='OV-110', doc='fifth-batch-design-readiness.md', ids='ANL-012, ANL-014',
         action='The Monitoring view of UI-ANL-012 is the live view of REP-ANL-020 and KPI-ANL-011 and KPI-ANL-012 and exports the report; the monthly issue is listed with the management reports on UI-ANL-014.'),
    dict(title='AI interaction log and audit', resolved='OV-111', doc='fifth-batch-design-readiness.md', ids='ANL-012, ESS-008',
         action='UI-ANL-012 shows governance aggregates and the interaction list, never draft text; forensic audit searches stay on UI-ESS-008.'),
    dict(title='Replay into replay-sensitive targets (medication, billing, identity)', resolved='OV-112', doc='first-batch-design-readiness.md', ids='ISE-001, ESS-009',
         action='One replay confirmation pattern (scope, target, ordering, replay-sensitive status, second person in place under CUX-64), designed on UI-ISE-001. UI-ESS-009 uses it for workflow step retry. One replay-sensitive list (CFG-ISE-007) is referenced by FR-ESS-WFL-001.'),
    dict(title='Suspending an interface', resolved='OV-113', doc='first-batch-design-readiness.md', ids='ISE-001, ISE-002, ISE-008',
         action='The lifecycle state belongs to UI-ISE-002. UI-ISE-001 and UI-ISE-008 open the same "Suspend interface" dialog (reason, impact summary, degraded signal, see F-36). "Resume interface" is only on UI-ISE-002, after re-verification.'),
    dict(title='Approving an emergency clinical fix', resolved='OV-114', doc='first-batch-design-readiness.md', ids='ESS-011, ISE-007',
         action='UI-ESS-011 approves an emergency configuration or content version and activates it in production without a release. UI-ISE-007 approves emergency software fixes only. Both use the same "Emergency change · review due" flag and the same retrospective review task type.'),
    dict(title='Bed-cleaning tasks (start and complete)', resolved='OV-115', doc='first-batch-design-readiness.md', ids='ADM-004, ESS-010',
         action='Cleaning is one work-list task type (OV-01), with the bed as subject. UI-ADM-004 embeds that configuration and does not design its own list. Start and complete call the bed turnover transaction (FR-ADM-BED-002) from either surface, and the task closes when the bed leaves Cleaning.'),
    dict(title='Activity evidence for an emergency access session', resolved='OV-116', doc='first-batch-design-readiness.md', ids='ESS-005, ESS-008',
         action='Clarification of OV-27: UI-ESS-005 embeds the UI-ESS-008 audit query view filtered by session identifier, and does not design its own list (F-9).'),
    dict(title='Handover acknowledgement escalation interval', resolved='OV-117', doc='first-batch-design-readiness.md', ids='ADM-009, CLI-007',
         action='One interval, CFG-CLI-021 (30 minutes). CFG-ADM-024 is retired. UI-ADM-009 shows the flag and the escalation timeline of OV-34 (F-33).'),
    dict(title='Marking a clinical note entered in error, and reversing it', resolved='OV-118', doc='second-batch-design-readiness.md', ids='CLI-003, HIM-006',
         action='Clinical entries (notes, forms, assessments) are marked on UI-CLI-003 under the D03 model (CUX-09). Domain 6 mirrors the state from the event. UI-HIM-006 marks only documents captured or held by HIM (scanned, external, imported) and opens UI-CLI-003 for a clinical entry. Reversal of a clinical entry is by the HIM manager on UI-HIM-006, sent to Domain 3 as a command: add a "reversed with reason" row to D03 4.3.'),
    dict(title='Setting the effective date of a guideline or pathway version', resolved='OV-119', doc='second-batch-design-readiness.md', ids='EBP-005, EBP-006',
         action='The approver proposes the date and the publisher sets it at promotion, as in S-29. Only UI-EBP-006 stores the effective date of the release.'),
    dict(title='Result release policy configuration', resolved='OV-120', doc='second-batch-design-readiness.md', ids='CLI-017, PEX-014',
         action='CFG-PEX-011 is the one item. CFG-CLI-020 is retired or points to it, and Domain 3 only publishes release status (FR-CLI-RSP-002 part 6.6).'),
    dict(title='Critical-result timers', resolved='OV-121', doc='second-batch-design-readiness.md', ids='CLI-017, ANC-003',
         action='CFG-ANC-005 only, with the S-24 default. CFG-CLI-019 points to it.'),
    dict(title='Downtime paper form register (captured and outstanding form numbers)', resolved='OV-122', doc='second-batch-design-readiness.md', ids='HIM-005, ISE-010, CLI-018',
         action='Domain 6 owns the form register, shown in the UI-HIM-005 downtime batch header. UI-ISE-010 reads its counts as it does other domain counts (OV-17), and UI-CLI-018 links entries by form number without keeping its own list.'),
    dict(title='Clinician acknowledgement of a critical result', resolved='OV-123', doc='third-batch-design-readiness.md', ids='ANC-003, CLI-017',
         action="Clinicians acknowledge only on UI-CLI-017, reached from the work-list task. UI-ANC-003 records telephone read-back (which counts as acknowledgement, FR-ANC-RES-003 part 6.8), reassigns and closes, and shows the clinician's acknowledgement read-only. Extends OV-07."),
    dict(title='Holding a medication dose', resolved='OV-124', doc='third-batch-design-readiness.md', ids='CLI-014, CLI-013',
         action='Hold and release only on UI-CLI-013 (FR-CLI-MAR-001 part 11). The handheld records Administered, Refused and Omitted.'),
    dict(title='Specimen arrival and receipt', resolved='OV-125', doc='third-batch-design-readiness.md', ids='ANC-002, ANC-001',
         action='UI-ANC-002 records collection, dispatch (In transit) and porter hand-off scans as custody events with no state change. Received is set only on UI-ANC-001.'),
    dict(title='Acknowledging ICU escalations', resolved='OV-126', doc='third-batch-design-readiness.md', ids='ANC-012, ESS-010, CLI-005',
         action='ICU escalations are OV-34 work-list items, acknowledged there. UI-ANC-012 shows counts and links. In ICU locations only the Domain 4 rules escalate (DEC-ANC-009).'),
    dict(title='Working finance and stock exceptions', resolved='OV-127', doc='third-batch-design-readiness.md', ids='FIN-018, FIN-002, FIN-017, FIN-008, FIN-009',
         action='UI-FIN-018 works only non-pharmacy stock exceptions, unmatched procurement messages, unaccounted events (OV-95) and downtime reconciliation. All other types are counts that drill to their owning screen, as OV-90 and OV-70 already say for their types.'),
    dict(title='Recertification of access', resolved='OV-128', doc='fourth-batch-design-readiness.md', ids='PEX-015, ESS-002',
         action='UI-PEX-015 owns the periodic review of portal representative grants and dormant accounts (FR-PEX-ACC-004 part 6.8), as a tab of its review queue. It reuses the recertification row and Confirm or Revoke decision of UI-ESS-002 and does not design its own. Staff access stays on UI-ESS-002.'),
    dict(title='Approval of a transfer to collections', resolved='OV-129', doc='fourth-batch-design-readiness.md', ids='FIN-001, FIN-006',
         action='Extends OV-89. UI-FIN-001 requests the transfer (and any write-off of the account). UI-FIN-006 approves it as a new request type, and UI-FIN-001 shows "Awaiting approval" with a link.'),
    dict(title='Legal review of a disclosure under a hold', resolved='OV-130', doc='fourth-batch-design-readiness.md', ids='HIM-009, HIM-010',
         action="UI-HIM-009 sets the hold's disclosure instruction. The review happens on UI-HIM-010, as an extra step in its approval panel, routed to UR-49 through the work list. UI-HIM-009 does not hold the release."),
    dict(title='Purpose-of-use dialog for record-level analytics', resolved='OV-131', doc='fourth-batch-design-readiness.md', ids='ANL-001, ANL-008, ANL-009',
         action='One purpose dialog, owned by UI-ANL-008, using the single reason field of OV-81 (purpose of query) so that the access report shows it. The other two screens call it.'),
    dict(title='Raising a deficiency from coding', resolved='OV-132', doc='fourth-batch-design-readiness.md', ids='HIM-002, HIM-003',
         action='One "Raise deficiency" dialog, owned by UI-HIM-003. UI-HIM-002 opens it with the encounter and the missing documentation filled in, and the coding record shows "On hold · deficiency raised".'),
    dict(title='Acceptance of a data limitation', resolved='OV-133', doc='fourth-batch-design-readiness.md', ids='ANL-009, ANL-010',
         action='The decision is taken on UI-ANL-009 in the item detail, by the metric owner arriving from a work-list task. UI-ANL-010 shows accepted limitations on the definition read-only, with expiry.'),
    dict(title="'Viewed by patient' for released items", resolved='OV-134', doc='fourth-batch-design-readiness.md', ids='PEX-014, PEX-011, HIM-012',
         action="The release panel's viewed indicator reads the same access-history source (FR-PEX-NTF-002) as the patient's activity view and the HIM access report (OV-14, OV-81). It is not a second record of views."),
    dict(title='Review of AI coding candidates', resolved='OV-135', doc='fifth-batch-design-readiness.md', ids='HIM-002, ANL-013',
         action='Coding assistance is a release 1 category (CFG-ANL-023). AI candidates are shown in the UI-HIM-002 candidate panel with the UI-ANL-013 parts: the "AI-drafted" label, the sources and "Report a problem". The panel\'s accept and reject record the AI disposition, and there is no second set of controls. An undecided AI candidate expires when the coder finalises. It never blocks Finalise, which follows FR-ANL-AIG-005, because AI must not block the host workflow.'),
    dict(title='Cohort definition', resolved='OV-136', doc='fifth-batch-design-readiness.md', ids='ANL-010, ANL-011',
         action='There is one criteria builder, owned by UI-ANL-010. UI-ANL-011 either picks an approved cohort definition or uses the builder for a cohort kept with the request, which the extract approval covers instead of the metric registry route.'),
    dict(title="'Report a problem' on AI figures and suggestions", resolved='OV-137', doc='fifth-batch-design-readiness.md', ids='ANL-013, ANL-009, ANL-001, ANL-005',
         action='An AI-generated figure or suggestion offers one action, the UI-ANL-013 "Report a problem". It goes to AI governance, and a stewardship item is created only when the category is a data problem. Measured figures keep "Report a problem with this figure".'),
    dict(title='Authoring of de-identification profiles and risk checks', resolved='OV-138', doc='fifth-batch-design-readiness.md', ids='ANL-011',
         action='Owned by UI-ANL-011 as a governed content tab on the OV-18 lifecycle: UR-66 authors, UR-48 approves and is not the author.'),
]

FORM = {
    'UI-CLI-014': 'Handheld', 'UI-ANC-002': 'Handheld', 'UI-ANC-007': 'Handheld',
    'UI-ANC-009': 'Workstation or tablet in theatre',
    'UI-ADM-012': 'Workstation and wall display', 'UI-ADM-008': 'Workstation and wall display',
    'UI-ANC-008': 'Workstation and wall display', 'UI-ADM-004': 'Workstation and wall display',
    'UI-ESS-001': 'Component (workstation and handheld)', 'UI-CLI-019': 'Component (workstation and handheld)',
    'UI-ISE-012': 'Component (handheld)', 'UI-PEX-014': 'Component (workstation)',
    'UI-PEX-013': 'Workstation', 'UI-PEX-015': 'Workstation', 'UI-PEX-016': 'Workstation',
}

# Screens moved to a later slice than the one that releases most of their requirements. Each entry is
# 'UI-...': (slice, reason). The slice must come after the derived main slice. build_screens.py fails
# otherwise. Used to keep the walking skeleton (RC-1) thin: platform consoles that no workflow gating
# RC-1 needs move to the first slice that can carry live patients (RC-3) or to the slice whose workflow uses them.
DEFER = {
    'UI-ISE-003': ('RC-3', 'Not used by a workflow gating RC-1; RC-3 adds the external gateway and partner interfaces it catalogues'),
    'UI-ISE-004': ('RC-3', 'Not used by a workflow gating RC-1; RC-3 brings the service tiering and recovery objectives it shows'),
    'UI-ISE-005': ('RC-3', 'Not used by a workflow gating RC-1; RC-3 is the first slice that can carry live patients and adds operational monitoring'),
    'UI-ISE-006': ('RC-3', 'Not used by a workflow gating RC-1; the SIEM and security assurance arrive in RC-3 (architecture section 17)'),
    'UI-ISE-011': ('RC-3', 'Not used by a workflow gating RC-1; RC-3 adds vulnerability remediation and security assurance'),
    'UI-ESS-008': ('RC-3', 'Not used by a workflow gating RC-1; RC-3 adds security-event forwarding and audit review (FR-ESS-AUD-003)'),
    'UI-ESS-012': ('RC-3', 'Not used by a workflow gating RC-1; the registers are first needed for production admission in RC-3'),
    'UI-ESS-005': ('RC-4', 'Emergency access review is part of WF-ESS-002, which gates RC-4'),
}
