28 lines
929 B
Markdown
28 lines
929 B
Markdown
# US-02 — View a patient profile
|
|
|
|
The [common requirements](00-common-requirements.md) apply to this story.
|
|
|
|
**User story**
|
|
|
|
> As a patient, I want to view my patient profile so that I can verify the information associated with my measurements.
|
|
|
|
## Acceptance criteria
|
|
|
|
```gherkin
|
|
Feature: View patient profile
|
|
|
|
Scenario: Retrieve an existing patient
|
|
Given a patient exists
|
|
When the patient profile is requested using the patient identifier
|
|
Then the patient profile is returned
|
|
And the returned patient identifier matches the requested patient
|
|
And the patient's name is included
|
|
And the patient's date of birth is included
|
|
And the patient's contact information is included
|
|
|
|
Scenario: Request a patient that does not exist
|
|
Given no patient exists with the requested patient identifier
|
|
When the patient profile is requested
|
|
Then the request reports that the patient does not exist
|
|
```
|