Queries Report and Managing Queries
This article covers both the Queries Report and how to manage queries. Please see the applicable sections below.
The Queries Report application is available to any user role with the appropriate permission. It is located within the Reports menu on both the web and mobile app.
The Queries Report lists all queries which have been deployed to the user viewing the report. This is a centralized place to manage all queries which have been deployed to the user role viewing the report.
Queries will not display if:
It was not deployed to the current user role
It exists on a field that is blinded to the current user role
It exists on a form in which the current user role does not have View access for
Queries Report
On the web:
Select the Queries Report option under the Reports Menu
Once open, you will see a page similar to the one shown below. Reference the annotations below the image.
Column descriptions for the highlighted columns above:
Subject ID where the query resides - This is a link to the subject’s casebook
Date/time the query was opened - This is also a link to open the record where the query resides.
Msg - Tap to open dialog window for posting message or closing (permission-dependent). The number indicates the number of messages currently posted on the query
Batch close - Permission-dependent checkbox to bulk close queries.
Filter descriptions:
Subject - Text field to search for a specific subject ID
Status - open or closed queries
Generated By - System (automatic) or Manual queries. Automatic queries are generated by the system based on edit checks or missing data.
Message Type - Open-ATTN: Site, Open-ATTN: Monitor Closed, or Re-opened. Queries to the ATTN of the site are those created either by an Admin level role or by the system (e.g. form error). Queries to the ATTN of the Monitor are those to which the site-level user has posted a response.
Query Type - Field, Form, or Interval queries
Date range - Filters by the date of the most recent transaction on the query. For example, if a query was opened on Jan 15th and closed on Feb 20th, a filter for dates only in January would not display this query.
Role distribution - Select which roles to filter for, based on which roles the queries were distributed to. If a query was not distributed to your own role, it will not show as a result
Exporting the report
By exporting to Excel, all details can be referenced in a single view and filtered further as needed. The following columns are exported:
Query ID
Participant ID
Event Date
Query Age
Type
Status
Dialog
Visit
Form
Field
Table
Table Row
Site
Created by (author)
Trans_ID
Created by user role
Closed by
Closed by user role
Closed date
For viewing query metrics by site and status, take a look at the query summary report.
Queries Overview
The normal workflow of Queries is as follows:
Query created - either by the system due to data entry or manually by a user. These will be RED = to the Attention of the site.
The query is addressed either by a message being posted or by being closed:
Manual Queries - Another user posting a message will either change the status to GREEN if the message was posted by the site, or to RED if the message was posted by an Admin level role (normally a Monitor-type role). Those queries can be filtered and viewed in Queries Report.
Automatic Queries - The data gets corrected and the query automatically closes itself, or a user posts a message to the query.
Queries are only visible to you if one or more of the following is met:
You created the query
The query was deployed to your role, at the study site(s) you belong to.
You have special permissions to see all queries (My Queries Report)
Queries can exist and be viewed in the following three locations within a subject's records:
Location | Type |
Intervals | Manual |
Forms | Automatic or Manual |
Form Fields | Automatic or Manual |
Definitions of query types (listed in the table above):
Automatic - Queries are generated automatically by the system based on form logic and edit checks that are in place.
Manual - Queries are created manually by someone with permission to do so. Typically Data Managers or Monitors will have this permission.
Any query that is RED is to the attn of a site-level user. When opening these types of queries, you will notice the message type is "Attn: Site"
Any query that is GREEN is to the attn of an admin-level user. When opening these types of queries, you will notice the message type is "Attn: Monitor"
The images below display the locations listed in the table above.
Posting Messages to Queries
Queries are the optimal way to handle contextual communications that pertain to study data, without the need for email or other external methods.
Query dialog windows can be opened by tapping the query icon on the eCRF or via the Queries Report.
User role Permissions may prevent the ability to post messages to existing queries. This is determined by the “Grant access to query management” permission.
Creating Manual Queries
The ability to create manual queries is permission granted in Role Security via the application Query Management.
Verify you have this permission by opening any subject record that has not yet been locked/reviewed and verifying the query icon next to every field on forms:
The icons shown above are only to create new manual queries when no other query already exists. If a query of any type exists on a field, the icon will appear red as shown below.
Selecting the query icon will open the query dialog window which allows you to either create new queries or access existing ones. .
After opening the query dialog window by selecting a query icon, adding a new query is done by completing the form shown below. Follow the image annotations for steps to follow:
Select the query type choice. These are choices made available by the study designer, based on the common known reasons for creating a manual query. "Verify Data" is the most common reason manual queries are created.
Specify the query via a description
Select which roles the query should be seen by. The default roles selected are set up by the study designer, so these roles should not need to be changed with every new query that is added. These may also be disabled if the role has been configured to prevent editing these for each new manual query.
Add the query
Notice in the example shown above, that there is already an existing query on the field under the 'Existing Queries' section. Adding a new query will add to the list, from which users can toggle between the different queries to then post messages via the Query Post Form.
Closing Queries
The ability to close queries is a permission that must first be granted in role security via the Query Management application.
To see if you have the right to close queries, verify the following highlighted in your add query dialogue box.
Queries can be closed from two places:
Directly from the record
My Queries Report
Batch Closing Queries
To close groups of queries, use the Queries Report. If the user has proper permission for this function, checkboxes will display along the right side of the queries report listing as shown in the beginning of this article.
Redeploying A Query
By default, all queries will be distributed to the roles defined within the study configuration. Roles not included in the distribution will not see the query on the eCRF or in the Queries Report.
Queries can be individually re-distributed, or redeployed, to different roles if the user has the corresponding permission. To redeploy a query, open the query window, select the desired query, select the roles needed and then tap the redeploy button.
Related articles