@medplum/fhirtypes 3.1.3 → 3.1.5

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.
@@ -4,8 +4,11 @@
4
4
  */
5
5
 
6
6
  import { Expression } from './Expression';
7
+ import { Extension } from './Extension';
7
8
  import { Meta } from './Meta';
9
+ import { Narrative } from './Narrative';
8
10
  import { Reference } from './Reference';
11
+ import { Resource } from './Resource';
9
12
 
10
13
  /**
11
14
  * Access Policy for user or user group that defines how entities can or
@@ -44,6 +47,51 @@ export interface AccessPolicy {
44
47
  */
45
48
  language?: string;
46
49
 
50
+ /**
51
+ * A human-readable narrative that contains a summary of the resource and
52
+ * can be used to represent the content of the resource to a human. The
53
+ * narrative need not encode all the structured data, but is required to
54
+ * contain sufficient detail to make it "clinically safe" for a human to
55
+ * just read the narrative. Resource definitions may define what content
56
+ * should be represented in the narrative to ensure clinical safety.
57
+ */
58
+ text?: Narrative;
59
+
60
+ /**
61
+ * These resources do not have an independent existence apart from the
62
+ * resource that contains them - they cannot be identified independently,
63
+ * and nor can they have their own independent transaction scope.
64
+ */
65
+ contained?: Resource[];
66
+
67
+ /**
68
+ * May be used to represent additional information that is not part of
69
+ * the basic definition of the resource. To make the use of extensions
70
+ * safe and manageable, there is a strict set of governance applied to
71
+ * the definition and use of extensions. Though any implementer can
72
+ * define an extension, there is a set of requirements that SHALL be met
73
+ * as part of the definition of the extension.
74
+ */
75
+ extension?: Extension[];
76
+
77
+ /**
78
+ * May be used to represent additional information that is not part of
79
+ * the basic definition of the resource and that modifies the
80
+ * understanding of the element that contains it and/or the understanding
81
+ * of the containing element's descendants. Usually modifier elements
82
+ * provide negation or qualification. To make the use of extensions safe
83
+ * and manageable, there is a strict set of governance applied to the
84
+ * definition and use of extensions. Though any implementer is allowed to
85
+ * define an extension, there is a set of requirements that SHALL be met
86
+ * as part of the definition of the extension. Applications processing a
87
+ * resource are required to check for modifier extensions.
88
+ *
89
+ * Modifier extensions SHALL NOT change the meaning of any elements on
90
+ * Resource or DomainResource (including cannot change the meaning of
91
+ * modifierExtension itself).
92
+ */
93
+ modifierExtension?: Extension[];
94
+
47
95
  /**
48
96
  * A name associated with the AccessPolicy.
49
97
  */
