View Definitions
Author and manage the ViewDefinitions that SQL on FHIR runs flatten resources with.
code_system_hierarchy
Definition (JSON)
Runs as you type — results follow the current definition, saved or not
Guided form
Checked as you type: structure, cardinality, required bindings, and FHIRPath syntax / SQL-on-FHIR rules
+ Add Element
Logical id of this artifact
Metadata about the resource
+ Add Element
Version specific identifier
When the resource version last changed
Language of the resource content
Text summary of the resource, for human interpretation
+ Add Element
generated | extensions | additional | empty
Limited xhtml content
Canonical of the definition of this additional resource
Name for this view definition (computer friendly)
draft | active | retired | unknown
FHIR resource for the ViewDefinition
A collection of columns and nested selects to include in the view.
A collection of columns and nested selects to include in the view.
+ Add Element
A column to be produced in the resulting table.
A column to be produced in the resulting table.
+ Add Element
FHIRPath expression that creates a column and defines its content
Column name produced in the output
Description of the column
A collection of columns and nested selects to include in the view.
+ Add Element
A column to be produced in the resulting table.
A column to be produced in the resulting table.
+ Add Element
FHIRPath expression that creates a column and defines its content
Column name produced in the output
Description of the column
Nested select relative to a parent expression.
Nested select relative to a parent expression.
+ Add Element
A column to be produced in the resulting table.
A column to be produced in the resulting table.
+ Add Element
FHIRPath expression that creates a column and defines its content
Column name produced in the output
Description of the column
A FHIRPath expression to retrieve the parent element(s) used in the containing select. The default is effectively `$this`.
FHIRPath expressions to recursively select from.
FHIRPath expressions to recursively select from.
Results
| id | parent_code | code |
|---|---|---|
| The view produced no rows. | ||