@medplum/fhirtypes 5.1.27 → 5.1.29

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.
@@ -248,4 +248,16 @@ export interface ClientApplicationSignInForm {
248
248
  * Logo for the Log In Form.
249
249
  */
250
250
  logo?: Attachment;
251
+
252
+ /**
253
+ * Whether the Log In Form prompts the user to select OAuth and SMART
254
+ * scopes. When set, this value is authoritative. When unset, the scope
255
+ * selection screen is shown if the authorization request asks for any
256
+ * scope other than "openid". Setting this to false suppresses the prompt
257
+ * and grants the client the full scope that it requested. Note that
258
+ * granular scope selection is required for patient-facing apps under ONC
259
+ * 170.315(g)(10), so this should only be disabled for provider-facing or
260
+ * trusted first-party clients.
261
+ */
262
+ showScopeSelection?: boolean;
251
263
  }
@@ -0,0 +1,173 @@
1
+ // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ /*
4
+ * This is a generated file
5
+ * Do not edit manually.
6
+ */
7
+
8
+ import type { Binary } from './Binary.d.ts';
9
+ import type { DicomSeries } from './DicomSeries.d.ts';
10
+ import type { DicomStudy } from './DicomStudy.d.ts';
11
+ import type { Extension } from './Extension.d.ts';
12
+ import type { Meta } from './Meta.d.ts';
13
+ import type { Narrative } from './Narrative.d.ts';
14
+ import type { Reference } from './Reference.d.ts';
15
+ import type { Resource } from './Resource.d.ts';
16
+
17
+ /**
18
+ * Definition of a DICOM instance, which represents a single DICOM image
19
+ * and related metadata that are part of a DICOM series.
20
+ */
21
+ export interface DicomInstance {
22
+
23
+ /**
24
+ * This is a DicomInstance resource
25
+ */
26
+ readonly resourceType: 'DicomInstance';
27
+
28
+ /**
29
+ * The logical id of the resource, as used in the URL for the resource.
30
+ * Once assigned, this value never changes.
31
+ */
32
+ id?: string;
33
+
34
+ /**
35
+ * The metadata about the resource. This is content that is maintained by
36
+ * the infrastructure. Changes to the content might not always be
37
+ * associated with version changes to the resource.
38
+ */
39
+ meta?: Meta;
40
+
41
+ /**
42
+ * A reference to a set of rules that were followed when the resource was
43
+ * constructed, and which must be understood when processing the content.
44
+ * Often, this is a reference to an implementation guide that defines the
45
+ * special rules along with other profiles etc.
46
+ */
47
+ implicitRules?: string;
48
+
49
+ /**
50
+ * The base language in which the resource is written.
51
+ */
52
+ language?: string;
53
+
54
+ /**
55
+ * A human-readable narrative that contains a summary of the resource and
56
+ * can be used to represent the content of the resource to a human. The
57
+ * narrative need not encode all the structured data, but is required to
58
+ * contain sufficient detail to make it "clinically safe" for a human to
59
+ * just read the narrative. Resource definitions may define what content
60
+ * should be represented in the narrative to ensure clinical safety.
61
+ */
62
+ text?: Narrative;
63
+
64
+ /**
65
+ * These resources do not have an independent existence apart from the
66
+ * resource that contains them - they cannot be identified independently,
67
+ * and nor can they have their own independent transaction scope.
68
+ */
69
+ contained?: Resource[];
70
+
71
+ /**
72
+ * May be used to represent additional information that is not part of
73
+ * the basic definition of the resource. To make the use of extensions
74
+ * safe and manageable, there is a strict set of governance applied to
75
+ * the definition and use of extensions. Though any implementer can
76
+ * define an extension, there is a set of requirements that SHALL be met
77
+ * as part of the definition of the extension.
78
+ */
79
+ extension?: Extension[];
80
+
81
+ /**
82
+ * May be used to represent additional information that is not part of
83
+ * the basic definition of the resource and that modifies the
84
+ * understanding of the element that contains it and/or the understanding
85
+ * of the containing element's descendants. Usually modifier elements
86
+ * provide negation or qualification. To make the use of extensions safe
87
+ * and manageable, there is a strict set of governance applied to the
88
+ * definition and use of extensions. Though any implementer is allowed to
89
+ * define an extension, there is a set of requirements that SHALL be met
90
+ * as part of the definition of the extension. Applications processing a
91
+ * resource are required to check for modifier extensions.
92
+ *
93
+ * Modifier extensions SHALL NOT change the meaning of any elements on
94
+ * Resource or DomainResource (including cannot change the meaning of
95
+ * modifierExtension itself).
96
+ */
97
+ modifierExtension?: Extension[];
98
+
99
+ /**
100
+ * The study that this DICOM instance belongs to.
101
+ */
102
+ study: Reference<DicomStudy>;
103
+
104
+ /**
105
+ * The series that this DICOM instance belongs to.
106
+ */
107
+ series: Reference<DicomSeries>;
108
+
109
+ /**
110
+ * The SOP Class UID of the DICOM instance.
111
+ */
112
+ sopClassUid: string;
113
+
114
+ /**
115
+ * The SOP Instance UID of the DICOM instance.
116
+ */
117
+ sopInstanceUid: string;
118
+
119
+ /**
120
+ * The availability of the DICOM instance.
121
+ */
122
+ instanceAvailability?: string;
123
+
124
+ /**
125
+ * The timezone offset from UTC for the study (e.g., -0700).
126
+ */
127
+ timezoneOffsetFromUtc?: string;
128
+
129
+ /**
130
+ * The number of the instance in the study.
131
+ */
132
+ instanceNumber?: string;
133
+
134
+ /**
135
+ * The number of rows in the image.
136
+ */
137
+ rows?: number;
138
+
139
+ /**
140
+ * The number of columns in the image.
141
+ */
142
+ columns?: number;
143
+
144
+ /**
145
+ * The number of bits allocated for each pixel.
146
+ */
147
+ bitsAllocated?: number;
148
+
149
+ /**
150
+ * The number of frames in the image.
151
+ */
152
+ numberOfFrames?: number;
153
+
154
+ /**
155
+ * The DICOM metadata of the instance, typically stored as a JSON string
156
+ * containing the DICOM tags and their values.
157
+ */
158
+ metadata: string;
159
+
160
+ /**
161
+ * The raw binary data of the DICOM instance, typically stored as a
162
+ * reference to a Binary resource containing the DICOM file.
163
+ */
164
+ raw: Reference<Binary>;
165
+
166
+ /**
167
+ * The pixel data of the DICOM instance, typically stored as a reference
168
+ * to a Binary resource containing the pixel data. This is an alternative
169
+ * to rawData for cases where the pixel data is stored separately from
170
+ * the full DICOM file.
171
+ */
172
+ pixelData?: Reference<Binary>[];
173
+ }
@@ -0,0 +1,151 @@
1
+ // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ /*
4
+ * This is a generated file
5
+ * Do not edit manually.
6
+ */
7
+
8
+ import type { DicomStudy } from './DicomStudy.d.ts';
9
+ import type { Extension } from './Extension.d.ts';
10
+ import type { Meta } from './Meta.d.ts';
11
+ import type { Narrative } from './Narrative.d.ts';
12
+ import type { Reference } from './Reference.d.ts';
13
+ import type { Resource } from './Resource.d.ts';
14
+
15
+ /**
16
+ * Definition of a DICOM series, which represents a collection of DICOM
17
+ * images and related metadata that are part of a DICOM study.
18
+ */
19
+ export interface DicomSeries {
20
+
21
+ /**
22
+ * This is a DicomSeries resource
23
+ */
24
+ readonly resourceType: 'DicomSeries';
25
+
26
+ /**
27
+ * The logical id of the resource, as used in the URL for the resource.
28
+ * Once assigned, this value never changes.
29
+ */
30
+ id?: string;
31
+
32
+ /**
33
+ * The metadata about the resource. This is content that is maintained by
34
+ * the infrastructure. Changes to the content might not always be
35
+ * associated with version changes to the resource.
36
+ */
37
+ meta?: Meta;
38
+
39
+ /**
40
+ * A reference to a set of rules that were followed when the resource was
41
+ * constructed, and which must be understood when processing the content.
42
+ * Often, this is a reference to an implementation guide that defines the
43
+ * special rules along with other profiles etc.
44
+ */
45
+ implicitRules?: string;
46
+
47
+ /**
48
+ * The base language in which the resource is written.
49
+ */
50
+ language?: string;
51
+
52
+ /**
53
+ * A human-readable narrative that contains a summary of the resource and
54
+ * can be used to represent the content of the resource to a human. The
55
+ * narrative need not encode all the structured data, but is required to
56
+ * contain sufficient detail to make it &quot;clinically safe&quot; for a human to
57
+ * just read the narrative. Resource definitions may define what content
58
+ * should be represented in the narrative to ensure clinical safety.
59
+ */
60
+ text?: Narrative;
61
+
62
+ /**
63
+ * These resources do not have an independent existence apart from the
64
+ * resource that contains them - they cannot be identified independently,
65
+ * and nor can they have their own independent transaction scope.
66
+ */
67
+ contained?: Resource[];
68
+
69
+ /**
70
+ * May be used to represent additional information that is not part of
71
+ * the basic definition of the resource. To make the use of extensions
72
+ * safe and manageable, there is a strict set of governance applied to
73
+ * the definition and use of extensions. Though any implementer can
74
+ * define an extension, there is a set of requirements that SHALL be met
75
+ * as part of the definition of the extension.
76
+ */
77
+ extension?: Extension[];
78
+
79
+ /**
80
+ * May be used to represent additional information that is not part of
81
+ * the basic definition of the resource and that modifies the
82
+ * understanding of the element that contains it and/or the understanding
83
+ * of the containing element's descendants. Usually modifier elements
84
+ * provide negation or qualification. To make the use of extensions safe
85
+ * and manageable, there is a strict set of governance applied to the
86
+ * definition and use of extensions. Though any implementer is allowed to
87
+ * define an extension, there is a set of requirements that SHALL be met
88
+ * as part of the definition of the extension. Applications processing a
89
+ * resource are required to check for modifier extensions.
90
+ *
91
+ * Modifier extensions SHALL NOT change the meaning of any elements on
92
+ * Resource or DomainResource (including cannot change the meaning of
93
+ * modifierExtension itself).
94
+ */
95
+ modifierExtension?: Extension[];
96
+
97
+ /**
98
+ * The study that this DICOM series belongs to.
99
+ */
100
+ study: Reference<DicomStudy>;
101
+
102
+ /**
103
+ * Unique identifier for the series.
104
+ */
105
+ seriesInstanceUid: string;
106
+
107
+ /**
108
+ * The number of this series within the study.
109
+ */
110
+ seriesNumber?: string;
111
+
112
+ /**
113
+ * The modality of the series (e.g., CT, MR, US).
114
+ */
115
+ modality?: string;
116
+
117
+ /**
118
+ * The timezone offset from UTC for the study (e.g., -0700).
119
+ */
120
+ timezoneOffsetFromUtc?: string;
121
+
122
+ /**
123
+ * A description of the series (e.g., 'CT Abdomen with contrast').
124
+ */
125
+ seriesDescription?: string;
126
+
127
+ /**
128
+ * The number of instances related to the series.
129
+ */
130
+ numberOfSeriesRelatedInstances?: number;
131
+
132
+ /**
133
+ * The start date of the performed procedure step (YYYYMMDD).
134
+ */
135
+ performedProcedureStepStartDate?: string;
136
+
137
+ /**
138
+ * The start time of the performed procedure step (HHMMSS.frac).
139
+ */
140
+ performedProcedureStepStartTime?: string;
141
+
142
+ /**
143
+ * The ID of the scheduled procedure step.
144
+ */
145
+ scheduledProcedureStepId?: string;
146
+
147
+ /**
148
+ * The ID of the requested procedure.
149
+ */
150
+ requestedProcedureId?: string;
151
+ }
@@ -0,0 +1,169 @@
1
+ // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ /*
4
+ * This is a generated file
5
+ * Do not edit manually.
6
+ */
7
+
8
+ import type { Extension } from './Extension.d.ts';
9
+ import type { Meta } from './Meta.d.ts';
10
+ import type { Narrative } from './Narrative.d.ts';
11
+ import type { Resource } from './Resource.d.ts';
12
+
13
+ /**
14
+ * Definition of a DICOM study, which represents a collection of DICOM
15
+ * images and related metadata.
16
+ */
17
+ export interface DicomStudy {
18
+
19
+ /**
20
+ * This is a DicomStudy resource
21
+ */
22
+ readonly resourceType: 'DicomStudy';
23
+
24
+ /**
25
+ * The logical id of the resource, as used in the URL for the resource.
26
+ * Once assigned, this value never changes.
27
+ */
28
+ id?: string;
29
+
30
+ /**
31
+ * The metadata about the resource. This is content that is maintained by
32
+ * the infrastructure. Changes to the content might not always be
33
+ * associated with version changes to the resource.
34
+ */
35
+ meta?: Meta;
36
+
37
+ /**
38
+ * A reference to a set of rules that were followed when the resource was
39
+ * constructed, and which must be understood when processing the content.
40
+ * Often, this is a reference to an implementation guide that defines the
41
+ * special rules along with other profiles etc.
42
+ */
43
+ implicitRules?: string;
44
+
45
+ /**
46
+ * The base language in which the resource is written.
47
+ */
48
+ language?: string;
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
+
95
+ /**
96
+ * Unique identifier for the study.
97
+ */
98
+ studyInstanceUid: string;
99
+
100
+ /**
101
+ * User-friendly identifier for the study.
102
+ */
103
+ studyId?: string;
104
+
105
+ /**
106
+ * Date the study started.
107
+ */
108
+ studyDate?: string;
109
+
110
+ /**
111
+ * Time the study started.
112
+ */
113
+ studyTime?: string;
114
+
115
+ /**
116
+ * The accession number for the study.
117
+ */
118
+ accessionNumber?: string;
119
+
120
+ /**
121
+ * Availability of the study instances (e.g., ONLINE, OFFLINE).
122
+ */
123
+ instanceAvailability?: string;
124
+
125
+ /**
126
+ * The modalities (e.g., CT, MR) that are present in the study.
127
+ */
128
+ modalitiesInStudy?: string[];
129
+
130
+ /**
131
+ * The name of the referring physician.
132
+ */
133
+ referringPhysiciansName?: string;
134
+
135
+ /**
136
+ * The timezone offset from UTC for the study (e.g., -0700).
137
+ */
138
+ timezoneOffsetFromUtc?: string;
139
+
140
+ /**
141
+ * The name of the patient.
142
+ */
143
+ patientName?: string;
144
+
145
+ /**
146
+ * The ID of the patient.
147
+ */
148
+ patientId?: string;
149
+
150
+ /**
151
+ * The birth date of the patient.
152
+ */
153
+ patientBirthDate?: string;
154
+
155
+ /**
156
+ * The sex of the patient.
157
+ */
158
+ patientSex?: string;
159
+
160
+ /**
161
+ * The number of series related to the study.
162
+ */
163
+ numberOfStudyRelatedSeries?: number;
164
+
165
+ /**
166
+ * The number of instances related to the study.
167
+ */
168
+ numberOfStudyRelatedInstances?: number;
169
+ }
package/dist/Project.d.ts CHANGED
@@ -140,7 +140,7 @@ export interface Project {
140
140
  */
141
141
  features?: ('ai' | 'ai-realtime' | 'aws-comprehend' | 'aws-textract' | 'bots' | 'cron' | 'email' |
142
142
  'google-auth-required' | 'graphql-introspection' | 'scheduling' | 'websocket-subscriptions' | 'transaction-bundles' |
143
- 'validate-terminology' | 'range-search' | 'log-streaming')[];
143
+ 'validate-terminology' | 'range-search' | 'log-streaming' | 'async-batch')[];
144
144
 
