How blocks are built
Each block chooses among complementary construction modes, often mixed inside one template, so you can trade latency, cost, and interpretability:- Deterministic (pipeline) blocks apply fixed operations to resolved inputs: extract, normalize, aggregate, merge, without an open-ended model turn. They shine when the mapping from state to output is well-defined and you want repeatable, inspectable behavior.
- Agentic blocks send filled inputs and often the prior version of that block to a model that drafts or revises narrative or structured content under prompt and schema constraints. They handle fuzzy synthesis, prioritization, and language when deterministic rules would be brittle.
- Supervised pipeline combines both: a deterministic pass establishes a factual scaffold, then a constrained agent step reviews, tightens, or explains; useful when you want machine-checked structure plus nuanced wording.
Confidence metrics
Blocks can attach structured scores so downstream workflows know when to trust, flag, or escalate, not just whether text exists.- Coverage: did required inputs resolve? Are critical sections populated vs intentionally empty?
- Freshness: how stale are the underlying logs and modules feeding this block relative to the run?
- Certainty: model-reported confidence where an agent produced or revised content.
- Consistency: internal agreement across sections or against upstream structured facts.
- Evidence density: how much corroborating signal supports the narrative versus thin inference.
- Overall: a rollup for dashboards and automation gates when a single threshold is enough.
get/set_confidence_scoring, get/set_view_confidence_scoring, get/set_block_confidence_scoring; scope api:org-config). Resolution is org → view → block → platform built-ins. Method reference: Confidence scoring.
Provenance. Values in patient state carry lineage back to contributing logs where applicable. View blocks likewise carry attribution: snapshot-level rollups and, for structured outputs, finer-grained IDs on rows or fields. That helps observability answer “why does this say this?”
TEMP highlights are a lightweight, append-only slot on a view for very recent highlights; templates optionally gate which log types or memory tags may populate it. They sit beside main block outputs and can be cleared after a generation pass so staging does not grow without bound.
Next steps
View configuration
Choose curated templates, edit blocks, or configure through conversation.
Accessing patient state
Read views and blocks via MCP, the SDK, or REST.

