Skip to main content

Context

A claim and its related documents, assessment, approvals, refund, and audit records are read and updated together.

Decision

Use Cosmos DB for NoSQL with claim aggregate items partitioned by claim ID. The order container uses customer ID as its partition key. Status: Approved design.

Alternatives

[OWNER INPUT REQUIRED: alternatives considered in the design review.]

Consequences

Claim-scoped queries remain aligned with the aggregate boundary. The administrator KPI route scans the small showcase dataset; the guide recommends asynchronous materialized counters for a larger system.

Date and evidence

Decision date: [OWNER INPUT REQUIRED: decision date]. Evidence: repository GUIDE.md, sections 6, 8, and 15.