opensafely / med-safety-PoC

Proof of Concept project to implement BSA medical safety indicators
MIT License
0 stars 0 forks source link

Admission time frames #6

Open LisaHopcroft opened 3 years ago

LisaHopcroft commented 3 years ago

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.

LisaHopcroft commented 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.

LisaHopcroft commented 3 years ago

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.