Skip to content

Main content

Neonatal Questionnaire Proxy Role Key Tool

Identify a supplied questionnaire role within record/version context.

Loading tool…

Description

Serialize them with role into a JSON array key; proxy is true for parent, guardian, or staff and false for self.

Exact label matching answers whether supplied strings agree under a chosen vocabulary. It preserves a useful distinction between missing, unknown, ambiguous, and unrecognized records.

Serialize them with role into a JSON array key; proxy is true for parent, guardian, or staff and false for self.

When to use this tool

Use Neonatal Questionnaire Proxy Role Key when you need an explicit record-label comparison or deterministic key.

How to use the tool and how it works

  1. Enter respondentId, infantId, role, version. 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 key, proxy. Inspect proxy before interpreting the associated values.

Require nonempty infant, version, and respondent identifiers. Serialize them with role into a JSON array key; proxy is true for parent, guardian, or staff and false for self.1

Input fieldMeaning and unitsAccepted input
respondentIdRespondent IdRequired. Text; maximum UTF-16 length 8192.
infantIdInfant IdRequired. Text; maximum UTF-16 length 8192.
roleRoleRequired. Text; one of "parent", "guardian", "staff", "self"; maximum UTF-16 length 8192.
versionVersionRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
keyJSON-array serialization of the stated identifying fields, preserving exact strings.Required. Text; maximum UTF-16 length 8192.
proxyProxyRequired. Boolean.
json
{
  "input": {
    "respondentId": "P1",
    "infantId": "I1",
    "role": "parent",
    "version": "v2"
  },
  "output": {
    "key": "[\"I1\",\"v2\",\"P1\",\"parent\"]",
    "proxy": true
  }
}

Limitations and assumptions

  • This classifies a recorded role rather than verifying authority, identity, or appropriateness of a response.
  • 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

Normalize or reconcile identifiers only under a documented policy, then verify the underlying source records separately.

References

  1. Calculation and input contract: neonatology/neonatal-questionnaire-proxy-role-key — tool.io

Similar or alternative tools