# eClinicalWorks integration

> Build workflow automations with 34 public eClinicalWorks actions.

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

## Available actions

34 actions. Connection types: eclinicalworks.

### [Classify New Patient](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_classify_new_patient.md)

- Handler: `ecw_classify_new_patient`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `lookback_days`, `physician_predicate`, `encounter_id`
- Outputs: `success`, `is_new_patient`, `last_physician_visit_date`, `error`

Perform Classify New Patient through eClinicalWorks.

### [ECW Check Rx Eligibility](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_check_rx_eligibility.md)

- Handler: `ecw_check_rx_eligibility`
- Connection type: `eclinicalworks`
- External effect: `write`
- Inputs: `patient_id`, `encounter_id`, `provider_id`
- Outputs: `success`, `result`, `error`

Perform ECW Check Rx Eligibility through eClinicalWorks.

### [ECW Fetch Insurance Card Scan](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_fetch_insurance_card_scan.md)

- Handler: `ecw_fetch_insurance_card_scan`
- Connection type: `eclinicalworks`
- External effect: `write`
- Inputs: `patient_id`, `document_id`, `subscriber_number`
- Outputs: `success`, `result`, `error`

Perform ECW Fetch Insurance Card Scan through eClinicalWorks.

### [Ecw Fetch Patient Insurance](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_fetch_patient_insurance.md)

- Handler: `ecw_fetch_patient_insurance`
- Connection type: `eclinicalworks`
- External effect: `write`
- Inputs: `patient_ids`
- Outputs: `insurance_by_patient`, `fetched_count`, `failed_patient_ids`, `success`, `error`, `outcome_category`

Perform Ecw Fetch Patient Insurance through eClinicalWorks.

### [ECW Fetch Rx Log List](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_fetch_rx_log_list.md)

- Handler: `ecw_fetch_rx_log_list`
- Connection type: `eclinicalworks`
- External effect: `write`
- Inputs: `patient_id`, `max_count`
- Outputs: `success`, `result`, `error`

Perform ECW Fetch Rx Log List through eClinicalWorks.

### [ECW Fetch Rx Receipt](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_fetch_rx_receipt.md)

- Handler: `ecw_fetch_rx_receipt`
- Connection type: `eclinicalworks`
- External effect: `write`
- Inputs: `rx_id`, `rx_type`
- Outputs: `success`, `result`, `error`

Perform ECW Fetch Rx Receipt through eClinicalWorks.

### [ECW Get Epa Transaction Info](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_get_epa_transaction_info.md)

- Handler: `ecw_get_epa_transaction_info`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `transaction_id`
- Outputs: `success`, `result`, `error`

Perform ECW Get Epa Transaction Info through eClinicalWorks.

### [ECW Get Medication Overview](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_get_medication_overview.md)

- Handler: `ecw_get_medication_overview`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `encounter_id`, `patient_id`, `context`
- Outputs: `success`, `result`, `error`

Perform ECW Get Medication Overview through eClinicalWorks.

### [ECW Get Problem List](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_get_problem_list.md)

- Handler: `ecw_get_problem_list`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `patient_id`
- Outputs: `success`, `result`, `error`

Perform ECW Get Problem List through eClinicalWorks.

### [ECW List Encounter Attachments](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_list_encounter_attachments.md)

- Handler: `ecw_list_encounter_attachments`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `encounter_id`, `patient_id`, `max_results`
- Outputs: `success`, `result`, `error`

Perform ECW List Encounter Attachments through eClinicalWorks.

### [ECW List Epa Queue](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_list_epa_queue.md)

- Handler: `ecw_list_epa_queue`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `pa_type`, `max_count`, `sort_by`, `sort_order`
- Outputs: `success`, `result`, `error`

Perform ECW List Epa Queue through eClinicalWorks.

### [ECW List Insurance Card Scans](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_list_insurance_card_scans.md)

- Handler: `ecw_list_insurance_card_scans`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `patient_id`, `subscriber_number`, `max_results`
- Outputs: `success`, `result`, `error`

Perform ECW List Insurance Card Scans through eClinicalWorks.

### [ECW List Patient Documents](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_list_patient_documents.md)

- Handler: `ecw_list_patient_documents`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `patient_id`, `name_contains`, `max_results`
- Outputs: `success`, `result`, `error`

Perform ECW List Patient Documents through eClinicalWorks.

### [ECW List Progress Notes](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_list_progress_notes.md)

- Handler: `ecw_list_progress_notes`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `patient_id`, `note_types`, `lookback_days`, `start_date`, `end_date`, `include_cancelled`, `max_notes`
- Outputs: `success`, `result`, `error`

Perform ECW List Progress Notes through eClinicalWorks.

### [ECW List Telephone Encounters](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_list_telephone_encounters.md)

- Handler: `ecw_list_telephone_encounters`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `assigned_to_id`, `tab_id`, `date`, `date_filter_days`, `facility_id`, `doctor_id`, `page_no`, `rows_per_page`, `sort_by`, `sort_order`
- Outputs: `success`, `result`, `error`

Perform ECW List Telephone Encounters through eClinicalWorks.

### [ECW Read Encounter Action Taken](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_read_encounter_action_taken.md)

- Handler: `ecw_read_encounter_action_taken`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `ticket_id`
- Outputs: `success`, `result`, `error`

Perform ECW Read Encounter Action Taken through eClinicalWorks.

### [ECW Read Encounter Attachment](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_read_encounter_attachment.md)

- Handler: `ecw_read_encounter_attachment`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `encounter_id`, `patient_id`, `document_id`, `include_ocr_text`, `max_ocr_chars`
- Outputs: `success`, `result`, `error`

Perform ECW Read Encounter Attachment through eClinicalWorks.

