Queries
A query is a managed question about data: a discrepancy with the source, a clarification, a remark. Queries are the primary data-cleaning tool. They look and behave the same everywhere: in the form, in the study worklist, and in your personal task worklist.
Query types
Section titled “Query types”| Type | Who opens it | When |
|---|---|---|
| Auto | System | An edit check with a query action fired on save |
| Manual | Monitor, data manager, PI | A remark on a value that a rule cannot check |
| System | System | A process inconsistency (e.g., a conflict after randomization) |
| Medical | Medical monitor | A clinical question about safety data |
Query lifecycle
Section titled “Query lifecycle”- Open
- cancelCancelled
- Answered
- rejectOpen · new round
- Closed
- reopenReopened
| Status | Meaning |
|---|---|
| Open | Awaiting a response |
| Answered | A response has been given; awaiting review and closure |
| Closed | Discrepancy resolved |
| Reopened | Returned to work after closure |
| Cancelled | Deemed opened in error (terminal) |
Open a query
Section titled “Open a query”A manual query is opened right in the form — at two levels:
- On a field — from the field menu, choose “Open query…”. A field query is available once the item has a value (while the field is empty the item hints: “available once the item has data”).
- On the form — the “Query on the form…” button at the top of the form. Use it for a remark not tied to one filled field: a missing (empty) value, a cross-field inconsistency, or a question about the whole form.
The system opens an automatic query itself when an edit check with a query action fires on saving a value.
Answer
Section titled “Answer”The response usually comes from the site coordinator. They either explain the value in text or correct the data (the edit goes through a reason for change) — and the query moves Open →
Answered. After the answer, the query awaits closure by a monitor or data manager.
Close, reopen, cancel
Section titled “Close, reopen, cancel”- Close — accept the answer: Answered → Closed. Rejecting the answer returns the query to work as a new round.
- Reopen — return a closed query to work with a reason.
- Cancel — mark a query as opened in error (with a reason). Cancellation is terminal: a cancelled query cannot be reopened.
The discussion thread
Section titled “The discussion thread”All exchanges on a query live in a single thread: comments, answers, and resolutions. The thread counts rounds (how many times the query went back for rework) and reopens. A single thread preserves the discussion history and audit — instead of spawning new queries for the same problem.
Worklist and bulk actions
Section titled “Worklist and bulk actions”It is convenient to work through queries not one casebook at a time but in a worklist. It exists at three levels:
- the study worklist — all queries (the Queries tab);
- the subject worklist — the Queries tab in the casebook;
- “My Worklist” (Tasks) — queries that await you specifically.
The worklist supports filters (status, type, site, form, age, “assigned to me”) and bulk actions:
-
Check several queries with checkboxes.
-
Choose a bulk action — Close, Reopen, or Cancel.
-
The action is applied to each selected query individually and audited separately.
A bulk action is not “all or nothing.” If the action is not allowed for some queries, they land in “skipped” with a reason: “no permission”, “scope under hard lock”, “invalid state transition”, “not found”. In the end you will see “applied N, skipped M”. A worklist row leads to the form with focus on the field — editing always happens in its original context.
Assigning a query
Section titled “Assigning a query”A live query can have an assignee — the person who took it (or was asked) to see it
through. The query thread shows an “Assignee” row with “Assign…” (a pick from
candidates), “Take it” and “Unassign” actions; assignment is managed by roles
holding the query.assign permission (the data manager and the monitor by default).
The assignee receives a notification, the query
rises to the top of their “Tasks” with an “assigned to me” label, and worklists gain an
assignee column and filter.
Deadlines and aging (SLA)
Section titled “Deadlines and aging (SLA)”Each query shows its age — how many days it has been open. The deadline threshold (SLA) is configured at the study or site level; worklists highlight overdue queries, and reports compute aging by age buckets (0–3, 4–7, 8–14, 15+ days).