Optum · Schema

NextQuestionRequest

FHIR QuestionnaireResponse request containing current answers and context to fetch next adaptive question

CompanyHealthcareHealth InsuranceClaimsEligibilityFHIRInteroperabilityPharmacyEDIX12PaymentsPrior AuthorizationClearinghouseRevenue CycleDentalDa VinciPatient AccessAttachmentsPayer Directory

Properties

Name Type Description
resourceType string FHIR resource type
id string Unique QuestionnaireResponse identifier
meta object
contained array Contained Questionnaire resource
extension array FHIR extensions providing additional context
questionnaire string Reference to Questionnaire
status string QuestionnaireResponse status
subject object
authored string Date/time when response was authored
View JSON Schema on GitHub

JSON Schema

optum-next-question-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/optum/json-schema/optum-next-question-request-schema.json",
  "title": "NextQuestionRequest",
  "description": "FHIR QuestionnaireResponse request containing current answers and context to fetch next adaptive question",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optum-nextquestion-api-openapi.yml#/components/schemas/NextQuestionRequest",
  "type": "object",
  "properties": {
    "resourceType": {
      "type": "string",
      "description": "FHIR resource type"
    },
    "id": {
      "type": "string",
      "description": "Unique QuestionnaireResponse identifier"
    },
    "meta": {
      "$ref": "#/$defs/Meta"
    },
    "contained": {
      "type": "array",
      "description": "Contained Questionnaire resource",
      "items": {
        "$ref": "#/$defs/Questionnaire"
      }
    },
    "extension": {
      "type": "array",
      "description": "FHIR extensions providing additional context",
      "items": {
        "$ref": "#/$defs/Extension"
      }
    },
    "questionnaire": {
      "type": "string",
      "description": "Reference to Questionnaire"
    },
    "status": {
      "type": "string",
      "description": "QuestionnaireResponse status"
    },
    "subject": {
      "$ref": "#/$defs/Reference"
    },
    "authored": {
      "type": "string",
      "description": "Date/time when response was authored"
    }
  },
  "$defs": {
    "AnswerOption": {
      "type": "object",
      "description": "Answer choice option",
      "properties": {
        "valueCoding": {
          "$ref": "#/$defs/Coding"
        }
      }
    },
    "Coding": {
      "type": "object",
      "description": "Coding structure for answers",
      "properties": {
        "code": {
          "type": "string"
        },
        "display": {
          "type": "string"
        }
      }
    },
    "Extension": {
      "type": "object",
      "description": "FHIR extension with Reference",
      "properties": {
        "url": {
          "type": "string"
        },
        "valueReference": {
          "$ref": "#/$defs/Reference"
        }
      }
    },
    "ExtensionGeneric": {
      "type": "object",
      "description": "Generic extension supporting multiple value types",
      "properties": {
        "url": {
          "type": "string"
        },
        "valueBoolean": {
          "type": "boolean"
        },
        "valueUri": {
          "type": "string"
        }
      }
    },
    "Item": {
      "type": "object",
      "description": "Questionnaire item (question)",
      "properties": {
        "id": {
          "type": "string"
        },
        "linkId": {
          "type": "string"
        },
        "text": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "required": {
          "type": "boolean"
        },
        "repeats": {
          "type": "boolean"
        },
        "extension": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ExtensionGeneric"
          }
        },
        "answerOption": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AnswerOption"
          }
        },
        "item": {
          "type": "array",
          "description": "Nested child questions",
          "items": {
            "$ref": "#/$defs/Item"
          }
        }
      }
    },
    "Meta": {
      "type": "object",
      "description": "FHIR metadata",
      "properties": {
        "profile": {
          "type": "array",
          "description": "FHIR profile URLs",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "Questionnaire": {
      "type": "object",
      "description": "FHIR Questionnaire resource",
      "properties": {
        "resourceType": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "meta": {
          "$ref": "#/$defs/Meta"
        },
        "extension": {
          "type": "array",
          "description": "Questionnaire extensions",
          "items": {
            "$ref": "#/$defs/ExtensionGeneric"
          }
        },
        "name": {
          "type": "string",
          "description": "Questionnaire name"
        },
        "title": {
          "type": "string",
          "description": "Questionnaire title"
        },
        "status": {
          "type": "string",
          "description": "Questionnaire status"
        },
        "date": {
          "type": "string",
          "description": "Date of creation"
        },
        "description": {
          "type": "string",
          "description": "Questionnaire description"
        },
        "item": {
          "type": "array",
          "description": "List of questions",
          "items": {
            "$ref": "#/$defs/Item"
          }
        }
      }
    },
    "Reference": {
      "type": "object",
      "description": "FHIR Reference",
      "properties": {
        "reference": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/optum-next-question-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.