# Generate Eligibility Report

> Perform Generate Eligibility Report through Availity.

Source: [https://genhealth.ai/docs/workflows/integrations/availity/availity_generate_eligibility_report](https://genhealth.ai/docs/workflows/integrations/availity/availity_generate_eligibility_report)

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

- Handler: `availity_generate_eligibility_report`

## Inputs

- `coverage_response` — Coverage Response (json, required)
  Required JSON value.
- `response_label` — Response Label (expression)
  Optional literal value or workflow expression.
- `additional_coverage_responses` — Additional Coverage Responses (json)
  Optional JSON value.
- `procedure_codes` — Procedure Codes (expression)
  Optional literal value or workflow expression.
- `submitted_procedure_codes` — Submitted Procedure Codes (expression)
  Optional literal value or workflow expression.
- `procedure_code_support` — Procedure Code Support (expression)
  Optional literal value or workflow expression.
- `procedure_code_support_detail` — Procedure Code Support Detail (expression)
  Optional literal value or workflow expression.
- `include_branding` — Include Branding (boolean)
  Optional true-or-false value.
  Default: `true`
- `output_path` — Output Path (expression)
  Optional literal value or workflow expression.
- `persistence_target` — Persistence Target (select)
  Optional selected identifier or value.
  Default: `"insurance_policy"`
  Options: Insurance Policy ("insurance_policy"), Standalone Document ("standalone_document")
- `source_document_id` — Source Document Id (expression)
  Optional literal value or workflow expression.
- `insurance_policy_id` — Insurance Policy Id (expression)
  Optional literal value or workflow expression.
- `standalone_document_title` — Standalone Document Title (expression)
  Optional literal value or workflow expression.
- `show_generated_document_in_inbox` — Show Generated Document In Inbox (boolean)
  Optional true-or-false value.
  Default: `true`
- `patient_id` — Patient Id (expression)
  Optional literal value or workflow expression.
- `related_document_ids` — Related Document Ids (expression)
  Optional literal value or workflow expression.
- `service_types` — Service Types (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `persistence_target` — Persistence Target
- `insurance_policy_id` — Insurance Policy Id
- `document_id` — Document Id
- `pdf_path` — Pdf Path
- `s3_path` — S3 Path
- `attachment_paths` — Attachment Paths
- `filename` — Filename
- `content_type` — Content Type
- `coverage_id` — Coverage Id
- `related_document_ids` — Related Document Ids
- `patient_id` — Patient Id
- `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": [
    "coverage_response"
  ],
  "properties": {
    "patient_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "output_path": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "service_types": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "response_label": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "procedure_codes": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "include_branding": {
      "type": "boolean",
      "default": true,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "coverage_response": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "persistence_target": {
      "enum": [
        "insurance_policy",
        "standalone_document"
      ],
      "type": "string",
      "default": "insurance_policy",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "source_document_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "insurance_policy_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "related_document_ids": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "procedure_code_support": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "standalone_document_title": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "submitted_procedure_codes": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "additional_coverage_responses": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "procedure_code_support_detail": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "show_generated_document_in_inbox": {
      "type": "boolean",
      "default": true,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "s3_path": {},
    "success": {},
    "filename": {},
    "pdf_path": {},
    "patient_id": {},
    "coverage_id": {},
    "document_id": {},
    "content_type": {},
    "attachment_paths": {},
    "persistence_target": {},
    "insurance_policy_id": {},
    "related_document_ids": {}
  },
  "additionalProperties": true
}
```
