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

Vaccines can be recorded with a backdated date that is earlier than prerequisite vaccine #135

Open
ellykits opened this issue Jul 23, 2020 · 1 comment
Labels

Comments

@ellykits
Copy link
Contributor

Steps to reproduce

Using IPV2 vaccine as an example:

  • Declare both IPV1 and IPV2 vaccines in the vaccines.json config file with the following logic (IPV2 should be due if and only if IPV1 was given)
  • Attempt to administer IPV2 with a date earlier than today.
  • Notice you can set a date before IPV1 date (Birth date used as the default whereas the trigger date for IPV2 should be the date IPV1 was issued)

Possible fix

  • Set the minimum date for IPV2 to be the date IPV1 was administered in the date picker.
@ellykits ellykits added the bug label Jul 23, 2020
@ellykits
Copy link
Contributor Author

Issue reported here bug

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

No branches or pull requests

1 participant