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

Update T1OO logic #1033

Closed
wants to merge 7 commits into from
Closed

Update T1OO logic #1033

wants to merge 7 commits into from

Conversation

evansd
Copy link
Contributor

@evansd evansd commented Jul 8, 2024

We expand the logic to exclude living, de-registered patients on the basis that they may have registered a T1OO elsewhere which has not propagated to our database.

The handling of different values of the `?include_t1oo` parameter is
already tested in `test_tpp_backend_modify_dsn`. Here we want to test
the query behaviour.
We expand the logic to exclude living, de-registered patients on the
basis that they may have registered a T1OO elsewhere which has not
propagated to our database.
@evansd evansd force-pushed the evansd/t1oo-update branch 2 times, most recently from afa3c77 to 04abec1 Compare July 8, 2024 16:57
These were sensitive to the exact number of joins the T1OO logic used.
Copy link
Contributor

@inglesp inglesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logic looks fine, but one question about the tests

cohortextractor/tpp_backend.py Show resolved Hide resolved
@evansd evansd marked this pull request as draft July 24, 2024 12:03
@evansd
Copy link
Contributor Author

evansd commented Aug 2, 2024

Closing in favour of #1034

@evansd evansd closed this Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants