# Extract Insurance

> Perform Extract Insurance through GenHealth.

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

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

- Handler: `genhealth_extract_insurance`

## Inputs

- `document_id` — Document Id (expression)
  Optional literal value or workflow expression.
- `force` — Force (boolean)
  Optional true-or-false value.
  Default: `"false"`
- `fill_missing_only` — Fill Missing Only (boolean)
  Optional true-or-false value.
  Default: `"false"`
- `extract_claims_address` — Extract Claims Address (boolean)
  Optional true-or-false value.
  Default: `"false"`
- `emit_secondary_coverage` — Emit Secondary Coverage (boolean)
  Optional true-or-false value.
  Default: `"false"`
- `prompt_override` — Prompt Override (textarea)
  Optional text value.

## Outputs

- `success` — Success
- `document_id` — Document Id
- `extracted_data` — Extracted Data
- `id` — Id
- `insurance_policy_id` — Insurance Policy Id
- `carrier` — Carrier
- `carrier_name` — Carrier Name
- `card_carrier` — Card Carrier
- `extracted_carrier` — Extracted Carrier
- `carrier_evidence_stage` — Carrier Evidence Stage
- `carrier_id` — Carrier Id
- `member_id` — Member Id
- `group_id` — Group Id
- `plan_type` — Plan Type
- `enrollment_date_start` — Enrollment Date Start
- `enrollment_date_end` — Enrollment Date End
- `subscriber_name` — Subscriber Name
- `employer` — Employer
- `claim_number` — Claim Number
- `date_of_injury` — Date Of Injury
- `relationship` — Relationship
- `auth_id` — Auth Id
- `auth_number` — Auth Number
- `auth_start` — Auth Start
- `auth_end` — Auth End
- `is_auth` — Is Auth
- `benefit_verified` — Benefit Verified
- `type` — Type
- `issuance_date` — Issuance Date
- `cancellation_date` — Cancellation Date
- `ext_payer_id` — Ext Payer Id
- `ext_insured_id` — Ext Insured Id
- `citations` — Citations
- `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",
  "properties": {
    "force": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "document_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "prompt_override": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "textarea"
    },
    "fill_missing_only": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "extract_claims_address": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "emit_secondary_coverage": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "id": {},
    "type": {},
    "error": {},
    "auth_id": {},
    "carrier": {},
    "is_auth": {},
    "success": {},
    "auth_end": {},
    "employer": {},
    "group_id": {},
    "citations": {},
    "member_id": {},
    "plan_type": {},
    "auth_start": {},
    "carrier_id": {},
    "auth_number": {},
    "document_id": {},
    "card_carrier": {},
    "carrier_name": {},
    "claim_number": {},
    "ext_payer_id": {},
    "relationship": {},
    "issuance_date": {},
    "date_of_injury": {},
    "ext_insured_id": {},
    "extracted_data": {},
    "subscriber_name": {},
    "benefit_verified": {},
    "cancellation_date": {},
    "extracted_carrier": {},
    "enrollment_date_end": {},
    "insurance_policy_id": {},
    "enrollment_date_start": {},
    "carrier_evidence_stage": {}
  },
  "additionalProperties": true
}
```
