Skip to content

Make Allergy, Diagnosis, and Symptoms sections collapsible on Encounter Overview #11504

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

Open
bodhish opened this issue Mar 24, 2025 · 8 comments · May be fixed by #11542
Open

Make Allergy, Diagnosis, and Symptoms sections collapsible on Encounter Overview #11504

bodhish opened this issue Mar 24, 2025 · 8 comments · May be fixed by #11542
Assignees
Labels
needs-triage question Further information is requested stale

Comments

@bodhish
Copy link
Member

bodhish commented Mar 24, 2025

Allergy, Diagnosis, and Symptoms sections on the Encounter Overview page should be collapsible. By default:

  • Sections should appear collapsed if they are empty.
  • Sections should appear expanded if data exists.
  • Users must be able to manually expand or collapse each section.
  • Add count of objects to make it friendly

Image


🚨 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.

@Spandan-Mishra
Copy link
Contributor

Spandan-Mishra commented Mar 24, 2025

@bodhish can i work on this issue? currently i'm not working on any issue.
ETA: 2 Days
Approach: The Location Tab under settings of a Facility also has a similar structure. In LocationView.tsx we have a nested structure for the locations, where if the location has sub-locations then we can expand it. This will also follow a similar structure. As for the count, we can count the number of items in the list and show it at the top.

@github-actions github-actions bot added needs-triage question Further information is requested labels Mar 24, 2025
@rithviknishad
Copy link
Member

@Spandan-Mishra feel free to take this up once other issues assigned to you are done!

@Spandan-Mishra
Copy link
Contributor

@rithviknishad I'll finish those ASAP, then get back to this 👍🏻

@hrit2773
Copy link
Contributor

@rithviknishad @Spandan-Mishra can I take this up if you don't mind ETA: 2 days.

@Spandan-Mishra
Copy link
Contributor

@hrit2773 I'll try to raise a PR by tomorrow EOD.
If I can't do it by then, please take it up. Is it ok?

@hrit2773
Copy link
Contributor

@Spandan-Mishra sure!!

@Spandan-Mishra Spandan-Mishra linked a pull request Mar 24, 2025 that will close this issue
7 tasks
@Jacobjeevan
Copy link
Contributor

@Spandan-Mishra Please refrain from opening PRs until you are assigned to the issue.

@Jacobjeevan Jacobjeevan removed question Further information is requested needs-triage labels Mar 25, 2025
@Jacobjeevan Jacobjeevan moved this to Up Next in Care Develop Mar 25, 2025
@Spandan-Mishra
Copy link
Contributor

@Jacobjeevan actually Rithvik said I could work on it when my other issues were resolved 😅

@Spandan-Mishra Please refrain from opening PRs until you are assigned to the issue.

Will keep this in mind

@github-actions github-actions bot added needs-triage question Further information is requested labels Mar 25, 2025
@github-actions github-actions bot added the stale label Apr 11, 2025
@Jacobjeevan Jacobjeevan moved this from Up Next to Review required in Care Develop Apr 17, 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 stale
Projects
Status: Review required
Development

Successfully merging a pull request may close this issue.

5 participants