Description
Count literal query reopen and closure tokens.
Clinical research distinguishes supplied protocol metadata, participant/event records, allocation bookkeeping and an analysis target. A local count, permission flag or denominator choice can help reconcile records without establishing valid consent, randomization, regulatory compliance or a reliable treatment-effect estimate.
Count literal query reopen and closure tokens.
When to use this tool
Use Query Status Cycle Index when checking the stated clinical-research record, allocation, timing, analysis or evidence-basis convention.
How to use the tool and how it works
- Enter statuses, reopenedToken, closedToken. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read reopenCount, closureCount. Use the output convention below.
Count literal query reopen and closure tokens. Require reopenedToken != closedToken; reopenCount and closureCount count supplied statuses equal to the respective tokens.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| statuses | Statuses | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| reopenedToken | Reopened Token | Required. Text; maximum UTF-16 length 8192. |
| closedToken | Closed Token | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| reopenCount | Reopen Count | Required. Safe integer. |
| closureCount | Closure Count | Required. Safe integer. |
{
"input": {
"statuses": [
"open",
"closed",
"reopened",
"closed"
],
"reopenedToken": "reopened",
"closedToken": "closed"
},
"output": {
"reopenCount": 1,
"closureCount": 2
}
} Limitations and assumptions
- This counts occurrences without validating a state-transition sequence, paired episodes, actual resolution or query quality.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Use the complete approved protocol, authenticated source records and qualified clinical/statistical oversight for actual trial design, conduct and interpretation.
References
Similar or alternative tools
- Query Reopen Count At Cutoff
Count query-reopen events before an explicit cutoff.
- Trial Data Query Repeat Open Duration
Return query-open durations across supplied reopen episodes.