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 canvas ships 16 core node types and 8 BH-OS rail node types. Each runner extends BaseNodeRunner and is registered with the WorkflowExecutor.

Core nodes (3)

TypeRunnerPurpose
startStartNodeRunnerWorkflow entry. Defines input variables.
endEndNodeRunnerWorkflow exit. Marks execution complete with output values.
note(annotation only)Documentation node — no runtime effect.

Logic & control (5)

TypeRunnerOutputs
conditionConditionNodeRunnertrue / false (field + operator + value)
transformTransformNodeRunnerdefault (Handlebars / Liquid template)
classifyClassifyNodeRunnerDynamic — one per declared category
waitWaitNodeRunnerdefault (after delay or cron)
user-approvalUserApprovalRunnerapproved / rejected — pauses execution and writes to workflow_approvals

Healthcare agents (4)

TypeRunnerOutputs
intake-agentIntakeAgentRunnersuccess / escalate / error — orchestrates Vapi + intake state machine
scribe-agentScribeAgentRunnersuccess / error — drafts SOAP notes
therapy-agentTherapyAgentRunnersuccess / concern / error — behavioral health analysis
triage-agentTriageAgentRunnerurgent / routine / self_care — ESI-aligned routing

Integration & data (4)

TypeRunnerOutputs
guardrailsGuardrailsNodeRunnerpass / fail — HIPAA, 42 CFR Part 2, suicide-language, PII checks
ehr-syncEHRSyncNodesuccess / error — bidirectional FHIR sync against connected EHR
fhir-queryFHIRQueryRunnersuccess / error — FHIR R4 search (Patient, Observation, Encounter, …)
escalateEscalateNodeRunner(terminal) — sends notification via email / SMS / pager / Slack

BH-OS rails (8)

The BH-OS rails are typed runners backed by StudioBlockRunner. Each rail wires the workflow into a corresponding backend service.
TypeService
rails/assessmentClinical assessment runner
rails/triageTriage runner
rails/referralReferral generator + closed-loop tracking
rails/paPrior authorization workflow
rails/mbcMeasurement-Based Care (PHQ-9 / GAD-7 cadence)
rails/qualityHEDIS / MIPS measure capture
rails/networkProvider network logic
rails/pharmacySurescripts e-prescribing + interaction checks

Validation

BaseNodeRunner.validate(node) enforces required fields per node type at design time. Connections are type-checked: a condition node’s true port can only connect to a node that accepts the condition’s state output shape.