Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FILTER: Query for all unique conditions #2749

Open
4 tasks
emmastephenson opened this issue Oct 10, 2024 · 0 comments · May be fixed by #2934
Open
4 tasks

FILTER: Query for all unique conditions #2749

emmastephenson opened this issue Oct 10, 2024 · 0 comments · May be fixed by #2934
Assignees
Labels
Streamline eCR Issues for Streamline eCR team to work on

Comments

@emmastephenson
Copy link
Collaborator

emmastephenson commented Oct 10, 2024

What needs to be done

Write a backend query to find all unique conditions for all eCRs stored in the Viewer.

Why it needs to be done

This is one of the backend prerequisites to making filters work on the frontend (see ticket #2751). To populate the condition filter dropdown, we need to know all the conditions that a user could filter by.

Acceptance Criteria

  • Backend query available to gather all unique conditions across our eCR storage
    • Query works for core schema
    • Query works for extended schema
  • Endpoint so that frontend can use this query should also be included

Technical Notes

First in a series of sorting tickets - actually using this query will come later.

Additional context

We thought about having a separate "conditions" table that would be the master list of all conditions available, but there are two issues with this approach:

  1. It's another table for our partner STLTs to maintain
  2. Each eCR store won't actually have the full contingent of potential conditions - it depends on what they've authored in RCKMS.
@emmastephenson emmastephenson added the Streamline eCR Issues for Streamline eCR team to work on label Oct 10, 2024
@emmastephenson emmastephenson changed the title SORT: Query for all unique conditions FILTER: Query for all unique conditions Oct 10, 2024
@JNygaard-Skylight JNygaard-Skylight self-assigned this Nov 19, 2024
@JNygaard-Skylight JNygaard-Skylight linked a pull request Nov 19, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Streamline eCR Issues for Streamline eCR team to work on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants