ADR-002: Provider Routing via Phensys¶
Status¶
Accepted
Context¶
The platform needs to support different pharmacy backends, suppliers, and tenant-specific fulfilment choices. If provider integration lives in the channel layer, every storefront or portal must duplicate routing and status logic.
Decision¶
All fulfilment provider routing will be controlled by Phensys. Patient-facing channels such as LoveMyLife will submit requests to Phensys and read authoritative status back from Phensys.
Consequences¶
Positive¶
- tenant-level provider selection in one place
- channel independence
- easier support for multiple providers
- cleaner certification and audit narratives
Negative¶
- orchestration layer becomes more important and must be carefully designed
- adapter interfaces must be maintained