# Add HCPCS Code to Prescription

> Perform Add HCPCS Code to Prescription through NikoHealth.

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

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

- Handler: `nikohealth_add_prescription_hcpcs`

- Connection type: `nikohealth`

## Inputs

- `patient_id` — Patient Id (expression, required)
  Required literal value or workflow expression.
- `hcpcs_code` — Hcpcs Code (expression, required)
  Required literal value or workflow expression.
- `diagnosis_codes` — Diagnosis Codes (expression)
  Optional literal value or workflow expression.
- `skip_if_missing` — Skip If Missing (boolean)
  Optional true-or-false value.
  Default: `false`
- `dry_run` — Dry Run (boolean)
  Optional true-or-false value.
  Default: `false`
- `verify` — Verify (boolean)
  Optional true-or-false value.
  Default: `true`

## Outputs

- `success` — Success
- `prescription_id` — Prescription Id
- `hcpcs_code` — Hcpcs Code
- `added` — Added
- `was_already_present` — Was Already Present
- `verified` — Verified
- `covered_codes` — Covered Codes
- `skipped` — Skipped
- `reason` — Reason
- `dry_run` — Dry Run
- `message` — Message
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- Dry run supported: yes

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "patient_id",
    "hcpcs_code"
  ],
  "properties": {
    "verify": {
      "type": "boolean",
      "default": true,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "hcpcs_code": {
      "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"
    },
    "diagnosis_codes": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "skip_if_missing": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "added": {},
    "error": {},
    "reason": {},
    "dry_run": {},
    "message": {},
    "skipped": {},
    "success": {},
    "verified": {},
    "hcpcs_code": {},
    "covered_codes": {},
    "prescription_id": {},
    "was_already_present": {}
  },
  "additionalProperties": true
}
```
