# Post Billing Alert

> Perform Post Billing Alert through eClinicalWorks.

Source: [https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_post_billing_alert](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_post_billing_alert)

Integration: [eClinicalWorks](https://genhealth.ai/docs/workflows/integrations/eclinicalworks.md)

- Handler: `ecw_post_billing_alert`

- Connection type: `eclinicalworks`

## Inputs

- `patient_id` — Patient Id (text, required)
  Required text value.
- `alert_text` — Alert Text (textarea, required)
  Required text value.
- `visit_types` — Visit Types (json)
  Optional JSON value.
- `visit_type` — Visit Type (text)
  Optional text value.
- `dedup_window` — Dedup Window (select)
  Optional selected identifier or value.
  Default: `"none"`
  Options: None (always post) ("none"), Skip if already present (any time) ("per_day")

## Outputs

- `success` — Success
- `skipped` — Skipped
- `posted_count` — Posted Count
- `total_count` — Total Count
- `error` — Error

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

```json
{
  "type": "object",
  "required": [
    "patient_id",
    "alert_text"
  ],
  "properties": {
    "alert_text": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "textarea"
    },
    "patient_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "visit_type": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "visit_types": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "dedup_window": {
      "enum": [
        "none",
        "per_day"
      ],
      "type": "string",
      "default": "none",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "skipped": {},
    "success": {},
    "total_count": {},
    "posted_count": {}
  },
  "additionalProperties": true
}
```
