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,30 @@
|
||||
# US-03 — Update a patient profile
|
||||
|
||||
The [common requirements](00-common-requirements.md) apply to this story.
|
||||
|
||||
**User story**
|
||||
|
||||
> As a patient, I want to update my profile information so that the system contains my current information.
|
||||
|
||||
## Acceptance criteria
|
||||
|
||||
```gherkin
|
||||
Feature: Update patient profile
|
||||
|
||||
Scenario: Update an existing patient
|
||||
Given a patient exists with
|
||||
| name | Steffen Example |
|
||||
| contactInfo | old@example.test |
|
||||
When the patient profile is updated with
|
||||
| name | Steffen Example |
|
||||
| contactInfo | new@example.test |
|
||||
Then the update succeeds
|
||||
And the patient identifier is unchanged
|
||||
And the patient profile contains contact information "new@example.test"
|
||||
|
||||
Scenario: Update a patient that does not exist
|
||||
Given no patient exists with the requested patient identifier
|
||||
When an update is requested for that patient
|
||||
Then the update is rejected
|
||||
And no new patient is created
|
||||
```
|
||||
Reference in new issue
Block a user