Skip to main content

core.evalsqlonfhir

Home > @medplum/core > evalSqlOnFhir

evalSqlOnFhir() function

Evaluates a SQL-on-FHIR view on a set of FHIR resources.

Signature:

export declare function evalSqlOnFhir(view: ViewDefinition, resources: Resource[]): OutputRow[];

Parameters

Parameter

Type

Description

view

ViewDefinition

The view definition.

resources

Resource[]

The array of FHIR resources.

Returns:

OutputRow[]

The output rows.