@medplum/fhirtypes 1.0.0 → 1.0.2

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.
@@ -0,0 +1,151 @@
1
+ /*
2
+ * Generated by @medplum/generator
3
+ * Do not edit manually.
4
+ */
5
+
6
+ import { Meta } from './Meta';
7
+ import { ResourceType } from './ResourceType';
8
+
9
+ /**
10
+ * User specific configuration for the Medplum application.
11
+ */
12
+ export interface BulkDataExport {
13
+
14
+ /**
15
+ * This is a BulkDataExport resource
16
+ */
17
+ readonly resourceType: 'BulkDataExport';
18
+
19
+ /**
20
+ * The logical id of the resource, as used in the URL for the resource.
21
+ * Once assigned, this value never changes.
22
+ */
23
+ id?: string;
24
+
25
+ /**
26
+ * The metadata about the resource. This is content that is maintained by
27
+ * the infrastructure. Changes to the content might not always be
28
+ * associated with version changes to the resource.
29
+ */
30
+ meta?: Meta;
31
+
32
+ /**
33
+ * A reference to a set of rules that were followed when the resource was
34
+ * constructed, and which must be understood when processing the content.
35
+ * Often, this is a reference to an implementation guide that defines the
36
+ * special rules along with other profiles etc.
37
+ */
38
+ implicitRules?: string;
39
+
40
+ /**
41
+ * The base language in which the resource is written.
42
+ */
43
+ language?: string;
44
+
45
+ /**
46
+ * The status of the request.
47
+ */
48
+ status?: string;
49
+
50
+ /**
51
+ * Indicates the server's time when the query is requested.
52
+ */
53
+ requestTime?: string;
54
+
55
+ /**
56
+ * Indicates the server's time when the query is run. The response SHOULD
57
+ * NOT include any resources modified after this instant, and SHALL
58
+ * include any matching resources modified up to and including this
59
+ * instant.
60
+ */
61
+ transactionTime?: string;
62
+
63
+ /**
64
+ * The full URL of the original Bulk Data kick-off request. In the case
65
+ * of a POST request, this URL will not include the request parameters.
66
+ */
67
+ request?: string;
68
+
69
+ /**
70
+ * Indicates whether downloading the generated files requires the same
71
+ * authorization mechanism as the $export operation itself.
72
+ */
73
+ requiresAccessToken?: boolean;
74
+
75
+ /**
76
+ * An array of file items with one entry for each generated file. If no
77
+ * resources are returned from the kick-off request, the server SHOULD
78
+ * return an empty array.
79
+ */
80
+ output?: BulkDataExportOutput[];
81
+
82
+ /**
83
+ * An array of deleted file items following the same structure as the
84
+ * output array.
85
+ */
86
+ deleted?: BulkDataExportDeleted[];
87
+
88
+ /**
89
+ * Array of message file items following the same structure as the output
90
+ * array.
91
+ */
92
+ error?: BulkDataExportError[];
93
+ }
94
+
95
+ /**
96
+ * An array of deleted file items following the same structure as the
97
+ * output array.
98
+ */
99
+ export interface BulkDataExportDeleted {
100
+
101
+ /**
102
+ * The FHIR resource type that is contained in the file.
103
+ */
104
+ type?: ResourceType;
105
+
106
+ /**
107
+ * The absolute path to the file. The format of the file SHOULD reflect
108
+ * that requested in the _outputFormat parameter of the initial kick-off
109
+ * request.
110
+ */
111
+ url?: string;
112
+ }
113
+
114
+ /**
115
+ * Array of message file items following the same structure as the output
116
+ * array.
117
+ */
118
+ export interface BulkDataExportError {
119
+
120
+ /**
121
+ * The FHIR resource type that is contained in the file.
122
+ */
123
+ type?: ResourceType;
124
+
125
+ /**
126
+ * The absolute path to the file. The format of the file SHOULD reflect
127
+ * that requested in the _outputFormat parameter of the initial kick-off
128
+ * request.
129
+ */
130
+ url?: string;
131
+ }
132
+
133
+ /**
134
+ * An array of file items with one entry for each generated file. If no
135
+ * resources are returned from the kick-off request, the server SHOULD
136
+ * return an empty array.
137
+ */
138
+ export interface BulkDataExportOutput {
139
+
140
+ /**
141
+ * The FHIR resource type that is contained in the file.
142
+ */
143
+ type?: ResourceType;
144
+
145
+ /**
146
+ * The absolute path to the file. The format of the file SHOULD reflect
147
+ * that requested in the _outputFormat parameter of the initial kick-off
148
+ * request.
149
+ */
150
+ url?: string;
151
+ }
@@ -57,8 +57,19 @@ export interface ClientApplication {
57
57
  secret?: string;
58
58
 
59
59
  /**
60
- * Redirect URI used when redirecting a client back to the client
61
- * application.
60
+ * Optional JWKS URI for public key verification of JWTs issued by the
61
+ * authorization server (client_secret_jwt).
62
+ */
63
+ jwksUri?: string;
64
+
65
+ /**
66
+ * Optional redirect URI used when redirecting a client back to the
67
+ * client application.
62
68
  */
63
69
  redirectUri?: string;
70
+
71
+ /**
72
+ * Optional launch URI for SMART EHR launch sequence.
73
+ */
74
+ launchUri?: string;
64
75
  }
