Patient Set Query Scenarios
There is a set of these on one page in the i2b2 Community Wiki
Execute a Query and Get Its Results
The service queries the data mart using the query definition and generates output based on the result option. Each query request and its results will be recorded under the given user id and project id.
The server will read the value <result_waittime_ms> from the <request_header> and if the query did not complete before the wait time specified in the request, it will send a response to the client with a "PENDING" status. The client can later send a query instance request to see if the query has completed and retrieve the query result information.
Scenario: Check if the query is completed and get its results
Scenario: Get the query result (XML output) by result instance
Scenario: Run an analysis plug-in and get the status
Scenario: Get a list of queries by user id
Scenario: Get metadata of analysis plug-in
Scenario: Get query definition from master id
Scenario: Rename a query
Scenario: Delete a query
Scenario: Cancel a query