OHDSI Home | Forums | Wiki | Github

About condition limiting days_to_event

patientprediction

#1

Hi.

While ‘getPlpData’ function works, there is a part querying ‘GetOutcomes.sql’.
And there is a session limiting days_to_event in ‘GetOutcomes.sql’.
Just so you know, days_to_event is calculated in ‘outcome.cohort_start_date -
cohort_person.cohort_start_date’.
If days_to_event is larger than days from observation start or days to observation end, this row is removed.
Why this limit exists?

Thank you.


t