# Add Episode Note

> Perform Add Episode Note through CareWebQI.

Source: [https://genhealth.ai/docs/workflows/integrations/care-web-qi/carewebqi_add_episode_note](https://genhealth.ai/docs/workflows/integrations/care-web-qi/carewebqi_add_episode_note)

Integration: [CareWebQI](https://genhealth.ai/docs/workflows/integrations/care-web-qi.md)

- Handler: `carewebqi_add_episode_note`

- Connection type: `carewebqi`

## Inputs

- `episode_id` — Episode Id (expression, required)
  Required literal value or workflow expression.
- `subject` — Subject (select, required, dynamic options)
  Required selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- `note_text` — Note Text (textarea, required)
  Required text value.
- `include_discharged` — Include Discharged (boolean)
  Optional true-or-false value.
  Default: `true`

## Outputs

- `success` — Success
- `saved` — Saved
- `exited` — Exited
- `episode_id` — Episode Id
- `subject` — Subject
- `subject_code` — Subject Code
- `note_updated_at` — Note Updated At
- `note_author` — Note Author
- `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": [
    "episode_id",
    "subject",
    "note_text"
  ],
  "properties": {
    "subject": {
      "type": "string",
      "description": "Required selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    },
    "note_text": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "textarea"
    },
    "episode_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "include_discharged": {
      "type": "boolean",
      "default": true,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "saved": {},
    "exited": {},
    "subject": {},
    "success": {},
    "episode_id": {},
    "note_author": {},
    "subject_code": {},
    "note_updated_at": {}
  },
  "additionalProperties": true
}
```
