get_eligibility_questionnaires
Fetches each carrier's eligibility questionnaire for the plans the applicant selected. Pass selectedPlans as {carrier, planId} from quote_carriers, with the SAME applicants (primary, spouse, dependents), location, household and effectiveDate used for the quote. UHC and ONESHARE have no questionnaires and are simply absent from the result (not an error); carriers with no questions are also absent. An empty categories list with a message means nothing to ask or a rejected selection. A question with expectedAnswer is a knockout: any other answer means the carrier will decline, so do not enroll in that carrier's plans. Failed carriers appear in errors[] (TIMEOUT/CIRCUIT_OPEN/UNAVAILABLE retryable; CARRIER_ERROR not). Show the user questionTextPlain when present (questionText may contain HTML), but send questionText and answerText back VERBATIM in submit_enrollment's answers, with questionsId. PLAN_NOT_FOUND means the plan is no longer offered for these details: quote again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spouse | No | ||
| primary | Yes | ||
| location | Yes | ||
| household | No | ||
| dependents | No | ||
| effectiveDate | No | Coverage start date YYYY-MM-DD. Omit for each carrier's default; only some carriers honor it, others silently ignore it. | |
| selectedPlans | Yes | The plans the applicant chose, as {carrier, planId} exactly as returned by quote_carriers. | |
| childOnlyPlans | No | Same value as the quote, if one was sent. | |
| subsidyEligible | No | Same value as the quote, if one was sent. Ancillary carriers ignore it. |