@medplum/fhirtypes 4.5.2 → 5.0.1

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/Project.d.ts CHANGED
@@ -139,7 +139,7 @@ export interface Project {
139
139
  * A list of optional features that are enabled for the project.
140
140
  */
141
141
  features?: ('ai' | 'aws-comprehend' | 'aws-textract' | 'bots' | 'cron' | 'email' | 'google-auth-required' |
142
- 'graphql-introspection' | 'websocket-subscriptions' | 'transaction-bundles')[];
142
+ 'graphql-introspection' | 'websocket-subscriptions' | 'transaction-bundles' | 'validate-terminology')[];
143
143
 
144
144
  /**
145
145
  * The default access policy for patients using open registration.
@@ -304,8 +304,3 @@ export interface ProjectSite {
304
304
  */
305
305
  recaptchaSecretKey?: string;
306
306
  }
307
-
308
- /**
309
- * @deprecated Use ProjectSetting instead
310
- */
311
- export type ProjectSecret = ProjectSetting;
@@ -116,7 +116,6 @@ import { OperationOutcome } from './OperationOutcome';
116
116
  import { Organization } from './Organization';
117
117
  import { OrganizationAffiliation } from './OrganizationAffiliation';
118
118
  import { Parameters } from './Parameters';
119
- import { PasswordChangeRequest } from './PasswordChangeRequest';
120
119
  import { Patient } from './Patient';
121
120
  import { PaymentNotice } from './PaymentNotice';
122
121
  import { PaymentReconciliation } from './PaymentReconciliation';
@@ -280,7 +279,6 @@ export type Resource = AccessPolicy
280
279
  | Organization
281
280
  | OrganizationAffiliation
282
281
  | Parameters
283
- | PasswordChangeRequest
284
282
  | Patient
285
283
  | PaymentNotice
286
284
  | PaymentReconciliation
package/dist/index.d.ts CHANGED
@@ -145,7 +145,6 @@ export * from './Organization';
145
145
  export * from './OrganizationAffiliation';
146
146
  export * from './ParameterDefinition';
147
147
  export * from './Parameters';
148
- export * from './PasswordChangeRequest';
149
148
  export * from './Patient';
150
149
  export * from './PaymentNotice';
151
150
  export * from './PaymentReconciliation';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "4.5.2",
3
+ "version": "5.0.1",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "keywords": [
6
6
  "medplum",
@@ -29,6 +29,7 @@
29
29
  "license": "Apache-2.0",
30
30
  "author": "Medplum <hello@medplum.com>",
31
31
  "sideEffects": false,
32
+ "type": "module",
32
33
  "main": "",
33
34
  "types": "dist/index.d.ts",
34
35
  "files": [
@@ -40,6 +41,6 @@
40
41
  "test": ""
41
42
  },
42
43
  "engines": {
43
- "node": "^20.19.0 || >=22.12.0"
44
+ "node": "^22.18.0 || >=24.2.0"
44
45
  }
45
46
  }
@@ -1,122 +0,0 @@
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 { Extension } from './Extension';
9
- import { Meta } from './Meta';
10
- import { Narrative } from './Narrative';
11
- import { Reference } from './Reference';
12
- import { Resource } from './Resource';
13
- import { User } from './User';
14
-
15
- /**
16
- * @deprecated Password change request for the 'forgot password' flow.
17
- * Use UserSecurityRequest instead.
18
- */
19
- export interface PasswordChangeRequest {
20
-
21
- /**
22
- * This is a PasswordChangeRequest resource
23
- */
24
- readonly resourceType: 'PasswordChangeRequest';
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 type of password change request (invite or reset).
99
- */
100
- type?: 'invite' | 'reset';
101
-
102
- /**
103
- * The user requesting the password change.
104
- */
105
- user: Reference<User>;
106
-
107
- /**
108
- * Secret string used to verify the identity of the user.
109
- */
110
- secret: string;
111
-
112
- /**
113
- * Whether this request has been used, and is therefore no longer valid.
114
- */
115
- used?: boolean;
116
-
117
- /**
118
- * Redirect URI used when redirecting a client back to the client
119
- * application.
120
- */
121
- redirectUri?: string;
122
- }