-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathFhirClient.js
67 lines (62 loc) · 2.01 KB
/
FhirClient.js
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/// <reference path='./FhirClient.d.ts' />
import fhir from './nativeFhir';
export var FhirClient = (function() {
function FhirClient (config) {
this.client = fhir(config);
}
FhirClient.prototype.conformance = function(query) {
return this.client.conformance(query);
};
FhirClient.prototype.document = function(query) {
return this.client.document(query);
};
FhirClient.prototype.profile = function(query) {
return this.client.profile(query);
};
FhirClient.prototype.transaction = function(query) {
return this.client.transaction(query);
};
FhirClient.prototype.history = function(query) {
return this.client.history(query);
};
FhirClient.prototype.typeHistory = function(query) {
return this.client.typeHistory(query);
};
FhirClient.prototype.resourceHistory = function(query) {
return this.client.resourceHistory(query);
};
FhirClient.prototype.read = function(query) {
return this.client.read(query);
};
FhirClient.prototype.vread = function(query) {
return this.client.vread(query);
};
FhirClient.prototype.delete = function(query) {
return this.client.delete(query);
};
FhirClient.prototype.create = function(query) {
return this.client.create(query);
};
FhirClient.prototype.validate = function(query) {
return this.client.validate(query);
};
FhirClient.prototype.search = function(query) {
return this.client.search(query);
};
FhirClient.prototype.update = function(query) {
return this.client.update(query);
};
FhirClient.prototype.nextPage = function(query) {
return this.client.nextPage(query);
};
FhirClient.prototype.prevPage = function(query) {
return this.client.prevPage(query);
};
FhirClient.prototype.resolve = function(query) {
return this.client.resolve(query);
};
FhirClient.prototype.expand = function(query) {
return this.client.expand(query);
};
return FhirClient;
}());