patient_form_request table has one row per ad-hoc patient form request: staff picked one or more forms in Elation and sent them to a patient. It holds when the request was sent and by whom, when it becomes overdue, and when the patient first opened it. Join to patient on patient_id and to practice on practice_id.
The forms on each request, and whether each one is complete, are in Forms on a patient form request. Forms that an appointment requires do not come through this table; they reach patients as Patient forms emails. For how staff send forms, see Sending forms to patients.
This table’s columns and relationships are shown in the Hosted Database schema.
For reporting on but not limited to:
- Requests with forms still outstanding, and which of those are overdue
- Response rates for the forms a practice sends out
- How often patients open a request, and how quickly
- Which staff send the most form requests
Before you query patient form requests
Deleted requests are mostly the unanswered ones
Staff delete requests in Elation, and the ones they delete are mostly ones the patient never completed. Filtering ondeletion_time is null therefore drops most of the unanswered requests, which makes a response rate look far better than it was. To measure what was actually sent, keep deleted requests: leave the deletion_time filter off, as the response rate query below does.
Filter on deletion_time is null only when you want the requests a practice still sees in Elation, such as a worklist of outstanding forms.
A request is sent when it is created
There is no separate sent time.creation_time is when the request was created and therefore sent, and created_by_user_id is the member of staff who sent it. Elation emails the patient at that moment if they have an email address on file. Requests created through the API are not emailed; the caller delivers the link. Whether an email actually went out, and any resends, are not recorded here.
Forms are never sent by SMS or through the patient portal.
due_date is a due date, not a send date
due_date is when the request becomes overdue if forms are still outstanding. It is what the API calls notification_date, and it defaults to a week after the request was sent. A small share of requests carry far-future dates, for example in 2099 or 9999-01-01, which in effect means the request has no due date. Cap or exclude those before averaging anything over due_date.
There is no expired status
Form links do not expire with time. The nearest states are overdue, meaningdue_date has passed with forms still outstanding, and deleted. A deleted request’s link tells the patient it has expired, which is the only place the word appears.
viewed_at covers the whole request
viewed_at is when the patient first opened the request, not when they opened a particular form on it. A request with three forms has one viewed_at, whether the patient filled in all three or none.
Timestamps are Pacific Time
creation_time, viewed_at, and deletion_time are Pacific Time. due_date is either midnight on the due day or exactly a week after creation_time, on the same clock. Convert the current time to Pacific Time before comparing it with any of them, as the outstanding requests query does.