@medplum/fhirtypes 2.0.4 → 2.0.6

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.
@@ -59,6 +59,37 @@ export interface AccessPolicy {
59
59
  * Access details for a resource type.
60
60
  */
61
61
  resource?: AccessPolicyResource[];
62
+
63
+ /**
64
+ * Use IP Access Rules to allowlist, block, and challenge traffic based
65
+ * on the visitor IP address.
66
+ */
67
+ ipAccessRule?: AccessPolicyIpAccessRule[];
68
+ }
69
+
70
+ /**
71
+ * Use IP Access Rules to allowlist, block, and challenge traffic based
72
+ * on the visitor IP address.
73
+ */
74
+ export interface AccessPolicyIpAccessRule {
75
+
76
+ /**
77
+ * Friendly name that will make it easy for you to identify the IP Access
78
+ * Rule in the future.
79
+ */
80
+ name?: string;
81
+
82
+ /**
83
+ * An IP Access rule will apply a certain action to incoming traffic
84
+ * based on the visitor IP address or IP range.
85
+ */
86
+ value?: string;
87
+
88
+ /**
89
+ * Access rule can perform one of the following actions: "allow" |
90
+ * "block".
91
+ */
92
+ action?: string;
62
93
  }
63
94
 
64
95
  /**
package/dist/Bundle.d.ts CHANGED
@@ -6,6 +6,7 @@
6
6
  import { Extension } from './Extension';
7
7
  import { Identifier } from './Identifier';
8
8
  import { Meta } from './Meta';
9
+ import { OperationOutcome } from './OperationOutcome';
9
10
  import { Resource } from './Resource';
10
11
  import { Signature } from './Signature';
11
12
 
@@ -328,7 +329,7 @@ export interface BundleEntryResponse {
328
329
  * An OperationOutcome containing hints and warnings produced as part of
329
330
  * processing this entry in a batch or transaction.
330
331
  */
331
- outcome?: Resource;
332
+ outcome?: OperationOutcome;
332
333
  }
333
334
 
