import type { Expression, FhirResource } from 'fhir/r4'; /** * Variables interface * * @property fhirPathVariables - Key-value pair of FHIRPath variable expressions in a Questionnaire item `Record` * @property xFhirQueryVariables - Key-value pair of x-fhir-query variables `Record` */ export interface Variables { fhirPathVariables: Record; xFhirQueryVariables: Record; } /** * VariableXFhirQuery interface * * @property valueExpression - FHIRPath Expression of the variable * @property result - FHIR resource result of the executed query */ export interface VariableXFhirQuery { valueExpression: Expression; result?: FhirResource; }