@medplum/fhirtypes 2.0.7 → 2.0.10

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.
@@ -14,7 +14,6 @@ import { Resource } from './Resource';
14
14
  * from a system action.
15
15
  */
16
16
  export interface OperationOutcome {
17
-
18
17
  /**
19
18
  * This is a OperationOutcome resource
20
19
  */
@@ -103,7 +102,6 @@ export interface OperationOutcome {
103
102
  * action.
104
103
  */
105
104
  export interface OperationOutcomeIssue {
106
-
107
105
  /**
108
106
  * Unique id for the element within a resource (for internal references).
109
107
  * This may be any string value that does not contain spaces.
@@ -151,10 +149,38 @@ export interface OperationOutcomeIssue {
151
149
  * IssueType value set, and may additional provide its own code for the
152
150
  * error in the details element.
153
151
  */
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';
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';
158
184
 
159
185
  /**
160
186
  * Additional details about the error. This may be a text description of
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "2.0.7",
3
+ "version": "2.0.10",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",