# Ecw Fetch Patient Insurance

> Perform Ecw Fetch Patient Insurance through eClinicalWorks.

Source: [https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_fetch_patient_insurance](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_fetch_patient_insurance)

Integration: [eClinicalWorks](https://genhealth.ai/docs/workflows/integrations/eclinicalworks.md)

- Handler: `ecw_fetch_patient_insurance`

- Connection type: `eclinicalworks`

## Inputs

- `patient_ids` — Patient Ids (json, required)
  Required JSON value.

## Outputs

- `insurance_by_patient` — Insurance By Patient
- `fetched_count` — Fetched Count
- `failed_patient_ids` — Failed Patient Ids
- `success` — Success
- `error` — Error
- `outcome_category` — Outcome Category

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",
  "required": [
    "patient_ids"
  ],
  "properties": {
    "patient_ids": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {},
    "fetched_count": {},
    "outcome_category": {},
    "failed_patient_ids": {},
    "insurance_by_patient": {}
  },
  "additionalProperties": true
}
```
