Files
HealthAppRepository/Docs/Requirements/us14-professional-access.md
T

3.7 KiB
Raw Blame History

US-14 — Read assigned patients’ information

The common requirements apply to this story.

As a healthcare professional,
I want to authenticate using my credentials and view health information for patients assigned to me,
so that I can review their measurements and health insights.

Functional requirements

The thesis prototype uses pre-created healthcare professional accounts and predefined patient assignments. A healthcare professional may be assigned to multiple patients, and a patient may be assigned to multiple healthcare professionals.

Access is read-only and covers the assigned patients’ profiles, observations and their context, numerical insights, trend assessments and health overviews.

Acceptance criteria

Scenario: Successful authentication
  Given I have a pre-created healthcare professional account
  When I authenticate using valid credentials
  Then the system recognises my identity and healthcare professional role
Scenario: View assigned patients
  Given I am authenticated as a healthcare professional
  When I request my assigned patients
  Then the system returns only patients assigned to me
Scenario: View an assigned patient’s information
  Given I am authenticated as a healthcare professional
  And a patient is assigned to me
  When I request their profile, observations and context, numerical insights, trend assessment or health overview
  Then access is permitted
  And the requested information is returned according to the existing retrieval requirements
Scenario: No assigned patients
  Given I am authenticated as a healthcare professional
  And no patients are assigned to me
  When I request my assigned patients
  Then the system indicates that no patients are assigned
  And does not return other patients
Scenario: Patient information does not yet exist
  Given I am authenticated as a healthcare professional
  And a patient is assigned to me
  And the requested information does not yet exist
  When I request that information
  Then the system follows the existing behaviour for missing information
Scenario: Access to an unassigned patient
  Given I am authenticated as a healthcare professional
  When I request information about a patient who is not assigned to me
  Then access is rejected
  And no information about that patient is returned
Scenario: Attempt to change patient information
  Given I am authenticated as a healthcare professional
  When I attempt to create, modify or delete patient information
  Then the operation is rejected
  And the patient information remains unchanged
Scenario: Invalid credentials
  Given I am not authenticated
  When I attempt to authenticate using an incorrect account identifier or incorrect secret
  Then authentication is rejected
  And the response does not reveal which part of the credentials was incorrect
Scenario: Missing or invalid authentication
  Given my request has missing or invalid authentication information
  When I request assigned patients or patient information
  Then the request is rejected
  And no patient information is returned
Scenario: Patient account attempts professional access
  Given I am authenticated only as a patient
  When I attempt to use access reserved for healthcare professionals
  Then access is rejected
  And my existing access to my own information is unaffected

Prototype limitations

Patient assignments are predefined. Assignment management, professional credential verification, consent workflows, emergency access and editing by healthcare professionals are outside scope.