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

Add Consultation button is disabled after patient is discharged #9055

Closed
yash-learner opened this issue Nov 8, 2024 · 7 comments · Fixed by #9095
Closed

Add Consultation button is disabled after patient is discharged #9055

yash-learner opened this issue Nov 8, 2024 · 7 comments · Fixed by #9095
Assignees
Labels
good first issue Good for newcomers

Comments

@yash-learner
Copy link
Member

Describe the bug
Can not add a consultation via UI after a patient is discharged as the Add Consultation button is disabled. It is can be still accessed via visiting the route.

To Reproduce
Steps to reproduce the behavior:

  1. Go to patient with a consultation. - Visit consultation page
  2. Click Manage Patient
  3. Click Discharge from Care
  4. Now, you can notice Add consultation button is disabled but you can still access the route.

Expected behavior
I think the button should be enabled and should be possible to add a new consultation.

Screenshots
If applicable, add screenshots to help explain your problem.

add_consultation_button_is_disabled.mp4
@Rishith25
Copy link
Contributor

Can I work on this

@yash-learner
Copy link
Member Author

@rithviknishad @Jacobjeevan 👆

@nihal467
Copy link
Member

nihal467 commented Nov 8, 2024

@yash-learner It is an expected behavior, once a patient is discharged, without readmission we shouldn't allow new consultation

@nihal467 nihal467 closed this as completed Nov 8, 2024
@nihal467 nihal467 reopened this Nov 8, 2024
@Sancharisingh
Copy link

Hello @nihal467
I noticed that the 'Add Consultation' button is disabled after a patient is discharged. Since this behavior is marked as expected, could you clarify if:

Is this the feature's final behavior, or is it still a work in progress?
Are there any specific conditions under which this functionality might change?
Thanks.

@Rustix69
Copy link
Contributor

I would like work on this, if that's okay. And can you clarify the expected behavior.

@rithviknishad rithviknishad added the good first issue Good for newcomers label Nov 11, 2024
@SwanandBhuskute
Copy link
Contributor

I would like to work on this issue @rithviknishad @nihal467 , pls assign me

@rithviknishad
Copy link
Member

As discussed, the "Add consultation" button has no use based on the following:

When a patient is registered to a facility, and a consultation has yet to be created, the "Create Consultation" banner present in "no consultation filed" is sufficient.
For re-admission purposes, there exists a workflow to properly validate a patient through the Add Patient Details form itself by matching the phone number and date of birth. Hence this "Add Consultation" button serves no use.

So we can remove "Add Consultation" button to avoid confusion.

cc: @nihal467

@rithviknishad rithviknishad moved this to Up Next in Care Nov 12, 2024
Srayash added a commit to Srayash/care_fe that referenced this issue Nov 12, 2024
Srayash added a commit to Srayash/care_fe that referenced this issue Nov 12, 2024
Srayash added a commit to Srayash/care_fe that referenced this issue Nov 12, 2024
Srayash added a commit to Srayash/care_fe that referenced this issue Nov 13, 2024
Srayash added a commit to Srayash/care_fe that referenced this issue Nov 13, 2024
Srayash added a commit to Srayash/care_fe that referenced this issue Nov 14, 2024
@github-project-automation github-project-automation bot moved this from Up Next to Done in Care Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

7 participants