# US-12 — Overview persistence clarification resolved Status: resolved by the user's authoritative diagram rename on 2026-10-05. The Overview ER illustration is now named `10_er_health_overview_service-overruled no persistence here to give an idea of what data is needed to be able to use from other services or calculate.jpg`. This explicitly identifies its fields as a non-persisted data illustration. Follow `06_class_health_overview_service.drawio`: aggregate current source-service data without own persistence. No architecture or requirements documents were edited by the agent. The original conflict and recommendation are retained below as review history; the approval request and draft status below are superseded by this resolution. ## Original proposal ## Conflicting authoritative material - `Docs/Architecture/06_class_health_overview_service.drawio` explicitly says the application service loads profile, latest overall observation and selected-period numerical insight and aggregates **without own persistence**. - `Docs/Architecture/10_er_health_overview_service.jpg` shows a `HealthOverview` table with a `patient_id` primary key, copied patient/latest/average fields and `updated_at`. - `Docs/Architecture/README.md` supersedes only listed same-stem JPEGs; the Overview ER diagram is unlisted and remains supplied. Unlike Insights, there is no explicit correction retiring the Overview ER table or identifying it as a non-persisted projection. The ER diagram's database-shaped representation is ambiguous against the explicit no-persistence class model. Implementation must not silently decide that it requires storage or silently retire it. ## Recommended clarification (requires approval) Follow the current class model: the independent Health Overview service calculates on demand through gateway-routed HTTP clients and owns no database, cache or stored aggregate. Treat the retained Overview ER diagram as a historical/logical projection, not a persistence requirement. The user can incorporate that clarification into the authoritative Architecture documentation; no Docs files have been edited. This keeps current profile, latest context and selected numerical insight visible without an unspecified synchronisation/update mechanism or additional persistence. It matches US-12 and the explicit current Overview application-service responsibility. If persistence is intended instead, clarify ownership, refresh/invalidation, period and selection keys, consistency after edits/deletion, and storage schema before that implementation proceeds. A patient-id-only table cannot represent arbitrary selected periods and context selections without additional decisions. ## Prepared implementation A working draft independent service, clients, protected gateway route, configuration, systemd template and acceptance tests are present in the working tree. They implement the recommended on-demand option and remain uncommitted pending this clarification. No authoritative documentation or existing review file was changed. The draft does not constitute an approved resolution of the conflict or a completed US-12 commit.