@@ -104,7 +152,7 @@ export interface AccessPolicyResource {
104
152
  resourceType: string;
105
153
 
106
154
  /**
107
- * DEPRECATED Optional compartment restriction for the resource type.
155
+ * @deprecated Optional compartment restriction for the resource type.
108
156
  */
109
157
  compartment?: Reference;
110
158
 
package/dist/Agent.d.ts CHANGED
@@ -6,9 +6,12 @@
6
6
  import { Bot } from './Bot';
7
7
  import { Device } from './Device';
8
8
  import { Endpoint } from './Endpoint';
9
+ import { Extension } from './Extension';
9
10
  import { Identifier } from './Identifier';
10
11
  import { Meta } from './Meta';
12
+ import { Narrative } from './Narrative';
11
13
  import { Reference } from './Reference';
14
+ import { Resource } from './Resource';
12
15
 
13
16
  /**
14
17
  * Configuration details for an instance of the Medplum agent
@@ -47,6 +50,51 @@ export interface Agent {
47
50
  */
48
51
  language?: string;
49
52
 
53
+ /**
54
+ * A human-readable narrative that contains a summary of the resource and
55
+ * can be used to represent the content of the resource to a human. The
56
+ * narrative need not encode all the structured data, but is required to
57
+ * contain sufficient detail to make it "clinically safe" for a human to
58
+ * just read the narrative. Resource definitions may define what content
59
+ * should be represented in the narrative to ensure clinical safety.
60
+ */
61
+ text?: Narrative;
62
+
63
+ /**
64
+ * These resources do not have an independent existence apart from the
65
+ * resource that contains them - they cannot be identified independently,
66
+ * and nor can they have their own independent transaction scope.
67
+ */
68
+ contained?: Resource[];
69
+
70
+ /**
71
+ * May be used to represent additional information that is not part of
72
+ * the basic definition of the resource. To make the use of extensions
73
+ * safe and manageable, there is a strict set of governance applied to
74
+ * the definition and use of extensions. Though any implementer can
75
+ * define an extension, there is a set of requirements that SHALL be met
76
+ * as part of the definition of the extension.
77
+ */
78
+ extension?: Extension[];
79
+
80
+ /**
81
+ * May be used to represent additional information that is not part of
82
+ * the basic definition of the resource and that modifies the
83
+ * understanding of the element that contains it and/or the understanding
84
+ * of the containing element's descendants. Usually modifier elements
85
+ * provide negation or qualification. To make the use of extensions safe
86
+ * and manageable, there is a strict set of governance applied to the
87
+ * definition and use of extensions. Though any implementer is allowed to
88
+ * define an extension, there is a set of requirements that SHALL be met
89
+ * as part of the definition of the extension. Applications processing a
90
+ * resource are required to check for modifier extensions.
91
+ *
92
+ * Modifier extensions SHALL NOT change the meaning of any elements on
93
+ * Resource or DomainResource (including cannot change the meaning of
94
+ * modifierExtension itself).
95
+ */
96
+ modifierExtension?: Extension[];
97
+
50
98
  /**
51
99
  * An identifier for this agent.
52
100
  */
@@ -3,7 +3,11 @@
3
3
  * Do not edit manually.
4
4
  */
5
5
 
6
+ import { Extension } from './Extension';
6
7
  import { Meta } from './Meta';
8
+ import { Narrative } from './Narrative';
9
+ import { Parameters } from './Parameters';
10
+ import { Resource } from './Resource';
7
11
 
8
12
  /**
9
13
  * Contains details of long running asynchronous/background jobs.
@@ -41,6 +45,51 @@ export interface AsyncJob {
41
45
  */
42
46
  language?: string;
43
47
 
48
+ /**
49
+ * A human-readable narrative that contains a summary of the resource and
50
+ * can be used to represent the content of the resource to a human. The
51
+ * narrative need not encode all the structured data, but is required to
52
+ * contain sufficient detail to make it "clinically safe" for a human to
53
+ * just read the narrative. Resource definitions may define what content
54
+ * should be represented in the narrative to ensure clinical safety.
55
+ */
56
+ text?: Narrative;
57
+
58
+ /**
59
+ * These resources do not have an independent existence apart from the
60
+ * resource that contains them - they cannot be identified independently,
61
+ * and nor can they have their own independent transaction scope.
62
+ */
63
+ contained?: Resource[];
64
+
65
+ /**
66
+ * May be used to represent additional information that is not part of
67
+ * the basic definition of the resource. To make the use of extensions
68
+ * safe and manageable, there is a strict set of governance applied to
69
+ * the definition and use of extensions. Though any implementer can
70
+ * define an extension, there is a set of requirements that SHALL be met
71
+ * as part of the definition of the extension.
72
+ */
73
+ extension?: Extension[];
74
+
75
+ /**
76
+ * May be used to represent additional information that is not part of
77
+ * the basic definition of the resource and that modifies the
78
+ * understanding of the element that contains it and/or the understanding
79
+ * of the containing element's descendants. Usually modifier elements
80
+ * provide negation or qualification. To make the use of extensions safe
81
+ * and manageable, there is a strict set of governance applied to the
82
+ * definition and use of extensions. Though any implementer is allowed to
83
+ * define an extension, there is a set of requirements that SHALL be met
84
+ * as part of the definition of the extension. Applications processing a
85
+ * resource are required to check for modifier extensions.
86
+ *
87
+ * Modifier extensions SHALL NOT change the meaning of any elements on
88
+ * Resource or DomainResource (including cannot change the meaning of
89
+ * modifierExtension itself).
90
+ */
91
+ modifierExtension?: Extension[];
92
+
44
93
  /**
45
94
  * The status of the request.
46
95
  */
@@ -64,4 +113,9 @@ export interface AsyncJob {
64
113
  * request, this URL will not include the request parameters.
65
114
  */
66
115
  request: string;
116
+
117
+ /**
118
+ * Outputs resulting from the async job.
119
+ */
120
+ output?: Parameters;
67
121
  }
package/dist/Bot.d.ts CHANGED
@@ -5,8 +5,11 @@
5
5
 
6
6
  import { Attachment } from './Attachment';
7
7
  import { CodeableConcept } from './CodeableConcept';
8
+ import { Extension } from './Extension';
8
9
  import { Identifier } from './Identifier';
9
10
  import { Meta } from './Meta';
11
+ import { Narrative } from './Narrative';
12
+ import { Resource } from './Resource';
10
13
  import { Timing } from './Timing';
11
14
 
12
15
  /**
@@ -45,6 +48,51 @@ export interface Bot {
45
48
  */
46
49
  language?: string;
47
50
 
51
+ /**
52
+ * A human-readable narrative that contains a summary of the resource and
53
+ * can be used to represent the content of the resource to a human. The
54
+ * narrative need not encode all the structured data, but is required to
55
+ * contain sufficient detail to make it "clinically safe" for a human to
56
+ * just read the narrative. Resource definitions may define what content
57
+ * should be represented in the narrative to ensure clinical safety.
58
+ */
59
+ text?: Narrative;
60
+
61
+ /**
62
+ * These resources do not have an independent existence apart from the
63
+ * resource that contains them - they cannot be identified independently,
64
+ * and nor can they have their own independent transaction scope.
65
+ */
66
+ contained?: Resource[];
67
+
68
+ /**
69
+ * May be used to represent additional information that is not part of
70
+ * the basic definition of the resource. To make the use of extensions
71
+ * safe and manageable, there is a strict set of governance applied to
72
+ * the definition and use of extensions. Though any implementer can
73
+ * define an extension, there is a set of requirements that SHALL be met
74
+ * as part of the definition of the extension.
75
+ */
76
+ extension?: Extension[];
77
+
78
+ /**
79
+ * May be used to represent additional information that is not part of
80
+ * the basic definition of the resource and that modifies the
81
+ * understanding of the element that contains it and/or the understanding
82
+ * of the containing element's descendants. Usually modifier elements
83
+ * provide negation or qualification. To make the use of extensions safe
84
+ * and manageable, there is a strict set of governance applied to the
85
+ * definition and use of extensions. Though any implementer is allowed to
86
+ * define an extension, there is a set of requirements that SHALL be met
87
+ * as part of the definition of the extension. Applications processing a
88
+ * resource are required to check for modifier extensions.
89
+ *
90
+ * Modifier extensions SHALL NOT change the meaning of any elements on
91
+ * Resource or DomainResource (including cannot change the meaning of
92
+ * modifierExtension itself).
93
+ */
94
+ modifierExtension?: Extension[];
95
+
48
96
  /**
49
97
  * An identifier for this bot.
50
98
  */
@@ -117,7 +165,7 @@ export interface Bot {
117
165
  executableCode?: Attachment;
118
166
 
119
167
  /**
120
- * DEPRECATED Bot logic script. Use Bot.sourceCode or Bot.executableCode
168
+ * @deprecated Bot logic script. Use Bot.sourceCode or Bot.executableCode
121
169
  * instead.
122
170
  */
123
171
  code?: string;
@@ -3,7 +3,10 @@
3
3
  * Do not edit manually.
4
4
  */
5
5
 
6
+ import { Extension } from './Extension';
6
7
  import { Meta } from './Meta';
8
+ import { Narrative } from './Narrative';
9
+ import { Resource } from './Resource';
7
10
  import { ResourceType } from './ResourceType';
8
11
 
9
12
  /**
@@ -42,6 +45,51 @@ export interface BulkDataExport {
42
45
  */
43
46
  language?: string;
44
47
 
48
+ /**
49
+ * A human-readable narrative that contains a summary of the resource and
50
+ * can be used to represent the content of the resource to a human. The
51
+ * narrative need not encode all the structured data, but is required to
52
+ * contain sufficient detail to make it "clinically safe" for a human to
53
+ * just read the narrative. Resource definitions may define what content
54
+ * should be represented in the narrative to ensure clinical safety.
55
+ */
56
+ text?: Narrative;
57
+
58
+ /**
59
+ * These resources do not have an independent existence apart from the
60
+ * resource that contains them - they cannot be identified independently,
61
+ * and nor can they have their own independent transaction scope.
62
+ */
63
+ contained?: Resource[];
64
+
65
+ /**
66
+ * May be used to represent additional information that is not part of
67
+ * the basic definition of the resource. To make the use of extensions
68
+ * safe and manageable, there is a strict set of governance applied to
69
+ * the definition and use of extensions. Though any implementer can
70
+ * define an extension, there is a set of requirements that SHALL be met
71
+ * as part of the definition of the extension.
72
+ */
73
+ extension?: Extension[];
74
+
75
+ /**
76
+ * May be used to represent additional information that is not part of
77
+ * the basic definition of the resource and that modifies the
78
+ * understanding of the element that contains it and/or the understanding
79
+ * of the containing element's descendants. Usually modifier elements
80
+ * provide negation or qualification. To make the use of extensions safe
81
+ * and manageable, there is a strict set of governance applied to the
82
+ * definition and use of extensions. Though any implementer is allowed to
83
+ * define an extension, there is a set of requirements that SHALL be met
84
+ * as part of the definition of the extension. Applications processing a
85
+ * resource are required to check for modifier extensions.
86
+ *
87
+ * Modifier extensions SHALL NOT change the meaning of any elements on
88
+ * Resource or DomainResource (including cannot change the meaning of
89
+ * modifierExtension itself).
90
+ */
91
+ modifierExtension?: Extension[];
92
+
45
93
  /**
46
94
  * The status of the request.
47
95
  */
@@ -3,8 +3,11 @@
3
3
  * Do not edit manually.
4
4
  */
5
5
 
6
+ import { Extension } from './Extension';
6
7
  import { IdentityProvider } from './IdentityProvider';
7
8
  import { Meta } from './Meta';
9
+ import { Narrative } from './Narrative';
10
+ import { Resource } from './Resource';
8
11
 
9
12
  /**
10
13
  * Medplum client application for automated access.
@@ -42,6 +45,51 @@ export interface ClientApplication {
42
45
  */
43
46
  language?: string;
44
47
 
48
+ /**
49
+ * A human-readable narrative that contains a summary of the resource and
50
+ * can be used to represent the content of the resource to a human. The
51
+ * narrative need not encode all the structured data, but is required to
52
+ * contain sufficient detail to make it "clinically safe" for a human to
53
+ * just read the narrative. Resource definitions may define what content
54
+ * should be represented in the narrative to ensure clinical safety.
55
+ */
56
+ text?: Narrative;
57
+
58
+ /**
59
+ * These resources do not have an independent existence apart from the
60
+ * resource that contains them - they cannot be identified independently,
61
+ * and nor can they have their own independent transaction scope.
62
+ */
63
+ contained?: Resource[];
64
+
65
+ /**
66
+ * May be used to represent additional information that is not part of
67
+ * the basic definition of the resource. To make the use of extensions
68
+ * safe and manageable, there is a strict set of governance applied to
69
+ * the definition and use of extensions. Though any implementer can
70
+ * define an extension, there is a set of requirements that SHALL be met
71
+ * as part of the definition of the extension.
72
+ */
73
+ extension?: Extension[];
74
+
75
+ /**
76
+ * May be used to represent additional information that is not part of
77
+ * the basic definition of the resource and that modifies the
78
+ * understanding of the element that contains it and/or the understanding
79
+ * of the containing element's descendants. Usually modifier elements
80
+ * provide negation or qualification. To make the use of extensions safe
81
+ * and manageable, there is a strict set of governance applied to the
82
+ * definition and use of extensions. Though any implementer is allowed to
83
+ * define an extension, there is a set of requirements that SHALL be met
84
+ * as part of the definition of the extension. Applications processing a
85
+ * resource are required to check for modifier extensions.
86
+ *
87
+ * Modifier extensions SHALL NOT change the meaning of any elements on
88
+ * Resource or DomainResource (including cannot change the meaning of
89
+ * modifierExtension itself).
90
+ */
91
+ modifierExtension?: Extension[];
92
+
45
93
  /**
46
94
  * The client application status. The status is active by default. The
47
95
  * status can be set to error to indicate that the client application is
@@ -3,8 +3,11 @@
3
3
  * Do not edit manually.
4
4
  */
5
5
 
6
+ import { Extension } from './Extension';
6
7
  import { IdentityProvider } from './IdentityProvider';
7
8
  import { Meta } from './Meta';
9
+ import { Narrative } from './Narrative';
10
+ import { Resource } from './Resource';
8
11
 
9
12
  /**
10
13
  * Domain specific configuration for the Medplum application.
@@ -42,6 +45,51 @@ export interface DomainConfiguration {
42
45
  */
43
46
  language?: string;
44
47
 
48
+ /**
49
+ * A human-readable narrative that contains a summary of the resource and
50
+ * can be used to represent the content of the resource to a human. The
51
+ * narrative need not encode all the structured data, but is required to
52
+ * contain sufficient detail to make it "clinically safe" for a human to
53
+ * just read the narrative. Resource definitions may define what content
54
+ * should be represented in the narrative to ensure clinical safety.
55
+ */
56
+ text?: Narrative;
57
+
58
+ /**
59
+ * These resources do not have an independent existence apart from the
60
+ * resource that contains them - they cannot be identified independently,
61
+ * and nor can they have their own independent transaction scope.
62
+ */
63
+ contained?: Resource[];
64
+
65
+ /**
66
+ * May be used to represent additional information that is not part of
67
+ * the basic definition of the resource. To make the use of extensions
68
+ * safe and manageable, there is a strict set of governance applied to
69
+ * the definition and use of extensions. Though any implementer can
70
+ * define an extension, there is a set of requirements that SHALL be met
71
+ * as part of the definition of the extension.
72
+ */
73
+ extension?: Extension[];
74
+
75
+ /**
76
+ * May be used to represent additional information that is not part of
77
+ * the basic definition of the resource and that modifies the
78
+ * understanding of the element that contains it and/or the understanding
79
+ * of the containing element's descendants. Usually modifier elements
80
+ * provide negation or qualification. To make the use of extensions safe
81
+ * and manageable, there is a strict set of governance applied to the
82
+ * definition and use of extensions. Though any implementer is allowed to
83
+ * define an extension, there is a set of requirements that SHALL be met
84
+ * as part of the definition of the extension. Applications processing a
85
+ * resource are required to check for modifier extensions.
86
+ *
87
+ * Modifier extensions SHALL NOT change the meaning of any elements on
88
+ * Resource or DomainResource (including cannot change the meaning of
89
+ * modifierExtension itself).
90
+ */
91
+ modifierExtension?: Extension[];
92
+
45
93
  /**
46
94
  * Globally unique domain name for this configuration.
47
95
  */
@@ -3,7 +3,10 @@
3
3
  * Do not edit manually.
4
4
  */
5
5
 
6
+ import { Extension } from './Extension';
6
7
  import { Meta } from './Meta';
8
+ import { Narrative } from './Narrative';
9
+ import { Resource } from './Resource';
7
10
 
8
11
  /**
9
12
  * A JSON object that represents a cryptographic key. The members of the
@@ -42,6 +45,51 @@ export interface JsonWebKey {
42
45
  */
43
46
  language?: string;
44
47
 
48
+ /**
49
+ * A human-readable narrative that contains a summary of the resource and
50
+ * can be used to represent the content of the resource to a human. The
51
+ * narrative need not encode all the structured data, but is required to
52
+ * contain sufficient detail to make it "clinically safe" for a human to
53
+ * just read the narrative. Resource definitions may define what content
54
+ * should be represented in the narrative to ensure clinical safety.
55
+ */
56
+ text?: Narrative;
57
+
58
+ /**
59
+ * These resources do not have an independent existence apart from the
60
+ * resource that contains them - they cannot be identified independently,
61
+ * and nor can they have their own independent transaction scope.
62
+ */
63
+ contained?: Resource[];
64
+
65
+ /**
66
+ * May be used to represent additional information that is not part of
67
+ * the basic definition of the resource. To make the use of extensions
68
+ * safe and manageable, there is a strict set of governance applied to
69
+ * the definition and use of extensions. Though any implementer can
70
+ * define an extension, there is a set of requirements that SHALL be met
71
+ * as part of the definition of the extension.
72
+ */
73
+ extension?: Extension[];
74
+
75
+ /**
76
+ * May be used to represent additional information that is not part of
77
+ * the basic definition of the resource and that modifies the
78
+ * understanding of the element that contains it and/or the understanding
79
+ * of the containing element's descendants. Usually modifier elements
80
+ * provide negation or qualification. To make the use of extensions safe
81
+ * and manageable, there is a strict set of governance applied to the
82
+ * definition and use of extensions. Though any implementer is allowed to
83
+ * define an extension, there is a set of requirements that SHALL be met
84
+ * as part of the definition of the extension. Applications processing a
85
+ * resource are required to check for modifier extensions.
86
+ *
87
+ * Modifier extensions SHALL NOT change the meaning of any elements on
88
+ * Resource or DomainResource (including cannot change the meaning of
89
+ * modifierExtension itself).
90
+ */
91
+ modifierExtension?: Extension[];
92
+
45
93
  /**
46
94
  * Whether this key is in active use.
47
95
  */
package/dist/Login.d.ts CHANGED
@@ -5,10 +5,13 @@
5
5
 
6
6
  import { Bot } from './Bot';
7
7
  import { ClientApplication } from './ClientApplication';
8
+ import { Extension } from './Extension';
8
9
  import { Meta } from './Meta';
10
+ import { Narrative } from './Narrative';
9
11
  import { Project } from './Project';
10
12
  import { ProjectMembership } from './ProjectMembership';
11
13
  import { Reference } from './Reference';
14
+ import { Resource } from './Resource';
12
15
  import { ResourceType } from './ResourceType';
13
16
  import { SmartAppLaunch } from './SmartAppLaunch';
14
17
  import { User } from './User';
@@ -49,6 +52,51 @@ export interface Login {
49
52
  */
50
53
  language?: string;
51
54
 
55
+ /**
56
+ * A human-readable narrative that contains a summary of the resource and
57
+ * can be used to represent the content of the resource to a human. The
58
+ * narrative need not encode all the structured data, but is required to
59
+ * contain sufficient detail to make it "clinically safe" for a human to
60
+ * just read the narrative. Resource definitions may define what content
61
+ * should be represented in the narrative to ensure clinical safety.
62
+ */
63
+ text?: Narrative;
64
+
65
+ /**
66
+ * These resources do not have an independent existence apart from the
67
+ * resource that contains them - they cannot be identified independently,
68
+ * and nor can they have their own independent transaction scope.
69
+ */
70
+ contained?: Resource[];
71
+
72
+ /**
73
+ * May be used to represent additional information that is not part of
74
+ * the basic definition of the resource. To make the use of extensions
75
+ * safe and manageable, there is a strict set of governance applied to
76
+ * the definition and use of extensions. Though any implementer can
77
+ * define an extension, there is a set of requirements that SHALL be met
78
+ * as part of the definition of the extension.
79
+ */
80
+ extension?: Extension[];
81
+
82
+ /**
83
+ * May be used to represent additional information that is not part of
84
+ * the basic definition of the resource and that modifies the
85
+ * understanding of the element that contains it and/or the understanding
86
+ * of the containing element's descendants. Usually modifier elements
87
+ * provide negation or qualification. To make the use of extensions safe
88
+ * and manageable, there is a strict set of governance applied to the
89
+ * definition and use of extensions. Though any implementer is allowed to
90
+ * define an extension, there is a set of requirements that SHALL be met
91
+ * as part of the definition of the extension. Applications processing a
92
+ * resource are required to check for modifier extensions.
93
+ *
94
+ * Modifier extensions SHALL NOT change the meaning of any elements on
95
+ * Resource or DomainResource (including cannot change the meaning of
96
+ * modifierExtension itself).
97
+ */
98
+ modifierExtension?: Extension[];
99
+
52
100
  /**
53
101
  * The client requesting the code.
54
102
  */
@@ -3,13 +3,16 @@
3
3
  * Do not edit manually.
4
4
  */
5
5
 
6
+ import { Extension } from './Extension';
6
7
  import { Meta } from './Meta';
8
+ import { Narrative } from './Narrative';
7
9
  import { Reference } from './Reference';
10
+ import { Resource } from './Resource';
8
11
  import { User } from './User';
9
12
 
10
13
  /**
11
- * DEPRECATED Password change request for the 'forgot password' flow. Use
12
- * UserSecurityCheck instead.
14
+ * @deprecated Password change request for the 'forgot password' flow.
15
+ * Use UserSecurityCheck instead.
13
16
  */
14
17
  export interface PasswordChangeRequest {
15
18
 
@@ -44,6 +47,51 @@ export interface PasswordChangeRequest {
44
47
  */
45
48
  language?: string;
46
49
 
50
+ /**
51
+ * A human-readable narrative that contains a summary of the resource and
52
+ * can be used to represent the content of the resource to a human. The
53
+ * narrative need not encode all the structured data, but is required to
54
+ * contain sufficient detail to make it "clinically safe" for a human to
55
+ * just read the narrative. Resource definitions may define what content
56
+ * should be represented in the narrative to ensure clinical safety.
57
+ */
58
+ text?: Narrative;
59
+
60
+ /**
61
+ * These resources do not have an independent existence apart from the
62
+ * resource that contains them - they cannot be identified independently,
63
+ * and nor can they have their own independent transaction scope.
64
+ */
65
+ contained?: Resource[];
66
+
67
+ /**
68
+ * May be used to represent additional information that is not part of
69
+ * the basic definition of the resource. To make the use of extensions
70
+ * safe and manageable, there is a strict set of governance applied to
71
+ * the definition and use of extensions. Though any implementer can
72
+ * define an extension, there is a set of requirements that SHALL be met
73
+ * as part of the definition of the extension.
74
+ */
75
+ extension?: Extension[];
76
+
77
+ /**
78
+ * May be used to represent additional information that is not part of
79
+ * the basic definition of the resource and that modifies the
80
+ * understanding of the element that contains it and/or the understanding
81
+ * of the containing element's descendants. Usually modifier elements
82
+ * provide negation or qualification. To make the use of extensions safe
83
+ * and manageable, there is a strict set of governance applied to the
84
+ * definition and use of extensions. Though any implementer is allowed to
85
+ * define an extension, there is a set of requirements that SHALL be met
86
+ * as part of the definition of the extension. Applications processing a
87
+ * resource are required to check for modifier extensions.
88
+ *
89
+ * Modifier extensions SHALL NOT change the meaning of any elements on
90
+ * Resource or DomainResource (including cannot change the meaning of
91
+ * modifierExtension itself).
92
+ */
93
+ modifierExtension?: Extension[];
94
+
47
95
  /**
48
96
  * The type of password change request (invite or reset).
49
97
  */
package/dist/Project.d.ts CHANGED
@@ -4,9 +4,12 @@
4
4
  */
5
5
 
6
6
  import { AccessPolicy } from './AccessPolicy';
7
+ import { Extension } from './Extension';
7
8
  import { Identifier } from './Identifier';
8
9
  import { Meta } from './Meta';
10
+ import { Narrative } from './Narrative';
9
11
  import { Reference } from './Reference';
12
+ import { Resource } from './Resource';
10
13
  import { User } from './User';
11
14
 
12
15
  /**
@@ -45,6 +48,51 @@ export interface Project {
45
48
  */
46
49
  language?: string;
47
50
 
51
+ /**
52
+ * A human-readable narrative that contains a summary of the resource and
53
+ * can be used to represent the content of the resource to a human. The
54
+ * narrative need not encode all the structured data, but is required to
55
+ * contain sufficient detail to make it "clinically safe" for a human to
56
+ * just read the narrative. Resource definitions may define what content
57
+ * should be represented in the narrative to ensure clinical safety.
58
+ */
59
+ text?: Narrative;
60
+
61
+ /**
62
+ * These resources do not have an independent existence apart from the
63
+ * resource that contains them - they cannot be identified independently,
64
+ * and nor can they have their own independent transaction scope.
65
+ */
66
+ contained?: Resource[];
67
+
68
+ /**
69
+ * May be used to represent additional information that is not part of
70
+ * the basic definition of the resource. To make the use of extensions
71
+ * safe and manageable, there is a strict set of governance applied to
72
+ * the definition and use of extensions. Though any implementer can
73
+ * define an extension, there is a set of requirements that SHALL be met
74
+ * as part of the definition of the extension.
75
+ */
76
+ extension?: Extension[];
77
+
78
+ /**
79
+ * May be used to represent additional information that is not part of
80
+ * the basic definition of the resource and that modifies the
81
+ * understanding of the element that contains it and/or the understanding
82
+ * of the containing element's descendants. Usually modifier elements
83
+ * provide negation or qualification. To make the use of extensions safe
84
+ * and manageable, there is a strict set of governance applied to the
85
+ * definition and use of extensions. Though any implementer is allowed to
86
+ * define an extension, there is a set of requirements that SHALL be met
87
+ * as part of the definition of the extension. Applications processing a
88
+ * resource are required to check for modifier extensions.
89
+ *
90
+ * Modifier extensions SHALL NOT change the meaning of any elements on
91
+ * Resource or DomainResource (including cannot change the meaning of
92
+ * modifierExtension itself).
93
+ */
94
+ modifierExtension?: Extension[];
95
+
48
96
  /**
49
97
  * An identifier for this project.
50
98
  */
@@ -94,10 +142,28 @@ export interface Project {
94
142
  defaultPatientAccessPolicy?: Reference<AccessPolicy>;
95
143
 
96
144
  /**
97
- * Secure environment variable that can be used to store secrets for
98
- * bots.
145
+ * Option or parameter that can be adjusted within the Medplum Project to
146
+ * customize its behavior.
99
147
  */
100
- secret?: ProjectSecret[];
148
+ setting?: ProjectSetting[];
149
+
150
+ /**
151
+ * Option or parameter that can be adjusted within the Medplum Project to
152
+ * customize its behavior, only visible to project administrators.
153
+ */
154
+ secret?: ProjectSetting[];
155
+
156
+ /**
157
+ * Option or parameter that can be adjusted within the Medplum Project to
158
+ * customize its behavior, only modifiable by system administrators.
159
+ */
160
+ systemSetting?: ProjectSetting[];
161
+
162
+ /**
163
+ * Option or parameter that can be adjusted within the Medplum Project to
164
+ * customize its behavior, only visible to system administrators.
165
+ */
166
+ systemSecret?: ProjectSetting[];
101
167
 
102
168
  /**
103
169
  * Web application or web site that is associated with the project.
@@ -122,10 +188,10 @@ export interface ProjectLink {
122
188
  }
123
189
 
124
190
  /**
125
- * Secure environment variable that can be used to store secrets for
126
- * bots.
191
+ * Option or parameter that can be adjusted within the Medplum Project to
192
+ * customize its behavior.
127
193
  */
128
- export interface ProjectSecret {
194
+ export interface ProjectSetting {
129
195
 
130
196
  /**
131
197
  * The secret name.
@@ -200,3 +266,8 @@ export interface ProjectSite {
200
266
  */
201
267
  recaptchaSecretKey?: string;
202
268
  }
269
+
270
+ /**
271
+ * @deprecated Use ProjectSetting instead
272
+ */
273
+ export type ProjectSecret = ProjectSetting;
@@ -6,12 +6,15 @@
6
6
  import { AccessPolicy } from './AccessPolicy';
7
7
  import { Bot } from './Bot';
8
8
  import { ClientApplication } from './ClientApplication';
9
+ import { Extension } from './Extension';
9
10
  import { Meta } from './Meta';
11
+ import { Narrative } from './Narrative';
10
12
  import { Patient } from './Patient';
11
13
  import { Practitioner } from './Practitioner';
12
14
  import { Project } from './Project';
13
15
  import { Reference } from './Reference';
14
16
  import { RelatedPerson } from './RelatedPerson';
17
+ import { Resource } from './Resource';
15
18
  import { User } from './User';
16
19
  import { UserConfiguration } from './UserConfiguration';
17
20
 
@@ -52,6 +55,51 @@ export interface ProjectMembership {
52
55
  */
53
56
  language?: string;
54
57
 
58
+ /**
59
+ * A human-readable narrative that contains a summary of the resource and
60
+ * can be used to represent the content of the resource to a human. The
61
+ * narrative need not encode all the structured data, but is required to
62
+ * contain sufficient detail to make it &quot;clinically safe&quot; for a human to
63
+ * just read the narrative. Resource definitions may define what content
64
+ * should be represented in the narrative to ensure clinical safety.
65
+ */
66
+ text?: Narrative;
67
+
68
+ /**
69
+ * These resources do not have an independent existence apart from the
70
+ * resource that contains them - they cannot be identified independently,
71
+ * and nor can they have their own independent transaction scope.
72
+ */
73
+ contained?: Resource[];
74
+
75
+ /**
76
+ * May be used to represent additional information that is not part of
77
+ * the basic definition of the resource. To make the use of extensions
78
+ * safe and manageable, there is a strict set of governance applied to
79
+ * the definition and use of extensions. Though any implementer can
80
+ * define an extension, there is a set of requirements that SHALL be met
81
+ * as part of the definition of the extension.
82
+ */
83
+ extension?: Extension[];
84
+
85
+ /**
86
+ * May be used to represent additional information that is not part of
87
+ * the basic definition of the resource and that modifies the
88
+ * understanding of the element that contains it and/or the understanding
89
+ * of the containing element's descendants. Usually modifier elements
90
+ * provide negation or qualification. To make the use of extensions safe
91
+ * and manageable, there is a strict set of governance applied to the
92
+ * definition and use of extensions. Though any implementer is allowed to
93
+ * define an extension, there is a set of requirements that SHALL be met
94
+ * as part of the definition of the extension. Applications processing a
95
+ * resource are required to check for modifier extensions.
96
+ *
97
+ * Modifier extensions SHALL NOT change the meaning of any elements on
98
+ * Resource or DomainResource (including cannot change the meaning of
99
+ * modifierExtension itself).
100
+ */
101
+ modifierExtension?: Extension[];
102
+
55
103
  /**
56
104
  * Project where the memberships are available.
57
105
  */
@@ -4,9 +4,12 @@
4
4
  */
5
5
 
6
6
  import { Encounter } from './Encounter';
7
+ import { Extension } from './Extension';
7
8
  import { Meta } from './Meta';
9
+ import { Narrative } from './Narrative';
8
10
  import { Patient } from './Patient';
9
11
  import { Reference } from './Reference';
12
+ import { Resource } from './Resource';
10
13
 
11
14
  /**
12
15
  * This resource contains context details for a SMART App Launch.
@@ -44,6 +47,51 @@ export interface SmartAppLaunch {
44
47
  */
45
48
  language?: string;
46
49
 
50
+ /**
51
+ * A human-readable narrative that contains a summary of the resource and
52
+ * can be used to represent the content of the resource to a human. The
53
+ * narrative need not encode all the structured data, but is required to
54
+ * contain sufficient detail to make it &quot;clinically safe&quot; for a human to
55
+ * just read the narrative. Resource definitions may define what content
56
+ * should be represented in the narrative to ensure clinical safety.
57
+ */
58
+ text?: Narrative;
59
+
60
+ /**
61
+ * These resources do not have an independent existence apart from the
62
+ * resource that contains them - they cannot be identified independently,
63
+ * and nor can they have their own independent transaction scope.
64
+ */
65
+ contained?: Resource[];
66
+
67
+ /**
68
+ * May be used to represent additional information that is not part of
69
+ * the basic definition of the resource. To make the use of extensions
70
+ * safe and manageable, there is a strict set of governance applied to
71
+ * the definition and use of extensions. Though any implementer can
72
+ * define an extension, there is a set of requirements that SHALL be met
73
+ * as part of the definition of the extension.
74
+ */
75
+ extension?: Extension[];
76
+
77
+ /**
78
+ * May be used to represent additional information that is not part of
79
+ * the basic definition of the resource and that modifies the
80
+ * understanding of the element that contains it and/or the understanding
81
+ * of the containing element's descendants. Usually modifier elements
82
+ * provide negation or qualification. To make the use of extensions safe
83
+ * and manageable, there is a strict set of governance applied to the
84
+ * definition and use of extensions. Though any implementer is allowed to
85
+ * define an extension, there is a set of requirements that SHALL be met
86
+ * as part of the definition of the extension. Applications processing a
87
+ * resource are required to check for modifier extensions.
88
+ *
89
+ * Modifier extensions SHALL NOT change the meaning of any elements on
90
+ * Resource or DomainResource (including cannot change the meaning of
91
+ * modifierExtension itself).
92
+ */
93
+ modifierExtension?: Extension[];
94
+
47
95
  /**
48
96
  * Optional patient indicating that the app was launched in the patient
49
97
  * context.
package/dist/User.d.ts CHANGED
@@ -3,10 +3,13 @@
3
3
  * Do not edit manually.
4
4
  */
5
5
 
6
+ import { Extension } from './Extension';
6
7
  import { Identifier } from './Identifier';
7
8
  import { Meta } from './Meta';
9
+ import { Narrative } from './Narrative';
8
10
  import { Project } from './Project';
9
11
  import { Reference } from './Reference';
12
+ import { Resource } from './Resource';
10
13
 
11
14
  /**
12
15
  * Representation of a human user of the system.
@@ -44,6 +47,51 @@ export interface User {
44
47
  */
45
48
  language?: string;
46
49
 
50
+ /**
51
+ * A human-readable narrative that contains a summary of the resource and
52
+ * can be used to represent the content of the resource to a human. The
53
+ * narrative need not encode all the structured data, but is required to
54
+ * contain sufficient detail to make it &quot;clinically safe&quot; for a human to
55
+ * just read the narrative. Resource definitions may define what content
56
+ * should be represented in the narrative to ensure clinical safety.
57
+ */
58
+ text?: Narrative;
59
+
60
+ /**
61
+ * These resources do not have an independent existence apart from the
62
+ * resource that contains them - they cannot be identified independently,
63
+ * and nor can they have their own independent transaction scope.
64
+ */
65
+ contained?: Resource[];
66
+
67
+ /**
68
+ * May be used to represent additional information that is not part of
69
+ * the basic definition of the resource. To make the use of extensions
70
+ * safe and manageable, there is a strict set of governance applied to
71
+ * the definition and use of extensions. Though any implementer can
72
+ * define an extension, there is a set of requirements that SHALL be met
73
+ * as part of the definition of the extension.
74
+ */
75
+ extension?: Extension[];
76
+
77
+ /**
78
+ * May be used to represent additional information that is not part of
79
+ * the basic definition of the resource and that modifies the
80
+ * understanding of the element that contains it and/or the understanding
81
+ * of the containing element's descendants. Usually modifier elements
82
+ * provide negation or qualification. To make the use of extensions safe
83
+ * and manageable, there is a strict set of governance applied to the
84
+ * definition and use of extensions. Though any implementer is allowed to
85
+ * define an extension, there is a set of requirements that SHALL be met
86
+ * as part of the definition of the extension. Applications processing a
87
+ * resource are required to check for modifier extensions.
88
+ *
89
+ * Modifier extensions SHALL NOT change the meaning of any elements on
90
+ * Resource or DomainResource (including cannot change the meaning of
91
+ * modifierExtension itself).
92
+ */
93
+ modifierExtension?: Extension[];
94
+
47
95
  /**
48
96
  * An identifier for this user.
49
97
  */
@@ -62,7 +110,7 @@ export interface User {
62
110
  lastName: string;
63
111
 
64
112
  /**
65
- * DEPRECATED Replaced by ProjectMembership.externalId.
113
+ * @deprecated Replaced by ProjectMembership.externalId.
66
114
  */
67
115
  externalId?: string;
68
116
 
@@ -78,7 +126,7 @@ export interface User {
78
126
  emailVerified?: boolean;
79
127
 
80
128
  /**
81
- * DEPRECATED
129
+ * @deprecated
82
130
  */
83
131
  admin?: boolean;
84
132
 
@@ -3,7 +3,10 @@
3
3
  * Do not edit manually.
4
4
  */
5
5
 
6
+ import { Extension } from './Extension';
6
7
  import { Meta } from './Meta';
8
+ import { Narrative } from './Narrative';
9
+ import { Resource } from './Resource';
7
10
 
8
11
  /**
9
12
  * User specific configuration for the Medplum application.
@@ -41,6 +44,51 @@ export interface UserConfiguration {
41
44
  */
42
45
  language?: string;
43
46
 
47
+ /**
48
+ * A human-readable narrative that contains a summary of the resource and
49
+ * can be used to represent the content of the resource to a human. The
50
+ * narrative need not encode all the structured data, but is required to
51
+ * contain sufficient detail to make it &quot;clinically safe&quot; for a human to
52
+ * just read the narrative. Resource definitions may define what content
53
+ * should be represented in the narrative to ensure clinical safety.
54
+ */
55
+ text?: Narrative;
56
+
57
+ /**
58
+ * These resources do not have an independent existence apart from the
59
+ * resource that contains them - they cannot be identified independently,
60
+ * and nor can they have their own independent transaction scope.
61
+ */
62
+ contained?: Resource[];
63
+
64
+ /**
65
+ * May be used to represent additional information that is not part of
66
+ * the basic definition of the resource. To make the use of extensions
67
+ * safe and manageable, there is a strict set of governance applied to
68
+ * the definition and use of extensions. Though any implementer can
69
+ * define an extension, there is a set of requirements that SHALL be met
70
+ * as part of the definition of the extension.
71
+ */
72
+ extension?: Extension[];
73
+
74
+ /**
75
+ * May be used to represent additional information that is not part of
76
+ * the basic definition of the resource and that modifies the
77
+ * understanding of the element that contains it and/or the understanding
78
+ * of the containing element's descendants. Usually modifier elements
79
+ * provide negation or qualification. To make the use of extensions safe
80
+ * and manageable, there is a strict set of governance applied to the
81
+ * definition and use of extensions. Though any implementer is allowed to
82
+ * define an extension, there is a set of requirements that SHALL be met
83
+ * as part of the definition of the extension. Applications processing a
84
+ * resource are required to check for modifier extensions.
85
+ *
86
+ * Modifier extensions SHALL NOT change the meaning of any elements on
87
+ * Resource or DomainResource (including cannot change the meaning of
88
+ * modifierExtension itself).
89
+ */
90
+ modifierExtension?: Extension[];
91
+
44
92
  /**
45
93
  * A name associated with the UserConfiguration.
46
94
  */
@@ -3,8 +3,11 @@
3
3
  * Do not edit manually.
4
4
  */
5
5
 
6
+ import { Extension } from './Extension';
6
7
  import { Meta } from './Meta';
8
+ import { Narrative } from './Narrative';
7
9
  import { Reference } from './Reference';
10
+ import { Resource } from './Resource';
8
11
  import { User } from './User';
9
12
 
10
13
  /**
@@ -44,6 +47,51 @@ export interface UserSecurityRequest {
44
47
  */
45
48
  language?: string;
46
49
 
50
+ /**
51
+ * A human-readable narrative that contains a summary of the resource and
52
+ * can be used to represent the content of the resource to a human. The
53
+ * narrative need not encode all the structured data, but is required to
54
+ * contain sufficient detail to make it &quot;clinically safe&quot; for a human to
55
+ * just read the narrative. Resource definitions may define what content
56
+ * should be represented in the narrative to ensure clinical safety.
57
+ */
58
+ text?: Narrative;
59
+
60
+ /**
61
+ * These resources do not have an independent existence apart from the
62
+ * resource that contains them - they cannot be identified independently,
63
+ * and nor can they have their own independent transaction scope.
64
+ */
65
+ contained?: Resource[];
66
+
67
+ /**
68
+ * May be used to represent additional information that is not part of
69
+ * the basic definition of the resource. To make the use of extensions
70
+ * safe and manageable, there is a strict set of governance applied to
71
+ * the definition and use of extensions. Though any implementer can
72
+ * define an extension, there is a set of requirements that SHALL be met
73
+ * as part of the definition of the extension.
74
+ */
75
+ extension?: Extension[];
76
+
77
+ /**
78
+ * May be used to represent additional information that is not part of
79
+ * the basic definition of the resource and that modifies the
80
+ * understanding of the element that contains it and/or the understanding
81
+ * of the containing element's descendants. Usually modifier elements
82
+ * provide negation or qualification. To make the use of extensions safe
83
+ * and manageable, there is a strict set of governance applied to the
84
+ * definition and use of extensions. Though any implementer is allowed to
85
+ * define an extension, there is a set of requirements that SHALL be met
86
+ * as part of the definition of the extension. Applications processing a
87
+ * resource are required to check for modifier extensions.
88
+ *
89
+ * Modifier extensions SHALL NOT change the meaning of any elements on
90
+ * Resource or DomainResource (including cannot change the meaning of
91
+ * modifierExtension itself).
92
+ */
93
+ modifierExtension?: Extension[];
94
+
47
95
  /**
48
96
  * The type of user security request.
49
97
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "3.1.3",
3
+ "version": "3.1.5",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "keywords": [
6
6
  "medplum",