Search Orders
Perform Search Orders through NikoHealth.
nikohealth_search_ordersInputs
- Patient Id
patient_idtextOptional text value.
- Require Patient Id
require_patient_idbooleanOptional true-or-false value.
Default:
false - Status
statusmulti_selectdynamic optionsOptional list of selected values. Retrieve allowed values from the dynamic options endpoint.
Default:
["New"] - Lookback Hours
lookback_hoursnumberOptional numeric value.
- Created From
created_fromexpressionOptional literal value or workflow expression.
- Created To
created_toexpressionOptional literal value or workflow expression.
- Timezone
timezonetextOptional text value.
Default:
"America/Chicago" - Order Types
order_typesexpressionOptional literal value or workflow expression.
- Page Size
page_sizenumberOptional numeric value.
Default:
50 - Max Pages
max_pagesnumberOptional numeric value.
- Record Limit
record_limitnumberOptional numeric value.
- Sort Expression
sort_expressiontextOptional text value.
Default:
"CreatedDate DESC" - Exclude Tag Ids
exclude_tag_idsexpressionOptional literal value or workflow expression.
- Exclude Tag Names
exclude_tag_namesexpressionOptional literal value or workflow expression.
- Hydrate Details
hydrate_detailsbooleanOptional true-or-false value.
Default:
false - Require Complete
require_completebooleanOptional true-or-false value.
Default:
false - Default On Error
default_on_errorbooleanOptional true-or-false value.
Default:
false
Outputs
successSuccessordersOrderscountCountexcluded_by_tag_countExcluded By Tag Counttruncated_by_record_limitTruncated By Record Limitpages_fetchedPages Fetchedtruncated_by_page_capTruncated By Page Capdetails_hydratedDetails Hydratedwindow_sourceWindow Sourcecreated_fromCreated Fromcreated_toCreated TodefaultedDefaultedreasonReasonerrorError
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": {
"status": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"New"
],
"description": "Optional list of selected values. Retrieve allowed values from the dynamic options endpoint.",
"x-dynamic-options": true,
"x-workflow-field-type": "multi_select"
},
"timezone": {
"type": "string",
"default": "America/Chicago",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"max_pages": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"page_size": {
"type": "number",
"default": 50,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"created_to": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"patient_id": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"order_types": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"created_from": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"record_limit": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"lookback_hours": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"exclude_tag_ids": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"hydrate_details": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"sort_expression": {
"type": "string",
"default": "CreatedDate DESC",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"default_on_error": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"require_complete": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"exclude_tag_names": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"require_patient_id": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"count": {},
"error": {},
"orders": {},
"reason": {},
"success": {},
"defaulted": {},
"created_to": {},
"created_from": {},
"pages_fetched": {},
"window_source": {},
"details_hydrated": {},
"excluded_by_tag_count": {},
"truncated_by_page_cap": {},
"truncated_by_record_limit": {}
},
"additionalProperties": true
}