# Read Patient Insurance

> Perform Read Patient Insurance through athenahealth.

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

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

- Handler: `athena_read_patient_insurance`

## Inputs

- `patient_id` — Patient Id (expression, required)
  Required literal value or workflow expression.
- `chart_id` — Chart Id (expression)
  Optional literal value or workflow expression.
- `department_id` — Department Id (expression)
  Optional literal value or workflow expression.
- `include_sensitive_fields` — Include Sensitive Fields (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

- `success` — Success
- `patient_id` — Patient Id
- `chart_id` — Chart Id
- `athena` — Athena
- `policy_count` — Policy Count
- `count` — Count
- `policies` — Policies
- `insurance_cards` — Insurance Cards
- `insurance_source` — Insurance Source
- `has_insurance_policy` — Has Insurance Policy
- `primary_policy` — Primary Policy
- `secondary_policy` — Secondary Policy
- `tertiary_policy` — Tertiary Policy
- `primary_payer_name` — Primary Payer Name
- `primary_payer_id` — Primary Payer Id
- `secondary_payer_name` — Secondary Payer Name
- `secondary_payer_id` — Secondary Payer Id
- `insurance_removal_request_count` — Insurance Removal Request Count
- `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": [
    "patient_id"
  ],
  "properties": {
    "chart_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "department_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "include_sensitive_fields": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "count": {},
    "error": {},
    "athena": {},
    "success": {},
    "chart_id": {},
    "policies": {},
    "patient_id": {},
    "policy_count": {},
    "error_message": {},
    "primary_policy": {},
    "insurance_cards": {},
    "tertiary_policy": {},
    "insurance_source": {},
    "primary_payer_id": {},
    "secondary_policy": {},
    "primary_payer_name": {},
    "secondary_payer_id": {},
    "has_insurance_policy": {},
    "secondary_payer_name": {},
    "insurance_removal_request_count": {}
  },
  "additionalProperties": true
}
```
