# Phase 10.15 — Specialty Finance Recovery Contract (Corrected by H11.0-P7)

## Reconstructed-source scope retained

The following historical dispatcher functions still do not have full recovered
function bodies and therefore remain under reconstructed-source parity only:

- `moh_revn` → `get_moh_revn`
- `drug_rev` → `get_drug_rev`

Acceptance scope for this reconstructed gate is now:

- 2 functions
- 2 years
- 4 read-only runtime comparisons
- maximum numeric difference 0
- Oracle writes NONE

## H11.0-P7 exact correction for get_net_rev

The full historical dispatcher mapping and function body for `get_net_rev` are
now recovered.

Both dispatcher aliases:

- `special_net_rev`
- `net_rev`

call the same historical function:

- `get_net_rev`

The exact historical output is a ranked specialty dataset, not an annual scalar.

Historical SQL contract:

- Table: `KPI_DOCTOR_PERF_DETAIL_JOB`
- Metric: `SUM(DISTINCT NET_REV_AFTER_DRUG_MOH)`
- Grouping:
  - `SPECIAL_SPEC_ID`
  - `SPECIAL_SPEC_EN_NAME`
- Year filter: `YEARID = selected year`
- Inclusion threshold: metric `> 50000`
- Ordering: metric descending

Therefore the older Phase 10.15 scalar reconstruction is no longer counted as
historical parity for `net_rev`. Exact parity for both aliases is owned by
H11.0-P7 and `SpecialtyNetRevenueAliasParityService`.
