Search Expiring Prescriptions
Perform Search Expiring Prescriptions through NikoHealth.
nikohealth_search_expiring_prescriptionsUse in a workflow
Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.
{
"_group": "NikoHealth",
"params": {
"statuses": [
"Active",
"Expired"
],
"timezone": "America/New_York",
"max_pages": 10,
"page_size": 100,
"days_ahead": 30,
"days_behind": 0,
"include_archived": false
},
"handler": "nikohealth_search_expiring_prescriptions"
}Inputs
- Days Ahead
days_aheadnumberOptional numeric value.
Default:
30 - Days Behind
days_behindnumberOptional numeric value.
Default:
0 - Statuses
statusesmulti_selectOptional list of selected values.
Default:
["Active","Expired"]Options: Active ("Active"), Expired ("Expired")
- Include Archived
include_archivedbooleanOptional true-or-false value.
Default:
false - Page Size
page_sizenumberOptional numeric value.
Default:
100 - Max Pages
max_pagesnumberOptional numeric value.
Default:
10 - Timezone
timezoneexpressionOptional literal value or workflow expression.
Default:
"America/New_York"
Outputs
successSuccessprescriptionsPrescriptionscountCounttruncatedTruncatedtotal_reportedTotal Reportedwindow_fromWindow Fromwindow_toWindow ToerrorError
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
{
"type": "object",
"properties": {
"statuses": {
"type": "array",
"items": {
"enum": [
"Active",
"Expired"
],
"type": "string"
},
"default": [
"Active",
"Expired"
],
"description": "Optional list of selected values.",
"x-workflow-field-type": "multi_select"
},
"timezone": {
"default": "America/New_York",
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"max_pages": {
"type": "number",
"default": 10,
"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"
},
"days_behind": {
"type": "number",
"default": 0,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"include_archived": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"count": {},
"error": {},
"success": {},
"truncated": {},
"window_to": {},
"window_from": {},
"prescriptions": {},
"total_reported": {}
},
"additionalProperties": true
}