# Generate Eligibility Report

> Perform Generate Eligibility Report through GenHealth.

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

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

- Handler: `genhealth_generate_eligibility_report`

## Inputs

- `portal` — Portal (expression)
  Optional literal value or workflow expression.
- `coverage_response` — Coverage Response (json, required)
  Required JSON value.
- `output_path` — Output Path (expression)
  Optional literal value or workflow expression.
- `persistence_target` — Persistence Target (select)
  Optional selected identifier or value.
  Default: `"standalone_document"`
  Options: Standalone Document ("standalone_document")
- `source_document_id` — Source Document Id (expression)
  Optional literal value or workflow expression.
- `standalone_document_title` — Standalone Document Title (expression)
  Optional literal value or workflow expression.
- `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
- `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": {
    "portal": {
      "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"
    },
    "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"
    },
    "coverage_response": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "persistence_target": {
      "enum": [
        "standalone_document"
      ],
      "type": "string",
      "default": "standalone_document",
      "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"
    },
    "related_document_ids": {
      "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"
    }
  },
  "additionalProperties": false
}
```

### Output schema

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