Skip to content

Commit

Permalink
Add note about ehrQL to federation page
Browse files Browse the repository at this point in the history
  • Loading branch information
inglesp committed Nov 27, 2023
1 parent c1392b3 commit c914f46
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/federation.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ We have various [examples](#examples) of completed and published analyses that w

The researcher wrote the code as a **single codebase**. As with all OpenSAFELY activity, this is composed of small, cross-backend components called *actions*.

The first action they wrote extracts a dataset using an [OpenSAFELY study definition](study-def.md)—a uniform way of extracting variables from very different databases. For example, this section of the study definition creates a variable that indicates when a patient was most recently recorded as having severe obesity:
The first action they wrote extracts a dataset using an [OpenSAFELY study definition](study-def.md)—a uniform way of extracting variables from very different databases.
(Note that this example uses cohort-extractor, which has been deprecated in favour of [ehrQL](/ehrql/).
However, this doesn't change the approach to federation.)

For example, this section of the study definition creates a variable that indicates when a patient was most recently recorded as having severe obesity:


```python

Expand Down

0 comments on commit c914f46

Please sign in to comment.