patient_form_request_form table has one row per form on an ad-hoc patient form request. It is where the status of a single form lives: which form was sent, where it sat in the list, and the submission that completed it. Join patient_form_request_id to patient_form_request.id, patient_form_id to patient_form.id, and patient_form_submission_id to patient_form_submission.id.
A request can carry several forms, so this is the table to count when you are counting forms rather than requests. For how staff track responses in Elation, see Managing forms responses.
This table’s columns and relationships are shown in the Hosted Database schema.
For reporting on but not limited to:
- The status of every form on a request
- How long patients take to complete a form after it is sent
- Which forms get completed most often and which stall
- Forms that are outstanding or overdue across a practice
Before you query forms on a request
The status of a form, matching Elation
A form on a request is:- complete if
patient_form_submission_idis set, meaning the patient submitted it, orcompleted_override_atis set, meaning staff marked it complete without a submission; - outstanding otherwise, and overdue once the request’s
due_datehas passed.
completed_override_at is null on every row today. Keep the check in your queries so they stay correct if that changes.
A row counts while deletion_time is null
deletion_time here means the form was permanently removed from the request in Elation, which is different from the request itself being deleted. Exclude these rows. Who removed the form is not recorded. Whether the request was deleted is patient_form_request.deletion_time.
Deleted requests are mostly the unanswered ones
A row only counts for Elation’s own worklists if its request also counts, which means joiningpatient_form_request and filtering on deletion_time is null there. But staff delete the requests patients never completed, so that filter also drops most of the forms that went unanswered. For a response rate, keep forms on deleted requests. See Patient form requests.
A form can show as submitted with no submission row
patient_form_submission_id can point at a submission that is not in your Hosted Database, so use a left join to patient_form_submission and expect some submission times to come back null. Usually the form was created before 2024-07-11 and has not been edited since, so neither it nor its submissions are included; occasionally the form belongs to a practice outside your Hosted Database. The same applies to patient_form, so left join that too when all you want is a name.
Time from sending to completion
There is no elapsed-time column. Measure frompatient_form_request.creation_time, which is when the request was sent, to patient_form_submission.creation_time, which is when the patient submitted. Both are Pacific Time.