### [ECW Read Encounter Log](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_read_encounter_log.md)

- Handler: `ecw_read_encounter_log`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `ticket_id`
- Outputs: `success`, `result`, `error`

Perform ECW Read Encounter Log through eClinicalWorks.

### [ECW Read Encounter Messages](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_read_encounter_messages.md)

- Handler: `ecw_read_encounter_messages`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `ticket_id`
- Outputs: `success`, `result`, `error`

Perform ECW Read Encounter Messages through eClinicalWorks.

### [ECW Read Insurance Card Scan](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_read_insurance_card_scan.md)

- Handler: `ecw_read_insurance_card_scan`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `patient_id`, `document_id`, `subscriber_number`, `include_ocr_text`, `max_pages`
- Outputs: `success`, `result`, `error`

Perform ECW Read Insurance Card Scan through eClinicalWorks.

### [ECW Read Labs](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_read_labs.md)

- Handler: `ecw_read_labs`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `patient_id`, `query`, `start_date`, `end_date`, `lookback_days`, `lab_id`, `max_results`
- Outputs: `success`, `result`, `error`

Perform ECW Read Labs through eClinicalWorks.

### [ECW Read Patient Insurance](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_read_patient_insurance.md)

- Handler: `ecw_read_patient_insurance`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `patient_id`
- Outputs: `success`, `result`, `error`

Perform ECW Read Patient Insurance through eClinicalWorks.

### [ECW Read Patient Pharmacies](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_read_patient_pharmacies.md)

- Handler: `ecw_read_patient_pharmacies`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `patient_id`
- Outputs: `success`, `result`, `error`

Perform ECW Read Patient Pharmacies through eClinicalWorks.

### [ECW Read Patient Progress Notes](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_read_patient_progress_notes.md)

- Handler: `ecw_read_patient_progress_notes`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `patient_id`, `note_types`, `lookback_days`, `start_date`, `end_date`, `include_cancelled`, `max_notes`, `encounter_ids`, `include_diagnoses`
- Outputs: `success`, `result`, `error`

Perform ECW Read Patient Progress Notes through eClinicalWorks.

### [ECW Read Progress Note](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_read_progress_note.md)

- Handler: `ecw_read_progress_note`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `encounter_id`, `enc_type`
- Outputs: `success`, `result`, `error`

Perform ECW Read Progress Note through eClinicalWorks.

### [ECW Resolve Patient](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_resolve_patient.md)

- Handler: `ecw_resolve_patient`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `patient_id`, `acc_no`, `first_name`, `last_name`, `dob_mmddyyyy`, `max_count`
- Outputs: `success`, `result`, `error`

Perform ECW Resolve Patient through eClinicalWorks.

### [ECW Search Patient Progress Notes](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_search_patient_progress_notes.md)

- Handler: `ecw_search_patient_progress_notes`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `patient_id`, `note_types`, `lookback_days`, `start_date`, `end_date`, `include_cancelled`, `max_notes`, `query`, `context_chars`
- Outputs: `success`, `result`, `error`

Perform ECW Search Patient Progress Notes through eClinicalWorks.

### [ECW Search Progress Notes](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_search_progress_notes.md)

- Handler: `ecw_search_progress_notes`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `encounters`, `encounter_ids`, `query`, `enc_type`, `context_chars`
- Outputs: `success`, `result`, `error`

Perform ECW Search Progress Notes through eClinicalWorks.

### [ECW Search Staff](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_search_staff.md)

- Handler: `ecw_search_staff`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `last_name`, `max_count`
- Outputs: `success`, `result`, `error`

Perform ECW Search Staff through eClinicalWorks.

### [List Scheduled Encounters (Date Range)](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_list_scheduled_encounters.md)

- Handler: `ecw_list_scheduled_encounters`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `start_date`, `end_date`, `visit_type_filter`, `insurance_provider_filter`
- Outputs: `success`, `encounters`, `count`, `filtered_count`, `start_date`, `end_date`, `error`

Perform List Scheduled Encounters (Date Range) through eClinicalWorks.

### [List Today's Encounters](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_list_todays_encounters.md)

- Handler: `ecw_list_todays_encounters`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `visit_date`, `visit_type_filter`, `insurance_provider_filter`
- Outputs: `success`, `encounters`, `count`, `filtered_count`, `visit_date`, `error`

Perform List Today's Encounters through eClinicalWorks.

### [Read Encounter](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_read_encounter.md)

- Handler: `ecw_read_encounter`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `encounter_id`, `visit_type_allowlist`, `no_dx_required_visit_types`
- Outputs: `success`, `patient_id`, `encounter_id`, `member_id`, `patient_first_name`, `patient_last_name`, `patient_dob`, `visit_type`, `visit_date`, `diagnosis_codes`, `assessment_plan`, `progress_note_comment`, `reason`, `supervising_provider_name`, `appointment_provider_name`, `supervising_provider_last_name`, `referring_provider_name`, `patient_address`, `patient_city`, `patient_zip`, `failure_category`, `error`

Perform Read Encounter through eClinicalWorks.

### [Read Patient PCP](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_read_patient_pcp.md)

- Handler: `ecw_read_patient_pcp`
- Connection type: `eclinicalworks`
- External effect: `read`
- Inputs: `patient_id`, `encounter_id`
- Outputs: `found`, `pcp_id`, `pcp_name`

Perform Read Patient PCP through eClinicalWorks.

### [Set Visit Status](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_set_visit_status.md)

- Handler: `ecw_set_visit_status`
- Connection type: `eclinicalworks`
- External effect: `write`
- Inputs: `encounter_id`, `visit_date`, `provider_id`, `target_status`, `encounters`
- Outputs: `success`, `error`, `updated_count`

Perform Set Visit Status through eClinicalWorks.
