Open LisaHopcroft opened 3 years ago
Study def currently requesting returning='number_of_matches_in_period'
, not sure how we can resolve this as required (i.e., admissions on the same day are only counted once). I'm also not sure how using this approach we can request only those admissions where the admission is recorded as complete.
Discussed with @HelenCEBM, all OpenSafely data will be completed episodes so we don't need to implement anything in our patient.admitted_to_hospital()
calls to specify this. There is no straightforward way at the moment to resolve the repeated counts on one day, this would have to be submitted as an issue to the tech team to be incorporated into the back end.
See guidance on page 8...
The admission indicators count admissions, reported quarterly based on the admission date, where the patients are prescribed medicines specific to the indicator within the same month and/or up to three months prior to the hospital admission dependent on the indicator. Patients with multiple admissions on the same day are counted once. Patients with multiple admissions within the quarter are counted as multiple admissions.
Adding this issue so that we can revisit this when checking the study definition at a later date.