# Resolve Niko Insurance Mapping

> Perform Resolve Niko Insurance Mapping through GenHealth.

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

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

- Handler: `genhealth_resolve_insurance_mapping`

## Inputs

- `source_payer_name` — Source Payer Name (expression)
  Optional literal value or workflow expression.
- `source_payer_id` — Source Payer Id (expression)
  Optional literal value or workflow expression.
- `dry_run` — Dry Run (boolean)
  Optional true-or-false value.
  Default: `true`
- `document_id` — Document Id (expression)
  Optional literal value or workflow expression.
- `resolve_from_document_text` — Resolve From Document Text (boolean)
  Optional true-or-false value.
  Default: `false`
- `apply_to_document` — Apply To Document (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

- `success` — Success
- `status` — Status
- `can_proceed` — Can Proceed
- `should_sync_insurance` — Should Sync Insurance
- `dry_run` — Dry Run
- `source_payer_name` — Source Payer Name
- `source_payer_id` — Source Payer Id
- `matched_by` — Matched By
- `target_system` — Target System
- `target_payer_key` — Target Payer Key
- `target_payer_name` — Target Payer Name
- `target_carrier_id` — Target Carrier Id
- `applied_to_document` — Applied To Document
- `insurance_policy_id` — Insurance Policy Id
- `reason` — Reason
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- Dry run supported: yes

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "dry_run": {
      "type": "boolean",
      "default": true,
      "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"
    },
    "source_payer_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "apply_to_document": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "source_payer_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "resolve_from_document_text": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "reason": {},
    "status": {},
    "dry_run": {},
    "success": {},
    "matched_by": {},
    "can_proceed": {},
    "target_system": {},
    "source_payer_id": {},
    "target_payer_key": {},
    "source_payer_name": {},
    "target_carrier_id": {},
    "target_payer_name": {},
    "applied_to_document": {},
    "insurance_policy_id": {},
    "should_sync_insurance": {}
  },
  "additionalProperties": true
}
```
