# Push Diagnosis Codes to Patient

> Perform Push Diagnosis Codes to Patient through NikoHealth.

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

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

- Handler: `nikohealth_sync_diagnosis_codes`

- Connection type: `nikohealth`

## Inputs

- `patient_id` — Patient Id (text, required)
  Required text value.
- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.

## Outputs

- `success` — Success
- `synced` — Synced
- `updated` — Updated
- `already_present` — Already Present
- `icd_codes_found` — Icd Codes Found
- `error` — 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",
    "document_id"
  ],
  "properties": {
    "patient_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "synced": {},
    "success": {},
    "updated": {},
    "already_present": {},
    "icd_codes_found": {}
  },
  "additionalProperties": true
}
```
