# Information mediation healthcare profile

Upstream: [`govstack-information-mediator`](https://specs.govstack.global/information-mediator) —
variants include `mediator-1.0`, `mediator-23q4`, `mediator-development`. No version or maturity is asserted.

## Healthcare need

Clinical information must move between independent organisations with purpose limitation, valid
clinical content and traceable provenance.

## What upstream covers

Governed exchange between services: routing, trust between participants and policy enforcement for
message transport.

## Added healthcare constraints

- **Clinical validation, not just transport** (`OCC-GOVSTACK-INFORMATION-MEDIATOR-R001`): purpose,
  clinical profile and provenance must be validated.
- **Versioned FHIR profiles and declared mapping loss** (`OCC-EXCHANGE-R001`).
- Patient identity resolution must not silently merge records across organisations.
- Exchange must support correction and withdrawal messages, not only new data.

## Security and privacy

- Transport trust does not establish that the payload is clinically valid or that disclosure is lawful.
- Minimum necessary data should be sent; whole-record exchange is not the default.
- Audit must record who sent what, for which purpose, under which agreement.
- X-Road or another trust network is an option, not a requirement; the decision must follow a
  documented requirement comparison.

## Upstream or local

Routing, participant trust and transport policy belong upstream. FHIR profiles, clinical provenance
and semantic validation are healthcare-specific and belong here.

## Evidence

None. EHRbase and DHIS2 were not connected through a mediator; the FHIR mapping example is local.
