@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 CHANGED
@@ -106,4 +106,9 @@ export interface Meta {
106
106
  * The list of compartments containing this resource
107
107
  */
108
108
  compartment?: Reference[];
109
+
110
+ /**
111
+ * True when this version represents a logical delete tombstone.
112
+ */
113
+ deleted?: boolean;
109
114
  }
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 for patients using open registration.
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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "5.1.23",
3
+ "version": "5.1.24",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "keywords": [
6
6
  "medplum",