Skip to documentation
NikoHealth integration

Persist Patient Documents

Perform Persist Patient Documents through NikoHealth.

View as Markdown
nikohealth_persist_patient_documents
writenikohealth

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"
}

Action contracts and connections · Run recovery

Inputs

  • patient_id
    expression
    Patient Id

    Optional literal value or workflow expression.

  • order_id
    expression
    Order Id

    Optional literal value or workflow expression.

  • strict_type_resolution
    boolean
    Strict Type Resolution

    Optional true-or-false value.

    Default: false

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