# Phase 10 — Functional acceptance matrix

This matrix distinguishes test source present in the repository from tests actually executed.

| Area | Acceptance scenario | Test source | Execution status |
|---|---|---:|---|
| Authentication | Guest redirected to login | `PatientWorkflowTest` | Not executed |
| Patient registry | Authorised user can open registry | `PatientWorkflowTest` | Not executed |
| Account security | Forced password change | `AccountSecurityTest` | Not executed |
| Account security | Inactive account denied | `AccountSecurityTest` | Not executed |
| RBAC | Facility admin cannot assign super-admin | `AccountSecurityTest` | Not executed |
| Facility isolation | Patient access requires approved transfer | `FacilityIsolationTest` | Not executed |
| Clinical | Clinical user creates and signs encounter | `ClinicalWorkflowAcceptanceTest` | Not executed |
| Clinical | Signed encounter rejects new observations | `ClinicalWorkflowAcceptanceTest` | Not executed |
| Appointments | Nurse schedules and checks in appointment | `AppointmentWorkflowAcceptanceTest` | Not executed |
| Pharmacy | Dispensing deducts stock and updates partial status | `PharmacyWorkflowAcceptanceTest` | Not executed |

## Static checks actually executed

- PHP syntax lint for every PHP source file.
- JavaScript syntax checks for every project JavaScript file.
- Bash syntax checks for deployment and maintenance scripts.
- Composer JSON parsing and Docker Compose YAML parsing.
- Static Blade-to-route and route-to-controller method references.
- Static `DB::table()` references against migration-declared table names.
- ZIP archive integrity.

## Not executed

- PHPUnit/Laravel feature tests.
- Composer dependency resolution.
- Laravel application boot and route compilation.
- Database migration execution or rollback.
- MySQL transaction/concurrency tests.
- Browser rendering and end-to-end workflows.
- Docker image build/container startup.
- FHIR conformance or DHIS2 integration tests.
- Security penetration testing or clinical validation.

The build environment lacks Composer, Docker, MySQL and PDO database drivers. No runtime test is claimed as passed.
