Persist Patient Documents
Perform Persist Patient Documents through NikoHealth.
nikohealth_persist_patient_documentswritenikohealth
Use 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": {
"strict_type_resolution": false
},
"handler": "nikohealth_persist_patient_documents"
}Inputs
- Patient Id
patient_idexpressionOptional literal value or workflow expression.
- Order Id
order_idexpressionOptional literal value or workflow expression.
- Strict Type Resolution
strict_type_resolutionbooleanOptional true-or-false value.
Default:
false - Document Type Names
document_type_namesexpressionOptional literal value or workflow expression.
- Recency Window Hours
recency_window_hoursnumberOptional numeric value.
- Max Documents
max_documentsnumberOptional numeric value.
- Min Documents
min_documentsnumberOptional numeric value.
Outputs
successSuccessstatusStatuscreatedCreatedskippedSkippedfailedFaileddocument_idsDocument IdsresultsResultserrorError
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",
"properties": {
"order_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"patient_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"max_documents": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"min_documents": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"document_type_names": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"recency_window_hours": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"strict_type_resolution": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"failed": {},
"status": {},
"created": {},
"results": {},
"skipped": {},
"success": {},
"document_ids": {}
},
"additionalProperties": true
}