pub async fn execute(
view: &ViewDefinition,
resources: &[Value],
) -> Result<ViewResult>Expand description
Execute a ViewDefinition against in-memory FHIR resources.
Resources whose resourceType differs from the view’s resource are
skipped. Returns the tabular result with column metadata and rows.
§Errors
Returns an error if a selector cannot be parsed, a constant is undefined, the
column shape is inconsistent (duplicate names, mismatched unionAll
branches), or a non-collection column yields more than one value.