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

EHR - Updating provider details results with error #474

Closed
AykhanAhmadli opened this issue Oct 8, 2024 · 9 comments
Closed

EHR - Updating provider details results with error #474

AykhanAhmadli opened this issue Oct 8, 2024 · 9 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@AykhanAhmadli
Copy link
Contributor

Steps To Reproduce:
Go to employees tab and select an employee.
Try to update details, add state qualification and try to save details.

Screenshot 2024-10-08 at 23 17 35
@AykhanAhmadli AykhanAhmadli added the bug Something isn't working label Oct 8, 2024
@saewitz saewitz added this to the Nile milestone Oct 10, 2024
@GiladSchneider GiladSchneider moved this from Backlog to Todo in Ottehr Product Oct 11, 2024
@saewitz
Copy link
Contributor

saewitz commented Oct 14, 2024

@AykhanAhmadli I do not reproduce, this may have been updated with another bug this release.

The UI is poor in a few ways, but that should be handled in a separate ticket.

  • Qualifications are updated below the save button
  • You can add duplicate qualifications
  • Once a qualification is added the inputs stay the same
  • There is a text input for credentials and not sure what it's doing

@saewitz saewitz moved this from In Progress to Ready For Test in Ottehr Product Oct 14, 2024
@AykhanAhmadli
Copy link
Contributor Author

@saewitz were you able to add a new qualification for the provider, go to another page or refresh, then come back to employee details page and still see that qualification on the list?

@saewitz
Copy link
Contributor

saewitz commented Oct 14, 2024

yeah

@DenysMyrosh
Copy link
Collaborator

OttEHR Admin Version: 0.13.0 - dev(Hash: 489cd3e)

Issue still reproducible ❌

STR:

  1. Go to https://ehr.ottehr.com/employee/a22c9930-5ab7-4a03-be59-25ad63e80fd2
  2. Update name & qualification
  3. Save changes

ER: Changes should be saved
AR: Error is shown
image

@DenysMyrosh DenysMyrosh moved this from Ready For Test to Todo in Ottehr Product Oct 18, 2024
@saewitz
Copy link
Contributor

saewitz commented Oct 18, 2024

@DenysMyrosh which account did you test with? please use the demo account if you did not use it during testing

@saewitz saewitz moved this from Todo to Ready For Test in Ottehr Product Oct 18, 2024
@DenysMyrosh
Copy link
Collaborator

@saewitz I used my Admin dmyroshnychenko@masslight.com
to edit this record https://ehr.ottehr.com/employee/a22c9930-5ab7-4a03-be59-25ad63e80fd2

I get same error as on screenshot in the description

Failed to update user: Error: {"status":500,"output":{"error":"Invalid roles selected. Role must be one of \"NewUser\", \"Administrator\", \"AssistantAdmin\", \"RegionalTelemedLead\", \"CallCentre\", \"Billing\", \"Manager\", \"Staff\", \"Provider\", \"FrontDesk\", \"Inactive\". Received \"Patient\""}}

can we fix it for all users ? or it requires updating roles individually for each record?

@DenysMyrosh
Copy link
Collaborator

OttEhr Admin Version: 0.13.0
Env: development
Hash: 8c95940

Just tried to update my record https://ehr.ottehr.com/employee/a22c9930-5ab7-4a03-be59-25ad63e80fd2
as demo@ottehr.com / oystehr and still got that error

Failed to update user: Error: {"status":500,"output":{"error":"Invalid roles selected. Role must be one of \"NewUser\", \"Administrator\", \"AssistantAdmin\", \"RegionalTelemedLead\", \"CallCentre\", \"Billing\", \"Manager\", \"Staff\", \"Provider\", \"FrontDesk\", \"Inactive\". Received \"Patient\""}}

@DenysMyrosh DenysMyrosh moved this from Ready For Test to Todo in Ottehr Product Oct 22, 2024
@AykhanAhmadli
Copy link
Contributor Author

@DenysMyrosh This is related to the user having patient role alongside with necessary roles as admin and provider, I will update your user and let you know

@DenysMyrosh
Copy link
Collaborator

OttEhr Admin Version: 0.13.0
Env: development
Hash: 7a3cba5
PASS :
@AykhanAhmadli tanks! I successfully updated my user https://ehr.ottehr.com/employee/a22c9930-5ab7-4a03-be59-25ad63e80fd2 and was able to add and save qualification. ✔️

@DenysMyrosh DenysMyrosh moved this from Ready For Test to Ready For Release in Ottehr Product Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

4 participants