# 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`

## 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_sync_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.
- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `code_prefixes` — Code Prefixes (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `synced` — Synced
- `updated` — Updated
- `already_present` — Already Present
- `partial` — Partial
- `manual_review_required` — Manual Review Required
- `dropped_count` — Dropped Count
- `unresolved_icd_codes` — Unresolved Icd Codes
- `icd_codes_found` — Icd Codes Found
- `filtered_out_count` — Filtered Out Count
- `validation_rejected` — Validation Rejected
- `validation_rejected_count` — Validation Rejected Count
- `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"
    },
    "code_prefixes": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "synced": {},
    "partial": {},
    "success": {},
    "updated": {},
    "dropped_count": {},
    "already_present": {},
    "icd_codes_found": {},
    "filtered_out_count": {},
    "validation_rejected": {},
    "unresolved_icd_codes": {},
    "manual_review_required": {},
    "validation_rejected_count": {}
  },
  "additionalProperties": true
}
```
