# Read Encounter

> Perform Read Encounter through eClinicalWorks.

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

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

- Handler: `ecw_read_encounter`

- Connection type: `eclinicalworks`

## Inputs

- `encounter_id` — Encounter Id (text, required)
  Required text value.
- `visit_type_allowlist` — Visit Type Allowlist (multi_select)
  Optional list of selected values.
- `no_dx_required_visit_types` — No Dx Required Visit Types (multi_select)
  Optional list of selected values.

## Outputs

- `success` — Success
- `patient_id` — Patient Id
- `encounter_id` — Encounter Id
- `member_id` — Member Id
- `patient_first_name` — Patient First Name
- `patient_last_name` — Patient Last Name
- `patient_dob` — Patient Dob
- `visit_type` — Visit Type
- `visit_date` — Visit Date
- `diagnosis_codes` — Diagnosis Codes
- `assessment_plan` — Assessment Plan
- `progress_note_comment` — Progress Note Comment
- `reason` — Reason
- `supervising_provider_name` — Supervising Provider Name
- `appointment_provider_name` — Appointment Provider Name
- `supervising_provider_last_name` — Supervising Provider Last Name
- `referring_provider_name` — Referring Provider Name
- `patient_address` — Patient Address
- `patient_city` — Patient City
- `patient_zip` — Patient Zip
- `failure_category` — Failure Category
- `error` — Error

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

```json
{
  "type": "object",
  "required": [
    "encounter_id"
  ],
  "properties": {
    "encounter_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "visit_type_allowlist": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional list of selected values.",
      "x-workflow-field-type": "multi_select"
    },
    "no_dx_required_visit_types": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional list of selected values.",
      "x-workflow-field-type": "multi_select"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "reason": {},
    "success": {},
    "member_id": {},
    "patient_id": {},
    "visit_date": {},
    "visit_type": {},
    "patient_dob": {},
    "patient_zip": {},
    "encounter_id": {},
    "patient_city": {},
    "assessment_plan": {},
    "diagnosis_codes": {},
    "patient_address": {},
    "failure_category": {},
    "patient_last_name": {},
    "patient_first_name": {},
    "progress_note_comment": {},
    "referring_provider_name": {},
    "appointment_provider_name": {},
    "supervising_provider_name": {},
    "supervising_provider_last_name": {}
  },
  "additionalProperties": true
}
```
