# Check Eligibility

> Perform Check Eligibility through RiverSpring / ElderServe.

Source: [https://genhealth.ai/docs/workflows/integrations/river-spring-elder-serve/riverspring_check_eligibility](https://genhealth.ai/docs/workflows/integrations/river-spring-elder-serve/riverspring_check_eligibility)

Integration: [RiverSpring / ElderServe](https://genhealth.ai/docs/workflows/integrations/river-spring-elder-serve.md)

- Handler: `riverspring_check_eligibility`

- Connection type: `riverspring`

## Inputs

- `patient_id` — Patient Id (expression)
  Optional literal value or workflow expression.
- `document_id` — Document Id (expression)
  Optional literal value or workflow expression.
- `insurance_policy_id` — Insurance Policy Id (expression)
  Optional literal value or workflow expression.
- `timeout_seconds` — Timeout Seconds (number)
  Optional numeric value.
  Default: `300`

## Outputs

- `success` — Success
- `benefit_verified` — Benefit Verified
- `status` — Status
- `details` — Details
- `elig_s3_path` — Elig S3 Path
- `insurance_policy_id` — Insurance Policy Id
- `eligibility` — Eligibility
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "patient_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "timeout_seconds": {
      "type": "number",
      "default": 300,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "insurance_policy_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "status": {},
    "details": {},
    "success": {},
    "eligibility": {},
    "elig_s3_path": {},
    "benefit_verified": {},
    "insurance_policy_id": {}
  },
  "additionalProperties": true
}
```