334
335
  /**
@@ -0,0 +1,61 @@
1
+ /*
2
+ * Generated by @medplum/generator
3
+ * Do not edit manually.
4
+ */
5
+
6
+ import { Extension } from './Extension';
7
+
8
+ /**
9
+ * There SHALL be a code if there is a value and it SHALL be an
10
+ * expression of currency. If system is present, it SHALL be ISO 4217
11
+ * (system = "urn:iso:std:iso:4217" - currency).
12
+ */
13
+ export interface MoneyQuantity {
14
+
15
+ /**
16
+ * Unique id for the element within a resource (for internal references).
17
+ * This may be any string value that does not contain spaces.
18
+ */
19
+ id?: string;
20
+
21
+ /**
22
+ * May be used to represent additional information that is not part of
23
+ * the basic definition of the element. To make the use of extensions
24
+ * safe and manageable, there is a strict set of governance applied to
25
+ * the definition and use of extensions. Though any implementer can
26
+ * define an extension, there is a set of requirements that SHALL be met
27
+ * as part of the definition of the extension.
28
+ */
29
+ extension?: Extension[];
30
+
31
+ /**
32
+ * The value of the measured amount. The value includes an implicit
33
+ * precision in the presentation of the value.
34
+ */
35
+ value?: number;
36
+
37
+ /**
38
+ * How the value should be understood and represented - whether the
39
+ * actual value is greater or less than the stated value due to
40
+ * measurement issues; e.g. if the comparator is "<" , then the real
41
+ * value is < stated value.
42
+ */
43
+ comparator?: '<' | '<=' | '>=' | '>';
44
+
45
+ /**
46
+ * A human-readable form of the unit.
47
+ */
48
+ unit?: string;
49
+
50
+ /**
51
+ * The identification of the system that provides the coded form of the
52
+ * unit.
53
+ */
54
+ system?: string;
55
+
56
+ /**
57
+ * A computer processable form of the unit in some unit representation
58
+ * system.
59
+ */
60
+ code?: string;
61
+ }
@@ -57,6 +57,11 @@ export interface ProjectMembership {
57
57
  */
58
58
  project?: Reference<Project>;
59
59
 
60
+ /**
61
+ * The project administrator who invited the user to the project.
62
+ */
63
+ invitedBy?: Reference<User>;
64
+
60
65
  /**
61
66
  * User that is granted access to the project.
62
67
  */
@@ -36,7 +36,10 @@ export interface Quantity {
36
36
  value?: number;
37
37
 
38
38
  /**
39
- * Not allowed to be used in this context
39
+ * How the value should be understood and represented - whether the
40
+ * actual value is greater or less than the stated value due to
41
+ * measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real
42
+ * value is &lt; stated value.
40
43
  */
41
44
  comparator?: '<' | '<=' | '>=' | '>';
42
45
 
@@ -102,7 +102,6 @@ import { MedicinalProductPharmaceutical } from './MedicinalProductPharmaceutical
102
102
  import { MedicinalProductUndesirableEffect } from './MedicinalProductUndesirableEffect';
103
103
  import { MessageDefinition } from './MessageDefinition';
104
104
  import { MessageHeader } from './MessageHeader';
105
- import { MetadataResource } from './MetadataResource';
106
105
  import { MolecularSequence } from './MolecularSequence';
107
106
  import { NamingSystem } from './NamingSystem';
108
107
  import { NutritionOrder } from './NutritionOrder';
@@ -263,7 +262,6 @@ export type Resource = AccessPolicy
263
262
  | MedicinalProductUndesirableEffect
264
263
  | MessageDefinition
265
264
  | MessageHeader
266
- | MetadataResource
267
265
  | MolecularSequence
268
266
  | NamingSystem
269
267
  | NutritionOrder
@@ -0,0 +1,51 @@
1
+ /*
2
+ * Generated by @medplum/generator
3
+ * Do not edit manually.
4
+ */
5
+
6
+ import { Extension } from './Extension';
7
+
8
+ /**
9
+ * The comparator is not used on a SimpleQuantity
10
+ */
11
+ export interface SimpleQuantity {
12
+
13
+ /**
14
+ * Unique id for the element within a resource (for internal references).
15
+ * This may be any string value that does not contain spaces.
16
+ */
17
+ id?: string;
18
+
19
+ /**
20
+ * May be used to represent additional information that is not part of
21
+ * the basic definition of the element. To make the use of extensions
22
+ * safe and manageable, there is a strict set of governance applied to
23
+ * the definition and use of extensions. Though any implementer can
24
+ * define an extension, there is a set of requirements that SHALL be met
25
+ * as part of the definition of the extension.
26
+ */
27
+ extension?: Extension[];
28
+
29
+ /**
30
+ * The value of the measured amount. The value includes an implicit
31
+ * precision in the presentation of the value.
32
+ */
33
+ value?: number;
34
+
35
+ /**
36
+ * A human-readable form of the unit.
37
+ */
38
+ unit?: string;
39
+
40
+ /**
41
+ * The identification of the system that provides the coded form of the
42
+ * unit.
43
+ */
44
+ system?: string;
45
+
46
+ /**
47
+ * A computer processable form of the unit in some unit representation
48
+ * system.
49
+ */
50
+ code?: string;
51
+ }
package/dist/index.d.ts CHANGED
@@ -129,6 +129,7 @@ export * from './Meta';
129
129
  export * from './MetadataResource';
130
130
  export * from './MolecularSequence';
131
131
  export * from './Money';
132
+ export * from './MoneyQuantity';
132
133
  export * from './NamingSystem';
133
134
  export * from './Narrative';
134
135
  export * from './NutritionOrder';
@@ -178,6 +179,7 @@ export * from './Schedule';
178
179
  export * from './SearchParameter';
179
180
  export * from './ServiceRequest';
180
181
  export * from './Signature';
182
+ export * from './SimpleQuantity';
181
183
  export * from './Slot';
182
184
  export * from './SmartAppLaunch';
183
185
  export * from './Specimen';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",