-
Notifications
You must be signed in to change notification settings - Fork 3
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
Expose a "clean" therapeutics table #2023
Comments
To add the new TPP table in ehrQL:
|
I think you've got a typo for the link to "backend test similar to the one for the raw table" - just checking you meant ehrql/tests/integration/backends/test_tpp.py Lines 666 to 711 in b2c6750
|
Yes, that's the one |
* risk cohort values from different sources are aggregated * fixes #2023
* risk cohort values from different sources are aggregated * fixes #2023
* risk cohort values from different sources are aggregated * fixes #2023
@acagreen17 Some questions:
Are all of these required in ehrQL? Are there any others that should be queryable?
|
@HelenCEBM might have some useful thoughts on this. |
See slack thread
To make the covid therapeutics data consistent with the data cohort-extractor provided and easier for users to use.
Current
covid_therapeutics_raw
table:Add a new non-raw table that:
(cohort extractor applied collation to the intervention and currentstatus columns, but according to the database report they already have the applied collation, so that should be unnecessary.
Refer to cohort-extractor's implementation:
create_therapeutics_table does the removal of duplicated and the comma-separated risk groups (as separate columns). Joining the 3 groups is done here.
(Note that we don't need to worry about duplicate risk groups across the 3 risk group columns because only one of those contains data in any one row)
The text was updated successfully, but these errors were encountered: