@medplum/fhirtypes 2.0.2 → 2.0.4

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.
@@ -74,6 +74,13 @@ export interface ClientApplication {
74
74
  */
75
75
  launchUri?: string;
76
76
 
77
+ /**
78
+ * Flag to make PKCE optional for this client application. PKCE is
79
+ * required by default for compliance with Smart App Launch. It can be
80
+ * disabled for compatibility with legacy client applications.
81
+ */
82
+ pkceOptional?: boolean;
83
+
77
84
  /**
78
85
  * Optional external Identity Provider (IdP) for the client application.
79
86
  */
@@ -32,4 +32,9 @@ export interface IdentityProvider {
32
32
  * External Identity Provider client secret.
33
33
  */
34
34
  clientSecret?: string;
35
+
36
+ /**
37
+ * Optional flag to use the subject field instead of the email field.
38
+ */
39
+ useSubject?: boolean;
35
40
  }
@@ -73,6 +73,11 @@ export interface ProjectMembership {
73
73
  */
74
74
  accessPolicy?: Reference<AccessPolicy>;
75
75
 
76
+ /**
77
+ * Extended access configuration using parameterized access policies.
78
+ */
79
+ access?: ProjectMembershipAccess[];
80
+
76
81
  /**
77
82
  * The user configuration for the user within the project memebership
78
83
  * such as menu links, saved searches, and features.
@@ -84,3 +89,43 @@ export interface ProjectMembership {
84
89
  */
85
90
  admin?: boolean;
86
91
  }
92
+
93
+ /**
94
+ * Extended access configuration using parameterized access policies.
95
+ */
96
+ export interface ProjectMembershipAccess {
97
+
98
+ /**
99
+ * The base access policy used as a template. Variables in the template
100
+ * access policy are replaced by the values in the parameter.
101
+ */
102
+ policy?: Reference<AccessPolicy>;
103
+
104
+ /**
105
+ * User options that control the display of the application.
106
+ */
107
+ parameter?: ProjectMembershipAccessParameter[];
108
+ }
109
+
110
+ /**
111
+ * User options that control the display of the application.
112
+ */
113
+ export interface ProjectMembershipAccessParameter {
114
+
115
+ /**
116
+ * The unique name of the parameter.
117
+ */
118
+ name?: string;
119
+
120
+ /**
121
+ * Value of the parameter - must be one of a constrained set of the data
122
+ * types (see [Extensibility](extensibility.html) for a list).
123
+ */
124
+ valueString?: string;
125
+
126
+ /**
127
+ * Value of the parameter - must be one of a constrained set of the data
128
+ * types (see [Extensibility](extensibility.html) for a list).
129
+ */
130
+ valueReference?: Reference;
131
+ }
@@ -6,7 +6,10 @@
6
6
  import { Extension } from './Extension';
7
7
 
8
8
  /**
9
- * The comparator is not used on a SimpleQuantity
9
+ * A measured amount (or an amount that can potentially be measured).
10
+ * Note that measured amounts include amounts that are not precisely
11
+ * quantified, including amounts involving arbitrary units and floating
12
+ * currencies.
10
13
  */
11
14
  export interface Quantity {
12
15
 
package/dist/User.d.ts CHANGED
@@ -55,6 +55,22 @@ export interface User {
55
55
  */
56
56
  lastName?: string;
57
57
 
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.
71
+ */
72
+ externalId?: string;
73
+
58
74
  /**
59
75
  * The email address that uniquely identifies the user.
60
76
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",