# Run Eligibility Check

> Perform Run Eligibility Check through NikoHealth.

Source: [https://genhealth.ai/docs/workflows/integrations/nikohealth/nikohealth_run_eligibility_check](https://genhealth.ai/docs/workflows/integrations/nikohealth/nikohealth_run_eligibility_check)

Integration: [NikoHealth](https://genhealth.ai/docs/workflows/integrations/nikohealth.md)

- Handler: `nikohealth_run_eligibility_check`

- Connection type: `nikohealth`

## Use in a workflow

Copy this discovered node config, fill params from the input contract, and validate the complete graph. Integration results are available as {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove business success.

```json

{
  "_group": "NikoHealth",
  "params": {
    "enabled": true,
    "force_resubmit": false,
    "generate_document": false,
    "show_generated_document_in_inbox": false,
    "update_insurance_status_without_local_policy": false
  },
  "handler": "nikohealth_run_eligibility_check"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## Inputs

- `patient_id` — Patient Id (expression, required)
  Required literal value or workflow expression.
- `niko_insurance_id` — Niko Insurance Id (expression)
  Optional literal value or workflow expression.
- `force_resubmit` — Force Resubmit (boolean)
  Optional true-or-false value.
  Default: `false`
- `enabled` — Enabled (boolean)
  Optional true-or-false value.
  Default: `true`
- `skip_reason` — Skip Reason (expression)
  Optional literal value or workflow expression.
- `update_insurance_status_without_local_policy` — Update Insurance Status Without Local Policy (boolean)
  Optional true-or-false value.
  Default: `false`
- `generate_document` — Generate Document (boolean)
  Optional true-or-false value.
  Default: `false`
- `show_generated_document_in_inbox` — Show Generated Document In Inbox (boolean)
  Optional true-or-false value.
  Default: `false`
- `generated_pdf_filename` — Generated Pdf Filename (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `status` — Status
- `skipped` — Skipped
- `is_eligible` — Is Eligible
- `alerts` — Alerts
- `transaction_id` — Transaction Id
- `eligibility_result` — Eligibility Result
- `niko_insurance_id` — Niko Insurance Id
- `insurance_status_updated` — Insurance Status Updated
- `status_update_skipped_reason` — Status Update Skipped Reason
- `error` — Error
- `error_message` — Error Message
- `document_id` — Document Id
- `document_error` — Document Error
- `generated_pdf_status` — Generated Pdf Status
- `generated_pdf_document_id` — Generated Pdf Document Id
- `generated_pdf_s3_key` — Generated Pdf S3 Key
- `generated_pdf_s3_uri` — Generated Pdf S3 Uri
- `generated_pdf_filename` — Generated Pdf Filename
- `generated_pdf_error` — Generated Pdf 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": [
    "patient_id"
  ],
  "properties": {
    "enabled": {
      "type": "boolean",
      "default": true,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "patient_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "skip_reason": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "force_resubmit": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "generate_document": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "niko_insurance_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "generated_pdf_filename": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "show_generated_document_in_inbox": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "update_insurance_status_without_local_policy": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "alerts": {},
    "status": {},
    "skipped": {},
    "success": {},
    "document_id": {},
    "is_eligible": {},
    "error_message": {},
    "document_error": {},
    "transaction_id": {},
    "niko_insurance_id": {},
    "eligibility_result": {},
    "generated_pdf_error": {},
    "generated_pdf_s3_key": {},
    "generated_pdf_s3_uri": {},
    "generated_pdf_status": {},
    "generated_pdf_filename": {},
    "insurance_status_updated": {},
    "generated_pdf_document_id": {},
    "status_update_skipped_reason": {}
  },
  "additionalProperties": true
}
```
