Skip to documentation
Workflow integration

eClinicalWorks integration

Build workflow automations with 48 public eClinicalWorks actions.

View as Markdown
48actions
eclinicalworks

Updated

48 eClinicalWorks actions
ActionDescriptionEffectInputsOutputs
Attach PCP Referralecw_attach_pcp_referralPerform Attach PCP Referral through eClinicalWorks.write
Classify New Patientecw_classify_new_patientPerform Classify New Patient through eClinicalWorks.read
Create Incoming Referralecw_create_incoming_referralPerform Create Incoming Referral through eClinicalWorks.write
ECW Check Rx Eligibilityecw_check_rx_eligibilityPerform ECW Check Rx Eligibility through eClinicalWorks.write
ECW Fetch Insurance Card Scanecw_fetch_insurance_card_scanPerform ECW Fetch Insurance Card Scan through eClinicalWorks.write
Ecw Fetch Patient Insuranceecw_fetch_patient_insurancePerform Ecw Fetch Patient Insurance through eClinicalWorks.write
ECW Fetch Rx Log Listecw_fetch_rx_log_listPerform ECW Fetch Rx Log List through eClinicalWorks.write
ECW Fetch Rx Receiptecw_fetch_rx_receiptPerform ECW Fetch Rx Receipt through eClinicalWorks.write
ECW Get Epa Transaction Infoecw_get_epa_transaction_infoPerform ECW Get Epa Transaction Info through eClinicalWorks.read
ECW Get Medication Overviewecw_get_medication_overviewPerform ECW Get Medication Overview through eClinicalWorks.read
ECW Get Problem Listecw_get_problem_listPerform ECW Get Problem List through eClinicalWorks.read
ECW List Encounter Attachmentsecw_list_encounter_attachmentsPerform ECW List Encounter Attachments through eClinicalWorks.read
ECW List Epa Queueecw_list_epa_queuePerform ECW List Epa Queue through eClinicalWorks.read
ECW List Insurance Card Scansecw_list_insurance_card_scansPerform ECW List Insurance Card Scans through eClinicalWorks.read
ECW List Patient Documentsecw_list_patient_documentsPerform ECW List Patient Documents through eClinicalWorks.read
ECW List Progress Notesecw_list_progress_notesPerform ECW List Progress Notes through eClinicalWorks.read
ECW List Telephone Encountersecw_list_telephone_encountersPerform ECW List Telephone Encounters through eClinicalWorks.read
ECW Read Encounter Action Takenecw_read_encounter_action_takenPerform ECW Read Encounter Action Taken through eClinicalWorks.read
ECW Read Encounter Attachmentecw_read_encounter_attachmentPerform ECW Read Encounter Attachment through eClinicalWorks.read
ECW Read Encounter Logecw_read_encounter_logPerform ECW Read Encounter Log through eClinicalWorks.read
ECW Read Encounter Messagesecw_read_encounter_messagesPerform ECW Read Encounter Messages through eClinicalWorks.read
ECW Read Insurance Card Scanecw_read_insurance_card_scanPerform ECW Read Insurance Card Scan through eClinicalWorks.read
ECW Read Labsecw_read_labsPerform ECW Read Labs through eClinicalWorks.read
ECW Read Patient Insuranceecw_read_patient_insurancePerform ECW Read Patient Insurance through eClinicalWorks.read
ECW Read Patient Pharmaciesecw_read_patient_pharmaciesPerform ECW Read Patient Pharmacies through eClinicalWorks.read
ECW Read Patient Progress Notesecw_read_patient_progress_notesPerform ECW Read Patient Progress Notes through eClinicalWorks.read
ECW Read Progress Noteecw_read_progress_notePerform ECW Read Progress Note through eClinicalWorks.read
ECW Resolve Patientecw_resolve_patientPerform ECW Resolve Patient through eClinicalWorks.read
ECW Search Patient Progress Notesecw_search_patient_progress_notesPerform ECW Search Patient Progress Notes through eClinicalWorks.read
ECW Search Progress Notesecw_search_progress_notesPerform ECW Search Progress Notes through eClinicalWorks.read
ECW Search Staffecw_search_staffPerform ECW Search Staff through eClinicalWorks.read
Find Referral for Date of Serviceecw_find_referral_for_dosPerform Find Referral for Date of Service through eClinicalWorks.write
Get Patient Locationecw_get_patient_locationPerform Get Patient Location through eClinicalWorks.read
Guard PCP Auth Re-billecw_guard_pcp_auth_rebillPerform Guard PCP Auth Re-bill through eClinicalWorks.write
List Outgoing Referralsecw_list_outgoing_referralsPerform List Outgoing Referrals through eClinicalWorks.read
List Scheduled Encounters (Date Range)ecw_list_scheduled_encountersPerform List Scheduled Encounters (Date Range) through eClinicalWorks.write
List Today's Encountersecw_list_todays_encountersPerform List Today's Encounters through eClinicalWorks.write
Mark Eligibility Verifiedecw_mark_eligibility_verifiedPerform Mark Eligibility Verified through eClinicalWorks.write
Post Billing Alertecw_post_billing_alertPerform Post Billing Alert through eClinicalWorks.write
Post PCP Auth Missing Alertecw_post_pcp_auth_missing_alertPerform Post PCP Auth Missing Alert through eClinicalWorks.write
Post Workflow Failure Alertecw_post_workflow_failure_alertPerform Post Workflow Failure Alert through eClinicalWorks.write
Read Encounterecw_read_encounterPerform Read Encounter through eClinicalWorks.read
Read Outgoing Referral Detailecw_read_outgoing_referral_detailPurpose: Read one eClinicalWorks Outgoing referral popup and return its parsed referral record. Use when: A specific referral is already identified and both referral_id and patient_id are available; this reads one popup, not referral search or edits. Inputs: referral_id:string and patient_id:string are required; referral_id should come from ecw_list_outgoing_referrals. encounter_id and request_id are optional strings; blank values are omitted. query_params is an optional JSON object, JSON-encoded object, or blank, with only these case-sensitive keys: ptName, referral360id, extNHXRefTxId, nhxMsgTxId, isReferralDeclined, recType, referralType, callingFrom, refSubType. Values must be strings, numbers, or booleans. The action maps IDs to refId/patientId and, when present, refEncId/nNhxReqId. Outputs: JSON object with success:boolean, error:string|null, notes/clinical_notes/to_facility_name/to_provider_name/status/sub_status_id:string|null, record:flat tag-to-string map|null, and duplicate_tags:string[]. On success the six convenience fields are strings (possibly empty), record contains the selected record's leaf tags, and duplicate tag names appear once while record keeps the first value. On failure the six fields and record are null and duplicate_tags is []. Success: success=true and error=null means ECW returned one parsable referral record; empty convenience strings mean their tags were absent or blank. Failure: success=false and error contains a fixed safe message for invalid input or organization, or an ECW read/parse failure. No record is established. Missing/blank required IDs and invalid query_params are rejected before ECW traffic; read failures can happen after the request. Correct input or organization/session issues before retrying. Effects: Read-only ECW popup GET through the existing authorized organization session; no write occurs. query_params (including ptName) and returned notes/clinical text may contain PHI. Inputs are trace-redacted; PHI values and exception text are not logged. Route outputs only to an authorized caller. Examples: {"referral_id":"r1","patient_id":"p1"} -> {"success":true,"error":null,"notes":"","clinical_notes":"","to_facility_name":"","to_provider_name":"","status":"","sub_status_id":"","record":{"referralId":"r1"},"duplicate_tags":[]}; missing referral_id -> {"success":false,"error":"referral_id is required","notes":null,"clinical_notes":null,"to_facility_name":null,"to_provider_name":null,"status":null,"sub_status_id":null,"record":null,"duplicate_tags":[]}.read
Read Patient PCPecw_read_patient_pcpPerform Read Patient PCP through eClinicalWorks.read
Refresh Reference Dataeclinicalworks_refresh_reference_dataPerform Refresh Reference Data through eClinicalWorks.write—
Set Visit Statusecw_set_visit_statusPerform Set Visit Status through eClinicalWorks.write
Upload Authorization PDFecw_upload_authorization_pdfPerform Upload Authorization PDF through eClinicalWorks.write
Upload Eligibility PDFecw_upload_eligibility_pdfPerform Upload Eligibility PDF through eClinicalWorks.write