Description
Check supplied optional/required consent-choice flags.
Consent, privacy and retention records encode supplied purposes, audiences, withdrawal status and timing rules. Literal membership or a true local predicate can organize these assertions while valid informed consent, adequate de-identification and lawful processing require separate contextual assessment.
Check supplied optional/required consent-choice flags.
When to use this tool
Use Optional Biobank Consent Choice Mask when checking the stated permission, withdrawal, retention or disclosure-record convention.
How to use the tool and how it works
- Enter choices, required. Follow any array-alignment requirements below. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read selectedIndexes, missingRequired, complete. Inspect complete before interpreting the associated values.
Check supplied optional/required consent-choice flags. Require aligned arrays; selectedIndexes lists true choices, missingRequired lists required false choices, complete means none are missing.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| choices | Choices | Required. Array of boolean; maximum items 256. |
| required | Required | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| selectedIndexes | Selected Indexes | Required. Array of safe integer; maximum items 256. |
| missingRequired | Missing Required | Required. Array of safe integer; maximum items 256. |
| complete | Complete | Required. Boolean. |
{
"input": {
"choices": [
true,
false,
true
],
"required": [
true,
false,
false
]
},
"output": {
"selectedIndexes": [
0,
2
],
"missingRequired": [],
"complete": true
}
} Limitations and assumptions
- Complete flags do not establish informed, voluntary or legally valid consent; no choice is selected or recorded externally.
- 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
Review original permissions, participant choices and applicable organizational/legal requirements with the responsible professionals before actual use, disclosure or deletion.
References
Similar or alternative tools
- Consent Scope Purpose Subsumption
Check requested purposes against granted and expressly excluded labels.
- Consent Scope Intersection Size
Return the number of distinct scope labels shared by two consent lists.