# Resolve Insurance (Capitation Match)

> Perform Resolve Insurance (Capitation Match) through Regal/Lakeside.

Source: [https://genhealth.ai/docs/workflows/integrations/regal-lakeside/regal_resolve_insurance](https://genhealth.ai/docs/workflows/integrations/regal-lakeside/regal_resolve_insurance)

Integration: [Regal/Lakeside](https://genhealth.ai/docs/workflows/integrations/regal-lakeside.md)

- Handler: `regal_resolve_insurance`

- Connection type: `regal_lakeside`

## Inputs

- `company` — Company (text, required)
  Required text value.
- `line_of_business` — Line Of Business (text)
  Optional text value.
- `referral_network` — Referral Network (text)
  Optional text value.
- `patient_id` — Patient Id (text, required)
  Required text value.
- `date_of_service` — Date Of Service (date, required)
  Required date in YYYY-MM-DD format.
- `member_id` — Member Id (text)
  Optional text value.
- `visit_type` — Visit Type (text)
  Optional text value.
- `visit_types` — Visit Types (json)
  Optional JSON value.
- `portal` — Portal (text)
  Optional text value.

## Outputs

- `success` — Success
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

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

## Schemas

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

### Input schema

```json
{
  "type": "object",
  "required": [
    "company",
    "patient_id",
    "date_of_service"
  ],
  "properties": {
    "portal": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "company": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "member_id": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "patient_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "visit_type": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "visit_types": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "date_of_service": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "line_of_business": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "referral_network": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {}
  },
  "additionalProperties": true
}
```
