# List Scheduled Encounters (Date Range)

> Perform List Scheduled Encounters (Date Range) through eClinicalWorks.

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

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

- Handler: `ecw_list_scheduled_encounters`

- Connection type: `eclinicalworks`

## Inputs

- `start_date` — Start Date (date)
  Optional date in YYYY-MM-DD format.
- `end_date` — End Date (date)
  Optional date in YYYY-MM-DD format.
- `visit_type_filter` — Visit Type Filter (text)
  Optional text value.
  Default: `"Est F/U"`
- `insurance_provider_filter` — Insurance Provider Filter (text)
  Optional text value.

## Outputs

- `success` — Success
- `encounters` — Encounters
- `count` — Count
- `filtered_count` — Filtered Count
- `start_date` — Start Date
- `end_date` — End Date
- `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",
  "properties": {
    "end_date": {
      "type": "string",
      "format": "date",
      "description": "Optional date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "start_date": {
      "type": "string",
      "format": "date",
      "description": "Optional date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "visit_type_filter": {
      "type": "string",
      "default": "Est F/U",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "insurance_provider_filter": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "count": {},
    "error": {},
    "success": {},
    "end_date": {},
    "encounters": {},
    "start_date": {},
    "filtered_count": {}
  },
  "additionalProperties": true
}
```
