@medplum/fhirtypes 1.0.6 → 2.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/Bot.d.ts CHANGED
@@ -4,6 +4,7 @@
4
4
  */
5
5
 
6
6
  import { Attachment } from './Attachment';
7
+ import { Identifier } from './Identifier';
7
8
  import { Meta } from './Meta';
8
9
 
9
10
  /**
@@ -42,6 +43,11 @@ export interface Bot {
42
43
  */
43
44
  language?: string;
44
45
 
46
+ /**
47
+ * An identifier for this bot.
48
+ */
49
+ identifier?: Identifier[];
50
+
45
51
  /**
46
52
  * A name associated with the Bot.
47
53
  */
@@ -3,6 +3,7 @@
3
3
  * Do not edit manually.
4
4
  */
5
5
 
6
+ import { IdentityProvider } from './IdentityProvider';
6
7
  import { Meta } from './Meta';
7
8
 
8
9
  /**
@@ -72,4 +73,9 @@ export interface ClientApplication {
72
73
  * Optional launch URI for SMART EHR launch sequence.
73
74
  */
74
75
  launchUri?: string;
76
+
77
+ /**
78
+ * Optional external Identity Provider (IdP) for the client application.
79
+ */
80
+ identityProvider?: IdentityProvider;
75
81
  }
@@ -0,0 +1,54 @@
1
+ /*
2
+ * Generated by @medplum/generator
3
+ * Do not edit manually.
4
+ */
5
+
6
+ import { IdentityProvider } from './IdentityProvider';
7
+ import { Meta } from './Meta';
8
+
9
+ /**
10
+ * Domain specific configuration for the Medplum application.
11
+ */
12
+ export interface DomainConfiguration {
13
+
14
+ /**
15
+ * This is a DomainConfiguration resource
16
+ */
17
+ readonly resourceType: 'DomainConfiguration';
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
+ * Globally unique domain name for this configuration.
47
+ */
48
+ domain?: string;
49
+
50
+ /**
51
+ * Optional external Identity Provider (IdP) for the domain name.
52
+ */
53
+ identityProvider?: IdentityProvider;
54
+ }
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Generated by @medplum/generator
3
+ * Do not edit manually.
4
+ */
5
+
6
+ /**
7
+ * External Identity Provider (IdP) configuration details.
8
+ */
9
+ export interface IdentityProvider {
10
+
11
+ /**
12
+ * Remote URL for the external Identity Provider authorize endpoint.
13
+ */
14
+ authorizeUrl?: string;
15
+
16
+ /**
17
+ * Remote URL for the external Identity Provider token endpoint.
18
+ */
19
+ tokenUrl?: string;
20
+
21
+ /**
22
+ * Remote URL for the external Identity Provider userinfo endpoint.
23
+ */
24
+ userInfoUrl?: string;
25
+
26
+ /**
27
+ * External Identity Provider client ID.
28
+ */
29
+ clientId?: string;
30
+
31
+ /**
32
+ * External Identity Provider client secret.
33
+ */
34
+ clientSecret?: string;
35
+ }
@@ -0,0 +1,60 @@
1
+ /*
2
+ * Generated by @medplum/generator
3
+ * Do not edit manually.
4
+ */
5
+
6
+ import { CodeableConcept } from './CodeableConcept';
7
+ import { ContactDetail } from './ContactDetail';
8
+ import { Extension } from './Extension';
9
+ import { Meta } from './Meta';
10
+ import { Narrative } from './Narrative';
11
+ import { Resource } from './Resource';
12
+ import { UsageContext } from './UsageContext';
13
+
14
+ export interface MetadataResource {
15
+
16
+ /**
17
+ * This is a MetadataResource resource
18
+ */
19
+ readonly resourceType: 'MetadataResource';
20
+
21
+ id?: string;
22
+
23
+ meta?: Meta;
24
+
25
+ implicitRules?: string;
26
+
27
+ language?: string;
28
+
29
+ text?: Narrative;
30
+
31
+ contained?: Resource[];
32
+
33
+ extension?: Extension[];
34
+
35
+ modifierExtension?: Extension[];
36
+
37
+ url?: string;
38
+
39
+ version?: string;
40
+
41
+ name?: string;
42
+
43
+ title?: string;
44
+
45
+ status?: string;
46
+
47
+ experimental?: boolean;
48
+
49
+ date?: string;
50
+
51
+ publisher?: string;
52
+
53
+ contact?: ContactDetail[];
54
+
55
+ description?: string;
56
+
57
+ useContext?: UsageContext[];
58
+
59
+ jurisdiction?: CodeableConcept[];
60
+ }
@@ -49,6 +49,7 @@ import { DeviceUseStatement } from './DeviceUseStatement';
49
49
  import { DiagnosticReport } from './DiagnosticReport';
