-
Notifications
You must be signed in to change notification settings - Fork 2
Already vaccinated scenarios covered #95
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
Conversation
acerathereinspirative-nhs-nvir
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments...
| de: bool | None = ..., | ||
| msoa: str | None = ..., | ||
| lsoa: str | None = ..., | ||
| last_successful_date: str = "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'd like to be able to set different dates for different vaccines. I was thinking that you'd set the vaccines parameter here - I don't think this builder needs any changes at all.
| comparator = rules.RuleComparator("QE1") | ||
|
|
||
|
|
||
| class TargetAlreadyVaccinatedSuppressionRuleFactory(IterationRuleFactory): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't spam out loads of these specialised builders. PersonAgeSuppressionRuleFactory is there because it's used many times. If we are only using this once, we can just use the IterationRuleFactory directly.
…ility_calculator.py Co-authored-by: Simon B <[email protected]>
…services/calculators/test_eligibility_calculator.py Co-authored-by: Simon B <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add the test case for someone who was vaccinated, but long enough ago that they do need another. Then it looks good to go!
acerathereinspirative-nhs-nvir
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As long as we get the aforementioned test before the story is done, I'm happy for this to be merged.
Description
Context
Type of changes
Checklist
Sensitive Information Declaration
To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.