Skip to documentation
eClinicalWorks integration

Classify New Patient

Perform Classify New Patient through eClinicalWorks.

View as Markdown
ecw_classify_new_patient
readeclinicalworks

Inputs

  • lookback_days
    number
    Lookback Days

    Optional numeric value.

    Default: 1095

  • physician_predicate
    select
    Physician Predicate

    Optional selected identifier or value.

    Default: "rendering_only"

    Options: Rendering Only (strict) ("rendering_only"), Rendering or Supervising (loose) ("rendering_or_supervising")

  • encounter_id
    textrequired
    Encounter Id

    Required text value.

Outputs

  • successSuccess
  • is_new_patientIs New Patient
  • last_physician_visit_dateLast Physician Visit Date
  • errorError

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",
  "required": [
    "encounter_id"
  ],
  "properties": {
    "encounter_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "lookback_days": {
      "type": "number",
      "default": 1095,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "physician_predicate": {
      "enum": [
        "rendering_only",
        "rendering_or_supervising"
      ],
      "type": "string",
      "default": "rendering_only",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {},
    "is_new_patient": {},
    "last_physician_visit_date": {}
  },
  "additionalProperties": true
}
View all eClinicalWorks actions