Skip to content

Commit

Permalink
Tweak dataset definition
Browse files Browse the repository at this point in the history
The Getting Started guide talks about adding an age column
  • Loading branch information
inglesp committed Nov 7, 2023
1 parent 25cf5b6 commit ae27de5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analysis/dataset_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
index_date
).exists_for_patient()

dataset.age = patients.age_on(index_date)
dataset.define_population(has_registration)

dataset.define_population(has_registration & (dataset.age > 17))
dataset.sex = patients.sex

0 comments on commit ae27de5

Please sign in to comment.