Classify New Patient
Perform Classify New Patient through eClinicalWorks.
ecw_classify_new_patientreadeclinicalworks
Inputs
- Lookback Days
lookback_daysnumberOptional numeric value.
Default:
1095 - Physician Predicate
physician_predicateselectOptional selected identifier or value.
Default:
"rendering_only"Options: Rendering Only (strict) ("rendering_only"), Rendering or Supervising (loose) ("rendering_or_supervising")
- Encounter Id
encounter_idtextrequiredRequired text value.
Outputs
successSuccessis_new_patientIs New Patientlast_physician_visit_dateLast Physician Visit DateerrorError
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
}