# Read Patient Case

> Perform Read Patient Case through athenahealth.

Source: [https://genhealth.ai/docs/workflows/integrations/athenahealth/athena_read_patient_case](https://genhealth.ai/docs/workflows/integrations/athenahealth/athena_read_patient_case)

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

- Handler: `athena_read_patient_case`

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `patient_id` — Patient Id (expression)
  Optional literal value or workflow expression.
- `chart_id` — Chart Id (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `document_id` — Document Id
- `document_class` — Document Class
- `patient_id` — Patient Id
- `chart_id` — Chart Id
- `athena` — Athena
- `status` — Status
- `assigned_to` — Assigned To
- `subject` — Subject
- `provider_note_present` — Provider Note Present
- `provider_note_length` — Provider Note Length
- `provider_note_has_genhealth_signature` — Provider Note Has Genhealth Signature
- `patient_id_matches` — Patient Id Matches
- `chart_id_matches` — Chart Id Matches
- `error` — Error
- `error_message` — Error Message

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": [
    "document_id"
  ],
  "properties": {
    "chart_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "athena": {},
    "status": {},
    "subject": {},
    "success": {},
    "chart_id": {},
    "patient_id": {},
    "assigned_to": {},
    "document_id": {},
    "error_message": {},
    "document_class": {},
    "chart_id_matches": {},
    "patient_id_matches": {},
    "provider_note_length": {},
    "provider_note_present": {},
    "provider_note_has_genhealth_signature": {}
  },
  "additionalProperties": true
}
```
