forked from lantanagroup/FHIR.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fhirPath.d.ts
29 lines (29 loc) · 811 Bytes
/
fhirPath.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
interface PathStructure {
name?: string;
params?: StatementStructure[];
}
interface StatementStructure {
resourceType?: string;
value?: string;
path?: [string | PathStructure];
left?: StatementStructure;
right?: StatementStructure;
op?: string;
}
export declare class FhirPath {
private parser;
readonly resources: any;
readonly operators: string[];
private findClosingParenIndex;
private findClosingQuoteIndex;
constructor(resources: any, parser: any);
private internalResolve;
resolve(reference: any): void;
private getResourceTypes;
parse(fhirPath: any): StatementStructure[];
private getValue;
private internalEvaluate;
private shouldReturnArray;
evaluate(fhirPath: any): any;
}
export {};