@medplum/fhirtypes 5.1.3 → 5.1.4
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/DomainConfiguration.d.ts +6 -0
- package/dist/Package.d.ts +131 -0
- package/dist/PackageInstallation.d.ts +134 -0
- package/dist/PackageRelease.d.ts +124 -0
- package/dist/Resource.d.ts +6 -0
- package/dist/SmartAppLaunch.d.ts +6 -0
- package/dist/index.d.ts +3 -0
- package/package.json +1 -1
|
@@ -101,4 +101,10 @@ export interface DomainConfiguration {
|
|
|
101
101
|
* Optional external Identity Provider (IdP) for the domain name.
|
|
102
102
|
*/
|
|
103
103
|
identityProvider?: IdentityProvider;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* List of allowed post-login redirect URLs for this domain
|
|
107
|
+
* configuration.
|
|
108
|
+
*/
|
|
109
|
+
allowedPostLoginRedirectUrls?: string[];
|
|
104
110
|
}
|
|
@@ -0,0 +1,131 @@
|
|
|
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 { CodeableConcept } from './CodeableConcept.d.ts';
|
|
9
|
+
import type { Extension } from './Extension.d.ts';
|
|
10
|
+
import type { Identifier } from './Identifier.d.ts';
|
|
11
|
+
import type { Meta } from './Meta.d.ts';
|
|
12
|
+
import type { Narrative } from './Narrative.d.ts';
|
|
13
|
+
import type { Organization } from './Organization.d.ts';
|
|
14
|
+
import type { Practitioner } from './Practitioner.d.ts';
|
|
15
|
+
import type { Reference } from './Reference.d.ts';
|
|
16
|
+
import type { Resource } from './Resource.d.ts';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Definition of a marketplace package, which represents a set of
|
|
20
|
+
* automated actions that can be taken by a system, such as a
|
|
21
|
+
* subscription or a workflow.
|
|
22
|
+
*/
|
|
23
|
+
export interface Package {
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* This is a Package resource
|
|
27
|
+
*/
|
|
28
|
+
readonly resourceType: 'Package';
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* The logical id of the resource, as used in the URL for the resource.
|
|
32
|
+
* Once assigned, this value never changes.
|
|
33
|
+
*/
|
|
34
|
+
id?: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The metadata about the resource. This is content that is maintained by
|
|
38
|
+
* the infrastructure. Changes to the content might not always be
|
|
39
|
+
* associated with version changes to the resource.
|
|
40
|
+
*/
|
|
41
|
+
meta?: Meta;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* A reference to a set of rules that were followed when the resource was
|
|
45
|
+
* constructed, and which must be understood when processing the content.
|
|
46
|
+
* Often, this is a reference to an implementation guide that defines the
|
|
47
|
+
* special rules along with other profiles etc.
|
|
48
|
+
*/
|
|
49
|
+
implicitRules?: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* The base language in which the resource is written.
|
|
53
|
+
*/
|
|
54
|
+
language?: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* A human-readable narrative that contains a summary of the resource and
|
|
58
|
+
* can be used to represent the content of the resource to a human. The
|
|
59
|
+
* narrative need not encode all the structured data, but is required to
|
|
60
|
+
* contain sufficient detail to make it "clinically safe" for a human to
|
|
61
|
+
* just read the narrative. Resource definitions may define what content
|
|
62
|
+
* should be represented in the narrative to ensure clinical safety.
|
|
63
|
+
*/
|
|
64
|
+
text?: Narrative;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* These resources do not have an independent existence apart from the
|
|
68
|
+
* resource that contains them - they cannot be identified independently,
|
|
69
|
+
* and nor can they have their own independent transaction scope.
|
|
70
|
+
*/
|
|
71
|
+
contained?: Resource[];
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* May be used to represent additional information that is not part of
|
|
75
|
+
* the basic definition of the resource. To make the use of extensions
|
|
76
|
+
* safe and manageable, there is a strict set of governance applied to
|
|
77
|
+
* the definition and use of extensions. Though any implementer can
|
|
78
|
+
* define an extension, there is a set of requirements that SHALL be met
|
|
79
|
+
* as part of the definition of the extension.
|
|
80
|
+
*/
|
|
81
|
+
extension?: Extension[];
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* May be used to represent additional information that is not part of
|
|
85
|
+
* the basic definition of the resource and that modifies the
|
|
86
|
+
* understanding of the element that contains it and/or the understanding
|
|
87
|
+
* of the containing element's descendants. Usually modifier elements
|
|
88
|
+
* provide negation or qualification. To make the use of extensions safe
|
|
89
|
+
* and manageable, there is a strict set of governance applied to the
|
|
90
|
+
* definition and use of extensions. Though any implementer is allowed to
|
|
91
|
+
* define an extension, there is a set of requirements that SHALL be met
|
|
92
|
+
* as part of the definition of the extension. Applications processing a
|
|
93
|
+
* resource are required to check for modifier extensions.
|
|
94
|
+
*
|
|
95
|
+
* Modifier extensions SHALL NOT change the meaning of any elements on
|
|
96
|
+
* Resource or DomainResource (including cannot change the meaning of
|
|
97
|
+
* modifierExtension itself).
|
|
98
|
+
*/
|
|
99
|
+
modifierExtension?: Extension[];
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* An identifier for this package.
|
|
103
|
+
*/
|
|
104
|
+
identifier?: Identifier[];
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* The status of the package.
|
|
108
|
+
*/
|
|
109
|
+
status: 'pending' | 'active' | 'end-of-life';
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* A name associated with the Package.
|
|
113
|
+
*/
|
|
114
|
+
name: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* A summary, characterization or explanation of the Package.
|
|
118
|
+
*/
|
|
119
|
+
description?: string;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* A code that classifies the service for searching, sorting and display
|
|
123
|
+
* purposes (e.g. "Surgical Procedure").
|
|
124
|
+
*/
|
|
125
|
+
category?: CodeableConcept[];
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Reference to the resource that represents the author of the package.
|
|
129
|
+
*/
|
|
130
|
+
author: Reference<Organization | Practitioner>;
|
|
131
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
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 { Bot } from './Bot.d.ts';
|
|
9
|
+
import type { ClientApplication } from './ClientApplication.d.ts';
|
|
10
|
+
import type { Extension } from './Extension.d.ts';
|
|
11
|
+
import type { Identifier } from './Identifier.d.ts';
|
|
12
|
+
import type { Meta } from './Meta.d.ts';
|
|
13
|
+
import type { Narrative } from './Narrative.d.ts';
|
|
14
|
+
import type { Package } from './Package.d.ts';
|
|
15
|
+
import type { PackageRelease } from './PackageRelease.d.ts';
|
|
16
|
+
import type { Patient } from './Patient.d.ts';
|
|
17
|
+
import type { Practitioner } from './Practitioner.d.ts';
|
|
18
|
+
import type { Reference } from './Reference.d.ts';
|
|
19
|
+
import type { RelatedPerson } from './RelatedPerson.d.ts';
|
|
20
|
+
import type { Resource } from './Resource.d.ts';
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Definition of a marketplace package installation, which represents the
|
|
24
|
+
* installation of a specific package release in a system.
|
|
25
|
+
*/
|
|
26
|
+
export interface PackageInstallation {
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* This is a PackageInstallation resource
|
|
30
|
+
*/
|
|
31
|
+
readonly resourceType: 'PackageInstallation';
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* The logical id of the resource, as used in the URL for the resource.
|
|
35
|
+
* Once assigned, this value never changes.
|
|
36
|
+
*/
|
|
37
|
+
id?: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* The metadata about the resource. This is content that is maintained by
|
|
41
|
+
* the infrastructure. Changes to the content might not always be
|
|
42
|
+
* associated with version changes to the resource.
|
|
43
|
+
*/
|
|
44
|
+
meta?: Meta;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* A reference to a set of rules that were followed when the resource was
|
|
48
|
+
* constructed, and which must be understood when processing the content.
|
|
49
|
+
* Often, this is a reference to an implementation guide that defines the
|
|
50
|
+
* special rules along with other profiles etc.
|
|
51
|
+
*/
|
|
52
|
+
implicitRules?: string;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* The base language in which the resource is written.
|
|
56
|
+
*/
|
|
57
|
+
language?: string;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* A human-readable narrative that contains a summary of the resource and
|
|
61
|
+
* can be used to represent the content of the resource to a human. The
|
|
62
|
+
* narrative need not encode all the structured data, but is required to
|
|
63
|
+
* contain sufficient detail to make it "clinically safe" for a human to
|
|
64
|
+
* just read the narrative. Resource definitions may define what content
|
|
65
|
+
* should be represented in the narrative to ensure clinical safety.
|
|
66
|
+
*/
|
|
67
|
+
text?: Narrative;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* These resources do not have an independent existence apart from the
|
|
71
|
+
* resource that contains them - they cannot be identified independently,
|
|
72
|
+
* and nor can they have their own independent transaction scope.
|
|
73
|
+
*/
|
|
74
|
+
contained?: Resource[];
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* May be used to represent additional information that is not part of
|
|
78
|
+
* the basic definition of the resource. To make the use of extensions
|
|
79
|
+
* safe and manageable, there is a strict set of governance applied to
|
|
80
|
+
* the definition and use of extensions. Though any implementer can
|
|
81
|
+
* define an extension, there is a set of requirements that SHALL be met
|
|
82
|
+
* as part of the definition of the extension.
|
|
83
|
+
*/
|
|
84
|
+
extension?: Extension[];
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* May be used to represent additional information that is not part of
|
|
88
|
+
* the basic definition of the resource and that modifies the
|
|
89
|
+
* understanding of the element that contains it and/or the understanding
|
|
90
|
+
* of the containing element's descendants. Usually modifier elements
|
|
91
|
+
* provide negation or qualification. To make the use of extensions safe
|
|
92
|
+
* and manageable, there is a strict set of governance applied to the
|
|
93
|
+
* definition and use of extensions. Though any implementer is allowed to
|
|
94
|
+
* define an extension, there is a set of requirements that SHALL be met
|
|
95
|
+
* as part of the definition of the extension. Applications processing a
|
|
96
|
+
* resource are required to check for modifier extensions.
|
|
97
|
+
*
|
|
98
|
+
* Modifier extensions SHALL NOT change the meaning of any elements on
|
|
99
|
+
* Resource or DomainResource (including cannot change the meaning of
|
|
100
|
+
* modifierExtension itself).
|
|
101
|
+
*/
|
|
102
|
+
modifierExtension?: Extension[];
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* An identifier for this package installation.
|
|
106
|
+
*/
|
|
107
|
+
identifier?: Identifier[];
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* The Package of this installation.
|
|
111
|
+
*/
|
|
112
|
+
package: Reference<Package>;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* The PackageRelease of this installation.
|
|
116
|
+
*/
|
|
117
|
+
packageRelease: Reference<PackageRelease>;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* The version of the PackageInstallation.
|
|
121
|
+
*/
|
|
122
|
+
version: string;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* The status of the package installation.
|
|
126
|
+
*/
|
|
127
|
+
status: 'requested' | 'installing' | 'installed' | 'error';
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Reference to the resource that represents the installer of the
|
|
131
|
+
* package.
|
|
132
|
+
*/
|
|
133
|
+
installedBy: Reference<Bot | ClientApplication | Patient | Practitioner | RelatedPerson>;
|
|
134
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
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 { Attachment } from './Attachment.d.ts';
|
|
9
|
+
import type { Extension } from './Extension.d.ts';
|
|
10
|
+
import type { Identifier } from './Identifier.d.ts';
|
|
11
|
+
import type { Meta } from './Meta.d.ts';
|
|
12
|
+
import type { Narrative } from './Narrative.d.ts';
|
|
13
|
+
import type { Package } from './Package.d.ts';
|
|
14
|
+
import type { Reference } from './Reference.d.ts';
|
|
15
|
+
import type { Resource } from './Resource.d.ts';
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Definition of a marketplace package release, which represents a
|
|
19
|
+
* specific release of a package that can be installed and used by a
|
|
20
|
+
* system.
|
|
21
|
+
*/
|
|
22
|
+
export interface PackageRelease {
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* This is a PackageRelease resource
|
|
26
|
+
*/
|
|
27
|
+
readonly resourceType: 'PackageRelease';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The logical id of the resource, as used in the URL for the resource.
|
|
31
|
+
* Once assigned, this value never changes.
|
|
32
|
+
*/
|
|
33
|
+
id?: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* The metadata about the resource. This is content that is maintained by
|
|
37
|
+
* the infrastructure. Changes to the content might not always be
|
|
38
|
+
* associated with version changes to the resource.
|
|
39
|
+
*/
|
|
40
|
+
meta?: Meta;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* A reference to a set of rules that were followed when the resource was
|
|
44
|
+
* constructed, and which must be understood when processing the content.
|
|
45
|
+
* Often, this is a reference to an implementation guide that defines the
|
|
46
|
+
* special rules along with other profiles etc.
|
|
47
|
+
*/
|
|
48
|
+
implicitRules?: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* The base language in which the resource is written.
|
|
52
|
+
*/
|
|
53
|
+
language?: string;
|
|
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
|
+
|
|
100
|
+
/**
|
|
101
|
+
* An identifier for this package release.
|
|
102
|
+
*/
|
|
103
|
+
identifier?: Identifier[];
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* The Package of this release.
|
|
107
|
+
*/
|
|
108
|
+
package: Reference<Package>;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* The version of the PackageRelease.
|
|
112
|
+
*/
|
|
113
|
+
version: string;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* A summary, characterization or explanation of the PackageRelease.
|
|
117
|
+
*/
|
|
118
|
+
description?: string;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* The actual content of the package release.
|
|
122
|
+
*/
|
|
123
|
+
content: Attachment;
|
|
124
|
+
}
|
package/dist/Resource.d.ts
CHANGED
|
@@ -115,6 +115,9 @@ import type { OperationDefinition } from './OperationDefinition.d.ts';
|
|
|
115
115
|
import type { OperationOutcome } from './OperationOutcome.d.ts';
|
|
116
116
|
import type { Organization } from './Organization.d.ts';
|
|
117
117
|
import type { OrganizationAffiliation } from './OrganizationAffiliation.d.ts';
|
|
118
|
+
import type { Package } from './Package.d.ts';
|
|
119
|
+
import type { PackageInstallation } from './PackageInstallation.d.ts';
|
|
120
|
+
import type { PackageRelease } from './PackageRelease.d.ts';
|
|
118
121
|
import type { Parameters } from './Parameters.d.ts';
|
|
119
122
|
import type { Patient } from './Patient.d.ts';
|
|
120
123
|
import type { PaymentNotice } from './PaymentNotice.d.ts';
|
|
@@ -278,6 +281,9 @@ export type Resource = AccessPolicy
|
|
|
278
281
|
| OperationOutcome
|
|
279
282
|
| Organization
|
|
280
283
|
| OrganizationAffiliation
|
|
284
|
+
| Package
|
|
285
|
+
| PackageInstallation
|
|
286
|
+
| PackageRelease
|
|
281
287
|
| Parameters
|
|
282
288
|
| Patient
|
|
283
289
|
| PaymentNotice
|
package/dist/SmartAppLaunch.d.ts
CHANGED
|
@@ -105,4 +105,10 @@ export interface SmartAppLaunch {
|
|
|
105
105
|
* encounter context.
|
|
106
106
|
*/
|
|
107
107
|
encounter?: Reference<Encounter>;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Optional FHIR context indicating the resources that were included when
|
|
111
|
+
* the app was launched.
|
|
112
|
+
*/
|
|
113
|
+
fhirContext?: Reference[];
|
|
108
114
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -143,6 +143,9 @@ export type * from './OperationDefinition.d.ts';
|
|
|
143
143
|
export type * from './OperationOutcome.d.ts';
|
|
144
144
|
export type * from './Organization.d.ts';
|
|
145
145
|
export type * from './OrganizationAffiliation.d.ts';
|
|
146
|
+
export type * from './Package.d.ts';
|
|
147
|
+
export type * from './PackageInstallation.d.ts';
|
|
148
|
+
export type * from './PackageRelease.d.ts';
|
|
146
149
|
export type * from './ParameterDefinition.d.ts';
|
|
147
150
|
export type * from './Parameters.d.ts';
|
|
148
151
|
export type * from './Patient.d.ts';
|