opensafely-core / ehrql

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

Add `exists_for_patient_on` helper for `practice_registrations` #2234

Closed rw251 closed 5 days ago

rw251 commented 6 days ago

practice_registrations.for_patient_on(date).exists_for_patient() is a common filter when defining a cohort. Simplifying this to practice_registrations.exists_for_patient_on(date).

cloudflare-workers-and-pages[bot] commented 5 days ago

Deploying databuilder-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 60295d8
Status: ✅  Deploy successful!
Preview URL: https://21d302dc.databuilder.pages.dev
Branch Preview URL: https://rw-is-registered-on.databuilder.pages.dev

View logs

rw251 commented 5 days ago

closes #2232