@medplum/fhirtypes 2.0.30 → 2.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AccessPolicy.d.ts +8 -0
- package/dist/Agent.d.ts +128 -0
- package/dist/Resource.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/AccessPolicy.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
import { Expression } from './Expression';
|
|
6
7
|
import { Meta } from './Meta';
|
|
7
8
|
import { Reference } from './Reference';
|
|
8
9
|
|
|
@@ -129,4 +130,11 @@ export interface AccessPolicyResource {
|
|
|
129
130
|
* not writeable.
|
|
130
131
|
*/
|
|
131
132
|
readonlyFields?: string[];
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Invariants that must be satisfied for the resource to be written. Can
|
|
136
|
+
* include %before and %after placeholders to refer to the resource
|
|
137
|
+
* before and after the updates are applied.
|
|
138
|
+
*/
|
|
139
|
+
writeConstraint?: Expression[];
|
|
132
140
|
}
|
package/dist/Agent.d.ts
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Generated by @medplum/generator
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { Bot } from './Bot';
|
|
7
|
+
import { Device } from './Device';
|
|
8
|
+
import { Endpoint } from './Endpoint';
|
|
9
|
+
import { Meta } from './Meta';
|
|
10
|
+
import { Reference } from './Reference';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Configuration details for an instance of the Medplum agent
|
|
14
|
+
* application.
|
|
15
|
+
*/
|
|
16
|
+
export interface Agent {
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* This is a Agent resource
|
|
20
|
+
*/
|
|
21
|
+
readonly resourceType: 'Agent';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* The logical id of the resource, as used in the URL for the resource.
|
|
25
|
+
* Once assigned, this value never changes.
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The metadata about the resource. This is content that is maintained by
|
|
31
|
+
* the infrastructure. Changes to the content might not always be
|
|
32
|
+
* associated with version changes to the resource.
|
|
33
|
+
*/
|
|
34
|
+
meta?: Meta;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* A reference to a set of rules that were followed when the resource was
|
|
38
|
+
* constructed, and which must be understood when processing the content.
|
|
39
|
+
* Often, this is a reference to an implementation guide that defines the
|
|
40
|
+
* special rules along with other profiles etc.
|
|
41
|
+
*/
|
|
42
|
+
implicitRules?: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* The base language in which the resource is written.
|
|
46
|
+
*/
|
|
47
|
+
language?: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The human readable friendly name of the agent.
|
|
51
|
+
*/
|
|
52
|
+
name?: string;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* The status of the agent.
|
|
56
|
+
*/
|
|
57
|
+
status?: 'active' | 'off' | 'error';
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Optional device resource representing the device running the agent.
|
|
61
|
+
*/
|
|
62
|
+
device?: Reference<Device>;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* The settings for the agent.
|
|
66
|
+
*/
|
|
67
|
+
setting?: AgentSetting[];
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Details where to send notifications when resources are received that
|
|
71
|
+
* meet the criteria.
|
|
72
|
+
*/
|
|
73
|
+
channel?: AgentChannel[];
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Details where to send notifications when resources are received that
|
|
78
|
+
* meet the criteria.
|
|
79
|
+
*/
|
|
80
|
+
export interface AgentChannel {
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* The channel endpoint definition including protocol and network binding
|
|
84
|
+
* details.
|
|
85
|
+
*/
|
|
86
|
+
endpoint?: Reference<Endpoint>;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* The target resource where channel messages will be delivered.
|
|
90
|
+
*/
|
|
91
|
+
targetReference?: Reference<Bot>;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* The target resource where channel messages will be delivered.
|
|
95
|
+
*/
|
|
96
|
+
targetUrl?: string;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* The settings for the agent.
|
|
101
|
+
*/
|
|
102
|
+
export interface AgentSetting {
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* The setting name.
|
|
106
|
+
*/
|
|
107
|
+
name?: string;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* The setting value.
|
|
111
|
+
*/
|
|
112
|
+
valueString?: string;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* The setting value.
|
|
116
|
+
*/
|
|
117
|
+
valueBoolean?: boolean;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* The setting value.
|
|
121
|
+
*/
|
|
122
|
+
valueDecimal?: number;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* The setting value.
|
|
126
|
+
*/
|
|
127
|
+
valueInteger?: number;
|
|
128
|
+
}
|
package/dist/Resource.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { AccessPolicy } from './AccessPolicy';
|
|
|
7
7
|
import { Account } from './Account';
|
|
8
8
|
import { ActivityDefinition } from './ActivityDefinition';
|
|
9
9
|
import { AdverseEvent } from './AdverseEvent';
|
|
10
|
+
import { Agent } from './Agent';
|
|
10
11
|
import { AllergyIntolerance } from './AllergyIntolerance';
|
|
11
12
|
import { Appointment } from './Appointment';
|
|
12
13
|
import { AppointmentResponse } from './AppointmentResponse';
|
|
@@ -168,6 +169,7 @@ export type Resource = AccessPolicy
|
|
|
168
169
|
| Account
|
|
169
170
|
| ActivityDefinition
|
|
170
171
|
| AdverseEvent
|
|
172
|
+
| Agent
|
|
171
173
|
| AllergyIntolerance
|
|
172
174
|
| Appointment
|
|
173
175
|
| AppointmentResponse
|
package/dist/index.d.ts
CHANGED