Initial commit: architecture design instructions and documentation
This commit is contained in:
commit
4bbf5afe3e
64 files changed
+8819
No files matched your search
@@ -0,0 +1,85 @@
|
||||
# US-15 — Follow measurement instructions
|
||||
|
||||
The [common requirements](00-common-requirements.md) apply to this story.
|
||||
|
||||
## User story
|
||||
|
||||
As a patient, I want clear instructions for taking and recording blood-pressure and pulse measurements, so that my observations are as accurate and comparable as practicable.
|
||||
|
||||
## Scope
|
||||
|
||||
Measurement guidance is separate from saving context under US-04. Guidance shall be available before any observation exists and while preparing to record an observation. Existing access rules continue to protect patient data; general guidance is available without authentication and shall neither require nor disclose patient information or assignment lists. Patient-specific records and assessments remain protected under US-13 and US-14.
|
||||
|
||||
## Functional requirements
|
||||
|
||||
The system shall provide clear, ordered instructions for obtaining accurate and repeatable blood-pressure and accompanying pulse measurements, based on applicable Danish or European clinical guidance. The instructions shall identify their source and review date, and distinguish home self-measurement from clinical measurement.
|
||||
|
||||
Home guidance shall cover preparation and rest, a suitable validated device and cuff, posture and arm positioning, remaining still during measurement, repeated readings and timing, and recording actual values and conditions. It shall explain how maintaining comparable conditions helps later comparison. Where numeric waiting times or repeat schedules are given, they shall follow the identified guidance rather than invented values.
|
||||
|
||||
The Danish home protocol described in [Sundhed.dk — Højt blodtryk](https://www.sundhed.dk/sundhedsfaglig/laegehaandbogen/hjerte-kar/symptomer-og-tegn/hoejt-blodtryk/) includes five minutes of seated rest and repeated morning/evening readings over three days. Instructions shall distinguish such a planned monitoring protocol from recording an individual observation. Device and cuff guidance shall be consistent with [Sundhed.dk — Blodtryksmåling](https://www.sundhed.dk/sundhedsfaglig/laegehaandbogen/undersoegelser-og-proever/kliniske-procedurer/hjertekar/blodtryksmaaling/).
|
||||
|
||||
Guidance for accompanying pulse shall explain recording the device-reported pulse and the relevance of rest/activity context; it shall not assume that a single pulse value measures rhythm regularity. The guidance shall not claim to guarantee accuracy or replace the device instructions or individually supplied clinical instructions.
|
||||
|
||||
If the setting is unknown, guidance shall clearly label its applicability rather than assuming home measurement. Departures from recommended conditions shall be recordable; guidance shall advise recording the actual circumstances instead of changing, discarding, or inventing readings.
|
||||
|
||||
Reading or declining guidance shall not create, change, or delete an observation, mark a procedure as followed, or block an otherwise valid observation submission. If guidance cannot be provided, the system shall communicate this without presenting unverified instructions as authoritative. Guidance shall not recommend changes to prescribed medication.
|
||||
|
||||
## Acceptance criteria
|
||||
|
||||
```gherkin
|
||||
Feature: US-15 — Follow measurement instructions
|
||||
|
||||
Scenario: Access guidance before first observation
|
||||
Given a patient has no observations
|
||||
When measurement guidance is requested
|
||||
Then preparation, measurement, and recording instructions are available
|
||||
And the source, applicability, and review date are identified
|
||||
|
||||
Scenario: Home measurement guidance
|
||||
When home measurement guidance is requested
|
||||
Then the instructions cover rest, equipment and cuff, positioning, repeated readings, and recording conditions
|
||||
And any numeric instructions follow the identified Danish or European guidance
|
||||
|
||||
Scenario: Unknown setting
|
||||
Given no measurement setting has been supplied
|
||||
When guidance is requested
|
||||
Then its supported setting is identified
|
||||
And no measurement setting is saved or assumed on the user’s behalf
|
||||
|
||||
Scenario: Different measurement conditions
|
||||
Given the user is preparing to record an after-activity measurement
|
||||
When guidance is requested
|
||||
Then the guidance distinguishes it from a resting measurement
|
||||
And explains recording the actual conditions without relabelling the result as resting
|
||||
|
||||
Scenario: Pulse context
|
||||
When guidance for accompanying pulse is requested
|
||||
Then it explains recording the pulse value and relevant activity condition
|
||||
And does not describe the single pulse value as a rhythm assessment
|
||||
|
||||
Scenario: Guidance does not certify compliance
|
||||
Given an observation entry is being prepared
|
||||
When measurement guidance is viewed
|
||||
Then no observation is saved or altered
|
||||
And following the procedure is not recorded automatically
|
||||
|
||||
Scenario: Guidance is optional
|
||||
Given otherwise valid observation data is supplied
|
||||
And the patient has not viewed guidance
|
||||
When the observation is submitted
|
||||
Then creation succeeds
|
||||
|
||||
Scenario: Guidance unavailable
|
||||
Given no verified guidance is available for the requested setting
|
||||
When guidance for that setting is requested
|
||||
Then its unavailability is explained
|
||||
And unsupported instructions are not presented as verified guidance
|
||||
```
|
||||
|
||||
```gherkin
|
||||
Scenario: General guidance without login
|
||||
Given I am not authenticated
|
||||
When I request general measurement guidance
|
||||
Then the general guidance is available
|
||||
And no patient-specific information or assignment list is returned
|
||||
```
|
||||
Reference in new issue
Block a user