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

Result view list and modal patient names don't match #8126

Open
mehansen opened this issue Sep 18, 2024 · 0 comments
Open

Result view list and modal patient names don't match #8126

mehansen opened this issue Sep 18, 2024 · 0 comments

Comments

@mehansen
Copy link
Collaborator

Description

When you view the Results page, the patient name for a result lists the patient's current name. When you click on a result and view the result details, the patient name will be the name of the patient at the time that the original test event was created. Should the patient name in the list view always match the patient name in the result details modal?
For corrections, we send the updated patient name with the correction. However the result details modal will still show the patient name at the time that the original test event was created. Should the result details modal for a corrected test event have the updated patient name info?

Steps to reproduce

Screen.Recording.2024-08-26.at.11.02.17.AM.mov
  1. Submit a positive Covid result for a patient named Dave.
  • The result list shows the positive Covid result with the name Dave.
  • The result details modal shows the name Dave.
  • The FHIR bundle generated contains the name Dave.
  1. Change the patient's name to David.
  • The result list view shows the positive Covid result with the name David.
  • The results detail modal shows the name Dave.
  • No message sent to RS when a patient's name is changed.
  1. Submit a correction for the positive Covid result, changing it to negative.
  • The result list view shows the now negative Covid result with the name David.
  • The results detail modal shows the updated negative Covid result with the name Dave.
  • The FHIR bundle generated contains the name David.

Expected behavior

Names in list view and results detail modal should match?

Details modal after the correction should show the name David since that's what was sent to RS. In the backend, the test event for the correction should have David in the patient_data.

Additional context

This doesn't seem like a problem that impacts users often but I'm recording what I know about the behavior in this ticket so we have it documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant