@medplum/fhirtypes 3.2.7 → 3.2.9

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/README.md CHANGED
@@ -30,7 +30,7 @@ import { Patient } from '@medplum/fhirtypes';
30
30
 
31
31
  const myPatient: Patient = {
32
32
  resourceType: 'Patient',
33
- name: 'George Wasington',
33
+ name: 'George Washington',
34
34
  };
35
35
  ```
36
36
 
package/dist/Meta.d.ts CHANGED
@@ -90,14 +90,12 @@ export interface Meta {
90
90
  onBehalfOf?: Reference;
91
91
 
92
92
  /**
93
- * Optional account reference that can be used for sub-project
94
- * compartments.
93
+ * @deprecated Use Meta.compartment instead
95
94
  */
96
95
  account?: Reference;
97
96
 
98
97
  /**
99
- * The list of compartments containing this resource. This is readonly
100
- * and is set by the server.
98
+ * The list of compartments containing this resource
101
99
  */
102
100
  compartment?: Reference[];
103
101
  }
package/dist/Project.d.ts CHANGED
@@ -10,6 +10,7 @@ import { Meta } from './Meta';
10
10
  import { Narrative } from './Narrative';
11
11
  import { Reference } from './Reference';
12
12
  import { Resource } from './Resource';
13
+ import { ResourceType } from './ResourceType';
13
14
  import { User } from './User';
14
15
 
15
16
  /**
@@ -176,6 +177,29 @@ export interface Project {
176
177
  * Linked Projects whose contents are made available to this one
177
178
  */
178
179
  link?: ProjectLink[];
180
+
181
+ /**
182
+ * Default profiles to apply to resources in this project that do not
183
+ * individually specify profiles
184
+ */
185
+ defaultProfile?: ProjectDefaultProfile[];
186
+ }
187
+
188
+ /**
189
+ * Default profiles to apply to resources in this project that do not
190
+ * individually specify profiles
191
+ */
192
+ export interface ProjectDefaultProfile {
193
+
194
+ /**
195
+ * The resource type onto which to apply the default profiles
196
+ */
197
+ resourceType: ResourceType;
198
+
199
+ /**
200
+ * The profiles to add by default
201
+ */
202
+ profile: string[];
179
203
  }
180
204
 
181
205
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "3.2.7",
3
+ "version": "3.2.9",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "keywords": [
6
6
  "medplum",