package/dist/Login.d.ts CHANGED
@@ -8,6 +8,7 @@ import { ClientApplication } from './ClientApplication';
8
8
  import { Meta } from './Meta';
9
9
  import { ProjectMembership } from './ProjectMembership';
10
10
  import { Reference } from './Reference';
11
+ import { SmartAppLaunch } from './SmartAppLaunch';
11
12
  import { User } from './User';
12
13
 
13
14
  /**
@@ -140,6 +141,11 @@ export interface Login {
140
141
  */
141
142
  superAdmin?: boolean;
142
143
 
144
+ /**
145
+ * Optional SMART App Launch context for this login.
146
+ */
147
+ launch?: Reference<SmartAppLaunch>;
148
+
143
149
  /**
144
150
  * The Internet Protocol (IP) address of the client or last proxy that
145
151
  * sent the request.
@@ -16,6 +16,7 @@ import { Binary } from './Binary';
16
16
  import { BiologicallyDerivedProduct } from './BiologicallyDerivedProduct';
17
17
  import { BodyStructure } from './BodyStructure';
18
18
  import { Bot } from './Bot';
19
+ import { BulkDataExport } from './BulkDataExport';
19
20
  import { Bundle } from './Bundle';
20
21
  import { CapabilityStatement } from './CapabilityStatement';
21
22
  import { CarePlan } from './CarePlan';
@@ -136,6 +137,7 @@ import { Schedule } from './Schedule';
136
137
  import { SearchParameter } from './SearchParameter';
137
138
  import { ServiceRequest } from './ServiceRequest';
138
139
  import { Slot } from './Slot';
140
+ import { SmartAppLaunch } from './SmartAppLaunch';
139
141
  import { Specimen } from './Specimen';
140
142
  import { SpecimenDefinition } from './SpecimenDefinition';
141
143
  import { StructureDefinition } from './StructureDefinition';
@@ -173,6 +175,7 @@ export type Resource = AccessPolicy
173
175
  | BiologicallyDerivedProduct
174
176
  | BodyStructure
175
177
  | Bot
178
+ | BulkDataExport
176
179
  | Bundle
177
180
  | CapabilityStatement
178
181
  | CarePlan
@@ -293,6 +296,7 @@ export type Resource = AccessPolicy
293
296
  | SearchParameter
294
297
  | ServiceRequest
295
298
  | Slot
299
+ | SmartAppLaunch
296
300
  | Specimen
297
301
  | SpecimenDefinition
298
302
  | StructureDefinition
@@ -0,0 +1,58 @@
1
+ /*
2
+ * Generated by @medplum/generator
3
+ * Do not edit manually.
4
+ */
5
+
6
+ import { Encounter } from './Encounter';
7
+ import { Meta } from './Meta';
8
+ import { Patient } from './Patient';
9
+ import { Reference } from './Reference';
10
+
11
+ /**
12
+ * User specific configuration for the Medplum application.
13
+ */
14
+ export interface SmartAppLaunch {
15
+
16
+ /**
17
+ * This is a SmartAppLaunch resource
18
+ */
19
+ readonly resourceType: 'SmartAppLaunch';
20
+
21
+ /**
22
+ * The logical id of the resource, as used in the URL for the resource.
23
+ * Once assigned, this value never changes.
24
+ */
25
+ id?: string;
26
+
27
+ /**
28
+ * The metadata about the resource. This is content that is maintained by
29
+ * the infrastructure. Changes to the content might not always be
30
+ * associated with version changes to the resource.
31
+ */
32
+ meta?: Meta;
33
+
34
+ /**
35
+ * A reference to a set of rules that were followed when the resource was
36
+ * constructed, and which must be understood when processing the content.
37
+ * Often, this is a reference to an implementation guide that defines the
38
+ * special rules along with other profiles etc.
39
+ */
40
+ implicitRules?: string;
41
+
42
+ /**
43
+ * The base language in which the resource is written.
44
+ */
45
+ language?: string;
46
+
47
+ /**
48
+ * Optional patient indicating that the app was launched in the patient
49
+ * context.
50
+ */
51
+ patient?: Reference<Patient>;
52
+
53
+ /**
54
+ * Optional encounter indicating that the app was launched in the
55
+ * encounter context.
56
+ */
57
+ encounter?: Reference<Encounter>;
58
+ }
package/dist/index.d.ts CHANGED
@@ -21,6 +21,7 @@ export * from './Binary';
21
21
  export * from './BiologicallyDerivedProduct';
22
22
  export * from './BodyStructure';
23
23
  export * from './Bot';
24
+ export * from './BulkDataExport';
24
25
  export * from './Bundle';
25
26
  export * from './CapabilityStatement';
26
27
  export * from './CarePlan';
@@ -175,6 +176,7 @@ export * from './SearchParameter';
175
176
  export * from './ServiceRequest';
176
177
  export * from './Signature';
177
178
  export * from './Slot';
179
+ export * from './SmartAppLaunch';
178
180
  export * from './Specimen';
179
181
  export * from './SpecimenDefinition';
180
182
  export * from './StructureDefinition';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",