opensafely-core / ehrql

ehrQL: the electronic health record query language for OpenSAFELY
https://docs.opensafely.org/ehrql/
Other
7 stars 3 forks source link

Expose `consultation_id` on TPP `medications` table #1993

Closed evansd closed 4 months ago

evansd commented 4 months ago

This requires us to create a TPP specialisation of existing core table. Obviously we can just do this by copy/pasting but I worry that this risks drift in the documentation. (Drift in the table structure itself is less of a worry as the backends will naturally enforce consistency for tables sharing the same name.) So I've made a slight tweak to the @table decorator to support table inheritance and added a mechanism to enforce docstring consistency.

Closes #1983

cloudflare-pages[bot] commented 4 months ago

Deploying databuilder-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9b6801d
Status: ✅  Deploy successful!
Preview URL: https://b3299b55.databuilder.pages.dev
Branch Preview URL: https://evansd-consultation-id.databuilder.pages.dev

View logs