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

Duplicate Coverage ID and Subscriber ID Entries in check coverage eligibility Dropdown #11256

Open
modamaan opened this issue Mar 12, 2025 · 2 comments
Labels
needs-triage question Further information is requested

Comments

@modamaan
Copy link
Contributor

Describe the bug
The dropdown displays duplicate coverage records where the same Coverage ID and Subscriber ID appear multiple times

To Reproduce
Steps to reproduce the behavior:

Click here to reproduce

See error

Expected behavior
Each Coverage ID + Subscriber ID combination should be unique, ensuring no duplicate records appear in the dropdown

Screenshots

Image

Desktop (please complete the following information):

  • OS: [windows]
  • Browser [chrome]
  • Version [132.0.6834.111]

Additional context
Add any other context about the problem here.


🚨 DO NOT EDIT BELOW THIS LINE 🚨

Instructions for Requesting Assignment:

To request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:

Describe your solution clearly:
Provide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.

Expected Timeline:

  • End date: [Expected submission date of a completed Pull Request]

Additional Context:
Include any other relevant context, links, screenshots, or resources that support your proposed solution.

🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.

@modamaan
Copy link
Contributor Author

modamaan commented Mar 12, 2025

@rithviknishad @Jacobjeevan i would like work on this
ETA: 2days

@ByteKnight-SRM
Copy link

ByteKnight-SRM commented Mar 12, 2025

@ohcnetwork/care-fe-code-reviewers @rithviknishad @Jacobjeevan Could I please work on this?

Solution:

  • Determine where the dropdown data is coming from
  • Filter out duplicate records by combining Coverage ID and Subscriber ID.
  • Bind only unique records to the dropdown and test the dropdown to make sure no duplicates are displayed.

Optionally, can check to see if handling empty state when no records are available.
ETA: 2 days

@github-actions github-actions bot added needs-triage question Further information is requested labels Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants