Skip to content

Domain specifications / D04-ANC / 15. Testing and Verification Requirements

15. Testing and Verification Requirements

15.1 Verification Strategy

  • Unit testing. Business rules, state transitions, compatibility table logic, expiry and fluid-balance calculations, delta and critical criteria evaluation, idempotency keys.
  • Component testing. Each service against simulated neighbours, including negative paths for every safety gate.
  • Integration testing. HL7 v2, FHIR and DICOM conformance packs; analyzer, modality and device simulators; retries, duplicates, out-of-order delivery, quarantine and replay; reconciliation (ACC-005).
  • End-to-end workflow testing. WF-ANC-001 to WF-ANC-008 across Domains 1, 3, 4, 5 and 10, including order-to-result, critical result, imaging, transfusion and the complete theatre scenario required by SPEC-002.
  • Clinical safety testing. Wrong-patient, wrong-specimen, wrong-unit, wrong-infant, wrong-site and artifact scenarios; every hazard in section 11.1 has at least one test (PRS 17.1).
  • Performance testing. Peak worklist and validation load; interface bursts; device-rate ingestion concurrent with core transactions (SPEC-003).
  • Security testing. Access by role and context, node authentication, Break-the-Glass, audit completeness, bulk export controls.
  • Usability testing. Task-based tests with representative users of each workbench and bedside screen (SAFE-006).
  • User acceptance testing. Scenario-based acceptance by each service with clinical owner sign-off (ACC-002).
  • Operational readiness testing. Downtime and restoration reconciliation exercises for laboratory, imaging, blood bank and theatre (BCP-005, ACC-007); monitoring, backup and restore, archive export.

Test evidence uses synthetic or de-identified data and is retained with test case, requirement, build, environment, tester, outcome and approver (PRS 17.3).

15.2 Test Scenario Catalogue

Test ID Requirement ID Scenario Test Type Expected Result
TEST-ANC-001 FR-ANC-LIS-001 Valid, duplicate, invalid-encounter and overdue Emergency orders Functional / Integration Accepted once; rejected with reason; overdue escalated
TEST-ANC-002 FR-ANC-LIS-002 Analyzer query, result upload, duplicate and unknown accession Integration Correct worklist; provenance stored; duplicate discarded; unknown quarantined
TEST-ANC-003 FR-ANC-LIS-003 Result exceeding delta limit; no prior result Functional Flag with prior value; release blocked until reviewed; value unchanged
TEST-ANC-004 FR-ANC-SPM-001 Matching patient and container scans Functional / Clinical safety Collection recorded with collector, time, source
TEST-ANC-005 FR-ANC-SPM-001 Container labelled for another patient Clinical safety Collection blocked; safety event and audit
TEST-ANC-006 FR-ANC-SPM-001 Unreadable band; exception path Clinical safety Reason mandatory; counted as exception in KPI-ANC-003
TEST-ANC-007 FR-ANC-SPM-002 Receipt, rejection, aliquot, custody chain view Functional Events emitted; requester notified; chain complete
TEST-ANC-008 FR-ANC-SPM-003 Release by authorized and unauthorized users Functional / Security Final with provenance; unauthorized denied
TEST-ANC-009 FR-ANC-SPM-003 Auto-verification with and without blocking flags Functional Not auto-released when flagged
TEST-ANC-010 FR-ANC-RIS-001 Order to modality worklist to study link; dose record Integration Order, accession, Study UID, encounter linked
TEST-ANC-011 FR-ANC-RIS-001, FR-ANC-IMG-001 Study with unknown accession or conflicting demographics Clinical safety Held; attached to no patient
TEST-ANC-012 FR-ANC-RIS-002 Sign, addendum, critical finding, dictation outage Functional Immutable report; addendum appended; case opened; typed reporting works
TEST-ANC-013 FR-ANC-BBK-001 Compatible allocation and issue; incompatible unit; group discrepancy Clinical safety Issue recorded; incompatible and discrepant blocked
TEST-ANC-014 FR-ANC-BBK-001 Emergency release Functional Authorizer and reason recorded; unit flagged
TEST-ANC-015 FR-ANC-BBK-002 Full match with two practitioners Clinical safety Start permitted; both identities recorded
TEST-ANC-016 FR-ANC-PTH-001 Multi-part case; slide scan; laterality discrepancy; supplementary report Functional / Clinical safety Derivatives resolve to patient; sign-out blocked on discrepancy
TEST-ANC-017 FR-ANC-BBK-002 Wrong patient; expired crossmatch; expired unit; same user twice Clinical safety Blocked in each case; safety event created
TEST-ANC-018 FR-ANC-BBK-002 Reaction recorded; repeat verification of a transfused unit Clinical safety Unit stopped and quarantined; blood bank notified; duplicate prevented
TEST-ANC-019 FR-ANC-RES-001 Preliminary, final, corrected, withdrawn sequence Functional / Integration One active version; Domain 3 display superseded; history retained
TEST-ANC-020 FR-ANC-RES-001 Out-of-order version delivery; provenance view Integration Active version unchanged; provenance complete
TEST-ANC-021 FR-ANC-RES-002 Unknown filler identifier; identifier match with patient mismatch Clinical safety Quarantined; never auto-attached
TEST-ANC-022 FR-ANC-RES-002 Stale accepted order; manual match Functional Listed; match recorded with approver and reason
TEST-ANC-023 FR-ANC-RES-003 Critical result released; recipient acknowledges Clinical safety Case opened; acknowledgement recorded; closed
TEST-ANC-024 FR-ANC-RES-003 No acknowledgement through all levels Clinical safety Escalates per level; attempts timestamped; remains visible
TEST-ANC-025 FR-ANC-RES-003 Notification service outage; unresolved recipient Resilience "Not delivered" on worklist; fallback role used
TEST-ANC-026 FR-ANC-RES-003 Correction crossing the critical threshold; withdrawal with open case Functional Case opened or updated; recipient re-notified
TEST-ANC-027 FR-ANC-BBK-004 Infant mismatch; expired milk; temperature excursion; valid feed Clinical safety Blocked or escalated; valid feed recorded
TEST-ANC-028 FR-ANC-BBK-003 Chain of custody by unit and by donation; unaccounted unit Functional Complete chain; recipients listed; unit on worklist
TEST-ANC-029 FR-ANC-PRC-001 Consultation and procedure request, escalation, completion Functional Acknowledged; escalated when stale; record linked
TEST-ANC-030 FR-ANC-PER-002 Incomplete mandatory checklist Clinical safety Case not Ready
TEST-ANC-031 FR-ANC-PER-002 Incision attempted without time-out Clinical safety Blocked
TEST-ANC-032 FR-ANC-PER-002 Wrong patient band at sign-in Clinical safety Blocked; safety event
TEST-ANC-033 FR-ANC-PER-002, FR-ANC-PER-001 Laterality discrepancy; laterality changed after checks Clinical safety Start blocked; re-confirmation required
TEST-ANC-034 FR-ANC-IOP-001 Count discrepancy at sign-out Clinical safety Patient-out blocked until documented
TEST-ANC-035 FR-ANC-IOP-001 Implant scan (valid, expired); medication recorded once; signed record amended Functional / Integration Traceable implant; single medication record in Domain 3; amendment appended
TEST-ANC-036 FR-ANC-IOP-002 Criteria met and unmet; handoff acknowledgement Functional Override needed when unmet; case completes on acknowledgement
TEST-ANC-037 FR-ANC-ICU-001 Device charting, validation, artifact, gap, fluid balance Functional Status shown; balance correct; gap visible
TEST-ANC-038 FR-ANC-ICU-002 Bundle activation, overdue element, threshold escalation, stale inputs Functional / Clinical safety Due items shown; escalation tracked; "cannot evaluate"
TEST-ANC-039 FR-ANC-RHB-001 Referral, plan, sessions, overdue review Functional Linked records; flag on overdue plan
TEST-ANC-040 FR-ANC-RHB-002 New specialty template promoted and rolled back Configuration No code change; records remain readable
TEST-ANC-041 FR-ANC-DEV-001 Association by scan; data attributed; duplicate delivery Integration Traceable to device, patient, location; one measurement
TEST-ANC-042 FR-ANC-DEV-001 Data with no association; patient transferred Clinical safety Held; association ended
TEST-ANC-043 FR-ANC-DEV-002 Implausible value; bulk validation with flagged values Clinical safety Flagged; explicit confirmation required
TEST-ANC-044 FR-ANC-DEV-002, FR-ANC-DEV-001 Clock drift; feed loss Resilience Flagged; fault raised; freshness shown
TEST-ANC-045 FR-ANC-IMG-002 Full export and import into a second archive Operational readiness Manifests reconcile; references still resolve
TEST-ANC-046 FR-ANC-SPM-001, FR-ANC-BBK-002 Network outage on bedside client Resilience / Clinical safety "Not connected · nothing has been recorded" shown; nothing recorded; safety gate unavailable; downtime entries made later are reconciled without duplicates
TEST-ANC-047 FR-ANC-RES-001, FR-ANC-IMG-001 Patient merge and unmerge, including EncounterCorrected with reason "Reattributed after unmerge" Integration Records follow governed identity; original identifiers kept; records under the reattributed encounter move with it; records with no encounter appear in the unmerge review queue
TEST-ANC-048 FR-ANC-PER-001 Scheduling, conflict, emergency insertion, cancellation Functional Conflict rejected; reasons recorded
TEST-ANC-049 All (BR-ANC-022, section 11.2) Downtime forms entered after restoration Operational readiness Entries carry downtime provenance; no duplicates
TEST-ANC-050 All (BR-ANC-021) Domain 5 outage during result release and procedure completion Resilience Clinical step succeeds; events replayed and reconciled
TEST-ANC-051 NFR-ANC-001 to NFR-ANC-003 Peak departmental load with device-rate ingestion Performance Targets met
TEST-ANC-052 FR-ANC-IMG-001 Authorized and unauthorized image retrieval; audit Security Served or denied by policy; audited
TEST-ANC-053 FR-ANC-LIS-004 QC results breaking 1-3s, 2-2s and R-4s; QC overdue; supervisor acceptance; look-back list Functional / Clinical safety Run rejected; pending patient results held; look-back lists results since last accepted run; "QC due" hold
TEST-ANC-054 FR-ANC-LIS-004 PNPME survey registered, EQA samples run, unacceptable result recorded Functional EQA sample not linked to a patient; corrective action due in 30 days; shown on REP-ANC-016
TEST-ANC-055 FR-ANC-LIS-005 Positive blood culture; MIC interpretation with CLSI table; cascade suppression; MRSA alert; WHONET export Functional / Clinical safety Critical case opened; interpretation and table edition stored; second-line agents suppressed; IPC notified; export file with pseudonymised keys
TEST-ANC-056 FR-ANC-PER-001, FR-ANC-PRC-001, FR-ANC-IOP-001 Surgeon without a current privilege named on a privilege-required case; emergency override; registry unavailable Integration / Clinical safety Surgeon refused with the missing privilege named; override recorded with reason and audited; Domain 10 review task created; "Privilege not confirmed" shown and the check repeated at time-out
TEST-ANC-057 EVT-ANC-032 Daily control totals published by 01:00 local; a corrected day re-sent Integration One event per facility and business date with counts per event type matching the events published; correction carries a higher version; no patient identifiers

