Skip to content

Commit

Permalink
Swap transfer out to out of care
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher committed May 16, 2024
1 parent ac3f778 commit 266e9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SQL/iit_prod_data_extract.sql
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ where
and (fs.transfer_in_location_id is null or fs.transfer_in_location_id != 9999)
and fs.is_clinical_encounter = 1
-- don't generate predictions for patients who have transferred out
and fs.transfer_out is null
and fs.out_of_care is null
-- substituted from the R script
and fs.rtc_date between ?startDate and ?endDate
and (fs.next_clinical_datetime_hiv is null
Expand Down

0 comments on commit 266e9ba

Please sign in to comment.