agenda-saude icon indicating copy to clipboard operation
agenda-saude copied to clipboard

Verificar agendamentos passados sem check-in

Open pedroCervi opened this issue 3 years ago • 1 comments

Conseguimos bater os registros com os do outro sistema da prefeitura para saber quais são de bug e quais são de "no show"? Seria interessante sabermos se há bugs.

Query:

Appointment.where(check_in: nil).where.not(patient_id: nil).where(start: 60.days.ago..1.day.ago.end_of_day).where(active: false).count

pedroCervi avatar Mar 25 '21 22:03 pedroCervi

Acho que este problema já foi arrumado. Verificar no banco.

jmonteiro avatar May 14 '21 04:05 jmonteiro