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
- Enter responses, missingToken, optOutToken. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| responses | Responses | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| missingToken | Missing Token | Required. Text; maximum UTF-16 length 8192. |
| optOutToken | Opt Out Token | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| answered | Indexes of entries that are neither missingToken nor optOutToken; contents are not otherwise validated. | Required. Array of safe integer; maximum items 256. |
| missing | Missing | Required. Array of safe integer; maximum items 256. |
| optOut | Opt Out | Required. Array of safe integer; maximum items 256. |
{
"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
Similar or alternative tools
- Self Report Scale Unanswered Item Token
Return missing for an exact missing-token match and recognized for that match or literal allowed membership.
- Menstrual Diary Completed Day Share
Count partial only when countPartial and divide counted by eligible.