# Add Diagnosis Codes To Patient

> Perform Add Diagnosis Codes To Patient through NikoHealth.

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

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

- Handler: `nikohealth_add_patient_diagnosis_codes`

- 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_add_patient_diagnosis_codes"
}

```

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

## Inputs

- `patient_id` — Patient Id (text, required)
  Required text value.
- `diagnosis_codes` — Diagnosis Codes (expression, required)
  Required literal value or workflow expression.

## Outputs

- `success` — Success
- `status` — Status
- `added` — Added
- `already_present` — Already Present
- `manual_review_required` — Manual Review Required
- `codes` — Codes
- `invalid_codes` — Invalid Codes
- `new_count` — New Count
- `dropped_count` — Dropped Count
- `unresolved_icd_codes` — Unresolved Icd Codes
- `error` — Error
- `retryable` — Retryable

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

### Output schema

```json
{
  "type": "object",
  "properties": {
    "added": {},
    "codes": {},
    "error": {},
    "status": {},
    "success": {},
    "new_count": {},
    "retryable": {},
    "dropped_count": {},
    "invalid_codes": {},
    "already_present": {},
    "unresolved_icd_codes": {},
    "manual_review_required": {}
  },
  "additionalProperties": true
}
```