50
50
  import { DocumentManifest } from './DocumentManifest';
51
51
  import { DocumentReference } from './DocumentReference';
52
+ import { DomainConfiguration } from './DomainConfiguration';
52
53
  import { EffectEvidenceSynthesis } from './EffectEvidenceSynthesis';
53
54
  import { Encounter } from './Encounter';
54
55
  import { Endpoint } from './Endpoint';
@@ -101,6 +102,7 @@ import { MedicinalProductPharmaceutical } from './MedicinalProductPharmaceutical
101
102
  import { MedicinalProductUndesirableEffect } from './MedicinalProductUndesirableEffect';
102
103
  import { MessageDefinition } from './MessageDefinition';
103
104
  import { MessageHeader } from './MessageHeader';
105
+ import { MetadataResource } from './MetadataResource';
104
106
  import { MolecularSequence } from './MolecularSequence';
105
107
  import { NamingSystem } from './NamingSystem';
106
108
  import { NutritionOrder } from './NutritionOrder';
@@ -208,6 +210,7 @@ export type Resource = AccessPolicy
208
210
  | DiagnosticReport
209
211
  | DocumentManifest
210
212
  | DocumentReference
213
+ | DomainConfiguration
211
214
  | EffectEvidenceSynthesis
212
215
  | Encounter
213
216
  | Endpoint
@@ -260,6 +263,7 @@ export type Resource = AccessPolicy
260
263
  | MedicinalProductUndesirableEffect
261
264
  | MessageDefinition
262
265
  | MessageHeader
266
+ | MetadataResource
263
267
  | MolecularSequence
264
268
  | NamingSystem
265
269
  | NutritionOrder
@@ -9,7 +9,7 @@ import { Patient } from './Patient';
9
9
  import { Reference } from './Reference';
10
10
 
11
11
  /**
12
- * User specific configuration for the Medplum application.
12
+ * This resource contains context details for a SMART App Launch.
13
13
  */
14
14
  export interface SmartAppLaunch {
15
15
 
package/dist/index.d.ts CHANGED
@@ -62,6 +62,7 @@ export * from './DiagnosticReport';
62
62
  export * from './Distance';
63
63
  export * from './DocumentManifest';
64
64
  export * from './DocumentReference';
65
+ export * from './DomainConfiguration';
65
66
  export * from './Dosage';
66
67
  export * from './Duration';
67
68
  export * from './EffectEvidenceSynthesis';
@@ -88,6 +89,7 @@ export * from './GuidanceResponse';
88
89
  export * from './HealthcareService';
89
90
  export * from './HumanName';
90
91
  export * from './Identifier';
92
+ export * from './IdentityProvider';
91
93
  export * from './ImagingStudy';
92
94
  export * from './Immunization';
93
95
  export * from './ImmunizationEvaluation';
@@ -124,6 +126,7 @@ export * from './MedicinalProductUndesirableEffect';
124
126
  export * from './MessageDefinition';
125
127
  export * from './MessageHeader';
126
128
  export * from './Meta';
129
+ export * from './MetadataResource';
127
130
  export * from './MolecularSequence';
128
131
  export * from './Money';
129
132
  export * from './NamingSystem';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "1.0.6",
3
+ "version": "2.0.1",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",