# Check Prior Auth Required

> Perform Check Prior Auth Required through GenHealth.

Source: [https://genhealth.ai/docs/workflows/integrations/gen-health/genhealth_check_prior_auth_required](https://genhealth.ai/docs/workflows/integrations/gen-health/genhealth_check_prior_auth_required)

Integration: [GenHealth](https://genhealth.ai/docs/workflows/integrations/gen-health.md)

- Handler: `genhealth_check_prior_auth_required`

## Inputs

- `cpt_code` — Cpt Code (expression, required)
  Required literal value or workflow expression.
- `payer_name` — Payer Name (expression)
  Optional literal value or workflow expression.
- `payer_class` — Payer Class (expression, required)
  Required literal value or workflow expression.

## Outputs

- `success` — Success
- `determination` — Determination
- `requires_prior_auth` — Requires Prior Auth
- `reason` — Reason
- `payer_name` — Payer Name
- `publisher_display` — Publisher Display
- `plan_name` — Plan Name
- `plan_type` — Plan Type
- `source_url` — Source Url
- `effective_date` — Effective Date
- `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": [
    "cpt_code",
    "payer_class"
  ],
  "properties": {
    "cpt_code": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "payer_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "payer_class": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "reason": {},
    "success": {},
    "plan_name": {},
    "plan_type": {},
    "payer_name": {},
    "source_url": {},
    "determination": {},
    "effective_date": {},
    "publisher_display": {},
    "requires_prior_auth": {}
  },
  "additionalProperties": true
}
```
