Skip to documentation
eClinicalWorks integration

Find Referral for Date of Service

Perform Find Referral for Date of Service through eClinicalWorks.

View as Markdown
ecw_find_referral_for_dos
writeeclinicalworks

Inputs

  • patient_id
    textrequired
    Patient Id

    Required text value.

  • visit_date
    daterequired
    Visit Date

    Required date in YYYY-MM-DD format.

Outputs

  • successSuccess
  • foundFound
  • referral_idReferral Id
  • auth_numberAuth Number
  • patient_idPatient Id
  • errorError

Output schema completeness: best_effort_declared

Safety

External effect
write
Confirmation recommended
No
Retry safe
No
Dry run supported
No

Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

Input schema
{
  "type": "object",
  "required": [
    "patient_id",
    "visit_date"
  ],
  "properties": {
    "patient_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "visit_date": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "found": {},
    "success": {},
    "patient_id": {},
    "auth_number": {},
    "referral_id": {}
  },
  "additionalProperties": true
}
View all eClinicalWorks actions