Files
HealthAppRepositoryB/Docs/requirements-reconciliation-changelog.md

5.8 KiB
Raw Permalink Blame History

Requirements reconciliation — 2026-10-04

Result

The supplied Docs.zip was used as the source of truth. Requirements now have one current numbered file per story (US-01–US-15), plus one common-rules file. Compatible original scenarios and addendum criteria are retained; replaced clauses are listed below. The source ZIP was not edited in place.

Replace the old Docs directory with this corrected Docs directory rather than merely overlaying files: retired addenda and original aggregate requirements must not remain active beside the consolidated definitions. Retain the old version in version control.

Review findings resolved

Finding Resolution
1. Clinician exclusion US-13 permits US-14 assigned read-only professional access and excludes unassigned access/professional writes.
2. Account cardinality US-01/13 define zero then one profile; cover login without profile, initial association, duplicates, restart, concurrency and retry/recovery. US-14 retains predefined assignments.
3. Algorithm prerequisite Removed the requirement for a prescribed preimplementation formula. US-11 permits selecting/developing and documenting methods with reproducibility and evidence constraints.
4. Absent v4 references Removed v4/convention references. The operative full-period, temporal sufficiency, and endpoint limitations stand directly in US-11.
5. Latest ties US-06 explicitly selects latest measurement time, then original recording time, then a documented deterministic final rule. No recording-order dependency for US-11.
6. Rounding US-10 explicitly defines arithmetic means, two-decimal half-up final rounding, no intermediate rounding, extrema and single-observation results. Added exact fractional examples. No implementation was available to verify existing behaviour; this is the intended contract for implementation.
7. Periods Common inclusive boundaries; equal bounds valid; reversed bounds rejected. Added parameterised criteria for every period-based operation.
8. Comparability US-11 permits supported reference comparisons despite missing irrelevant optional details while explaining limits on stronger claims.
9. Guidance access US-15 general guidance public; patient-specific data and assignments remain protected. Authentication design access table aligned.

Replaced clauses and baseline design

  • US-13’s unconditional one-patient-per-account statement and blanket clinician exclusion are replaced by the lifecycle and role rules.
  • US-14’s instructions to patch US-13 are incorporated; they are no longer a separate competing replacement paragraph.
  • The US-11 preimplementation-formula note is removed. No unseen endpoint-only definition is treated as a source requirement.
  • “Existing” rounding and tie behaviour is now specified explicitly rather than assumed.
  • The US-11 ban on persisting generated assessments is moved to baseline Architecture. Functional freshness remains in requirements.
  • US_10_Correction is consolidated into the existing Architecture correction; its circular reference back into Requirements is removed.
  • The authentication design’s technology choices remain open. This reconciliation does not select JWT, token lifetime, association storage, or gateway-to-service controls.
  • Five editable draw.io diagrams update Observation classes/persistence, Insights classes/results, Overview classes and the no-persistence Insights model. Architecture/README.md identifies which JPEG snapshots they supersede. All original JPEG bytes are retained unchanged. Logical data shapes do not prescribe extra services or a specific physical storage mapping.

Original-file mapping

All paths below are relative to Requirements unless stated otherwise. Retired files are replaced in the corrected copy, not retained as competing requirements.

Supplied file Current location
us15-measurement-guidance.md us15-measurement-guidance.md
US_10_Correction ../Architecture/us10-insights-correction.md
us06-latest-observation-context-addendum.md us06-latest-observation.md
us11-measurement-context-addendum.md us11-health-trend.md
us04-record-measurement-context-addendum.md us04-record-observation.md
us_13_Authentication_own_Data.md us13-patient-authentication.md
us08-update-measurement-context-addendum.md us08-update-observation.md
us07-filter-observation-history-context-addendum.md us07-observation-history.md
us12-overview-measurement-context-addendum.md us12-health-overview.md
personal_health_user_stories_and_acceptance_criteria.md 00-common-requirements.md and US-01–US-12 files
us11-trend-stability-and-interpretation-addendum.md us11-health-trend.md
us10-context-selected-insights-addendum.md us10-calculated-insight.md
us05-view-measurement-context-addendum.md us05-view-observation.md
us09-delete-observation-context-addendum.md us09-delete-observation.md
us_14_Authentication_Healthcare_Professional_Data_Access.md us14-professional-access.md

Validation and limits

Checked editable draw.io XML structure and independently rendered shape-layout previews (the draw.io application was not available for an export check); checked story numbering, inclusion of all original scenario titles and all addendum criteria, local Markdown links, absent retired-reference dependencies, balanced Markdown fences, and byte preservation of supplied JPEGs. Added requirements scenarios do not constitute a passing application test suite; application source and AGENTS.md were not included.

The unapproved endpoint-only suggestion mentioned by the review is outside this archive. If still present in the repository, mark it superseded by the consolidated US-11; it must not govern implementation. No original suggestion file was deleted or modified here.