# Look Up Insurance Policy

> Perform Look Up Insurance Policy through athenahealth.

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

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

- Handler: `athena_policy_lookup`

- Connection type: `athenahealth`

## Use in a workflow

Copy this discovered node config, fill params from the input contract, and validate the complete graph. Integration results are available as {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove business success.

```json

{
  "_group": "athenahealth",
  "params": {
    "max_results": 25,
    "check_eligibility": false
  },
  "handler": "athena_policy_lookup"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## Inputs

- `patient_id` — Patient Id (expression, required)
  Required literal value or workflow expression.
- `insurance_names` — Insurance Names (expression, required)
  Required literal value or workflow expression.
- `member_id` — Member Id (expression, required)
  Required literal value or workflow expression.
- `state` — State (expression)
  Optional literal value or workflow expression.
- `check_eligibility` — Check Eligibility (boolean)
  Optional true-or-false value.
  Default: `false`
- `max_results` — Max Results (number)
  Optional numeric value.
  Default: `25`

## Outputs

- `success` — Success
- `patient_id` — Patient Id
- `insurance_names` — Insurance Names
- `search_terms` — Search Terms
- `eligibility_checked` — Eligibility Checked
- `eligibility_confirmed` — Eligibility Confirmed
- `eligibility_status` — Eligibility Status
- `eligibility` — Eligibility
- `identified_attributes` — Identified Attributes
- `member_id_entities` — Member Id Entities
- `result_count` — Result Count
- `total_result_count` — Total Result Count
- `truncated` — Truncated
- `results` — Results
- `top_result` — Top Result
- `error` — Error
- `error_message` — Error Message

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",
    "insurance_names",
    "member_id"
  ],
  "properties": {
    "state": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "member_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "max_results": {
      "type": "number",
      "default": 25,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "insurance_names": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "check_eligibility": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "results": {},
    "success": {},
    "truncated": {},
    "patient_id": {},
    "top_result": {},
    "eligibility": {},
    "result_count": {},
    "search_terms": {},
    "error_message": {},
    "insurance_names": {},
    "eligibility_status": {},
    "member_id_entities": {},
    "total_result_count": {},
    "eligibility_checked": {},
    "eligibility_confirmed": {},
    "identified_attributes": {}
  },
  "additionalProperties": true
}
```
