Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.medera.info/llms.txt

Use this file to discover all available pages before exploring further.

The transform node runs a Handlebars / Liquid-style template against the context. Outputs land in nodes.<id>.output or, with output_to: state.<name>, in workflow state.
type: transform
config:
  template: |
    {
      "patient_summary": "{{input.patient.name}} — PHQ-9 score: {{state.phq9_score}}",
      "high_risk": {{ gt state.phq9_score 14 }}
    }
  output_to: state.summary
Transforms are sandboxed: no I/O, no network, no PHI exfiltration paths.