Skip to content

Main content

Gynecology Questionnaire Prefer Not Answer Mask Tool

Separate answered, missing and prefer-not-to-answer positions.

Loading tool…

Description

Return zero-based response indexes for each literal token and all other entries as answered.

Gynecologic research and care records can contain specimen labels, questionnaire states, source keys, and consent flags. A local metadata check preserves a supplied convention without determining a clinical finding or verifying permission.

Return zero-based response indexes for each literal token and all other entries as answered.

When to use this tool

Use Gynecology Questionnaire Prefer Not Answer Mask when you need one explicit research-record or permission-metadata component.

How to use the tool and how it works

  1. Enter responses, missingToken, optOutToken. 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 answered, missing, optOut. Use the output convention below.

Require distinct missingToken and optOutToken. Return zero-based response indexes for each literal token and all other entries as answered.1

Input fieldMeaning and unitsAccepted input
responsesResponsesRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
missingTokenMissing TokenRequired. Text; maximum UTF-16 length 8192.
optOutTokenOpt Out TokenRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
answeredIndexes of entries that are neither missingToken nor optOutToken; contents are not otherwise validated.Required. Array of safe integer; maximum items 256.
missingMissingRequired. Array of safe integer; maximum items 256.
optOutOpt OutRequired. Array of safe integer; maximum items 256.
json
{
  "input": {
    "responses": [
      "yes",
      "NA",
      "PNA",
      "no"
    ],
    "missingToken": "NA",
    "optOutToken": "PNA"
  },
  "output": {
    "answered": [
      0,
      3
    ],
    "missing": [
      1
    ],
    "optOut": [
      2
    ]
  }
}

Limitations and assumptions

  • Answered means neither special token, without validating response content; opting out is distinct from missing and no scoring, consent, or clinical inference is performed.
  • 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 verified records, privacy and consent requirements, and appropriate professional interpretation before clinical or contact decisions.

References

  1. Calculation and input contract: gynecology/gynecology-questionnaire-prefer-not-answer-mask — tool.io

Similar or alternative tools