@openmrs/esm-framework 6.3.1-pre.2961 → 6.3.1-pre.2986
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/.turbo/turbo-build.log +3 -25
- package/dist/index.d.ts +17 -0
- package/dist/internal.d.ts +17 -0
- package/dist/openmrs-esm-framework.js +1 -2
- package/dist/openmrs-esm-framework.js.map +1 -1
- package/docs/API.md +369 -283
- package/docs/classes/OpenmrsFetchError.md +10 -10
- package/docs/enums/VisitMode.md +3 -3
- package/docs/enums/VisitStatus.md +2 -2
- package/docs/interfaces/AssignedExtension.md +1 -1
- package/docs/interfaces/Attachment.md +7 -7
- package/docs/interfaces/AttachmentResponse.md +6 -6
- package/docs/interfaces/CloseWorkspaceOptions.md +3 -3
- package/docs/interfaces/ConfigurableLinkProps.md +474 -317
- package/docs/interfaces/ConnectedExtension.md +1 -1
- package/docs/interfaces/ConnectivityChangedEvent.md +1 -1
- package/docs/interfaces/CurrentPatientOptions.md +1 -1
- package/docs/interfaces/DefaultWorkspaceProps.md +4 -4
- package/docs/interfaces/Diagnosis.md +25 -25
- package/docs/interfaces/EmrApiConfigurationResponse.md +596 -0
- package/docs/interfaces/Encounter.md +24 -24
- package/docs/interfaces/EncounterProvider.md +16 -16
- package/docs/interfaces/EncounterRole.md +16 -16
- package/docs/interfaces/EncounterType.md +16 -16
- package/docs/interfaces/ExtensionSlotBaseProps.md +3 -3
- package/docs/interfaces/FHIRCode.md +3 -3
- package/docs/interfaces/FHIRLocationResource.md +30 -0
- package/docs/interfaces/FHIRResource.md +1 -1
- package/docs/interfaces/FeatureFlagDefinition.md +3 -3
- package/docs/interfaces/FetchConfig.md +13 -13
- package/docs/interfaces/FetchError.md +2 -2
- package/docs/interfaces/FetchResponse.md +15 -15
- package/docs/interfaces/ImportMap.md +1 -1
- package/docs/interfaces/Location.md +370 -3
- package/docs/interfaces/LoggedInUserFetchResponse.md +15 -15
- package/docs/interfaces/NewVisitPayload.md +7 -7
- package/docs/interfaces/NotificationDescriptor.md +20 -2
- package/docs/interfaces/Obs.md +36 -36
- package/docs/interfaces/OldExtensionSlotBaseProps.md +3 -3
- package/docs/interfaces/OnlyThePatient.md +1 -1
- package/docs/interfaces/OpenWorkspace.md +29 -29
- package/docs/interfaces/OpenmrsAppRoutes.md +9 -9
- package/docs/interfaces/OpenmrsDatePickerProps.md +1 -1
- package/docs/interfaces/OpenmrsResource.md +0 -12
- package/docs/interfaces/OpenmrsResourceStrict.md +0 -6
- package/docs/interfaces/Patient.md +17 -17
- package/docs/interfaces/PatientIdentifier.md +18 -18
- package/docs/interfaces/PatientIdentifierType.md +22 -22
- package/docs/interfaces/PatientPhotoProps.md +0 -11
- package/docs/interfaces/PatientWithFullResponse.md +1 -1
- package/docs/interfaces/Prompt.md +5 -5
- package/docs/interfaces/ResourceLoader.md +1 -1
- package/docs/interfaces/RetryOptions.md +3 -3
- package/docs/interfaces/ShowActionableNotificationEvent.md +6 -6
- package/docs/interfaces/ShowNotificationEvent.md +5 -5
- package/docs/interfaces/ShowSnackbarEvent.md +8 -8
- package/docs/interfaces/ShowToastEvent.md +5 -5
- package/docs/interfaces/SpaConfig.md +5 -5
- package/docs/interfaces/StyleguideConfigObject.md +2 -2
- package/docs/interfaces/UploadedFile.md +7 -7
- package/docs/interfaces/UseConfigOptions.md +22 -0
- package/docs/interfaces/UseServerFetchAllOptions.md +5 -5
- package/docs/interfaces/UseServerInfiniteOptions.md +5 -5
- package/docs/interfaces/UseServerPaginationOptions.md +2 -2
- package/docs/interfaces/Visit.md +11 -11
- package/docs/interfaces/VisitItem.md +4 -4
- package/docs/interfaces/VisitReturnType.md +2 -2
- package/docs/interfaces/VisitStoreState.md +3 -3
- package/docs/interfaces/VisitType.md +3 -3
- package/docs/interfaces/WorkspaceGroupDefinition.md +2 -2
- package/docs/interfaces/WorkspaceRegistration.md +0 -6
- package/docs/interfaces/WorkspacesInfo.md +5 -5
- package/mock-jest.tsx +125 -0
- package/mock.tsx +44 -42
- package/package.json +58 -31
- package/rspack.config.cjs +96 -0
- package/{src/integration-tests/setup-tests.ts → setup-tests.ts} +6 -1
- package/src/declarations.d.ts +0 -1
- package/src/index.ts +2 -3
- package/src/integration-tests/extension-config.test.tsx +14 -12
- package/src/internal.ts +2 -3
- package/src/mock-test.test.ts +2 -2
- package/tsconfig.build.json +10 -0
- package/tsconfig.json +3 -24
- package/typedoc.json +1 -0
- package/vitest.config.ts +9 -0
- package/dist/278.openmrs-esm-framework.js +0 -2
- package/dist/278.openmrs-esm-framework.js.map +0 -1
- package/dist/530.openmrs-esm-framework.js +0 -2
- package/dist/530.openmrs-esm-framework.js.map +0 -1
- package/dist/588.openmrs-esm-framework.js +0 -2
- package/dist/588.openmrs-esm-framework.js.map +0 -1
- package/dist/619.openmrs-esm-framework.js +0 -2
- package/dist/619.openmrs-esm-framework.js.map +0 -1
- package/dist/645.openmrs-esm-framework.js +0 -2
- package/dist/645.openmrs-esm-framework.js.map +0 -1
- package/dist/735.openmrs-esm-framework.js +0 -3
- package/dist/735.openmrs-esm-framework.js.LICENSE.txt +0 -9
- package/dist/735.openmrs-esm-framework.js.map +0 -1
- package/dist/746.openmrs-esm-framework.js +0 -2
- package/dist/746.openmrs-esm-framework.js.map +0 -1
- package/dist/788.openmrs-esm-framework.js +0 -3
- package/dist/788.openmrs-esm-framework.js.LICENSE.txt +0 -19
- package/dist/788.openmrs-esm-framework.js.map +0 -1
- package/dist/openmrs-esm-framework.js.LICENSE.txt +0 -68
- package/jest.config.js +0 -22
- package/webpack.config.js +0 -80
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
## Hierarchy
|
6
6
|
|
7
|
-
-
|
7
|
+
- `OpenmrsResource`
|
8
8
|
|
9
9
|
↳ **`Encounter`**
|
10
10
|
|
@@ -31,15 +31,15 @@
|
|
31
31
|
|
32
32
|
### auditInfo
|
33
33
|
|
34
|
-
• `Optional` **auditInfo**:
|
34
|
+
• `Optional` **auditInfo**: `AuditInfo`
|
35
35
|
|
36
36
|
#### Inherited from
|
37
37
|
|
38
|
-
|
38
|
+
OpenmrsResource.auditInfo
|
39
39
|
|
40
40
|
#### Defined in
|
41
41
|
|
42
|
-
|
42
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:14
|
43
43
|
|
44
44
|
___
|
45
45
|
|
@@ -49,7 +49,7 @@ ___
|
|
49
49
|
|
50
50
|
#### Defined in
|
51
51
|
|
52
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L17)
|
52
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L17)
|
53
53
|
|
54
54
|
___
|
55
55
|
|
@@ -59,11 +59,11 @@ ___
|
|
59
59
|
|
60
60
|
#### Inherited from
|
61
61
|
|
62
|
-
|
62
|
+
OpenmrsResource.display
|
63
63
|
|
64
64
|
#### Defined in
|
65
65
|
|
66
|
-
|
66
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:12
|
67
67
|
|
68
68
|
___
|
69
69
|
|
@@ -73,7 +73,7 @@ ___
|
|
73
73
|
|
74
74
|
#### Defined in
|
75
75
|
|
76
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:10](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L10)
|
76
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:10](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L10)
|
77
77
|
|
78
78
|
___
|
79
79
|
|
@@ -83,7 +83,7 @@ ___
|
|
83
83
|
|
84
84
|
#### Defined in
|
85
85
|
|
86
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L16)
|
86
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L16)
|
87
87
|
|
88
88
|
___
|
89
89
|
|
@@ -93,41 +93,41 @@ ___
|
|
93
93
|
|
94
94
|
#### Defined in
|
95
95
|
|
96
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:13](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L13)
|
96
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:13](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L13)
|
97
97
|
|
98
98
|
___
|
99
99
|
|
100
100
|
### form
|
101
101
|
|
102
|
-
• `Optional` **form**:
|
102
|
+
• `Optional` **form**: `OpenmrsResource`
|
103
103
|
|
104
104
|
#### Defined in
|
105
105
|
|
106
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:18](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L18)
|
106
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:18](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L18)
|
107
107
|
|
108
108
|
___
|
109
109
|
|
110
110
|
### links
|
111
111
|
|
112
|
-
• `Optional` **links**:
|
112
|
+
• `Optional` **links**: `Link`[]
|
113
113
|
|
114
114
|
#### Inherited from
|
115
115
|
|
116
|
-
|
116
|
+
OpenmrsResource.links
|
117
117
|
|
118
118
|
#### Defined in
|
119
119
|
|
120
|
-
|
120
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:13
|
121
121
|
|
122
122
|
___
|
123
123
|
|
124
124
|
### location
|
125
125
|
|
126
|
-
• `Optional` **location**: `Location`
|
126
|
+
• `Optional` **location**: [`Location`](Location.md)
|
127
127
|
|
128
128
|
#### Defined in
|
129
129
|
|
130
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:12](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L12)
|
130
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:12](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L12)
|
131
131
|
|
132
132
|
___
|
133
133
|
|
@@ -137,7 +137,7 @@ ___
|
|
137
137
|
|
138
138
|
#### Defined in
|
139
139
|
|
140
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L14)
|
140
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L14)
|
141
141
|
|
142
142
|
___
|
143
143
|
|
@@ -147,7 +147,7 @@ ___
|
|
147
147
|
|
148
148
|
#### Defined in
|
149
149
|
|
150
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:11](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L11)
|
150
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:11](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L11)
|
151
151
|
|
152
152
|
___
|
153
153
|
|
@@ -157,11 +157,11 @@ ___
|
|
157
157
|
|
158
158
|
#### Inherited from
|
159
159
|
|
160
|
-
|
160
|
+
OpenmrsResource.resourceVersion
|
161
161
|
|
162
162
|
#### Defined in
|
163
163
|
|
164
|
-
|
164
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:15
|
165
165
|
|
166
166
|
___
|
167
167
|
|
@@ -171,11 +171,11 @@ ___
|
|
171
171
|
|
172
172
|
#### Inherited from
|
173
173
|
|
174
|
-
|
174
|
+
OpenmrsResource.uuid
|
175
175
|
|
176
176
|
#### Defined in
|
177
177
|
|
178
|
-
|
178
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:11
|
179
179
|
|
180
180
|
___
|
181
181
|
|
@@ -185,4 +185,4 @@ ___
|
|
185
185
|
|
186
186
|
#### Defined in
|
187
187
|
|
188
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L15)
|
188
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L15)
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
## Hierarchy
|
6
6
|
|
7
|
-
-
|
7
|
+
- `OpenmrsResource`
|
8
8
|
|
9
9
|
↳ **`EncounterProvider`**
|
10
10
|
|
@@ -24,15 +24,15 @@
|
|
24
24
|
|
25
25
|
### auditInfo
|
26
26
|
|
27
|
-
• `Optional` **auditInfo**:
|
27
|
+
• `Optional` **auditInfo**: `AuditInfo`
|
28
28
|
|
29
29
|
#### Inherited from
|
30
30
|
|
31
|
-
|
31
|
+
OpenmrsResource.auditInfo
|
32
32
|
|
33
33
|
#### Defined in
|
34
34
|
|
35
|
-
|
35
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:14
|
36
36
|
|
37
37
|
___
|
38
38
|
|
@@ -42,11 +42,11 @@ ___
|
|
42
42
|
|
43
43
|
#### Inherited from
|
44
44
|
|
45
|
-
|
45
|
+
OpenmrsResource.display
|
46
46
|
|
47
47
|
#### Defined in
|
48
48
|
|
49
|
-
|
49
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:12
|
50
50
|
|
51
51
|
___
|
52
52
|
|
@@ -56,31 +56,31 @@ ___
|
|
56
56
|
|
57
57
|
#### Defined in
|
58
58
|
|
59
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:29](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L29)
|
59
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:29](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L29)
|
60
60
|
|
61
61
|
___
|
62
62
|
|
63
63
|
### links
|
64
64
|
|
65
|
-
• `Optional` **links**:
|
65
|
+
• `Optional` **links**: `Link`[]
|
66
66
|
|
67
67
|
#### Inherited from
|
68
68
|
|
69
|
-
|
69
|
+
OpenmrsResource.links
|
70
70
|
|
71
71
|
#### Defined in
|
72
72
|
|
73
|
-
|
73
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:13
|
74
74
|
|
75
75
|
___
|
76
76
|
|
77
77
|
### provider
|
78
78
|
|
79
|
-
• `Optional` **provider**:
|
79
|
+
• `Optional` **provider**: `OpenmrsResource`
|
80
80
|
|
81
81
|
#### Defined in
|
82
82
|
|
83
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:28](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L28)
|
83
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:28](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L28)
|
84
84
|
|
85
85
|
___
|
86
86
|
|
@@ -90,11 +90,11 @@ ___
|
|
90
90
|
|
91
91
|
#### Inherited from
|
92
92
|
|
93
|
-
|
93
|
+
OpenmrsResource.resourceVersion
|
94
94
|
|
95
95
|
#### Defined in
|
96
96
|
|
97
|
-
|
97
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:15
|
98
98
|
|
99
99
|
___
|
100
100
|
|
@@ -104,8 +104,8 @@ ___
|
|
104
104
|
|
105
105
|
#### Inherited from
|
106
106
|
|
107
|
-
|
107
|
+
OpenmrsResource.uuid
|
108
108
|
|
109
109
|
#### Defined in
|
110
110
|
|
111
|
-
|
111
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:11
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
## Hierarchy
|
6
6
|
|
7
|
-
-
|
7
|
+
- `OpenmrsResource`
|
8
8
|
|
9
9
|
↳ **`EncounterRole`**
|
10
10
|
|
@@ -25,15 +25,15 @@
|
|
25
25
|
|
26
26
|
### auditInfo
|
27
27
|
|
28
|
-
• `Optional` **auditInfo**:
|
28
|
+
• `Optional` **auditInfo**: `AuditInfo`
|
29
29
|
|
30
30
|
#### Inherited from
|
31
31
|
|
32
|
-
|
32
|
+
OpenmrsResource.auditInfo
|
33
33
|
|
34
34
|
#### Defined in
|
35
35
|
|
36
|
-
|
36
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:14
|
37
37
|
|
38
38
|
___
|
39
39
|
|
@@ -43,7 +43,7 @@ ___
|
|
43
43
|
|
44
44
|
#### Defined in
|
45
45
|
|
46
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:34](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L34)
|
46
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:34](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L34)
|
47
47
|
|
48
48
|
___
|
49
49
|
|
@@ -53,25 +53,25 @@ ___
|
|
53
53
|
|
54
54
|
#### Inherited from
|
55
55
|
|
56
|
-
|
56
|
+
OpenmrsResource.display
|
57
57
|
|
58
58
|
#### Defined in
|
59
59
|
|
60
|
-
|
60
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:12
|
61
61
|
|
62
62
|
___
|
63
63
|
|
64
64
|
### links
|
65
65
|
|
66
|
-
• `Optional` **links**:
|
66
|
+
• `Optional` **links**: `Link`[]
|
67
67
|
|
68
68
|
#### Inherited from
|
69
69
|
|
70
|
-
|
70
|
+
OpenmrsResource.links
|
71
71
|
|
72
72
|
#### Defined in
|
73
73
|
|
74
|
-
|
74
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:13
|
75
75
|
|
76
76
|
___
|
77
77
|
|
@@ -81,7 +81,7 @@ ___
|
|
81
81
|
|
82
82
|
#### Defined in
|
83
83
|
|
84
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:33](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L33)
|
84
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:33](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L33)
|
85
85
|
|
86
86
|
___
|
87
87
|
|
@@ -91,11 +91,11 @@ ___
|
|
91
91
|
|
92
92
|
#### Inherited from
|
93
93
|
|
94
|
-
|
94
|
+
OpenmrsResource.resourceVersion
|
95
95
|
|
96
96
|
#### Defined in
|
97
97
|
|
98
|
-
|
98
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:15
|
99
99
|
|
100
100
|
___
|
101
101
|
|
@@ -105,7 +105,7 @@ ___
|
|
105
105
|
|
106
106
|
#### Defined in
|
107
107
|
|
108
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:35](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L35)
|
108
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:35](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L35)
|
109
109
|
|
110
110
|
___
|
111
111
|
|
@@ -115,8 +115,8 @@ ___
|
|
115
115
|
|
116
116
|
#### Inherited from
|
117
117
|
|
118
|
-
|
118
|
+
OpenmrsResource.uuid
|
119
119
|
|
120
120
|
#### Defined in
|
121
121
|
|
122
|
-
|
122
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:11
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
## Hierarchy
|
6
6
|
|
7
|
-
-
|
7
|
+
- `OpenmrsResource`
|
8
8
|
|
9
9
|
↳ **`EncounterType`**
|
10
10
|
|
@@ -25,15 +25,15 @@
|
|
25
25
|
|
26
26
|
### auditInfo
|
27
27
|
|
28
|
-
• `Optional` **auditInfo**:
|
28
|
+
• `Optional` **auditInfo**: `AuditInfo`
|
29
29
|
|
30
30
|
#### Inherited from
|
31
31
|
|
32
|
-
|
32
|
+
OpenmrsResource.auditInfo
|
33
33
|
|
34
34
|
#### Defined in
|
35
35
|
|
36
|
-
|
36
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:14
|
37
37
|
|
38
38
|
___
|
39
39
|
|
@@ -43,7 +43,7 @@ ___
|
|
43
43
|
|
44
44
|
#### Defined in
|
45
45
|
|
46
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:23](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L23)
|
46
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:23](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L23)
|
47
47
|
|
48
48
|
___
|
49
49
|
|
@@ -53,25 +53,25 @@ ___
|
|
53
53
|
|
54
54
|
#### Inherited from
|
55
55
|
|
56
|
-
|
56
|
+
OpenmrsResource.display
|
57
57
|
|
58
58
|
#### Defined in
|
59
59
|
|
60
|
-
|
60
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:12
|
61
61
|
|
62
62
|
___
|
63
63
|
|
64
64
|
### links
|
65
65
|
|
66
|
-
• `Optional` **links**:
|
66
|
+
• `Optional` **links**: `Link`[]
|
67
67
|
|
68
68
|
#### Inherited from
|
69
69
|
|
70
|
-
|
70
|
+
OpenmrsResource.links
|
71
71
|
|
72
72
|
#### Defined in
|
73
73
|
|
74
|
-
|
74
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:13
|
75
75
|
|
76
76
|
___
|
77
77
|
|
@@ -81,7 +81,7 @@ ___
|
|
81
81
|
|
82
82
|
#### Defined in
|
83
83
|
|
84
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:22](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L22)
|
84
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:22](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L22)
|
85
85
|
|
86
86
|
___
|
87
87
|
|
@@ -91,11 +91,11 @@ ___
|
|
91
91
|
|
92
92
|
#### Inherited from
|
93
93
|
|
94
|
-
|
94
|
+
OpenmrsResource.resourceVersion
|
95
95
|
|
96
96
|
#### Defined in
|
97
97
|
|
98
|
-
|
98
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:15
|
99
99
|
|
100
100
|
___
|
101
101
|
|
@@ -105,7 +105,7 @@ ___
|
|
105
105
|
|
106
106
|
#### Defined in
|
107
107
|
|
108
|
-
[packages/framework/esm-api/src/types/encounter-resource.ts:24](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L24)
|
108
|
+
[packages/framework/esm-emr-api/src/types/encounter-resource.ts:24](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L24)
|
109
109
|
|
110
110
|
___
|
111
111
|
|
@@ -115,8 +115,8 @@ ___
|
|
115
115
|
|
116
116
|
#### Inherited from
|
117
117
|
|
118
|
-
|
118
|
+
OpenmrsResource.uuid
|
119
119
|
|
120
120
|
#### Defined in
|
121
121
|
|
122
|
-
|
122
|
+
packages/framework/esm-api/dist/types/openmrs-resource.d.ts:11
|
@@ -50,17 +50,17 @@ ___
|
|
50
50
|
|
51
51
|
### select
|
52
52
|
|
53
|
-
▸ `Optional` **select**(`extensions`):
|
53
|
+
▸ `Optional` **select**(`extensions`): `AssignedExtension`[]
|
54
54
|
|
55
55
|
#### Parameters
|
56
56
|
|
57
57
|
| Name | Type |
|
58
58
|
| :------ | :------ |
|
59
|
-
| `extensions` |
|
59
|
+
| `extensions` | `AssignedExtension`[] |
|
60
60
|
|
61
61
|
#### Returns
|
62
62
|
|
63
|
-
|
63
|
+
`AssignedExtension`[]
|
64
64
|
|
65
65
|
#### Defined in
|
66
66
|
|
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
#### Defined in
|
20
20
|
|
21
|
-
[packages/framework/esm-api/src/types/fhir-resource.ts:29](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/fhir-resource.ts#L29)
|
21
|
+
[packages/framework/esm-emr-api/src/types/fhir-resource.ts:29](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/fhir-resource.ts#L29)
|
22
22
|
|
23
23
|
___
|
24
24
|
|
@@ -28,7 +28,7 @@ ___
|
|
28
28
|
|
29
29
|
#### Defined in
|
30
30
|
|
31
|
-
[packages/framework/esm-api/src/types/fhir-resource.ts:31](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/fhir-resource.ts#L31)
|
31
|
+
[packages/framework/esm-emr-api/src/types/fhir-resource.ts:31](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/fhir-resource.ts#L31)
|
32
32
|
|
33
33
|
___
|
34
34
|
|
@@ -38,4 +38,4 @@ ___
|
|
38
38
|
|
39
39
|
#### Defined in
|
40
40
|
|
41
|
-
[packages/framework/esm-api/src/types/fhir-resource.ts:30](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/fhir-resource.ts#L30)
|
41
|
+
[packages/framework/esm-emr-api/src/types/fhir-resource.ts:30](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/fhir-resource.ts#L30)
|
@@ -0,0 +1,30 @@
|
|
1
|
+
[@openmrs/esm-framework](../API.md) / FHIRLocationResource
|
2
|
+
|
3
|
+
# Interface: FHIRLocationResource
|
4
|
+
|
5
|
+
## Table of contents
|
6
|
+
|
7
|
+
### Properties
|
8
|
+
|
9
|
+
- [resource](FHIRLocationResource.md#resource)
|
10
|
+
|
11
|
+
## Properties
|
12
|
+
|
13
|
+
### resource
|
14
|
+
|
15
|
+
• **resource**: `Object`
|
16
|
+
|
17
|
+
#### Type declaration
|
18
|
+
|
19
|
+
| Name | Type |
|
20
|
+
| :------ | :------ |
|
21
|
+
| `id` | `string` |
|
22
|
+
| `meta?` | { `tag?`: { `code`: `string` ; `display`: `string` ; `system`: `string` }[] } |
|
23
|
+
| `meta.tag?` | { `code`: `string` ; `display`: `string` ; `system`: `string` }[] |
|
24
|
+
| `name` | `string` |
|
25
|
+
| `resourceType` | `string` |
|
26
|
+
| `status` | ``"active"`` \| ``"inactive"`` |
|
27
|
+
|
28
|
+
#### Defined in
|
29
|
+
|
30
|
+
[packages/framework/esm-emr-api/src/types/location-resource.ts:36](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/location-resource.ts#L36)
|
@@ -46,4 +46,4 @@
|
|
46
46
|
|
47
47
|
#### Defined in
|
48
48
|
|
49
|
-
[packages/framework/esm-api/src/types/fhir-resource.ts:2](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/fhir-resource.ts#L2)
|
49
|
+
[packages/framework/esm-emr-api/src/types/fhir-resource.ts:2](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/fhir-resource.ts#L2)
|
@@ -22,7 +22,7 @@ An explanation of what the flag does, which will be displayed in the Implementer
|
|
22
22
|
|
23
23
|
#### Defined in
|
24
24
|
|
25
|
-
|
25
|
+
packages/framework/esm-globals/dist/types.d.ts:353
|
26
26
|
|
27
27
|
___
|
28
28
|
|
@@ -34,7 +34,7 @@ A code-friendly name for the flag, which will be used to reference it in code
|
|
34
34
|
|
35
35
|
#### Defined in
|
36
36
|
|
37
|
-
|
37
|
+
packages/framework/esm-globals/dist/types.d.ts:349
|
38
38
|
|
39
39
|
___
|
40
40
|
|
@@ -46,4 +46,4 @@ A human-friendly name which will be displayed in the Implementer Tools
|
|
46
46
|
|
47
47
|
#### Defined in
|
48
48
|
|
49
|
-
|
49
|
+
packages/framework/esm-globals/dist/types.d.ts:351
|