15.3 Acceptance Criteria

The domain is accepted for a release when:

  • All Must requirements in the agreed release scope pass verification or have an approved, time-bound waiver (ACC-001).
  • WF-ANC-001 to WF-ANC-008 in scope pass end-to-end clinical scenario tests with clinical owner approval, including complete specimen-to-result traceability and the complete theatre scenario (ACC-002).
  • Every safety-critical function in section 11.1 has passed its verification and is recorded in the hazard log with an accepted residual risk.
  • All critical interfaces (orders, results, analyzers, modalities, archive, device gateway, notification) demonstrate acknowledgement, error handling, replay, reconciliation and monitoring (ACC-005).
  • Security and privacy controls pass assessment with no unresolved critical or high vulnerability without formal risk acceptance (ACC-003).
  • Performance and recovery targets for the approved tiers are met (ACC-006).
  • Data migration and reconciliation for in-scope sources are validated and signed off by the service owners.
  • Downtime and restoration reconciliation have been rehearsed by the laboratory, imaging, blood bank and theatre departments in scope (ACC-007).
  • Image and result export and exit tests pass (ACC-008).
  • Clinical governance has approved critical criteria, reference ranges, checklists, bundles, compatibility rules and relevant terminology (ACC-010).
  • Runbooks, super-users, escalation paths and dashboards are operational (ACC-009), and outstanding risks are formally accepted or resolved.

15.4 Requirement Verification Matrix

Requirement ID Test ID Verification Method Result Evidence
FR-ANC-LIS-001 TEST-ANC-001 Test Pending To be recorded
FR-ANC-LIS-002 TEST-ANC-002 Test Pending To be recorded
FR-ANC-LIS-003 TEST-ANC-003 Test Pending To be recorded
FR-ANC-LIS-004 TEST-ANC-053, 054 Test Pending To be recorded
FR-ANC-LIS-005 TEST-ANC-055 Test Pending To be recorded
FR-ANC-SPM-001 TEST-ANC-004, 005, 006, 046 Test Pending To be recorded
FR-ANC-SPM-002 TEST-ANC-007 Test Pending To be recorded
FR-ANC-SPM-003 TEST-ANC-008, 009 Test Pending To be recorded
FR-ANC-RIS-001 TEST-ANC-010, 011 Test Pending To be recorded
FR-ANC-RIS-002 TEST-ANC-012 Test Pending To be recorded
FR-ANC-IMG-001 TEST-ANC-011, 047, 052 Test Pending To be recorded
FR-ANC-IMG-002 TEST-ANC-045 Test / Inspection Pending To be recorded
FR-ANC-PTH-001 TEST-ANC-016 Test Pending To be recorded
FR-ANC-BBK-001 TEST-ANC-013, 014 Test Pending To be recorded
FR-ANC-BBK-002 TEST-ANC-015, 017, 018, 046 Test Pending To be recorded
FR-ANC-BBK-003 TEST-ANC-028 Test Pending To be recorded
FR-ANC-BBK-004 TEST-ANC-027 Test Pending To be recorded
FR-ANC-RES-001 TEST-ANC-019, 020, 047 Test Pending To be recorded
FR-ANC-RES-002 TEST-ANC-021, 022 Test Pending To be recorded
FR-ANC-RES-003 TEST-ANC-023, 024, 025, 026 Test Pending To be recorded
FR-ANC-PRC-001 TEST-ANC-029, 050, 056 Test Pending To be recorded
FR-ANC-PER-001 TEST-ANC-048, 033, 056 Test Pending To be recorded
FR-ANC-PER-002 TEST-ANC-030, 031, 032, 033 Test Pending To be recorded
FR-ANC-IOP-001 TEST-ANC-034, 035, 056 Test Pending To be recorded
FR-ANC-IOP-002 TEST-ANC-036 Test Pending To be recorded
FR-ANC-ICU-001 TEST-ANC-037, 051 Test Pending To be recorded
FR-ANC-ICU-002 TEST-ANC-038 Test Pending To be recorded
FR-ANC-RHB-001 TEST-ANC-039 Test Pending To be recorded
FR-ANC-RHB-002 TEST-ANC-040 Test / Inspection Pending To be recorded
FR-ANC-DEV-001 TEST-ANC-041, 042, 044 Test Pending To be recorded
FR-ANC-DEV-002 TEST-ANC-043, 044 Test Pending To be recorded
NFR-ANC-001 to NFR-ANC-020 TEST-ANC-046, 049, 050, 051 and Domain 2 platform tests Test / Analysis / Inspection Pending To be recorded

← 14. Technical and Architectural Constraints | Contents | Identifier index | 16. Implementation and Deployment Considerations →