get_biobank_request
Check on a biobank question: its status, and the answer once there is one.
A person answers each question by hand, so most checks find it still queued or in_progress, with a message saying it is not answered yet. Once answered, answer holds a summary with caveats, an aggregate table and the data release it came from. A declined request carries decline_reason instead.
Parameters
| Parameter | Description |
|---|---|
request_idstring required | The request_id from |
Response
| Field | Description |
|---|---|
answered_atstring | null required | When it was answered or declined. Null while open. |
biobankstring required | all_of_us, the All of Us program. |
conditionsstring[] | null required | |
genesstring[] | null required | |
messagestring required | Where the request stands. Before an answer exists it says so; never present an open request as an empty result. |
questionstring required | |
request_idstring required | Pass this to get_biobank_request. |
statusstring required | queued, then in_progress while a person runs the query, then answered or declined. One of: |
submitted_atstring required | |
variantsstring[] | null required | |
answerobject optional | Present only when status is answered. |
answer.acknowledgmentstring required | Credit the biobank requires wherever these results are shown or shared. Include it with them. |
answer.data_releasestring | null required | The biobank data release the query ran on. |
answer.summarystring required | What the results show, with caveats. Relay the caveats. |
answer.tableobject | null required | |
answer.table.columnsstring[] required | |
answer.table.rows((string | integer | number | null)[])[] required | One list per row, in column order. A count can be a string such as "≤20": the biobank does not allow publishing counts from 1 to 20. |
decline_reasonstring optional | Present only when status is declined. |