Description
Distinguish missing and refused survey response codes.
Public-health data distinguishes assigned case definitions, invitation responses, missing codes, repeat attendances and population denominators. A display-suppression rule changes visible text without necessarily preventing re-identification. Administrative labels and local summaries require verified study, privacy and clinical context before they can support population-health decisions.
Distinguish missing and refused survey response codes.
When to use this tool
Use Health Survey Nonresponse Code when you already have recordedCode, missingCodes, refusedCodes and need to distinguish missing and refused survey response codes.
How to use the tool and how it works
- Enter recordedCode, missingCodes, refusedCodes. 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 status. Use the output convention below.
Require missingCodes and refusedCodes disjoint; classify recordedCode by membership, otherwise other.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| recordedCode | Recorded Code | Required. Text; maximum UTF-16 length 8192. |
| missingCodes | Missing Codes | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| refusedCodes | Refused Codes | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| status | Status | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"recordedCode": "R",
"missingCodes": [
"M"
],
"refusedCodes": [
"R"
]
},
"output": {
"status": "refused"
}
} Limitations and assumptions
- Code lists may repeat; the tool does not infer the reason for a missing response or compute survey weights.
- 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 surveillance definition, survey codebook and population frame for actual counts and classifications. Assess disclosure controls across the full released dataset, including linked totals and repeated queries, rather than relying on one small-cell display rule.
References
Similar or alternative tools
- Psychiatric Questionnaire Missing Code
Check a psychiatric questionnaire response against supplied missing codes.
- Screening Invitation Response Code
Classify a recorded screening-invitation response using two supplied codes.