Skip to documentation
NikoHealth integration

Persist Patient Documents

Perform Persist Patient Documents through NikoHealth.

View as Markdown
nikohealth_persist_patient_documents
writenikohealth

Inputs

  • patient_id
    expressionrequired
    Patient Id

    Required literal value or workflow expression.

  • document_type_names
    expression
    Document Type Names

    Optional literal value or workflow expression.

  • recency_window_hours
    number
    Recency Window Hours

    Optional numeric value.

  • max_documents
    number
    Max Documents

    Optional numeric value.

  • min_documents
    number
    Min Documents

    Optional numeric value.

Outputs

  • successSuccess
  • statusStatus
  • createdCreated
  • skippedSkipped
  • failedFailed
  • document_idsDocument Ids
  • resultsResults
  • errorError

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
}
View all NikoHealth actions