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).
  3. Loading animation in case the prediction algorithm takes time:

    1. Display a loading animation while the form is being submitted and the AI model is processing the data.
    2. The loading animation should be visually appealing and consistent with the overall design of the application.
    3. The loading page should provide a cancel or async button in the case of the longtime running of the AI model
  4. Error handling:

    1. Display clear and user-friendly error messages if there are issues with form submission or data processing.
    2. Provide guidance on how to resolve common errors.
  5. Navigation:

    1. Include a clear way to navigate back to the form from the results page.
    2. Implement a "Reset" or "New Case" button to clear the form and start over

Clone this wiki locally