# Epic CareLink integration

> Build workflow automations with 5 public Epic CareLink actions.

Source: [https://genhealth.ai/docs/workflows/integrations/epic-care-link](https://genhealth.ai/docs/workflows/integrations/epic-care-link)

## Available actions

5 actions. Connection types: epic_carelink.

### [Check CareLink Demographics Ready](https://genhealth.ai/docs/workflows/integrations/epic-care-link/carelink_check_demographics_ready.md)

- Handler: `carelink_check_demographics_ready`

- External effect: `write`
- Inputs: `document_id`
- Outputs: `success`, `ready`, `review_required`, `missing_fields`, `missing_field_count`, `error`, `failure_category`

Perform Check CareLink Demographics Ready through Epic CareLink.

### [Check CareLink Order Ready](https://genhealth.ai/docs/workflows/integrations/epic-care-link/carelink_check_order_ready.md)

- Handler: `carelink_check_order_ready`

- External effect: `write`
- Inputs: `document_id`
- Outputs: `success`, `ready`, `review_required`, `missing_fields`, `missing_field_count`, `order_count`, `write_valid_order_count`, `error`, `failure_category`

Perform Check CareLink Order Ready through Epic CareLink.

### [Check CareLink Patient Write Ready](https://genhealth.ai/docs/workflows/integrations/epic-care-link/carelink_check_patient_write_ready.md)

- Handler: `carelink_check_patient_write_ready`

- External effect: `write`
- Inputs: `document_id`, `patient_exists`
- Outputs: `success`, `ready`, `review_required`, `missing_fields`, `missing_field_count`, `error`, `failure_category`

Perform Check CareLink Patient Write Ready through Epic CareLink.

### [Poll Service Requests](https://genhealth.ai/docs/workflows/integrations/epic-care-link/epic_poll_service_requests.md)

- Handler: `epic_poll_service_requests`
- Connection type: `epic_carelink`
- External effect: `write`
- Inputs: `max_pages`, `max_requests`
- Outputs: `success`, `outcome`, `pages_read`, `requests_listed`, `duplicates_removed`, `skipped_missing_external_id`, `deferred_count`, `staged_complete_count`, `staged_partial_count`, `preserved_packet_count`, `attachment_download_count`, `attachment_browser_page_count`, `attachment_current_frame_pdf_count`, `attachment_portal_popup_count`, `retryable_failure_count`, `error`

Perform Poll Service Requests through Epic CareLink.

### [Retrieve Chart](https://genhealth.ai/docs/workflows/integrations/epic-care-link/epic_carelink_retrieve_chart.md)

- Handler: `epic_carelink_retrieve_chart`

- External effect: `write`
- Inputs: `account`, `patient_first_name`, `patient_last_name`, `patient_dob`, `patient_gender`, `order_type`, `persist_documents`, `show_document_in_inbox`
- Outputs: `success`, `status`, `account`, `patient_found`, `mrn`, `duration_seconds`, `document_id`, `document_status`, `demographics_document_id`, `error_message`, `error`

Perform Retrieve Chart through Epic CareLink.
