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

Group all eCRs from one encounter into a single row #3057

Open
4 tasks
austin-hall-skylight opened this issue Dec 13, 2024 · 1 comment
Open
4 tasks

Group all eCRs from one encounter into a single row #3057

austin-hall-skylight opened this issue Dec 13, 2024 · 1 comment
Labels
pairing Streamline eCR Issues for Streamline eCR team to work on

Comments

@austin-hall-skylight
Copy link
Collaborator

austin-hall-skylight commented Dec 13, 2024

What needs to be done

Group all eCRs with the same setID into one collapsible row in the eCR library.

Why it needs to be done

Users will be able to see all eCRs from a single encounter in one place, reducing clutter and making the library easier to navigate.

Acceptance Criteria

  • eCRs with the same set ID are grouped into one collapsible row with the most recent eCR (highest version number) at the top level.
  • Child records within the collapsible row are ordered by version number descending
  • Clicking the patient name in the child record takes you to the correct eCR
  • A group of eCRs representing one encounter only counts as 1 eCR for pagination purposes

Desing Notes

Link to design in figma

@austin-hall-skylight austin-hall-skylight added the Streamline eCR Issues for Streamline eCR team to work on label Dec 13, 2024
@emmastephenson
Copy link
Collaborator

Have to think more about pagination here as well. Some outstanding questions:

  • How do you track the last eCR that was rendered in a group, so that you don't show it again in later pages?
  • How does the total count of eCRs change with grouping? (This is a design question)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pairing Streamline eCR Issues for Streamline eCR team to work on
Projects
None yet
Development

No branches or pull requests

2 participants