# Phase 10.10 Patient Activity Parity Evidence Specification

The DDB Patch Control Center Full Test must produce the following evidence.

## Functional parity

- `PATIENT_ACTIVITY_LEGACY_PARITY.json`
- `PATIENT_ACTIVITY_LEGACY_PARITY.csv`
- `PATIENT_ACTIVITY_LEGACY_PARITY_SUMMARY.txt`
- `PATIENT_ACTIVITY_PARITY_GATE.json`

The JSON must record:

- hospital;
- current year and comparison year;
- custom date range;
- 8 total checks;
- legacy and current totals;
- exact differences;
- month-level differences for monthly functions;
- category-level differences for New vs Follow-up;
- `write_operations = NONE`.

## Browser rendering

- `PATIENT_ACTIVITY_BROWSER_RENDER_GATE.json`
- `PATIENT_ACTIVITY_BROWSER_RENDER_DOM.html`
- `PATIENT_ACTIVITY_BROWSER_RENDER_STDERR.txt`

Acceptance:

- expected charts = 3;
- rendered charts = 3;
- failed charts = 0;
- one browser target only;
- Chrome or Edge headless process exits successfully.

## Regression gates

Full QA must continue to prove:

- PHP syntax PASS;
- HTTP gate PASS;
- Oracle read-only regression PASS;
- Revenue parity regression 10/10 PASS;
- Revenue browser rendering 5/5 PASS;
- Oracle write operations NONE.

## Final status

Phase 10.10 is accepted only when all mandatory gates are PASS and the Evidence ZIP is preserved.
