Design / Application shell and information architecture
Application Shell and Information Architecture¶
This page defines the one application shell that every workforce screen runs in, the information architecture that organizes the 146 screens into role-based workspaces for the 85 user roles, and the shell-level rules for patient identity, encounter context, save and sign states, data freshness and system states. It is the design baseline for pattern P01 (shell and shared components) and must be agreed before screen design starts.
It turns these requirements into one design:
| Source | Requirement |
|---|---|
| PRS 8.3 | One consistent shell with independently maintainable workspaces; role-aware and task-oriented; persistent patient identity zone; clear encounter context; explicit save and sign states; visible data freshness; predictable navigation; safe recovery from unintended states. Microfrontends are optional and must not depend at runtime on a third-party hosted module registry |
| PRS 11.3 | Task-focused screens; consistent terminology, symbols, units, colour semantics and status indicators; keyboard, screen-reader and scalable-text support; clear save, draft, sign, release, cancel and amend states; design for interruption; mobile only where validated |
| SAFE-002 | Patient name and at least one additional approved identifier in a consistent location throughout clinical workflows |
| SAFE-003 | Encounter context, data source, freshness and status visible for clinically relevant information |
| SAFE-004 | No unsafe duplicate action: idempotency, confirmation, explicit state transitions |
| SAFE-005 | Safe downtime: essential patient summaries and fallback forms |
| CDS-007 | Passive, inline and interruptive presentation are distinct; hard stops only for approved high-risk scenarios |
| SEC-007, SEC-014 | Break-the-Glass marks the session and is time limited |
| NFR-011, NFR-012, NFR-018, EHR-009 | Accessibility (WCAG 2.2 AA); localization without altering stored values; local time with zone context |
It also consolidates the shell-related rules that the specifications state separately: the UX principles in section 6.1 and the accessibility rules in section 6.4 of each specification, and the shared components UI-CLI-019 (patient context zone), UI-ESS-001 (sign-on), UI-ESS-004 (Break-the-Glass and session indicator), UI-ESS-010 (notification inbox and task list), UI-CLI-015 (decision-support alert), UI-ISE-012 (commit-state indicator) and UI-ANL-002 (dashboard status banner).
Status. Hand-written design baseline, 15 November 2026. Items marked Proposed are design choices not stated in the requirements, checked in the usability tests with the roles of User roles, section 4. Items marked Decided were settled on common practice and were ratified on 17 November 2026 by the owners named in section 11. The page as a whole, including sections 13 and 14, was approved by its owners on 17 November 2026. The choices the requirements left open are decided in section 11 and in the clinical UX safety rules.
1. Design principles¶
- One shell, many workspaces. Every workforce screen, whichever domain owns it, runs inside the same shell. It has the same global bar, patient context zone, action bar, status line and shared components. Workspaces change; the frame does not.
- Identity before content. When a patient is in context, the patient's name and second identifier appear before any patient data and stay in the same place until the patient is closed.
- Start from work, not from menus. Each workspace opens on the role's worklist or queue. Users reach patients and items from their work, by search or by scan. Menus are a secondary route.
- State is always shown, never implied. Every item shows whether it is a draft, saved, signed, released, cancelled, amended or in error. Every view of data that is not live shows when it was last updated. Every system condition that limits what the user can do, such as downtime, offline, training or emergency access, is shown in the shell.
- Status by text or symbol and colour together. Colour is never the only signal (UX-ADM-005, UX-CLI-003, UX-ANC-002, UX-FIN-004, UX-HIM-004, UX-ANL-002, UX-EBP-004, UX-ISE-002).
- Interruption is normal. Work is saved as a draft automatically, pending work is listed, and returning to it never submits twice (SAFE-004; UX-ADM-007, UX-CLI-007, UX-FIN-006, UX-PEX-006).
2. Shell structure¶
Regions¶
The workstation shell has seven regions. Regions 1, 3, 6 and 7 are owned by the shell and look the same in every workspace. Region 4 belongs to the workspace. Regions 2 and 5 are shell components that the workspace fills: the shell draws them and fixes their behaviour, and the workspace supplies its views (region 2) and the item's state and allowed actions (region 5).
┌───────────────────────────────────────────────────────────────────────────────────────────────┐
│ 1 GLOBAL BAR [Environment] Workspace ▾ │ Search / scan patient │ Tasks 4 │ Alerts 1 │ User · Role · Location ▾ │
├──────┬────────────────────────────────────────────────────────────────────────────────────────┤
│ │ 3 PATIENT CONTEXT ZONE (only when a patient is in context) │
│ 2 │ Ny. SITI RAHAYU · No. RM 00-12-34-56 · DOB 03-Feb-1961 (65 y) · F · Identity: Verified │
│ WORK │ Inpatient · Ward 5B Bed 12 · Internal Medicine (Dr A) · Allergies: Penicillin (rash) │
│ SPACE│ [Isolation: contact] [Similar name on ward] [Break-the-Glass 18:42 left] │
│ NAV ├────────────────────────────────────────────────────────────────────────────────────────┤
│ │ 4 CONTENT AREA (workspace-owned) │
│ Home │ view title · record status label │
│ ... │ ... │
│ │ │
│ ├────────────────────────────────────────────────────────────────────────────────────────┤
│ │ 5 ACTION BAR State: Draft (autosaved 10:41) [Discard draft] [Save] [Sign note] │
├──────┴────────────────────────────────────────────────────────────────────────────────────────┤
│ 6 STATUS LINE Data as at 10:41 WIB · Connection: online · Facility: General Hospital · v3.2.1 │
└───────────────────────────────────────────────────────────────────────────────────────────────┘
7 SYSTEM BANNER (full width, above region 1, only when a condition applies: downtime, read-only, training)
| Region | Content | Rules |
|---|---|---|
| 1 Global bar | Workspace switcher; patient search and scan field; task and notification counters (UI-ESS-010); user, active role and working location; help menu; environment label in non-production | Same position and order in every workspace. Search accepts qualified identifiers, demographics and scanned wristbands. The role and location shown are the ones authorization decisions use (SEC-003). The help menu is described below the table. |
| 2 Workspace navigation | The workspace's home and its views, from section 3 | At most two levels. The current view is highlighted. Collapsible to icons on narrow screens; never hides the current view's name. |
| 3 Patient context zone | Section 4 | Present on every patient-level screen. Fixed position. Not shown on worklists, which show identity per row instead. |
| 4 Content area | The view: title, record status label, content | Owned by the workspace. The title states what the view is and, for a record, its status (section 5). |
| 5 Action bar | Current state of the item being worked on; the actions allowed in that state | Actions are verbs naming their effect ("Sign order", "Release result", "Take payment"), never "OK" or "Submit". The primary action is rightmost. Destructive actions are separated and never the default. |
| 6 Status line | Data freshness of the view; connection and commit state; facility; software version | Freshness rules in section 6. The version helps the service desk. |
| 7 System banner | Downtime, read-only, degraded service, training or test environment | Full width, cannot be dismissed while the condition lasts. Precedence in section 7. |
Help menu (Decided 17 November 2026, from CFG-ANL-029). The same items in every workspace: help for the current view, the list of shortcuts (Ctrl+/), the software version and the service desk contact, and Give feedback. "Give feedback" opens the survey tool's short form (EXT-ANL-007) in a panel over the content area: a rating from 1 to 5, the area of the system (filled with the current workspace and view, changeable) and an optional comment. The form carries no patient identifier and is never prefilled from the patient in context. The user can open it at any time; the shell itself suggests it at most once per user per 30 days, as a passive item in the task list, never as a pop-up. Once a quarter a random 10% sample of users active in the quarter receives a task-list invitation to the 10-item System Usability Scale survey, which opens in the same panel. Results feed the adoption and usability dashboard of MOD-ANL-010 (part 6.5). Neither form appears during a declared downtime or in a signing or alert dialog.
Dialogs and overlays (alerts, signing, Break-the-Glass, confirmations) open over the content area and action bar. They never cover regions 1, 3 and 7 (UI-CLI-019: "always visible, including in signing and alert dialogs").
Variants by form factor¶
The same regions, adapted to the form factors of User roles, section 1. Every variant keeps the patient context zone and the system banner.
| Variant | Used by | What changes |
|---|---|---|
| Workstation (reference layout above) | 69 roles | Full layout. Design for 1366 to 1920 pixels wide; the patient context zone may wrap to two lines but never truncates the name or identifier. |
| Workstation on wheels | UR-12, UR-13, and UR-01 and UR-03 on rounds | Workstation layout in touch density (DESIGN 4), navigation collapsed to icons, quick lock on walking away (section 7). |
| Handheld | UR-03, UR-07, UR-13, UR-29 | One task per screen. Patient context zone reduced to a fixed top band (name, identifier, date of birth, location, allergy status, and a single flag row that shows, in this order, Emergency access with time left, isolation precaution, Sensitive and identity under review; when more apply than fit, the row shows the first two and "+n", which opens the full list) (CUX-42, CUX-44); the commit-state indicator (UI-ISE-012) is fixed in the status line. No workspace navigation: a short task list is the home. Mismatch stops use a full-screen stop state (UX-ANC-002). |
| Theatre workstation | UR-09 to UR-11 | Large type readable from two metres; touch targets for gloved use; the case (procedure, side and site) shown next to the patient in the context zone. |
| Reading station | UR-23 | Workstation layout in compact density on the reporting monitor, beside the image viewer on its own monitors. The viewer is a separate application (OHIF or Weasis) launched with the same patient and study in context; the HIS window and the viewer both show the patient name and No. RM, and a change of study in either is reflected in the other or refused. Keyboard shortcuts and dictation; no hover-only controls. |
| Counter workstation | UR-25, UR-27, UR-32 | Keyboard-first; the patient context zone shows only what is safe to show the person at the counter (Decided: no allergies, diagnoses or clinical alerts on registration and cashier views, CUX-48). |
| Wall display | Flow boards (UI-ADM-004, UI-ADM-008, UI-ADM-012, UI-ANC-008) | No global bar or navigation. Freshness and stale indicator always shown (BR-ADM-024). The privacy setting decides how patients are named (UX-ADM-008). |
| Patient portal | UR-82, UR-83 | Its own shell with the same principles: an identity banner naming the subject patient and, for a representative, the acting-for state (UI-PEX-002, UX-PEX-005); the non-emergency notice; plain-language states. |
3. Information architecture¶
Three levels¶
Workspace ─► Context ─► View
(per role (a patient and encounter, (one task: a chart section, an order session,
family) a worklist item, a governed a payment, a coding session, a dashboard)
item, or none)
- Workspace: a set of views for a family of roles, opening on that role's home view. A user with several roles, such as a charge nurse who also works as a ward nurse, switches workspace in the global bar; the default is the role of the current assignment.
- Context: what the views are about. Three kinds:
- Patient context: views about one patient and encounter. The patient context zone is shown.
- Item context: a governed item (claim, stock item, pathway version, configuration change). An item header with the item's identifier, version and state replaces the patient context zone.
- No context: worklists, boards and dashboards. Patients appear per row, each with name and second identifier.
- View: one task. Each view has one title, one state and one action bar.
Workspaces¶
Twenty workspaces cover every role and every screen in the inventory. Each workspace opens on its home view.
| Workspace | Roles | Home view | Main views | Context |
|---|---|---|---|---|
| W01 Clinician | UR-01, UR-02, UR-05, UR-06, UR-08 | My patients, with results to review, messages and chart deficiencies (ED variant: UI-ADM-008) | Chart and timeline (UI-CLI-001, UI-CLI-002); notes (UI-CLI-003); problems and allergies (UI-CLI-004); orders (UI-CLI-008, UI-CLI-009); medication reconciliation (UI-CLI-010); results (UI-CLI-017); handover (UI-CLI-007); pathway (UI-EBP-007 to UI-EBP-009); referrals and consults (UI-ANC-016); therapy (UI-ANC-013); patient messages (UI-PEX-013) | Patient; for dietitians and nutrition service (Instalasi Gizi) staff, the Diet work list view of UI-CLI-006 as home (DG-01) |
| W02 Nursing | UR-03, UR-04 | Ward task list by time, nurse and patient (UI-CLI-006) | Observations (UI-CLI-005); eMAR (UI-CLI-013); handover; transfers (UI-ADM-009); ward board (UI-ADM-012); bed readiness (UI-ADM-004); downtime reconciliation (UI-CLI-018); pathway escalations (UI-EBP-010) | Patient; ward (no context) |
| W03 Perioperative | UR-09 to UR-12, UR-14 | Theatre list and case board (UI-ANC-008) | Safety checklist (UI-ANC-009); anesthesia and intra-operative record (UI-ANC-010); recovery (UI-ANC-011) | Patient and case |
| W04 Critical care | UR-13, UR-24 | Unit view of beds and patients | ICU flowsheet (UI-ANC-012); device association (UI-ANC-014); eMAR | Patient |
| W05 Pharmacy | UR-15 to UR-17 | Verification queue (UI-CLI-011) | Dispensing and returns (UI-CLI-012); medication reconciliation; pharmacy stock and controlled-substance reconciliation (UI-FIN-012, UI-FIN-015, UI-FIN-017); override review (UI-CLI-016) | Patient; item |
| W06 Laboratory | UR-18 to UR-21 | Bench and validation worklist (UI-ANC-001) | Critical results (UI-ANC-003); unmatched and stale (UI-ANC-004); pathology cases (UI-ANC-015); blood bank (UI-ANC-006) | Specimen or case, with patient |
| W07 Imaging | UR-22, UR-23 | Scheduling and reporting worklist (UI-ANC-005) | Reporting; critical findings | Study, with patient |
| W08 Bedside handheld | UR-03, UR-07, UR-13, UR-29 | My tasks on this device | Medication administration (UI-CLI-014); specimen collection (UI-ANC-002); transfusion and human milk verification (UI-ANC-007); cleaning tasks | Patient (by scan) |
| W09 Front desk | UR-25 to UR-27 | Queue console (UI-ADM-007) with patient search, and the patient messages of its scheduling pools (UI-PEX-013) | Registration (UI-ADM-001); encounters and ADT (UI-ADM-003); scheduling and waitlists (UI-ADM-005, UI-ADM-006); eligibility panel (UI-FIN-007); consent (UI-ESS-006); portal activation (UI-PEX-015); registration worklists (UI-ADM-010) | Patient |
| W10 Patient flow | UR-28 | Bed board (UI-ADM-004) | Ward, clinic and emergency boards; transfers | No context |
| W11 Revenue cycle | UR-31 to UR-37 | The role's queue: charge exceptions, cashier session, claims, verification or approvals, and the patient messages of its billing pools (UI-PEX-013) | Patient account (UI-FIN-001); charges (UI-FIN-002); tariffs (UI-FIN-003); invoices (UI-FIN-004); cashier (UI-FIN-005); approvals (UI-FIN-006); coverage (UI-FIN-007); claims and remittance (UI-FIN-008, UI-FIN-009); posting (UI-FIN-010); reconciliation (UI-FIN-018) | Patient (accounts); item (claims, tariffs) |
| W12 Supply chain | UR-38 to UR-41 | Stock workspace (UI-FIN-012), or requisitions for requesters and approvers | Items and locations (UI-FIN-011); stocktake (UI-FIN-013); requisitions and orders (UI-FIN-014); goods receipt (UI-FIN-015); department stock (UI-FIN-016) | Item |
| W13 Health information | UR-30, UR-42 to UR-47, UR-49, UR-50 | HIM workbench queues (UI-HIM-001) | Coding (UI-HIM-002); deficiencies (UI-HIM-003); indexing (UI-HIM-005); record history (UI-HIM-006); retention, disposition, legal hold (UI-HIM-007 to UI-HIM-009); release of information and disclosures (UI-HIM-010, UI-HIM-011); identity stewardship (UI-ADM-002) | Patient and encounter (record); item (requests, holds) |
| W14 Privacy, security and audit | UR-48, UR-51, UR-75 | Review queue: emergency access, release approvals, extract approvals | Emergency access review (UI-ESS-005); audit search (UI-ESS-008); pathway audit and reconstruction (UI-EBP-013); patient access report (UI-HIM-012); policies and labels (UI-ESS-003); privacy requests (UI-ESS-006); extract approval (UI-ANL-011) | Item; patient for access reports |
| W15 Clinical content and governance | UR-52 to UR-57 | My content tasks: drafts, reviews and approvals due | Templates and order sets (UI-CLI-020); decision-support rules (UI-CLI-016); evidence library and guideline authoring (UI-EBP-001, UI-EBP-002); pathway authoring (UI-EBP-004); review and release (UI-EBP-005, UI-EBP-006); governance console (UI-EBP-012); coordination queue (UI-EBP-014) | Item (versioned content) |
| W16 Data governance | UR-58, UR-59 | Stewardship queue | Terminology and master data (UI-ESS-007); concept mapping (UI-EBP-003); data quality (UI-ANL-009); metric definitions (UI-ANL-010); governance registers (UI-ESS-012) | Item |
| W17 Management and analytics | UR-60, UR-62 to UR-69 | The role's dashboard or report list | Operational dashboards (UI-ANL-001); quality and pathway measures (UI-ANL-003, UI-EBP-011); finance (UI-ANL-004); capacity (UI-ANL-005); data catalogue, lineage and pipelines (UI-ANL-006 to UI-ANL-008); extracts; AI governance (UI-ANL-012); management reports (UI-ANL-014) | No context; item |
| W18 Administration | UR-61, UR-80 | Changes awaiting me | Configuration lifecycle (UI-ESS-011); scheduling, queue and bed configuration (UI-ADM-011); engagement configuration (UI-PEX-016); identity and access (UI-ESS-002) | Item |
| W19 IT operations | UR-70 to UR-74, UR-76 to UR-79, UR-81 | The role's console | Integration operations (UI-ISE-001); interface registry (UI-ISE-002); API catalogue (UI-ISE-003); service catalogue and reliability (UI-ISE-004, UI-ISE-005); security monitoring (UI-ISE-006); release (UI-ISE-007); secrets (UI-ISE-008); backup (UI-ISE-009); downtime command (UI-ISE-010); vulnerabilities (UI-ISE-011); workflow recovery (UI-ESS-009); portal support | No context; item |
| W20 Patient portal | UR-82, UR-83 | Home (UI-PEX-002), after sign-in (UI-PEX-001) | Appointments, results, documents, messages, forms, education, billing, consent, account, corrections (UI-PEX-003 to UI-PEX-012) | Subject patient |
Roles with no workspace. UR-84 External requester has no HIS account: their requests are handled by UR-47 in W13, or through W20 when the requester is the patient. UR-85 All workforce users is the set of shared components below, present in every workspace.
Shared components in every workspace: sign-on and step-up (UI-ESS-001), Break-the-Glass (UI-ESS-004), tasks and notifications (UI-ESS-010), decision-support alerts (UI-CLI-015), AI draft review (UI-ANL-013), dashboard status banner (UI-ANL-002), clinician release panel (UI-PEX-014) and clinician deficiency list (UI-HIM-004). Approvers (UR-41) and occasional users reach their items from the task list, which opens the item in the owning workspace.
Navigation rules¶
- Home is a worklist. Every workspace opens on the role's queue or list of current work, not on a menu or a blank page.
- Three ways into a patient: from a worklist row, by search in the global bar, or by scanning a wristband. Each opens the patient in the current workspace.
- One patient in context at a time per window (Decided, CUX-03). Opening another patient asks to finish or keep the current draft, then replaces the patient context zone and shows a change notice. A user who needs to compare patients opens a second window, which carries its own context zone.
- No patient-level action from a multi-patient list. Worklists show name and second identifier per row. Any action on a patient's record opens or scans that patient first (D04 principle 6.1; prevents wrong-patient action).
- Back returns to where the user came from without resubmitting anything. Leaving a view with unsaved changes keeps them as a draft and says so.
- Deep links. Notifications, tasks and cross-workspace references open the target view with its context set, and the patient context zone appears before any patient data loads.
- Two levels of navigation at most inside a workspace. Anything deeper is a tab or panel inside a view.
- Keyboard. Every view is fully operable by keyboard (UX-ADM-002, UX-CLI-002, UX-ANC-003, UX-HIM-002). The shell reserves one set of shortcuts for global functions, the same in every workspace (Decided, ratified 17 November 2026; usability tests with high-density roles check them). Workspaces may add shortcuts only with a modifier not listed here. No shortcut signs, releases or overrides on its own: it opens the confirmation (CUX-12).
| Shortcut | Function |
|---|---|
| Ctrl+K | Patient search and scan field |
| Alt+T | Open tasks and notifications |
| Ctrl+S | Save draft |
| Alt+S | Open the sign confirmation for the current item |
| Alt+W | Close patient (resolve drafts first, CUX-03) |
| Alt+L | Lock workstation (the operating system's own lock, Win+L, also works and keeps the session) |
| Ctrl+/ | List of shortcuts |
| F6 | Move between shell regions (React Aria landmark navigation) |
| Esc | Close a menu or panel; never closes an alert (CUX-24) |
Shortcuts the browser reserves and a web page cannot reliably take (Ctrl+W, Ctrl+T, Ctrl+N, Ctrl+L, Ctrl+Shift+T, Ctrl+Shift+W, Ctrl+Tab) are never used.
4. Patient context zone¶
The patient context zone implements SAFE-002 and UI-CLI-019 for every workspace, not only clinical ones: the specifications require it in registration (UX-ADM-001), finance (UX-FIN-002), HIM (UX-HIM-003), pathways (UX-EBP-003) and ancillary screens (UX-ANC-001).
Content, in reading order¶
| Line | Element | Rule |
|---|---|---|
| 1 | Patient name | Emphasized, in the configured name order (NFR-012). For the Indonesian locale it is the full name as recorded (decided with DEC-ADM-002), never split or reordered, because many patients have a single name (PH-01). Never truncated; wraps instead. For an unidentified patient, the assigned temporary name with an "Unidentified" label. |
| 1 | Second identifier | Decided: the facility medical record number, labelled with its type (CUX-02). Formats are set by identity policy (DEC-ADM-002, decided 17 November 2026): the label "No. RM" and the format of PH-01. |
| 1 | Date of birth and age | Date with the month as a word, plus age; for newborns, age in days or hours. Always shown (Decided, CUX-02), because it is what staff ask the patient to confirm. |
| 1 | Sex | As recorded under the identity policy |
| 1 | Identity status | "Temporary identity", "Unidentified", "Identity under review" or "Duplicate check pending" (glossary 12). Nothing is shown for a confirmed identity. The word "provisional" is an internal code only (corrected 17 Nov 2026: "Provisional" means a figure for an open period in the glossary, CUX-18) |
| 2 | Encounter | Encounter type, facility, location (ward, bed), responsible team and clinician; the encounter identifier on demand (section 4). A linked earlier encounter is shown as in PH-05 |
| 2 | Allergy status | Allergies listed by substance and reaction; "No known allergies"; "Not assessed"; or "Unable to assess · [reason]". When not reviewed within the configured period it shows the amber clock and "Old · [date of last review]" (CUX-50); an unconfirmed allergy shows "Unverified" (UI-CLI-019) |
| 3 | Flags | Isolation; active risks; similar-name warning; identity under review; Break-the-Glass session with remaining time (UI-ESS-004); privacy label where policy allows it to be shown; deceased |
Lines 1 and 2 are always shown. Line 3 shows only flags that apply. The zone has a fixed height per form factor, so content below it never moves when flags change.
Rules¶
- Always present on patient-level screens, including signing dialogs, alert dialogs, Break-the-Glass and print previews. Dialogs never cover it.
- Never collapsible to a state that hides name and identifier (UI-CLI-019). It may collapse lines 2 and 3 on narrow screens; the handheld band keeps name, identifier, date of birth, location and allergy status.
- Same position and same order in every workspace and every domain. No workspace adds its own patient header. Workspace-specific context (an order session, a case, an account) goes below the zone, in the content area.
- Changes are announced. When Domain 1 updates identity, location or merge state while the patient is open, the zone updates and shows a change notice that stays until acknowledged (UI-CLI-019). After a merge, the zone shows the surviving record and a notice; unsaved work on the retired record is kept as a draft for review, never filed silently.
- Similar names. When another patient with a similar name is on the same ward or list, the zone shows a "Similar name" flag, and both patients' worklist rows are marked. Decided 17 Nov 2026 (second batch S-4): a name is similar when the two patients fall in the PH-01 name-score band "Possibly the same person" or higher; the rule is part of identity policy (DEC-ADM-002). The zone offers "Report possible duplicate" to registration and clinical users; it creates an identity stewardship item (FR-ADM-MPI-004, UI-ADM-002) and changes nothing on the record (added 17 Nov 2026).
- Mother and newborn. Each has their own context. The newborn's zone names the newborn and shows the link to the mother; nothing is recorded on the mother's record from the newborn's context, or the reverse.
- Restricted records. When access is denied, the restriction message names the patient (name and second identifier) without revealing restricted content (UI-ESS-004).
- Print and export. Every printed or exported patient page carries the patient name and second identifier in the header or footer of every page.
- Portal. The portal banner shows the subject patient's full name and date of birth; a representative sees only "You are viewing [name]'s record as [relationship]" (PH-17). Switching subject clears the previous patient's data from view (UI-PEX-002, UX-PEX-005). (Corrected 17 Nov 2026: "Acting for" replaced by the ratified PH-17 sentence, so that the portal has one wording.)
Encounter context¶
- Every clinical entry belongs to an encounter (PAT-003, EHR-003). The encounter on line 2 of the zone is the one new entries are filed to.
- Switching encounter is an explicit action in the zone. The zone and the view title change, and the action bar shows which encounter a draft will be filed to.
- Viewing history is not the same as filing. Content from other encounters and facilities is shown with its own encounter and facility label (SAFE-003). New entries always file to the current encounter shown in the zone.
- Closed or cancelled encounters show a "Closed" or "Cancelled" label in the zone. Late entries are filed only through the late-entry route with its reason.
5. Record states and actions¶
The same state names, labels and symbols in every domain, for anything a user creates or changes.
| State | Meaning | Shown as | What the user can do |
|---|---|---|---|
| Draft | Not yet saved as a record; visible only to its author | "Draft · autosaved hh:mm" | Continue, save, discard |
| Saved | Stored and visible to the care team, but not signed or final | "Saved · not signed" | Edit, sign, discard (if policy allows, and never once another user has acted on it, CUX-07) |
| Awaiting co-signature | Signed by a supervised practitioner, awaiting countersignature (UR-06) | "Awaiting co-signature · [role]" | Co-signer: sign or return |
| Signed | Authenticated; immutable (EHR-004) | "Signed by [name], [role] · [date time]" | Amend, mark entered in error |
| Released | Made available beyond the authoring team, such as a result to the clinician or an item to the portal | "Released to [audience] · [date time]" | Recall where policy allows ("Recalled · [date time]") |
| Result status | Status from the performing service | "Preliminary", "Final", "Corrected", "Withdrawn" (D04 principle 6.1) | Read; correction history |
| Amended | A signed record with an appended amendment | "Amended by [name] · [date time] · [reason]"; the original stays readable | View original and amendment |
| Cancelled | Stopped before taking effect, such as an order or appointment | "Cancelled by [name] · [reason]" | View |
| Entered in error | Withdrawn because it was recorded on the wrong patient or encounter, or is wrong | Struck through, with "Entered in error by [name] · [date time] · [reason]"; never deleted | View for audit only |
| Saving, committed, not saved | Bedside actions in release 1, online only (UI-ISE-012, PH-11) | "Saving", then "Committed" only after server acknowledgement; after a lost response "Checking whether this was saved", then "Committed" or "Not saved · try again" (CUX-36); "Not connected · nothing has been recorded" when the connection is lost | None; retry only after "Not saved · try again" |
| Recorded on device, waiting to sync, committed, conflict | Offline bedside actions, in a later release only when governance approves them (CUX-40) | Text and icon per action; "Committed" only after server acknowledgement | View pending; resolve a conflict in the owning workflow |
The labels are the same as in UX rules 2 and the glossary; if they ever differ, the glossary is corrected to match the rulebook. Domain-specific states (order lifecycle, claim status, stock movement, pathway step, governed content version) are shown with the same label style next to these. Each domain lists its own states in section 4.3 of its specification.
Rules¶
- Each action names its effect and changes exactly one state: "Save draft", "Sign note", "Sign and send order", "Release result", "Post payment". Labels that hide the effect, such as "OK", "Submit" or "Done", are not used.
- Irreversible actions show a summary first. Signing, releasing, merging, discharging, posting, cancelling and publishing show what will change and for which patient or item, with the patient context zone visible. The confirmation button repeats the action name (D01, D10 and D02 principles 6.1; UX-ESS-006, UX-ISE-003).
- No duplicate submission (SAFE-004). While an action is in progress its button is disabled and shows progress. Every command carries an idempotency key, so a retry after a timeout cannot create a second order, administration or payment.
- Autosave drafts. Drafts are saved at least every 10 seconds while the user is working and whenever the user leaves the field, the view or the workstation (CUX-30), and restored on return, after a timeout, crash or workstation lock, with a notice saying a draft was restored (UX-CLI-007, UX-ADM-007).
- The action bar always shows the current state of the item being worked on, so the user can tell before leaving whether work is saved, signed or still a draft.
- Leaving with unsaved work keeps it as a draft and lists it in the user's pending work. Nothing is discarded without an explicit "Discard draft".
6. Data status and freshness¶
SAFE-003 requires that users can tell current, historical, imported and unverified data apart.
Provenance labels. Clinically relevant data carries a label when it is not current, locally recorded, verified data:
| Label | Applies to |
|---|---|
| Historical | Data from a previous encounter, shown with its encounter and date |
| External | Received from another facility or organization, shown with its source |
| Patient-reported | Entered by the patient or a representative and not yet reviewed (ACT-CLI-016) |
| Unverified | Recorded but not yet verified, such as device data awaiting validation (UX-ANC-001 and D04 principle 6.1) |
| Draft, preliminary | See section 5 |
| AI-drafted | Content drafted by an AI model, shown as "AI-drafted · [use case] · model [version]" until a person accepts it, and in prints and exports (UX-ANL-006). Once committed it shows "AI-assisted · accepted by [name] · [date time]" |
AI slot. A host screen that embeds the AI draft review component (UI-ANL-013) shows it in one place: a side panel beside the target field, opened from the field's AI control. It never covers the patient context zone (CUX-01). On narrow layouts it becomes a bottom sheet. The AI control is offered only to holders of the use case's reviewer role. With AI unavailable the control is hidden, unless a draft was open or the user tries to invoke it; then the slot shows "AI assistance unavailable. Continue manually." Accepted content goes into the host's own draft and is committed by the host's save or sign step (section 5).
Freshness.
- Every view of data that is not live shows when it was last updated. That covers boards, worklists built from projections, dashboards, cached bedside data and summaries. The time appears in the status line, or in the view itself for boards and dashboards (BR-ADM-024, UX-ADM-004, UX-ISE-004; UI-ANL-002 for dashboards).
- A stale indicator appears when the data is older than the configured threshold for that view, in words ("Not updated for 12 minutes"), not only by colour.
- Values used for decisions carry their own date. Results, weights, allergy reviews and observations show when they were taken. Decision support states a data gap when a value it needs is missing or old, and does not present a definitive recommendation (CDS-005, CDS-013, UI-CLI-015).
- Time is local, with zone. Times use the 24-hour clock in the facility's local time. The zone (WIB, WITA or WIT) is always in the status line and is shown next to any time from a facility in another zone, on prints and exports, and in outgoing messages (CUX-62). UTC is available on request (NFR-018, UX-ISE-005).
7. System states and session¶
Conditions shown by the shell¶
| Condition | Where | Behaviour |
|---|---|---|
| Training or test environment | System banner and a distinct shell colour band, on every screen and print | Cannot be removed. Prints carry "TRAINING — NOT A RECORD". Prevents real work in the training environment and training data in production. The clinical content authoring environment (Domain 9) uses the same striped band with "AUTHORING — SYNTHETIC DATA ONLY"; it holds only synthetic patients, shown in the item header as "Synthetic test patient" and never in the patient context zone (added 17 Nov 2026, second batch S-34). |
| Downtime declared | System banner from the downtime command console (UI-ISE-010) | States what is unavailable and directs the user to the downtime procedure and forms (SAFE-005, BCP-005). Where a read-only summary is available, the shell switches to read-only mode. The banner carries "Open downtime lists", and the downtime lists below say how staff reach them when the shell itself is down (added 17 Nov 2026). |
| Read-only mode | System banner; action bar actions disabled with a reason | Users can read essential patient summaries; no new entries except through approved downtime forms. The downtime command console (UI-ISE-010) and the backup and recovery console (UI-ISE-009) stay usable, because they end the downtime. Rapid registration on the emergency board shows the pointer to the downtime registration form (UI-ADM-008). Added 17 Nov 2026. |
| Degraded service | System banner naming the affected function | Example: "Results from the laboratory are delayed; last received 10:12". Only for conditions that change what users should do. |
| Access checks unavailable | System banner, as degraded service; the view header and status line of an open record | The policy service does not answer, so every decision is Deny. Some reads may go on for up to 60 minutes; writes and anything leaving the hospital stop. Words and rules in access checks unavailable below (CUX-67; added 17 Nov 2026). |
| Offline or reconnecting | Status line; commit-state indicator on bedside devices | Offline recording is disabled until governance approves the allowed actions (DEC-ISE-006, resolved 16 November 2026: offline disabled until approved). When the connection is lost the scan sequence stops before recording and shows "Not connected · nothing has been recorded", with a pointer to the downtime procedure (UI-ISE-012, PH-11). |
| Break-the-Glass session | Patient context zone flag, handheld band and global bar | Remaining time shown; cannot be dismissed while active; can be ended early (UI-ESS-004, UX-ESS-003). Continues through a screen lock; is suspended by a fast user switch and resumes with the time left (CUX-45). The clock runs on wall-clock time through a lock and a switch. 10 minutes before the end it shows "Emergency access · 10 min left" in amber with "Extend emergency access", which asks for a new reason (added 17 Nov 2026). |
| After restoration | Task list | Reconciliation tasks for downtime and offline entries appear in the owning worklists (UI-CLI-018, UI-FIN-018). |
When several conditions apply, the system banner shows them in this order: downtime or read-only, training environment, degraded service. Break-the-Glass and offline status stay in their own places.
Downtime lists¶
Added 17 November 2026 (DG-10), from D01-ADM local continuity. Release 1 has no offline write client (DEC-ISE-006). During a downtime, staff read the downtime summaries that Domain 2 keeps as encrypted copies at protected local locations in each facility (FR-ISE-BCR-003 part 6.2). Domain 1 supplies four lists (CFG-ADM-029):
| List | Content | Sent to |
|---|---|---|
| Ward census | Bed, patient name, No. RM, date of birth, sex, attending practitioner, isolation precaution, admission date; the ward's expected admissions and discharges Proposed | Each ward |
| Emergency list | Patients in the emergency department, with triage category and time of arrival | Emergency department |
| Appointment list | Today's and tomorrow's appointments of the clinic | Each clinic |
| Registration lookup | Patients with an encounter in the last 30 days or an appointment in the next 7 days: name, No. RM, date of birth, sex, last 4 digits of the NIK | Each registration point: registration counters, emergency department, admission office, satellites |
- How staff reach them. While the shell runs but a Tier 1 function is down, the downtime banner carries "Open downtime lists". It opens the lists of the user's unit, read-only, in the content area. When the shell cannot be reached, staff open the same lists on the unit's downtime workstation Proposed: a named workstation with a printer on each ward, in the emergency department and at each registration point, which holds the local copy. The downtime procedure and a card at each workstation say where it is Proposed. Sign-in is required where technically possible, and every opening is recorded (part 6.3).
- As at time. Every list shows "As at [time]" with the time zone at the top of the screen and of every printed page: the time the copy was generated. Copies are regenerated every hour. After 2 hours the list shows "Not updated for [n] hours" in amber (CFG-ISE-025, CUX-53). A list is never shown without its time.
- Read only. Nothing is entered on a list. The registration lookup says what to do next: "Patient found: use this No. RM." or "Not found: use the next No. RM of your downtime block." Registration, admission, transfer and discharge go on the numbered downtime forms (CFG-ADM-008).
- Minimum necessary. The lists carry only the fields above. They are Sensitive: a printed page carries "Downtime list · [list] · As at [time]", page n of N and the "Sensitive" marking of CUX-46. Paper copies are destroyed under the downtime procedure.
- After downtime. The lists close when downtime ends, and the banner shows "Reconciliation in progress". Back-entry of the forms follows UI-ADM-010 and UI-CLI-018.
Access checks unavailable¶
Added 17 November 2026 (DG-08), from D02-ISE section 9.1 and DEC-ESS-018. When the Domain 10 policy service does not answer, a decision is Deny. The gateway may use an earlier Permit of the same user, for the same patient and action, no older than 60 minutes (CFG-ESS-025), and only on Tier 1 clinical read paths such as the chart, results and the eMAR. The shell shows each case in these words (CUX-67):
| Case | What the user sees |
|---|---|
| Banner | "Delayed: access checks" in the degraded service banner, with "Records you opened recently can be read. Changes cannot be saved." Proposed for the second line. After 15 minutes, units declare downtime and the downtime banner replaces it |
| Read with an earlier Permit | The view opens. The view header and the status line show "Access from earlier check · [time]" in caution colours, where the time is that of the earlier decision. When that decision is 60 minutes old, the view closes to "Access cannot be checked"; an open draft stays in pending work (CUX-31) |
| Restricted or labelled content | An earlier Permit never opens it. Inside an open record it shows the restricted row "Restricted information not shown" (CUX-41). A record that is restricted as a whole shows "Access cannot be checked" |
| Any other read | The screen state "Access cannot be checked" (section 13): "Access cannot be checked right now. Nothing has been opened. Try again in a few minutes." with "Try again" and the pointer to the downtime procedure |
| Write | Refused before anything is recorded (save, sign, order, administer, pay): "Not saved · access cannot be checked. Your work is kept as a draft. Try again in a few minutes." The commit-state indicator never shows "Committed" |
| Print, export, release or exchange | Not offered while access is from an earlier check Proposed for print. Release, export and portal or partner exchange fail closed: "Cannot be sent while access checks are unavailable. Nothing has left the hospital." Queued exchanges wait and are checked again on recovery. The portal shows its maintenance band |
| Break-the-Glass | Stays available to roles that may use it, because it needs only local policy data and a confirmed audit path. It is the usual dialog with a reason, the 4-hour session and the review (CUX-43 to CUX-45). It is not a way round the outage: it opens the record for reading only; writes, export and the categories excluded from override stay closed. If the audit path is not confirmed, the session is not created (UI-ESS-004). A session started during the outage is marked "Started while access checks were unavailable" for the reviewer on UI-ESS-005 Proposed |
Every use of an earlier Permit is audited and reviewed after recovery (D02-ISE section 9.1).
Session and shared workstations¶
Most clinical workstations are shared. The shell handles session changes so that work is never lost and never filed under the wrong user.
- Quick lock. One action, or walking away from a workstation with a proximity badge, locks the screen without ending the session. The lock screen hides all patient data and shows only who is signed in.
- Fast user switching (Decided: badge tap plus PIN, within DEC-ESS-005). A new user opens their own session. The previous user's session and drafts are suspended, not handed over.
- Idle timeout locks the screen and keeps drafts: after 10 minutes on desktops and 5 minutes on workstations on wheels and handhelds; the session ends after 12 hours (Decided, CUX-38). The portal has its own limits (CFG-PEX-004).
- Step-up authentication is requested in place, for actions that need it such as signing controlled-substance orders, without leaving the view (UI-ESS-001). Which actions ask for it is set by PH-03. Financial approvals (refunds, credit notes, adjustments, write-offs and discounts) show the confirmation summary (CUX-11) and do not ask for the sign step. Approval of a tariff version or an account mapping is approval of governed content and does ask.
- Role and location shown in the global bar are the ones used for authorization. Changing them is an explicit action.
- Failed quick factor and blocked accounts. Three failed PINs close the badge path until the user signs in fully with password and second factor; the account itself is not blocked (CUX-66). An account blocked after failed full sign-in attempts unblocks after the configured interval or through the 24-hour service desk. The lock screen says which applies, in the words of the glossary.
- Second window. A user may open a second window for comparison (CUX-03). Each window's title starts with its patient's name and No. RM, and its patient context zone carries "Window 1" or "Window 2". Lock, user switch and sign-out apply to all of the user's windows at once.
8. Alerts, notifications and messages¶
Four channels, each with one purpose, so interruption stays rare (CDS-007):
| Channel | Use | Behaviour |
|---|---|---|
| Interruptive alert and hard stop (UI-CLI-015) | Approved high-risk decision support; verification failures at the bedside | Modal over the content area; patient context zone stays visible; requires a response. A hard stop allows override only where the rule's policy permits, with a reason. Bedside verification failures use the full-screen stop state (UX-ANC-002). |
| Inline advisory | Decision support and validation relevant to what the user is doing | Shown next to the field or item it concerns; never blocks |
| Passive information | Reminders, guideline suggestions, pathway eligibility | Shown in a panel or the task list; never blocks (CDS-007) |
| Notifications and tasks (UI-ESS-010) | Work for the user: results to review, approvals, escalations, critical results | Counter in the global bar; inbox with state, age and owner. Critical results are tasks with acknowledgement and escalation, not pop-ups. |
Rules. - Sound. Only tier 1 and 2 alerts at the bedside, failed bedside verification and critical result escalations make a sound or vibrate; each priority has one sound; sound is never the only signal; nothing sounds on wall displays or counter screens (CUX-63). - Outside the application. Push messages to managed phones, SMS and email say only that an item is waiting, its priority and where to open it. No patient name, identifier, diagnosis or result (CUX-65). Opening one requires sign-in. - Second person. An action that needs a second person is approved on the same screen in the step-up dialog by a different named user, who sees the same summary and can refuse with a reason (CUX-64, OV-20). - Transient pop-up messages ("toasts") are used only to confirm an action the user just took ("Order signed"). They never carry clinical information or anything the user must act on. - Notification content follows the minimum-necessary rule. On shared screens and lock screens, counts are shown but not patient details. - Errors name the field, the rule and how to fix it (D10 principle 6.1), and never discard what the user entered.
9. Shared semantics¶
To meet "consistent terminology, symbols, units, colour semantics and status indicators" (PRS 11.3) across ten domains, the shell's design system defines one vocabulary that every workspace uses:
| Meaning | One definition for | Rule |
|---|---|---|
| Critical | Critical results, critical alerts, critical findings | One symbol and one colour; reserved for things needing action now |
| Abnormal (high, low) | Results and observations | Arrow symbol plus text, never colour alone |
| Overdue | Tasks, doses, deficiencies, reviews, pathway steps | Same symbol and the time overdue |
| Priority (critical, high, normal, low) | Notifications, tasks, operations alerts | Same labels in every work list (glossary 5) |
| Urgency (emergency, urgent, routine) | Orders, service requests, patient queues | Same labels in every order and queue; shown as "Cito", "Segera", "Rutin" in Bahasa Indonesia |
| States | Section 5 | Same labels and icons |
| Stale | Section 6 | Same indicator on boards, lists, dashboards and devices |
The colours that carry these meanings, and the alert tiers, are fixed in the clinical UX safety rules. Their token values are in DESIGN.md and the exact words in the glossary.
- Units are shown with every value, using the UCUM-based unit display set by terminology governance. Ambiguous abbreviations are not used (D03 principle 6.1). Numbers follow CUX-59 and CUX-60: decimal separator by display language, no grouping separator in clinical values, leading zero always, trailing zero never; look-alike drug names in Tall Man lettering (CUX-61).
- Dates use one unambiguous format per locale, with the month written as a word or abbreviation in clinical views (Decided: "03-Feb-1961", CUX-19), to avoid day-month confusion.
- Language. Labels come from one translated catalogue in the configured languages; stored values never change with the display language (NFR-012, EHR-009). Bahasa Indonesia and English ship first (section 11).
- Accessibility. The shell and every shared component meet WCAG 2.2 AA (NFR-011): keyboard operation, screen-reader labels for every region and state, text scaling to 200 percent without loss of content, and contrast for every status colour.
10. Building the shell¶
- One shell, independently deployable workspaces. The shell provides the frame, sign-on, patient and encounter context, the system banner, tasks and notifications, and the design system. Domain teams build workspaces and views that run inside it (PRS 8.3). Microfrontends are allowed but all modules are served from the hospital's own repositories; the shell never loads code from a third-party registry at runtime (PRS 8.3, DEP-006).
- Context is a shell service. Workspaces do not fetch or display patient identity themselves. They read the current patient and encounter from the shell, which takes them from Domain 1 and announces changes. This is what keeps the patient context zone identical everywhere.
- States, labels and symbols are components. The record-state label, freshness indicator, provenance labels, commit-state indicator and alert tiers are shared components, so workspaces cannot invent their own.
- The shell is a Tier 1 component. Every clinical workflow depends on it, so it follows the Tier 1 service objectives and downtime design of its host services (PRS 12.1).
- Delivered first. The shell, sign-on, patient context zone, tasks and Break-the-Glass are needed in slice RC-1 and RC-4 (Screen inventory, section 2), so the shell is designed and built before any workspace.
11. Decisions¶
Decided on 15 November 2026 on common practice, at the product owner's direction. Decisions 2 to 5 are recorded with the clinical UX safety rules. All were ratified by the named owner on 17 November 2026.
| No. | Decision | Why it matters | Decided | Ratified by |
|---|---|---|---|---|
| 1 | Who owns the shell. The specifications assign the patient context zone to Domain 3 and the shared components to Domain 10, but no domain owns the shell itself | Without one owner, workspaces drift apart | A shell and design-system team owns the shell, the design system and the shared components, accountable to the Enterprise Architecture Board. Domain 3 is the clinical safety owner of the patient context zone; Domain 10 owns the behaviour of sign-on, Break-the-Glass and tasks | Enterprise Architecture Board |
| 2 | Second identifier (part of DEC-ADM-002) | Fixes line 1 of the patient context zone and every print | Facility medical record number, with date of birth and age always shown (CUX-02). Identifier formats stay with DEC-ADM-002 | Identity governance |
| 3 | One patient per window or several | Several open patients is a known wrong-patient risk | One per window; a second window for comparison (CUX-03) | Clinical governance |
| 4 | What counter and wall views may show | The screen faces the public | No allergies, diagnoses or clinical alerts on counter screens; initials and bed on wall displays; nothing sensitive on any shared display (CUX-47, CUX-48) | Privacy office |
| 5 | Session limits and shared-workstation sign-on (part of DEC-ESS-005) | Balances security against interruptions | Lock after 10 minutes idle on desktops and 5 on mobile devices, keeping drafts; session ends after 12 hours (CUX-38). Fast user switching by badge tap plus PIN | Security office with clinical governance |
| 6 | Languages at first release | Every label and print must be translated before go-live | Bahasa Indonesia and English for all workforce and portal screens; further languages for the portal later. One translated label catalogue; stored values never change with the display language | Product owner |
| 7 | Web framework and design-system base (decision register, Tech stack row 26) | The shell is the first thing built on it | Selected in the decision register on 16 November 2026: React with TypeScript and a hospital design system built on shadcn components over a React Aria base; SMART on FHIR app launch for embedded applications (technology stack, row 26) | Enterprise Architecture Board |
| 8 | Bedside handheld scope (DEC-ISE-006, DEC-PEX-008) | Decides whether W08 is web on a managed device or a native app, and what works offline | Resolved in the decision register on 16 November 2026 (DEC-ISE-006: offline disabled until governance approves the offline actions): the web application on managed handhelds with built-in scanners; offline recording stays disabled until clinical governance approves the allowed actions, then a progressive web app with an encrypted local cache | Clinical governance |
12. Traceability¶
| Requirement | Where it is met on this page |
|---|---|
| PRS 8.3 consistent shell, independently maintainable workspaces | section 2, section 10 |
| PRS 8.3 role-aware, task-oriented | section 3 |
| PRS 8.3 persistent patient identity zone; SAFE-002 | section 4 |
| PRS 8.3 clear encounter context; SAFE-003 | section 4 |
| PRS 8.3 explicit save and sign states; PRS 11.3 states; SAFE-004 | section 5 |
| PRS 8.3 visible data freshness; SAFE-003 | section 6 |
| PRS 8.3 predictable navigation; safe recovery | section 3 navigation rules; section 5 rules 4 to 6 |
| PRS 8.3 microfrontends without a hosted registry; DEP-006 | section 10 |
| PRS 11.3 consistent terminology, symbols, units and colour | section 9 |
| PRS 11.3 design for interruption | section 5, section 7 |
| PRS 11.3 mobile only where validated | section 2 variants; section 11 decision 8 |
| SAFE-005, BCP-005, BCP-006 downtime | section 7 |
| CDS-005, CDS-007, CDS-013 | section 6, section 8 |
| SEC-003, SEC-007, SEC-014 | section 4 flags, section 7 |
| NFR-011, NFR-012, NFR-018, EHR-009 | section 6, section 9 |
| PRS 11.3 safe recovery; SAFE-004 | section 13 |
| SAFE-002 on prints and labels; CUX-01, CUX-05, CUX-46 | section 14 |
| GAP-ADM-006 downtime lists; GAP-ISE-009 policy service unavailable, CUX-67 | section 7, section 7 |
| GAP-ESS-010 permitted formats and size limits | section 13 |
13. Standard screen states¶
Every view has the same screen states, drawn by shell components, so that a brief only has to say which apply and what text fills them. The briefs' "Screen states" lists (screen-briefs/README.md) use these names.
| State | What the user sees | Rules |
|---|---|---|
| Loading | The shell regions at once; the patient context zone before any patient data; then a placeholder outline of the content after 300 ms | The patient context zone is never empty while patient content loads (rule 6 of section 3). No spinner over the whole screen. A load that takes more than 10 seconds says so and offers to keep waiting or go back |
| Empty | One line naming what is empty and why ("No open tasks in Registration queue"), and the next useful action if there is one | Never a blank area. Never "No data" alone. Distinct from "No result" and "Not recorded" (CUX-51), which are about patient data |
| Error | What failed, in words, and whether the user's work was kept | The user's input is never discarded (section 8). After a lost response the view says "Checking whether this was saved" before offering a retry (CUX-36). A technical reference is shown for the service desk |
| Stale | The freshness indicator in amber (section 6) | CUX-53 |
| Read-only | Actions disabled with the reason (section 7) | Read-only mode, a closed encounter, or a role without write permission |
| No permission | What the user tried to open, that their role does not allow it, and who grants access | For a patient record with emergency override available, the Break-the-Glass dialog instead (CUX-43). For restricted content inside a record, the restricted row (CUX-41) |
| Access cannot be checked | "Access cannot be checked right now. Nothing has been opened. Try again in a few minutes." with "Try again" and the downtime procedure pointer | The policy service did not answer and no earlier Permit applies (section 7, CUX-67). Never shown as "No permission", because the user's access has not changed. A refused write shows "Not saved · access cannot be checked" in the action bar instead (added 17 Nov 2026) |
| Not found or moved | For a deep link to a record that was merged: the surviving record with the merge notice of section 4 rule 4. For one that does not exist or was entered in error: a message and a way back | A deep link never opens a different patient silently |
| Downtime | The system banner (section 7) | No view has its own downtime message (OV-17) |
| Session ended | The sign-on view, with drafts kept | UI-ESS-001 |
File uploads¶
Added 17 November 2026 (DG-07), from CFG-ESS-024 and FR-ESS-DOC-001 parts 6.9 and 6.10. One rule for every screen that takes a file from a user and stores it through the Domain 10 document service: scanning and upload on UI-HIM-005, message attachments on UI-PEX-006 and UI-PEX-013, correction evidence on UI-PEX-012, and any later screen that attaches a file. Briefs link here and do not repeat the rule. The control is the file upload component of DESIGN 6.
- What is accepted. The formats and limits below. A Domain 6 document type (CFG-HIM-014) or the screen's own setting may narrow them, never widen them. The portal uses the narrower limit of CFG-PEX-018 (10 MB).
| Kind | Formats | Largest file |
|---|---|---|
| Document or scanned page | PDF/A, TIFF; plain PDF only from outside the hospital, such as from a patient or another facility | 25 MB |
| Photograph or image | JPEG, PNG | 25 MB |
| Video | MP4 | 500 MB |
| Structured document | FHIR document bundle, HL7 CDA | 5 MB |
Never accepted: programs and scripts, compressed folders such as ZIP, office files with macros, and password-protected files. Medical images (DICOM) are not uploaded; they stay in the imaging archive. 2. The picker offers only the formats the document type allows, and states them with the limit under the control: "PDF, JPEG or PNG · up to 10 MB". Drag and drop follows the same rule Proposed. Each file has its own row and status. The server checks the real file type from the content, not only from the name. 3. Rejection. A refused file is not stored. The message names the file and the reason in plain words and says what to do. The rest of the user's work (the message, the index form) is kept.
| Reason | Message |
|---|---|
| Format not allowed | "[file name] was not added. [Format] files are not accepted here. Use [allowed formats]." |
| Too large | "[file name] was not added. It is [size]; the limit is [limit]." |
| Content does not match the name | "[file name] was not added. The file is not the type its name says." |
| Program, script or compressed folder | "[file name] was not added. Programs and compressed folders (such as ZIP) are not accepted. Add the files themselves." |
| Office file with macros | "[file name] was not added. Files with macros are not accepted. Save it as PDF and add it again." |
| Password-protected | "[file name] was not added. It is password-protected. Remove the password and add it again." |
| Failed the malware scan | "[file name] could not be accepted. It did not pass the security check." A security event is raised. The message does not say what was found |
| Scan service unavailable | "[file name] cannot be checked now. It was not added. Try again later." Proposed |
The portal shows the same messages. The short forms in the Domain 7 specification ("This file type or size is not accepted.", "The file could not be accepted.") are these messages without the file name. 4. Malware scan pending. Until the Domain 2 scan returns, the file row shows "Checking file · [file name]". Then it shows the file name, format and size with "File checked". While any file is being checked, the storing action ("Send message", "Save index", "Submit request") is disabled with the reason "Wait until the file check is finished." The user can go on working and the draft is kept (section 5 rule 4). A file is never previewed, opened or filed before its scan has passed. After 2 minutes the row adds "Still checking. You can save a draft and come back." Proposed 5. Document service unavailable. "Files cannot be added now. Your other work is kept." The screen keeps the unsent content under its own rules (D10-ESS section 8.6). 6. Accessibility. Each change of a file's status is announced to screen readers (NFR-011).
14. Prints, labels and wristbands¶
The screen inventory lists only screens. Printed outputs that identify a patient are designed here once, because a wrong label is a wrong-patient error that no screen can catch. Type and layout tokens are in DESIGN 8. Content of identifiers follows PH-01 and DEC-ADM-002.
| Output | Printed from | Content | Rules |
|---|---|---|---|
| Every printed page | Any view | Header: name, No. RM, date of birth. Footer: document name and state, page n of N, printed by, printed at with zone, facility | Black and white legible. Training prints: "TRAINING — NOT A RECORD" across each page. Emergency access and sensitive prints: the CUX-46 marking on each page |
| Patient wristband | Registration and admission (UI-ADM-001, UI-ADM-003) | Full name (titles before it, PH-01), No. RM, date of birth, sex; a 2-D barcode (DataMatrix) holding No. RM and the band's own print identifier | Never NIK, BPJS number, diagnosis, ward or sensitive category. Band colours for alerts (for example allergy and fall risk) follow the hospital's accreditation standard; they are physical bands outside the screen colour table, and the screen never relies on them. A reprint voids the earlier band's print identifier, so a scan of an old band shows "Band replaced" |
| Newborn bands | Birth registration | "By. Ny. [mother's name]" with birth number for multiple births, the newborn's own No. RM, date and time of birth, sex; the mother's No. RM as a second line | Two bands (wrist and ankle) with the same print identifier. Scanning a newborn band never opens the mother's record |
| Unidentified patient band | Rapid registration (UI-ADM-008) | The temporary name with "Unidentified", No. RM, estimated age, sex | Replaced, not edited, when the identity is confirmed; the old print identifier is voided |
| Specimen label | Specimen collection (stage 4) | 50 x 25 mm. Name, No. RM, date of birth; accession number as text and Code 128 barcode (DataMatrix on small tubes); container type; test short codes; urgency; collection date and time with zone; collector | Printed at the bedside after the wristband scan (CUX-05), not in advance in a batch for several patients |
| Medication label | Dispensing (stage 4) | Name, No. RM, drug in Tall Man lettering where listed (CUX-61), dose with unit, route, frequency or time, preparation and expiry date and time, "HIGH ALERT" in words where the drug is on that list | Number format of CUX-59 |
| Blood compatibility tag | Blood bank issue (stage 4, UI-ANC-006) | Name, No. RM, date of birth as text and barcode; patient ABO and RhD group; unit number (ISBT 128) as text and barcode; component; unit ABO and RhD group; crossmatch result; unit expiry; issued by and at | Attached to the unit before it leaves the blood bank. The bedside scan of OV-05 checks the tag against the wristband and the unit |
| Aliquot label | Laboratory (UI-ANC-001) | 50 x 25 mm, as the specimen label. Name, No. RM, date of birth; parent accession number with the aliquot suffix as text and barcode; container type; test short codes | Same two identifiers as the specimen label; the parent link is printed so a mismatch is visible |
| Block and slide labels | Pathology (UI-ANC-015) | Accession (case) number, block and slide number and stain as text, and a DataMatrix barcode; patient name, No. RM and date of birth | Printed or etched directly; never handwritten except in declared downtime |
| Human milk container label | Milk room (UI-ANC-006) | Infant's name, No. RM and date of birth, mother's name, container identifier as text and barcode, expression time, frozen and thawed times, expiry, fortification, "DONOR MILK" where donor milk | Checked by the scan sequence before feeding (UI-ANC-007) |
| Downtime specimen labels | Pre-printed stock for declared downtime | Pre-printed accession number as text and barcode, in ranges of 100 per location; blank fields for name, No. RM, date of birth, collector and time | Two identifiers are written by hand at the bedside; the specimen is matched to the order on reconciliation (OV-59) |
| Queue ticket | Queue console (UI-ADM-007) | Queue number, service, date and time | No name or identifier: it is shown in public (ruling 4 of first batch readiness) |
| Diet tray label | Diet work list (UI-CLI-006) | Name, No. RM, date of birth; unit and bed; meal service and date; diet type, texture and restrictions; allergies and intolerances, or "Not assessed" | One label per meal served; none for a patient with "Nothing by mouth". No diagnosis or sensitive category (DG-01) |
| Referral letter (surat rujukan) | Order entry and order tracking (UI-CLI-009) | The every-page header and footer; referring facility and clinician with practice licence (SIP); receiving facility; referral type; reason, diagnosis (ICD-10), clinical summary and care given; national referral number once assigned; a QR code with the referral identifier and a verification code | Printed from the signed letter only; the fallback when SATUSEHAT Rujukan is unavailable or the facility is not connected (DG-02) |
| Printed prescription (resep) | Order entry and order tracking (UI-CLI-009) | The every-page header and footer; the content of Permenkes 72/2016: patient name, No. RM, date of birth or age, sex, weight for a child; prescriber with SIP; date; unit or clinic; each item with product, strength, form, quantity and directions; a QR code with the prescription identifier, the SATUSEHAT MedicationRequest identifier once assigned, and a verification code | For an external pharmacy only, and the fallback when SATUSEHAT is unavailable. A reprint shows "Copy". Narcotics and psychotropics are never on it (DG-03) |
The label formats above are the defaults of CFG-ANC-022 (set 17 November 2026): every label carries patient name, No. RM and date of birth as text, and a barcode, Code 128 linear or DataMatrix on slides and small tubes. A facility may change the layout within that parameter, not the identifiers. Printer models and label stock other than the 50 x 25 mm specimen label are chosen with the hospital's devices in stage 2; the content and rules above do not change with them.
Related: 11. Screen inventory · 12. User roles · 14. Clinical UX safety rules · PRS