Skip to content

Main content

Protocol Option Count Tool

Count distinct supplied protocol options after explicit exclusions without recommending an option.

Loading tool…

Description

Count distinct available protocol options.

Research ethics review involves evidence, participants, governance and context as well as record completeness. Role counts, disclosure presence and weighted criterion terms can organize supplied assertions; a complete checklist or numerical score does not itself determine ethical acceptability or valid authority.

Count distinct available protocol options.

When to use this tool

Use Protocol Option Count when checking the stated research-review record, role, disclosure or criterion convention.

How to use the tool and how it works

  1. Enter options, excludedOptions. Follow any array-alignment requirements below. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read availableCount, duplicateOptions. Use the output convention below.

Count distinct available protocol options. Deduplicate options, remove excluded labels, return remaining count and original-count minus unique-count as duplicateOptions.1

Input fieldMeaning and unitsAccepted input
optionsOptionsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
excludedOptionsExcluded OptionsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
Output fieldInterpretationReturned shape
availableCountAvailable CountRequired. Safe integer.
duplicateOptionsDuplicate OptionsRequired. Safe integer.
json
{
  "input": {
    "options": [
      "A",
      "B",
      "B",
      "C"
    ],
    "excludedOptions": [
      "B"
    ]
  },
  "output": {
    "availableCount": 2,
    "duplicateOptions": 1
  }
}

Limitations and assumptions

  • Option meaning, genuine choice, protocol suitability and ethical acceptability are not evaluated.
  • 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 the original protocol, evidence and governance requirements with the responsible ethics body and qualified professionals for substantive decisions.

References

  1. Calculation and input contract: bioethics/protocol-option-count — tool.io

Similar or alternative tools