Assign Documents to Order
Perform Assign Documents to Order through NikoHealth.
nikohealth_assign_order_documentswritenikohealth
Inputs
- Patient Id
patient_idtextrequiredRequired text value.
- Order Id
order_idtextrequiredRequired text value.
- Patient Document Ids
patient_document_idsexpressionrequiredRequired literal value or workflow expression.
- Merge Existing
merge_existingbooleanOptional true-or-false value.
Default:
true - Enabled
enabledbooleanOptional true-or-false value.
Default:
true - Skip If Empty
skip_if_emptybooleanOptional true-or-false value.
Default:
false
Outputs
successSuccessstatusStatusskippedSkippedpatient_idPatient Idorder_idOrder Idincoming_patient_document_idsIncoming Patient Document Idsexisting_patient_document_idsExisting Patient Document Idssubmitted_patient_document_idsSubmitted Patient Document Idspatient_document_idsPatient Document Idsassigned_countAssigned Countassociated_countAssociated CounterrorError
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
{
"type": "object",
"required": [
"patient_id",
"order_id",
"patient_document_ids"
],
"properties": {
"enabled": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"order_id": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "text"
},
"patient_id": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "text"
},
"skip_if_empty": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"merge_existing": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"patient_document_ids": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"status": {},
"skipped": {},
"success": {},
"order_id": {},
"patient_id": {},
"assigned_count": {},
"associated_count": {},
"patient_document_ids": {},
"existing_patient_document_ids": {},
"incoming_patient_document_ids": {},
"submitted_patient_document_ids": {}
},
"additionalProperties": true
}