@medplum/fhirtypes 2.0.12 → 2.0.14

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/Bot.d.ts CHANGED
@@ -6,6 +6,7 @@
6
6
  import { Attachment } from './Attachment';
7
7
  import { Identifier } from './Identifier';
8
8
  import { Meta } from './Meta';
9
+ import { Timing } from './Timing';
9
10
 
10
11
  /**
11
12
  * Bot account for automated actions.
@@ -69,6 +70,16 @@ export interface Bot {
69
70
  */
70
71
  photo?: Attachment;
71
72
 
73
+ /**
74
+ * A schedule for the bot to be executed.
75
+ */
76
+ cronTiming?: Timing;
77
+
78
+ /**
79
+ * A schedule for the bot to be executed.
80
+ */
81
+ cronString?: string;
82
+
72
83
  /**
73
84
  * Bot logic script.
74
85
  */
@@ -14,6 +14,7 @@ import { Resource } from './Resource';
14
14
  * from a system action.
15
15
  */
16
16
  export interface OperationOutcome {
17
+
17
18
  /**
18
19
  * This is a OperationOutcome resource
19
20
  */
@@ -102,6 +103,7 @@ export interface OperationOutcome {
102
103
  * action.
103
104
  */
104
105
  export interface OperationOutcomeIssue {
106
+
105
107
  /**
106
108
  * Unique id for the element within a resource (for internal references).
107
109
  * This may be any string value that does not contain spaces.
@@ -149,38 +151,10 @@ export interface OperationOutcomeIssue {
149
151
  * IssueType value set, and may additional provide its own code for the
150
152
  * error in the details element.
151
153
  */
152
- code?:
153
- | 'invalid'
154
- | 'structure'
155
- | 'required'
156
- | 'value'
157
- | 'invariant'
158
- | 'security'
159
- | 'login'
160
- | 'unknown'
161
- | 'expired'
162
- | 'forbidden'
163
- | 'suppressed'
164
- | 'processing'
165
- | 'not-supported'
166
- | 'duplicate'
167
- | 'multiple-matches'
168
- | 'not-found'
169
- | 'deleted'
170
- | 'too-long'
171
- | 'code-invalid'
172
- | 'extension'
173
- | 'too-costly'
174
- | 'business-rule'
175
- | 'conflict'
176
- | 'transient'
177
- | 'lock-error'
178
- | 'no-store'
179
- | 'exception'
180
- | 'timeout'
181
- | 'incomplete'
182
- | 'throttled'
183
- | 'informational';
154
+ code?: 'invalid' | 'structure' | 'required' | 'value' | 'invariant' | 'security' | 'login' | 'unknown' | 'expired' |
155
+ 'forbidden' | 'suppressed' | 'processing' | 'not-supported' | 'duplicate' | 'multiple-matches' | 'not-found' |
156
+ 'deleted' | 'too-long' | 'code-invalid' | 'extension' | 'too-costly' | 'business-rule' | 'conflict' | 'transient' |
157
+ 'lock-error' | 'no-store' | 'exception' | 'timeout' | 'incomplete' | 'throttled' | 'informational';
184
158
 
185
159
  /**
186
160
  * Additional details about the error. This may be a text description of
@@ -73,6 +73,22 @@ export interface ProjectMembership {
73
73
  */
74
74
  profile?: Reference<Bot | ClientApplication | Patient | Practitioner | RelatedPerson>;
75
75
 
76
+ /**
77
+ * A String that is an identifier for the resource as defined by the
78
+ * provisioning client. The &quot;externalId&quot; may simplify identification of
79
+ * a resource between the provisioning client and the service provider by
80
+ * allowing the client to use a filter to locate the resource with an
81
+ * identifier from the provisioning domain, obviating the need to store a
82
+ * local mapping between the provisioning domain's identifier of the
83
+ * resource and the identifier used by the service provider. Each
84
+ * resource MAY include a non-empty &quot;externalId&quot; value. The value of the
85
+ * &quot;externalId&quot; attribute is always issued by the provisioning client and
86
+ * MUST NOT be specified by the service provider. The service provider
87
+ * MUST always interpret the externalId as scoped to the provisioning
88
+ * domain.
89
+ */
90
+ externalId?: string;
91
+
76
92
  /**
77
93
  * The access policy for the user within the project memebership.
78
94
  */
package/dist/User.d.ts CHANGED
@@ -56,18 +56,7 @@ export interface User {
56
56
  lastName?: string;
57
57
 
58
58
  /**
59
- * A String that is an identifier for the resource as defined by the
60
- * provisioning client. The &quot;externalId&quot; may simplify identification of
61
- * a resource between the provisioning client and the service provider by
62
- * allowing the client to use a filter to locate the resource with an
63
- * identifier from the provisioning domain, obviating the need to store a
64
- * local mapping between the provisioning domain's identifier of the
65
- * resource and the identifier used by the service provider. Each
66
- * resource MAY include a non-empty &quot;externalId&quot; value. The value of the
67
- * &quot;externalId&quot; attribute is always issued by the provisioning client and
68
- * MUST NOT be specified by the service provider. The service provider
69
- * MUST always interpret the externalId as scoped to the provisioning
70
- * domain.
59
+ * DEPRECATED Replaced by ProjectMembership.externalId.
71
60
  */
72
61
  externalId?: string;
73
62
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "2.0.12",
3
+ "version": "2.0.14",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",