# Assign Line Diagnoses

> Perform Assign Line Diagnoses through GenHealth.

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

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

- Handler: `genhealth_assign_line_diagnoses`

## 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": "GenHealth",
  "params": {},
  "handler": "genhealth_assign_line_diagnoses"
}

```

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

## Inputs

- `items` — Items (expression, required)
  Required literal value or workflow expression.
- `diagnosis_codes` — Diagnosis Codes (expression, required)
  Required literal value or workflow expression.
- `resolved_items` — Resolved Items (expression)
  Optional literal value or workflow expression.

## Outputs

- `items` — Items
- `selections` — Selections
- `fallback_used` — Fallback Used
- `fallback_reason` — Fallback Reason

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": [
    "items",
    "diagnosis_codes"
  ],
  "properties": {
    "items": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "resolved_items": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "diagnosis_codes": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "items": {},
    "selections": {},
    "fallback_used": {},
    "fallback_reason": {}
  },
  "additionalProperties": true
}
```
