# List Resupply Due Patients

> Perform List Resupply Due Patients through NikoHealth.

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

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

- Handler: `nikohealth_list_resupply_due_patients`

- 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": {
    "status": "Active",
    "timezone": "America/New_York",
    "max_pages": 20,
    "page_size": 100,
    "days_ahead": 30,
    "eligible_lookback_days": 365
  },
  "handler": "nikohealth_list_resupply_due_patients"
}

```

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

## Inputs

- `days_ahead` — Days Ahead (number)
  Optional numeric value.
  Default: `30`
- `eligible_lookback_days` — Eligible Lookback Days (number)
  Optional numeric value.
  Default: `365`
- `status` — Status (select)
  Optional selected identifier or value.
  Default: `"Active"`
  Options: All (""), Active ("Active"), Hold ("Hold")
- `page_size` — Page Size (number)
  Optional numeric value.
  Default: `100`
- `max_pages` — Max Pages (number)
  Optional numeric value.
  Default: `20`
- `timezone` — Timezone (expression)
  Optional literal value or workflow expression.
  Default: `"America/New_York"`

## Outputs

- `success` — Success
- `patients` — Patients
- `count` — Count
- `row_count` — Row Count
- `truncated` — Truncated
- `window_from` — Window From
- `window_to` — Window To
- `eligible_from` — Eligible From
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

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

## Schemas

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

### Input schema

```json
{
  "type": "object",
  "properties": {
    "status": {
      "enum": [
        "",
        "Active",
        "Hold"
      ],
      "type": "string",
      "default": "Active",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "timezone": {
      "default": "America/New_York",
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "max_pages": {
      "type": "number",
      "default": 20,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "page_size": {
      "type": "number",
      "default": 100,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "days_ahead": {
      "type": "number",
      "default": 30,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "eligible_lookback_days": {
      "type": "number",
      "default": 365,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "count": {},
    "error": {},
    "success": {},
    "patients": {},
    "row_count": {},
    "truncated": {},
    "window_to": {},
    "window_from": {},
    "eligible_from": {}
  },
  "additionalProperties": true
}
```
