| 15 | |
| 16 | === Recruitment reporting === |
| 17 | |
| 18 | As of February 2013, the BRICCS project was included in the Leicestershire, Northamptonshire and Rutland CLRN Portfolio. Monthly reporting is therefore required for the CLRN, starting with an initial report of recruitment from the start until the end of January: |
| 19 | |
| 20 | * mysql -h briccsdb -u auditor -p briccs -e "SELECT barcode, start_date, status |
| 21 | FROM participant ptone, interview WHERE NOT EXISTS (SELECT 1 FROM participant pttwo WHERE pttwo.enrollment_id = ptone.enrollment_id LIMIT 1, 1 ) AND barcode is not null AND status <> 'CANCELLED' AND ptone.id = interview.participant_id order by start_date;" > briccs_enrollment_to_date.txt |
| 22 | |
| 23 | After that first report, each month the report should be re-populated with a specific month's recruitment |
| 24 | |
| 25 | * mysql -h briccsdb -u auditor -p briccs -e "SELECT barcode, start_date, status |
| 26 | FROM participant ptone, interview WHERE NOT EXISTS (SELECT 1 FROM participant pttwo WHERE pttwo.enrollment_id = ptone.enrollment_id LIMIT 1, 1 ) AND barcode is not null AND status <> 'CANCELLED' AND start_date > '01/02/2013 00:00' AND start_date < '01/03/2013 00:00' AND ptone.id = interview.participant_id order by start_date;" > briccs_enrollment_this_month.txt |
| 27 | |
| 28 | Reports are generated and sent to Angel Christian at angel.christian@uhl-tr.nhs.uk |