Skip to content

User Stories ‐ Frontend

Wayne Zhou edited this page Jul 2, 2024 · 10 revisions

User Story 1

As a case manager, I want to easily submit client-intake information and quickly receive the RTW results of a client in a user-friendly form, so I can easily weigh the recommendations of the web application against my intuitive recommendations.

Acceptance Criteria:

  1. A form containing all the required client information (e.g. name, address, age, etc) that can easily be filled out by typing.

    1. The form should have clear labels and instructions for each field.
    2. Validation should be implemented to ensure that the entered data is in the correct format and that required fields are not left empty.
    3. The form should be responsive and optimized for different screen sizes and devices.
  2. A results page showing the Return-to-work probability and intervention recommendations.

    1. Shows the baseline RTW probability based on the ML model.
    2. Shows the RTW percentage given a set of interventions.
    3. Display the top five combinations of interventions that give the best RTW probability, ranked in descending order.
    4. Display a graph(or other visualization form) to show the differences in RTW probability before and after each intervention.
    5. A button to save the current RTW and recommendation results as a comprehensive report in a specific format(ex. CSV, PNG).

non-functional

  1. An alternative to the form would be to upload a file formatted in a specific structure and format(ex. CSV, JSON).
    1. Implement file validation to ensure the uploaded file is in the correct format and contains the necessary data.
    2. Display appropriate error messages if the file is invalid or cannot be processed.

Clone this wiki locally