You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
checking that the placeholder table definitions in ehrql.backends.emis are correct (we know that the ons_deaths definition is wrong but the others might be ok)
adding a new ehrql.tables.beta.emis module containing a schema for a vaccinations table, and adding a definition for this table to ehrql.backends.emis
It will be useful to refer to the implementation of EMISBackend in cohort-extractor to understand the contents of the tables.
We should test this by running a simple study that involves each table against the EMIS backend.
[Updated 2023-11-21]
The text was updated successfully, but these errors were encountered:
No, I don't think it does — and by design. The plan is that (a) the use of the tables.beta namespace and (b) the layers of indirection that Data Builder gives us mean that we can get something out there for people to use and then, at our leisure, work towards a set of core contracts that both can implement.
That is, it's possible for tables.beta.tpp and tables.tpp to co-exist and look different but both end up mapped to the same underlying database tables. So I'm hoping that gives us enough flexibility to decouple "Have some way of querying the data" from "Decide on the one true way that all EHR data should be represented" — which feels like a good thing.
We want to expose the following EMIS tables:
patients
clinical_events
medications
ons_deaths
vaccinations
This will involve:
ehrql.backends.emis
are correct (we know that theons_deaths
definition is wrong but the others might be ok)ehrql.tables.beta.emis
module containing a schema for avaccinations
table, and adding a definition for this table toehrql.backends.emis
It will be useful to refer to the implementation of
EMISBackend
in cohort-extractor to understand the contents of the tables.We should test this by running a simple study that involves each table against the EMIS backend.
[Updated 2023-11-21]
The text was updated successfully, but these errors were encountered: