@medplum/fhirtypes 5.1.23 → 5.1.24
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/Meta.d.ts +5 -0
- package/dist/Project.d.ts +23 -1
- package/package.json +1 -1
package/dist/Meta.d.ts
CHANGED
package/dist/Project.d.ts
CHANGED
|
@@ -143,7 +143,8 @@ export interface Project {
|
|
|
143
143
|
'validate-terminology' | 'range-search' | 'log-streaming')[];
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
|
-
* The default access policy
|
|
146
|
+
* @deprecated Use defaultAccessPolicies instead. The default access policy
|
|
147
|
+
* for patients using open registration.
|
|
147
148
|
*/
|
|
148
149
|
defaultPatientAccessPolicy?: Reference<AccessPolicy>;
|
|
149
150
|
|
|
@@ -191,6 +192,27 @@ export interface Project {
|
|
|
191
192
|
* The resource types exported by the project when linked
|
|
192
193
|
*/
|
|
193
194
|
exportedResourceType?: ResourceType[];
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Default access policies to apply to project members by role when no explicit policy is provided.
|
|
198
|
+
*/
|
|
199
|
+
defaultAccessPolicies?: ProjectDefaultAccessPolicy[];
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Default access policy to apply to project members of a given role.
|
|
204
|
+
*/
|
|
205
|
+
export interface ProjectDefaultAccessPolicy {
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* The member role this policy applies to.
|
|
209
|
+
*/
|
|
210
|
+
profileType: 'Patient' | 'Practitioner' | 'RelatedPerson' | 'Admin';
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* The access policy to apply to members of this role.
|
|
214
|
+
*/
|
|
215
|
+
accessPolicy: Reference<AccessPolicy>;
|
|
194
216
|
}
|
|
195
217
|
|
|
196
218
|
/**
|