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

Calculate Consent#responded_at from consent form #2786

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

thomasleese
Copy link
Contributor

@thomasleese thomasleese commented Dec 20, 2024

If the consent is linked to a consent form we should get the responded_at date/time from when the consent form was submitted, not when it was linked with the patient.

This has been spotted as a bug and the testers would like it included as part of the work to fix inconsistent data between the consent and the consent form (#2772).

https://trello.com/c/2yk5lEkG/1769-linked-patient-details-shown-on-consent-response-page-instead-of-consent-form-responses

If the consent is linked to a consent form we should get the
`responded_at` date/time from when the consent form was submitted, not
when it was linked with the patient.

This has been spotted as a bug and the testers would like it included as
part of the work to fix inconsistent data between the consent and the
consent form
(#2772).
@thomasleese thomasleese added the 🐞 bug Something isn't working label Dec 20, 2024
@thomasleese thomasleese added this to the v1.1.1 milestone Dec 20, 2024
@tvararu tvararu temporarily deployed to mavis-pr-2786 December 20, 2024 09:19 Inactive
@thomasleese thomasleese merged commit 4c6c518 into main Dec 20, 2024
13 checks passed
@thomasleese thomasleese deleted the consent-linked-date branch December 20, 2024 10:49
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
None yet
Development

Successfully merging this pull request may close these issues.

3 participants