@medplum/fhirtypes 2.0.5 → 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.
- package/dist/AccessPolicy.d.ts +31 -0
- package/dist/MoneyQuantity.d.ts +61 -0
- package/dist/Project.d.ts +0 -31
- package/dist/Quantity.d.ts +4 -1
- package/dist/Resource.d.ts +0 -2
- package/dist/SimpleQuantity.d.ts +51 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/AccessPolicy.d.ts
CHANGED
|
@@ -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
|
/**
|
|
@@ -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
|
+
}
|
package/dist/Project.d.ts
CHANGED
|
@@ -97,37 +97,6 @@ export interface Project {
|
|
|
97
97
|
* Web application or web site that is associated with the project.
|
|
98
98
|
*/
|
|
99
99
|
site?: ProjectSite[];
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Use IP Access Rules to allowlist, block, and challenge traffic based
|
|
103
|
-
* on the visitor IP address.
|
|
104
|
-
*/
|
|
105
|
-
ipAccessRule?: ProjectIpAccessRule[];
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Use IP Access Rules to allowlist, block, and challenge traffic based
|
|
110
|
-
* on the visitor IP address.
|
|
111
|
-
*/
|
|
112
|
-
export interface ProjectIpAccessRule {
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Friendly name that will make it easy for you to identify the IP Access
|
|
116
|
-
* Rule in the future.
|
|
117
|
-
*/
|
|
118
|
-
name?: string;
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* An IP Access rule will apply a certain action to incoming traffic
|
|
122
|
-
* based on the visitor IP address or IP range.
|
|
123
|
-
*/
|
|
124
|
-
value?: string;
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Access rule can perform one of the following actions: "allow" |
|
|
128
|
-
* "block".
|
|
129
|
-
*/
|
|
130
|
-
action?: string;
|
|
131
100
|
}
|
|
132
101
|
|
|
133
102
|
/**
|
package/dist/Quantity.d.ts
CHANGED
|
@@ -36,7 +36,10 @@ export interface Quantity {
|
|
|
36
36
|
value?: number;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
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 "<" , then the real
|
|
42
|
+
* value is < stated value.
|
|
40
43
|
*/
|
|
41
44
|
comparator?: '<' | '<=' | '>=' | '>';
|
|
42
45
|
|
package/dist/Resource.d.ts
CHANGED
|
@@ -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';
|