forked from lantanagroup/FHIR.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fhir.d.ts
22 lines (22 loc) · 790 Bytes
/
fhir.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { ParseConformance } from './parseConformance';
import { Bundle } from "./model/bundle";
import { ValidatorOptions } from './validator';
export declare enum Versions {
STU3 = "STU3",
R4 = "R4",
R5 = "R5"
}
export declare class Fhir {
readonly parser: ParseConformance;
constructor(parser?: ParseConformance);
jsonToXml(json: string): string;
objToXml(obj: Object): string;
xmlToObj(xml: string): {
resourceType: any;
};
xmlToJson(xml: string): string;
validate(input: string | Object, options?: ValidatorOptions): import("./validator").ValidatorResponse;
evaluate(resource: string | Object, fhirPathString: string): any;
resolve(reference: string): void;
generateSnapshot(bundle: Bundle): void;
}