# Apply Generated Claim Line Edits

> Perform Apply Generated Claim Line Edits through NikoHealth.

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

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

- Handler: `nikohealth_apply_claim_line_edits`

- 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": {},
  "handler": "nikohealth_apply_claim_line_edits"
}

```

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

## Inputs

- `claim_selection` — Claim Selection (json, required)
  Required JSON value.
- `claim_id` — Claim Id (expression, required)
  Required literal value or workflow expression.
- `order_id` — Order Id (expression, required)
  Required literal value or workflow expression.
- `patient_id` — Patient Id (expression, required)
  Required literal value or workflow expression.
- `expected_invoice_fields` — Expected Invoice Fields (json, required)
  Required JSON value.
- `expected_line_quantities` — Expected Line Quantities (json, required)
  Required JSON value.
- `on_hold_tag_name` — On Hold Tag Name (expression, required)
  Required literal value or workflow expression.
- `required_90_day_note_text` — Required 90 Day Note Text (expression)
  Optional literal value or workflow expression.
- `authorization_requires_removal` — Authorization Requires Removal (boolean, required)
  Required true-or-false value.

## Outputs

- `success` — Success
- `error` — Error
- `failure_category` — Failure Category
- `status` — Status
- `claim_id` — Claim Id
- `verified` — Verified
- `ready_to_submit` — Ready To Submit
- `already_submitted` — Already Submitted
- `quantity_update_count` — Quantity Update Count
- `note_update_count` — Note Update Count
- `reason_codes` — Reason Codes
- `error_type` — Error Type

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": [
    "claim_selection",
    "claim_id",
    "order_id",
    "patient_id",
    "expected_invoice_fields",
    "expected_line_quantities",
    "on_hold_tag_name",
    "authorization_requires_removal"
  ],
  "properties": {
    "claim_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "order_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "claim_selection": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "on_hold_tag_name": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "expected_invoice_fields": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "expected_line_quantities": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "required_90_day_note_text": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "authorization_requires_removal": {
      "type": "boolean",
      "description": "Required true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "status": {},
    "success": {},
    "claim_id": {},
    "verified": {},
    "error_type": {},
    "reason_codes": {},
    "ready_to_submit": {},
    "failure_category": {},
    "already_submitted": {},
    "note_update_count": {},
    "quantity_update_count": {}
  },
  "additionalProperties": true
}
```
