7.5 KiB
7.5 KiB
Requirements and constraints register
Sources are indexed in input inventory. Paths below are relative to repository root. Functional behaviours and every acceptance scenario are mapped in traceability.
| ID / source | Classification | Binding meaning / treatment |
|---|---|---|
FR01 Docs/Requirements/us01-create-patient-profile.md |
Mandatory | Authenticated own initial creation, required name/birth, generated ID, zero-to-one association, durable/retry/concurrent/recovery correctness; no professional creation |
FR02 Docs/Requirements/us02-view-patient-profile.md |
Mandatory | ID/name/birth/contact retrieval and absent-resource outcome after authorization |
FR03 Docs/Requirements/us03-update-patient-profile.md |
Mandatory | Existing profile correction preserves identifier; missing profile never created |
FR04 Docs/Requirements/us04-record-observation.md |
Mandatory | Positive three readings and timestamp; existing patient; later retrieval; independently recorded setting/activity, partial/absent context, departures, original narrative retained, invalid categories rejected |
FR05 Docs/Requirements/us05-view-observation.md |
Mandatory | Specific observation/current measurements/time/context, known versus unknown and preserved text; missing/unauthorized outcomes |
FR06 Docs/Requirements/us06-latest-observation.md |
Mandatory | Greatest measurement instant then original recording instant, deterministic complete tie; edits/context suitability never alter precedence |
FR07 Docs/Requirements/us07-observation-history.md |
Mandatory | Ascending inclusive patient history; independent/combined/Unknown selection; no selection excludes nothing on context alone; empty result, unsupported selection rejection |
FR08 Docs/Requirements/us08-update-observation.md |
Mandatory | Numeric/context correction/clear; omitted values preserved; invalid update atomic rejection; subsequent reads/calculations use current values |
FR09 Docs/Requirements/us09-delete-observation.md |
Mandatory | Delete observation/owned context from later reads/history/calculations; other observations unaffected; missing/unauthorized outcomes |
FR10 Docs/Requirements/us10-calculated-insight.md |
Mandatory | Current selected arithmetic means, final half-up two decimals, BP extrema, one sufficient/zero unavailable; count/basis/context limits |
FR11 Docs/Requirements/us11-health-trend.md |
Mandatory | Three metrics/units; full-period direction and variation/reversals; appropriate references and cautious separate interpretations; comparability evidence/conflicts/missing facts; temporal sufficiency, current corrections/deletions, reproducible ordering-independent methods |
FR12 Docs/Requirements/us12-health-overview.md |
Mandatory | Profile/latest overall/selected-period numerical insight only; preserve context and distinct bases; absence retains available parts; no trend added |
FR13 Docs/Requirements/us13-patient-authentication.md |
Mandatory | Valid/generic invalid login; protected own-data access, missing/invalid/expired auth rejection; profile-less login/create; synthetic pre-created accounts |
FR14 Docs/Requirements/us14-professional-access.md |
Mandatory | Pre-created professionals/predefined many-to-many assignments; own assignment list, assigned read-only all data/context/calculations; no unassigned data or writes; patient cannot use professional-only operations |
FR15 Docs/Requirements/us15-measurement-guidance.md |
Mandatory | Public sourced/reviewed ordered setting-appropriate guidance, required topics/pulse limits, actual circumstances; optional/non-certifying/no side effects; unavailability explanation; no medication recommendations |
FR16 Docs/Requirements/00-common-requirements.md |
Mandatory | All data operations share actual-owner/access and lifecycle rules; inclusive/equal/reversed period semantics, measurement-instant normalization, AND selections, Unknown distinction, context preservation, guidance evidence, acceptance-state independence |
D16 Docs/Requirements/US16 easy installation and deployment installer.txt, us16-addendum |
Originally mandatory; topology revision explicitly authorized | Independent feature processes/configuration/distribution/separate DB ownership are incompatible with selection. Every AC and addendum clause is classified in US-16 revision; installer automation/security/verification intent retained at app granularity |
SEC Docs/Design/authentication-and-access-control-design.md §§2–9 |
Mandatory access/security intent; optional structural mechanism | Tokens time limited and trusted identity normalized; no password validation each business request/custom crypto; actual owner and assignment policy; HTTPS/secrets; replaceable identity; no bypass. Gateway becomes logical API edge; no internal network trust required. Framework integration retained; token choice/keys/ownership elaborated |
| SEC open choices, same source §10 and final paragraph | Optional/unfinished input design | Format, lifetime, account-association persistence, recovery, internal protection and exact contracts require design selection, not assumption of approved existing implementations. ADR-03/04 and specification supply proposal |
BASE Docs/Architecture/README.md, us10-insights-correction.md, current diagrams |
Optional baseline topology/persistence/classes | Five processes, all calls gateway-routed, separate persistent service DBs, controller/application/repository structure are reconsiderable under user option 3. Retain logical responsibilities and on-demand fresh results; no stored summaries/trends chosen independently |
HIST historical JPEGs, .bkp backups |
Optional/historical | Current Draw.io/correction overrides old summary/overview persistence; old omissions never remove accounts/context/trends/guidance requirements |
AB all Docs/AsBuiltArchitecture/ |
Descriptive, not binding | Existing route/field/error documentation used as external compatibility target; code-specific classes/versions/OS adapters/pooling/timestamp type/phrase detector/OLS are not new requirements. Source links not followed |
NFR energy objective, AGENT.md and user request |
Mandatory design objective | Compare alternatives; mechanisms/assumptions/counter-effects only, no invented measurements, quantitative savings or measurement procedures |
NFR correctness/security/maintainability/deployability, AGENT.md |
Mandatory design considerations | Explicit boundaries, ownership/transactions, access, failures, deployability and testable contract responsibilities; energy cannot excuse behavioural weakening |
| A1 workload/hosting | Assumed, reversible | Modest interactive synthetic prototype; Linux/systemd baseline; single app/local DB default, remote DB supported. No numerical load/SLA claim |
| A2 implementation framework/storage | Selected optional design | Retain ASP.NET Core framework integration and PostgreSQL; no specific package/runtime version prescription or source inspection |
| A3 runtime security isolation/HA | Unknown, recorded | No mandatory independent fault isolation/HA/SLA found; if required, revisit selection rather than claim logical modules supply it |
Clinical applicability is binding when a clinical claim is made; no particular threshold or new clinical formula is selected here. Missing optional facts limit only claims depending on them. Formula freedom permits documented reproducible implementation methods, not arbitrary clinical labels. The architecture identifies the policies/content records and validation obligations required to preserve these rules.