List Outgoing Referrals
Perform List Outgoing Referrals through eClinicalWorks.
ecw_list_outgoing_referralsreadeclinicalworks
Use in a workflow
Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.
{
"_group": "eClinicalWorks",
"params": {
"status": "open",
"timezone": "UTC",
"lookback_days": 7,
"max_referrals": 200
},
"handler": "ecw_list_outgoing_referrals"
}Inputs
- Lookback Days
lookback_daysnumberOptional numeric value.
Default:
7 - Query Params
query_paramsjsonOptional JSON value.
- Status
statustextOptional text value.
Default:
"open" - Timezone
timezonetextOptional text value.
Default:
"UTC" - Max Referrals
max_referralsnumberOptional numeric value.
Default:
200
Outputs
successSuccessreferralsReferralscountCountscanned_countScanned CounterrorError
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
{
"type": "object",
"properties": {
"status": {
"type": "string",
"default": "open",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"timezone": {
"type": "string",
"default": "UTC",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"query_params": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"lookback_days": {
"type": "number",
"default": 7,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"max_referrals": {
"type": "number",
"default": 200,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"count": {},
"error": {},
"success": {},
"referrals": {},
"scanned_count": {}
},
"additionalProperties": true
}