DocEngine

Field types · Tree

Tree tree

Multi-select from a nested tree of nodes.

At a glance

  • Schema type: tree
  • Value: string[] (selected leaf paths)
  • Use when: Hierarchical catalogs (complaints, ICD-style trees).

Type properties

Options that appear only for Tree fields. Shared options (Label, Field Name, Required, …) are on Field types → Common properties.

Tree / Shared catalog
Manual tree: edit nested nodes in the designer. Shared catalog: select a commonTreeId from host catalogs.
Default value
Semicolon-separated leaf paths applied when the field is empty.
Allow manual edit
Users can type free text outside catalog options when filling the document.

Details

  • Tree can be embedded on the schema (tree: TreeNode[]) or referenced via commonTreeId.
  • Selected values are leaf path strings (array).
  • Host catalogs inject shared trees through createEditor({ catalogs: { trees } }).
  • Common in clinical templates for structured complaints / findings.

Other field types

← All field types