Skip to content

Conversation

@chene0
Copy link
Collaborator

@chene0 chene0 commented Sep 30, 2025

Notion ticket link

Intake Form Experiences Update

Implementation description

Add a scope enum column to experiences (patient, caregiver, both, none), wiping existing entries for consistency.

Update the seeder to include experiences with scopes; treatments seeder stays as-is.

Create a new API endpoint to return filtered experiences (by target) and all treatments.

Update frontend forms to fetch options from the API instead of hardcoded constants.

Remove all "Other" treatment/experience fields in forms, interfaces, and backend processing.

Update or add tests to cover API changes and remove “other” field logic.

Steps to test

What should reviewers focus on?

Checklist

  • My PR name is descriptive and in imperative tense
  • My commit messages are descriptive and in imperative tense. My commits are atomic and trivial commits are squashed or fixup'd into non-trivial commits
  • I have run the appropriate linter(s)
  • I have requested a review from the PL, as well as other devs who have background knowledge on this PR or who will be building on top of this PR

Copy link
Collaborator

@YashK2005 YashK2005 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work! lgtm

@YashK2005 YashK2005 merged commit e6830d8 into main Sep 30, 2025
5 checks passed
@YashK2005 YashK2005 deleted the e263chen/f25/intake-form-experiences-update branch September 30, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants