@medplum/fhirtypes 5.1.36 → 5.1.37

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,119 @@
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 { Project } from './Project.d.ts';
15
+ import type { Reference } from './Reference.d.ts';
16
+ import type { Resource } from './Resource.d.ts';
17
+
18
+ /**
19
+ * A group of Medplum projects managed as a single enterprise.
20
+ */
21
+ export interface Enterprise {
22
+
23
+ /**
24
+ * This is a Enterprise resource
25
+ */
26
+ readonly resourceType: 'Enterprise';
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.
37
+ */
38
+ meta?: Meta;
39
+
40
+ /**
41
+ * A reference to a set of rules that were followed when the resource was
42
+ * constructed.
43
+ */
44
+ implicitRules?: string;
45
+
46
+ /**
47
+ * The base language in which the resource is written.
48
+ */
49
+ language?: string;
50
+
51
+ /**
52
+ * A human-readable narrative that contains a summary of the resource.
53
+ */
54
+ text?: Narrative;
55
+
56
+ /**
57
+ * Resources that do not have an independent existence apart from the
58
+ * resource that contains them.
59
+ */
60
+ contained?: Resource[];
61
+
62
+ /**
63
+ * Additional content defined by implementations.
64
+ */
65
+ extension?: Extension[];
66
+
67
+ /**
68
+ * Extensions that cannot be ignored.
69
+ */
70
+ modifierExtension?: Extension[];
71
+
72
+ /**
73
+ * Identifiers for the enterprise.
74
+ */
75
+ identifier?: Identifier[];
76
+
77
+ /**
78
+ * The name of the enterprise.
79
+ */
80
+ name: string;
81
+
82
+ /**
83
+ * Whether the enterprise is active or inactive.
84
+ */
85
+ status: 'active' | 'inactive';
86
+
87
+ /**
88
+ * The organization represented by the enterprise.
89
+ */
90
+ organization?: Reference<Organization>;
91
+
92
+ /**
93
+ * Codes used to classify the enterprise.
94
+ */
95
+ code?: CodeableConcept[];
96
+
97
+ /**
98
+ * Projects belonging to the enterprise and their deployment
99
+ * environments.
100
+ */
101
+ project?: EnterpriseProject[];
102
+ }
103
+
104
+ /**
105
+ * Projects belonging to the enterprise and their deployment
106
+ * environments.
107
+ */
108
+ export interface EnterpriseProject {
109
+
110
+ /**
111
+ * A project belonging to the enterprise.
112
+ */
113
+ project: Reference<Project>;
114
+
115
+ /**
116
+ * Whether the project is a production or non-production environment.
117
+ */
118
+ code: 'production' | 'non-production';
119
+ }
@@ -62,6 +62,7 @@ import type { Encounter } from './Encounter.d.ts';
62
62
  import type { Endpoint } from './Endpoint.d.ts';
63
63
  import type { EnrollmentRequest } from './EnrollmentRequest.d.ts';
64
64
  import type { EnrollmentResponse } from './EnrollmentResponse.d.ts';
65
+ import type { Enterprise } from './Enterprise.d.ts';
65
66
  import type { EpisodeOfCare } from './EpisodeOfCare.d.ts';
66
67
  import type { EventDefinition } from './EventDefinition.d.ts';
67
68
  import type { Evidence } from './Evidence.d.ts';
@@ -232,6 +233,7 @@ export type Resource = AccessPolicy
232
233
  | Endpoint
233
234
  | EnrollmentRequest
234
235
  | EnrollmentResponse
236
+ | Enterprise
235
237
  | EpisodeOfCare
236
238
  | EventDefinition
237
239
  | Evidence
package/dist/index.d.ts CHANGED
@@ -79,6 +79,7 @@ export type * from './Encounter.d.ts';
79
79
  export type * from './Endpoint.d.ts';
80
80
  export type * from './EnrollmentRequest.d.ts';
81
81
  export type * from './EnrollmentResponse.d.ts';
82
+ export type * from './Enterprise.d.ts';
82
83
  export type * from './EpisodeOfCare.d.ts';
83
84
  export type * from './EventDefinition.d.ts';
84
85
  export type * from './Evidence.d.ts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "5.1.36",
3
+ "version": "5.1.37",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "keywords": [
6
6
  "medplum",