145
145
  /**
146
146
  * @deprecated Use defaultAccessPolicies instead. The default access
@@ -51,6 +51,9 @@ import type { DeviceMetric } from './DeviceMetric.d.ts';
51
51
  import type { DeviceRequest } from './DeviceRequest.d.ts';
52
52
  import type { DeviceUseStatement } from './DeviceUseStatement.d.ts';
53
53
  import type { DiagnosticReport } from './DiagnosticReport.d.ts';
54
+ import type { DicomInstance } from './DicomInstance.d.ts';
55
+ import type { DicomSeries } from './DicomSeries.d.ts';
56
+ import type { DicomStudy } from './DicomStudy.d.ts';
54
57
  import type { DocumentManifest } from './DocumentManifest.d.ts';
55
58
  import type { DocumentReference } from './DocumentReference.d.ts';
56
59
  import type { DomainConfiguration } from './DomainConfiguration.d.ts';
@@ -218,6 +221,9 @@ export type Resource = AccessPolicy
218
221
  | DeviceRequest
219
222
  | DeviceUseStatement
220
223
  | DiagnosticReport
224
+ | DicomInstance
225
+ | DicomSeries
226
+ | DicomStudy
221
227
  | DocumentManifest
222
228
  | DocumentReference
223
229
  | DomainConfiguration
package/dist/index.d.ts CHANGED
@@ -63,6 +63,9 @@ export type * from './DeviceMetric.d.ts';
63
63
  export type * from './DeviceRequest.d.ts';
64
64
  export type * from './DeviceUseStatement.d.ts';
65
65
  export type * from './DiagnosticReport.d.ts';
66
+ export type * from './DicomInstance.d.ts';
67
+ export type * from './DicomSeries.d.ts';
68
+ export type * from './DicomStudy.d.ts';
66
69
  export type * from './Distance.d.ts';
67
70
  export type * from './DocumentManifest.d.ts';
68
71
  export type * from './DocumentReference.d.ts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "5.1.27",
3
+ "version": "5.1.29",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "keywords": [
6
6
  "medplum",