Persist Patient Documents
Perform Persist Patient Documents through NikoHealth.
nikohealth_persist_patient_documentswritenikohealth
Inputs
- Patient Id
patient_idexpressionrequiredRequired literal value or workflow expression.
- 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",
"required": [
"patient_id"
],
"properties": {
"patient_id": {
"description": "Required 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"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"failed": {},
"status": {},
"created": {},
"results": {},
"skipped": {},
"success": {},
"document_ids": {}
},
"additionalProperties": true
}