Domain specifications / D07-PEX / 10. Non-Functional Requirements
10. Non-Functional Requirements¶
PRS numeric service objectives are proposed baseline targets that must be validated through workload modelling and clinical criticality analysis (PRS section 12). Targets below either restate a PRS target with that qualification or are marked "Proposed, to be validated". The PRS places non-urgent portal functions in Tier 3 (business support); REF-003 section 12.1 places the patient portal in its "Tier 2 – important" class and REF-004 in "Standard (C3)". These are the same relative position, the third of four classes, under different numbering. This document uses the PRS tier names.
| NFR ID | Category | Requirement | Target | Verification |
|---|---|---|---|---|
| NFR-PEX-001 | Performance | Common interactive patient actions (sign-in after credential entry, open home, open a result, send a message, submit a form) respond within the PRS interactive target. | p95 under 2 seconds and p99 under 5 seconds under agreed peak load (NFR-002, proposed baseline), measured at the gateway; long-running work is asynchronous with visible status. | Load test at agreed peak portal concurrency; production latency monitoring. |
| NFR-PEX-002 | Performance | Corrections, withdrawals, holds and consent changes reach the portal view promptly. | p95 end-to-end under 5 seconds from source event to updated release decision within the enterprise network (NFR-003, proposed baseline). | Event latency test with injected corrections. |
| NFR-PEX-003 | Availability | PEX services are a Tier 3 service class with an explicitly defined availability objective lower than Tier 1 (NFR-001 requires lower tiers to be defined). | 99.5% monthly availability excluding the approved maintenance window (monthly, at most 4 hours, Sunday 01:00-05:00 local), the Tier 3 target of D02-ISE section 10.1; adopted by DEC-PEX-009. | SLO report. |
| NFR-PEX-004 | Scalability | PEX services scale horizontally and independently of clinical services, for the agreed number of enrolled patients, concurrent sessions and notification volumes (NFR-004). | Sized for the PEX workload profile below with 2x headroom and 10% yearly growth, until the measured capacity model replaces it (NFR-017). | Capacity model review; scale test. |
| NFR-PEX-005 | Isolation | Portal load and portal failure do not degrade Tier 1 or Tier 2 services (PRS 8.2, 12.1). | Tier 1 and Tier 2 objectives still met during portal peak and portal failure injection. | Combined load test; failure injection. |
| NFR-PEX-006 | Security | PEX meets the approved secure development, vulnerability management, encryption and access control baselines (NFR-015, SEC-011). | No unresolved critical or high vulnerability at release without formal risk acceptance (ACC-003); threat model covers internet-facing abuse cases (credential stuffing, enumeration, session theft, enrolment fraud). | Threat model, penetration test of internet-facing endpoints, dependency and secret scanning. |
| NFR-PEX-007 | Reliability | No acknowledged patient submission is lost (NFR-005 principle applied to patient submissions). | 100% of acknowledged submissions delivered to the target or visible on the exception list. | Outage and replay tests; reconciliation reports. |
| NFR-PEX-008 | Maintainability | Each PEX service has an owner, runbook, dashboards, SLO, dependency inventory and recovery procedure (NFR-007). | Complete service catalogue entries before go-live. | Operational readiness review. |
| NFR-PEX-009 | Usability | Core patient tasks pass task-based usability tests with representative patients and representatives (NFR-010, SAFE-006). | Task success criteria agreed in the test plan are met; findings resolved or accepted. | Usability evaluation. |
| NFR-PEX-010 | Accessibility | Patient-facing screens conform to WCAG 2.2 AA or another recognized standard where applicable (NFR-011). | Conformance at the agreed level; keyboard and assistive-technology paths tested. | Accessibility audit. |
| NFR-PEX-011 | Localization | Language, time zone, locale, date and time formats and currency are configurable (NFR-012). | Bahasa Indonesia (default) and English (CFG-PEX-023); all patient-facing strings, notification templates, help content and published forms available in both before go-live. | Locale round-trip and translation coverage tests. |
| NFR-PEX-012 | Interoperability | PEX APIs and events are documented and versioned with backward compatibility and deprecation windows (NFR-009, CFG-004). | 100% of PEX interfaces in the API catalogue with contract tests. | Contract test results; catalogue inspection. |
| NFR-PEX-013 | Recoverability | PEX has defined RTO and RPO for its tier (NFR-006 defines values only for Tier 1 and Tier 2). | RTO ≤ 24 hours, the Tier 3 value of D02-ISE section 10.1. RPO ≤ 1 hour, tighter than the Tier 3 baseline of 24 hours, with RPO ≤ 5 minutes for stored patient submissions and release decisions; adopted by DEC-PEX-009. | Restore and recovery exercise (ACC-006). |
| NFR-PEX-014 | Observability | PEX provides metrics, logs, traces and business event monitoring with correlation across services (NFR-013). | Dashboards for the items in section 12.3; no patient data in logs. | Dashboard review; log inspection. |
| NFR-PEX-015 | Data durability | PEX data is covered by tested backup, restore and integrity checks (NFR-014, BCP-003). | Restore test evidence includes PEX stores and application validation. | Restore test. |
| NFR-PEX-016 | Time integrity | PEX stores UTC and displays local time with zone context (NFR-018). | All timestamps UTC; appointment and release times displayed with zone. | Inspection; daylight-saving and multi-zone tests. |
| NFR-PEX-017 | Portability | PEX builds and deploys reproducibly in an organization-controlled environment with replaceable external dependencies (NFR-008, DEP-005). | Messaging provider and identity provider replaceable without change to PEX domain logic. | Dependency replacement exercise or documented exit plan. |
| NFR-PEX-018 | Upgradeability | PEX supports controlled releases with rollback or forward-fix and client compatibility (NFR-016). | A patient-facing client one version behind continues to work during rollout. | Mixed-version test. |
Additional operational context:
- Workload. Closed 17 Nov 2026 (GAP-PEX-008). The PEX figures below are taken or derived from the reference workload profile of Domain 2. Sizing applies 2x headroom over the stated peak and 10% yearly growth. The measured capacity model replaces them within 3 months of go-live.
| Item | Planning value | Derivation |
|---|---|---|
| Enrolled patients | 300,000 within 3 years of go-live; 100,000 in the first year | Reference profile; 15% of the 2,000,000 MPI patients |
| Concurrent sessions | 3,000 at peak; sized for 6,000 | Reference profile, 2x headroom |
| Peak request rate at the gateway | 300 requests a second; sized for 600 | 3,000 sessions with one request every 10 seconds |
| Sign-ins | 30,000 a day; peak hour 4,500 | 10% of enrolled patients a day; peak hour 15% of the day |
| Notifications | 60,000 a day; peak hour 9,000 | Reference profile; sent outside quiet hours, so over 14 hours with a 15% peak hour |
| Reminders (part of notifications) | 6,000 a day | 3,000 appointments booked a day, two reminders each (CFG-PEX-009) |
| Patient messages | 2,000 a day, with about 2,000 staff replies | Reference profile |
| Release decisions | 11,000 items a day | 10,000 laboratory results, 800 imaging reports and about 200 discharge and other documents |
| Form and outcome submissions | 1,000 a day | 40% of the 2,500 daily outpatient visits with one pre-visit form or outcome questionnaire |
| Appointment requests | 500 a day | About one in six of the 3,000 daily bookings |
| PEX events published | About 100,000 a day; peak 5 a second | Sum of the rows above; well inside the backbone's sustained 100 events a second |
| Stored PEX data | About 50 GB a year of records, plus message attachments of about 6 GB a month | Notification records, events, messages and submissions at about 1 to 5 KB each; 10% of messages with a 1 MB attachment |
- Maintenance windows. Planned maintenance is announced in the portal under the Domain 2 release process (BCP-008).
- Offline operation. No offline transaction capability is required on patient devices. Drafts are saved on the server.
- Monitoring. See section 12.3.
← 9. Security, Privacy, and Compliance Requirements | Contents | Identifier index | 11. Clinical Safety and Operational Risk →