@openmrs/esm-framework 9.0.3-pre.4151 → 9.0.3-pre.4166
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 +1 -1
- package/docs/API.md +7 -0
- package/docs/functions/age.md +6 -6
- package/docs/functions/calculateInterpretation.md +2 -2
- package/docs/functions/canAccessStorage.md +4 -4
- package/docs/functions/convertToLocaleCalendar.md +1 -1
- package/docs/functions/createAttachment.md +2 -2
- package/docs/functions/createErrorHandler.md +1 -1
- package/docs/functions/deleteAttachmentPermanently.md +2 -2
- package/docs/functions/dispatchNotificationShown.md +1 -1
- package/docs/functions/dispatchPrecacheStaticDependencies.md +4 -4
- package/docs/functions/displayName.md +1 -1
- package/docs/functions/fetchCurrentPatient.md +1 -1
- package/docs/functions/formatDate.md +1 -1
- package/docs/functions/formatDatetime.md +1 -1
- package/docs/functions/formatDuration.md +1 -1
- package/docs/functions/formatPartialDate.md +4 -4
- package/docs/functions/formatPatientName.md +1 -1
- package/docs/functions/formatTime.md +1 -1
- package/docs/functions/formattedName.md +1 -1
- package/docs/functions/getAttachmentByUuid.md +2 -2
- package/docs/functions/getAttachments.md +2 -2
- package/docs/functions/getCoreTranslation.md +1 -1
- package/docs/functions/getDefaultCalendar.md +1 -1
- package/docs/functions/getDefaultsFromConfigSchema.md +1 -1
- package/docs/functions/getLocale.md +1 -1
- package/docs/functions/getPatientName.md +1 -1
- package/docs/functions/getVisitsForPatient.md +2 -2
- package/docs/functions/isOmrsDateStrict.md +1 -1
- package/docs/functions/isOmrsDateToday.md +1 -1
- package/docs/functions/isOnline.md +1 -1
- package/docs/functions/isVersionSatisfied.md +1 -1
- package/docs/functions/normalizeInterpretation.md +3 -3
- package/docs/functions/parseDate.md +1 -1
- package/docs/functions/registerDefaultCalendar.md +1 -1
- package/docs/functions/reportError.md +1 -1
- package/docs/functions/retry.md +4 -4
- package/docs/functions/saveVisit.md +2 -2
- package/docs/functions/selectPreferredName.md +1 -1
- package/docs/functions/shallowEqual.md +1 -1
- package/docs/functions/subscribeActionableNotificationShown.md +1 -1
- package/docs/functions/subscribeConnectivity.md +1 -1
- package/docs/functions/subscribeConnectivityChanged.md +1 -1
- package/docs/functions/subscribeNotificationShown.md +1 -1
- package/docs/functions/subscribePrecacheStaticDependencies.md +1 -1
- package/docs/functions/subscribeSnackbarShown.md +1 -1
- package/docs/functions/subscribeToastShown.md +1 -1
- package/docs/functions/toDateObjectStrict.md +1 -1
- package/docs/functions/toOmrsIsoString.md +4 -4
- package/docs/functions/updateVisit.md +2 -2
- package/docs/functions/useAssignedExtensions.md +2 -2
- package/docs/functions/useAttachments.md +2 -2
- package/docs/functions/useEmrConfiguration.md +1 -1
- package/docs/functions/useExtensionSlotMeta.md +1 -1
- package/docs/functions/useExtensionSlotStore.md +2 -2
- package/docs/functions/useFhirPagination.md +1 -1
- package/docs/functions/useLeftNav.md +1 -1
- package/docs/functions/useLeftNavStore.md +2 -2
- package/docs/functions/useLocations.md +2 -2
- package/docs/functions/useOpenmrsPagination.md +1 -1
- package/docs/functions/useOpenmrsSWR.md +2 -2
- package/docs/functions/useSession.md +2 -2
- package/docs/functions/useVisitContextStore.md +2 -2
- package/docs/functions/useVisitTypes.md +2 -2
- package/docs/interfaces/AssignedExtension.md +1 -1
- package/docs/interfaces/ConfigurableLinkProps.md +1 -1
- package/docs/interfaces/ConnectedExtension.md +1 -1
- package/docs/interfaces/ConnectivityChangedEvent.md +2 -2
- package/docs/interfaces/Diagnosis.md +20 -16
- package/docs/interfaces/Drug.md +17 -13
- package/docs/interfaces/EmrApiConfigurationResponse.md +51 -51
- package/docs/interfaces/Encounter.md +18 -14
- package/docs/interfaces/EncounterProvider.md +18 -14
- package/docs/interfaces/EncounterRole.md +17 -13
- package/docs/interfaces/EncounterType.md +17 -13
- package/docs/interfaces/ExtensionSlotBaseProps.md +3 -3
- package/docs/interfaces/ExtensionSlotProps.md +11 -11
- package/docs/interfaces/FeatureFlagDefinition.md +4 -4
- package/docs/interfaces/ImportMap.md +2 -2
- package/docs/interfaces/Location.md +19 -15
- package/docs/interfaces/NumericObservationProps.md +1 -1
- package/docs/interfaces/Obs.md +22 -18
- package/docs/interfaces/OpenWorkspace.md +24 -24
- package/docs/interfaces/OpenmrsAppRoutes.md +13 -13
- package/docs/interfaces/OpenmrsResource.md +9 -0
- package/docs/interfaces/Order.md +26 -22
- package/docs/interfaces/Patient.md +8 -8
- package/docs/interfaces/PatientIdentifier.md +7 -7
- package/docs/interfaces/PatientIdentifierType.md +7 -7
- package/docs/interfaces/PrecacheStaticDependenciesEvent.md +1 -1
- package/docs/interfaces/ResourceLoader.md +2 -2
- package/docs/interfaces/RetryOptions.md +4 -4
- package/docs/interfaces/ShowActionableNotificationEvent.md +7 -7
- package/docs/interfaces/ShowNotificationEvent.md +6 -6
- package/docs/interfaces/ShowSnackbarEvent.md +9 -9
- package/docs/interfaces/ShowToastEvent.md +6 -6
- package/docs/interfaces/SpaConfig.md +6 -6
- package/docs/interfaces/UseServerFetchAllOptions.md +2 -2
- package/docs/interfaces/UseServerInfiniteOptions.md +2 -2
- package/docs/interfaces/UseServerPaginationOptions.md +2 -2
- package/docs/interfaces/Visit.md +1 -1
- package/docs/interfaces/VisitReturnType.md +2 -2
- package/docs/interfaces/WorkspaceDefinition2.md +4 -4
- package/docs/interfaces/WorkspaceGroupDefinition.md +3 -3
- package/docs/interfaces/WorkspaceGroupDefinition2.md +6 -6
- package/docs/interfaces/WorkspaceRegistration.md +4 -0
- package/docs/interfaces/WorkspaceWindowDefinition2.md +7 -7
- package/docs/type-aliases/CurrentPatient.md +1 -1
- package/docs/type-aliases/DateInput.md +1 -1
- package/docs/type-aliases/ExtensionDefinition.md +12 -12
- package/docs/type-aliases/FormatDateMode.md +1 -1
- package/docs/type-aliases/FormatDateOptions.md +10 -10
- package/docs/type-aliases/ModalDefinition.md +3 -3
- package/docs/type-aliases/NameUse.md +1 -1
- package/docs/type-aliases/OpenmrsRoutes.md +1 -1
- package/docs/type-aliases/PageDefinition.md +1 -1
- package/docs/type-aliases/SpaEnvironment.md +1 -1
- package/docs/type-aliases/UseOpenmrsSWROptions.md +1 -1
- package/docs/type-aliases/WorkspaceDefinition.md +14 -14
- package/docs/type-aliases/WorkspaceWindowState.md +1 -1
- package/docs/variables/useConnectedExtensions.md +2 -2
- package/docs/variables/useExtensionStore.md +9 -9
- package/package.json +20 -20
|
@@ -4,9 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
Defined in: [packages/framework/esm-emr-api/src/types/encounter-resource.ts:32](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L32)
|
|
6
6
|
|
|
7
|
+
Superclass for all Openmrs Resources, with strict typings.
|
|
8
|
+
If the subclass does not have all attributes (including optional ones)
|
|
9
|
+
accounted for, use OpenmrsResource instead.
|
|
10
|
+
|
|
7
11
|
## Extends
|
|
8
12
|
|
|
9
|
-
- `OpenmrsResource`
|
|
13
|
+
- [`OpenmrsResource`](OpenmrsResource.md)
|
|
10
14
|
|
|
11
15
|
## Indexable
|
|
12
16
|
|
|
@@ -16,13 +20,13 @@ Defined in: [packages/framework/esm-emr-api/src/types/encounter-resource.ts:32](
|
|
|
16
20
|
|
|
17
21
|
### auditInfo?
|
|
18
22
|
|
|
19
|
-
> `optional` **auditInfo**: `AuditInfo`
|
|
23
|
+
> `optional` **auditInfo**: [`AuditInfo`](AuditInfo.md)
|
|
20
24
|
|
|
21
|
-
Defined in: packages/framework/esm-api/
|
|
25
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L16)
|
|
22
26
|
|
|
23
27
|
#### Inherited from
|
|
24
28
|
|
|
25
|
-
`OpenmrsResource.auditInfo`
|
|
29
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`auditInfo`](OpenmrsResource.md#auditinfo)
|
|
26
30
|
|
|
27
31
|
***
|
|
28
32
|
|
|
@@ -38,23 +42,23 @@ Defined in: [packages/framework/esm-emr-api/src/types/encounter-resource.ts:34](
|
|
|
38
42
|
|
|
39
43
|
> `optional` **display**: `string`
|
|
40
44
|
|
|
41
|
-
Defined in: packages/framework/esm-api/
|
|
45
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L14)
|
|
42
46
|
|
|
43
47
|
#### Inherited from
|
|
44
48
|
|
|
45
|
-
`OpenmrsResource.display`
|
|
49
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`display`](OpenmrsResource.md#display)
|
|
46
50
|
|
|
47
51
|
***
|
|
48
52
|
|
|
49
53
|
### links?
|
|
50
54
|
|
|
51
|
-
> `optional` **links**: `Link`[]
|
|
55
|
+
> `optional` **links**: [`Link`](Link.md)[]
|
|
52
56
|
|
|
53
|
-
Defined in: packages/framework/esm-api/
|
|
57
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L15)
|
|
54
58
|
|
|
55
59
|
#### Inherited from
|
|
56
60
|
|
|
57
|
-
`OpenmrsResource.links`
|
|
61
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`links`](OpenmrsResource.md#links)
|
|
58
62
|
|
|
59
63
|
***
|
|
60
64
|
|
|
@@ -70,11 +74,11 @@ Defined in: [packages/framework/esm-emr-api/src/types/encounter-resource.ts:33](
|
|
|
70
74
|
|
|
71
75
|
> `optional` **resourceVersion**: `string`
|
|
72
76
|
|
|
73
|
-
Defined in: packages/framework/esm-api/
|
|
77
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L17)
|
|
74
78
|
|
|
75
79
|
#### Inherited from
|
|
76
80
|
|
|
77
|
-
`OpenmrsResource.resourceVersion`
|
|
81
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`resourceVersion`](OpenmrsResource.md#resourceversion)
|
|
78
82
|
|
|
79
83
|
***
|
|
80
84
|
|
|
@@ -90,8 +94,8 @@ Defined in: [packages/framework/esm-emr-api/src/types/encounter-resource.ts:35](
|
|
|
90
94
|
|
|
91
95
|
> **uuid**: `string`
|
|
92
96
|
|
|
93
|
-
Defined in: packages/framework/esm-api/
|
|
97
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:13](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L13)
|
|
94
98
|
|
|
95
99
|
#### Inherited from
|
|
96
100
|
|
|
97
|
-
`OpenmrsResource.uuid`
|
|
101
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`uuid`](OpenmrsResource.md#uuid)
|
|
@@ -4,9 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
Defined in: [packages/framework/esm-emr-api/src/types/encounter-resource.ts:21](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/encounter-resource.ts#L21)
|
|
6
6
|
|
|
7
|
+
Superclass for all Openmrs Resources, with strict typings.
|
|
8
|
+
If the subclass does not have all attributes (including optional ones)
|
|
9
|
+
accounted for, use OpenmrsResource instead.
|
|
10
|
+
|
|
7
11
|
## Extends
|
|
8
12
|
|
|
9
|
-
- `OpenmrsResource`
|
|
13
|
+
- [`OpenmrsResource`](OpenmrsResource.md)
|
|
10
14
|
|
|
11
15
|
## Indexable
|
|
12
16
|
|
|
@@ -16,13 +20,13 @@ Defined in: [packages/framework/esm-emr-api/src/types/encounter-resource.ts:21](
|
|
|
16
20
|
|
|
17
21
|
### auditInfo?
|
|
18
22
|
|
|
19
|
-
> `optional` **auditInfo**: `AuditInfo`
|
|
23
|
+
> `optional` **auditInfo**: [`AuditInfo`](AuditInfo.md)
|
|
20
24
|
|
|
21
|
-
Defined in: packages/framework/esm-api/
|
|
25
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L16)
|
|
22
26
|
|
|
23
27
|
#### Inherited from
|
|
24
28
|
|
|
25
|
-
`OpenmrsResource.auditInfo`
|
|
29
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`auditInfo`](OpenmrsResource.md#auditinfo)
|
|
26
30
|
|
|
27
31
|
***
|
|
28
32
|
|
|
@@ -38,23 +42,23 @@ Defined in: [packages/framework/esm-emr-api/src/types/encounter-resource.ts:23](
|
|
|
38
42
|
|
|
39
43
|
> `optional` **display**: `string`
|
|
40
44
|
|
|
41
|
-
Defined in: packages/framework/esm-api/
|
|
45
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L14)
|
|
42
46
|
|
|
43
47
|
#### Inherited from
|
|
44
48
|
|
|
45
|
-
`OpenmrsResource.display`
|
|
49
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`display`](OpenmrsResource.md#display)
|
|
46
50
|
|
|
47
51
|
***
|
|
48
52
|
|
|
49
53
|
### links?
|
|
50
54
|
|
|
51
|
-
> `optional` **links**: `Link`[]
|
|
55
|
+
> `optional` **links**: [`Link`](Link.md)[]
|
|
52
56
|
|
|
53
|
-
Defined in: packages/framework/esm-api/
|
|
57
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L15)
|
|
54
58
|
|
|
55
59
|
#### Inherited from
|
|
56
60
|
|
|
57
|
-
`OpenmrsResource.links`
|
|
61
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`links`](OpenmrsResource.md#links)
|
|
58
62
|
|
|
59
63
|
***
|
|
60
64
|
|
|
@@ -70,11 +74,11 @@ Defined in: [packages/framework/esm-emr-api/src/types/encounter-resource.ts:22](
|
|
|
70
74
|
|
|
71
75
|
> `optional` **resourceVersion**: `string`
|
|
72
76
|
|
|
73
|
-
Defined in: packages/framework/esm-api/
|
|
77
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L17)
|
|
74
78
|
|
|
75
79
|
#### Inherited from
|
|
76
80
|
|
|
77
|
-
`OpenmrsResource.resourceVersion`
|
|
81
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`resourceVersion`](OpenmrsResource.md#resourceversion)
|
|
78
82
|
|
|
79
83
|
***
|
|
80
84
|
|
|
@@ -90,8 +94,8 @@ Defined in: [packages/framework/esm-emr-api/src/types/encounter-resource.ts:24](
|
|
|
90
94
|
|
|
91
95
|
> **uuid**: `string`
|
|
92
96
|
|
|
93
|
-
Defined in: packages/framework/esm-api/
|
|
97
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:13](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L13)
|
|
94
98
|
|
|
95
99
|
#### Inherited from
|
|
96
100
|
|
|
97
|
-
`OpenmrsResource.uuid`
|
|
101
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`uuid`](OpenmrsResource.md#uuid)
|
|
@@ -36,7 +36,7 @@ The name of the extension slot
|
|
|
36
36
|
|
|
37
37
|
### select()?
|
|
38
38
|
|
|
39
|
-
> `optional` **select**: (`extensions`) => `AssignedExtension`[]
|
|
39
|
+
> `optional` **select**: (`extensions`) => [`AssignedExtension`](AssignedExtension.md)[]
|
|
40
40
|
|
|
41
41
|
Defined in: [packages/framework/esm-react-utils/src/ExtensionSlot.tsx:20](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/ExtensionSlot.tsx#L20)
|
|
42
42
|
|
|
@@ -47,11 +47,11 @@ An optional function for filtering or otherwise modifying
|
|
|
47
47
|
|
|
48
48
|
##### extensions
|
|
49
49
|
|
|
50
|
-
`AssignedExtension`[]
|
|
50
|
+
[`AssignedExtension`](AssignedExtension.md)[]
|
|
51
51
|
|
|
52
52
|
#### Returns
|
|
53
53
|
|
|
54
|
-
`AssignedExtension`[]
|
|
54
|
+
[`AssignedExtension`](AssignedExtension.md)[]
|
|
55
55
|
|
|
56
56
|
***
|
|
57
57
|
|
|
@@ -127,7 +127,7 @@ Defined in: node\_modules/@types/react/index.d.ts:2629
|
|
|
127
127
|
|
|
128
128
|
### aria-checked?
|
|
129
129
|
|
|
130
|
-
> `optional` **aria-checked**: `boolean` \| `"
|
|
130
|
+
> `optional` **aria-checked**: `boolean` \| `"false"` \| `"true"` \| `"mixed"`
|
|
131
131
|
|
|
132
132
|
Defined in: node\_modules/@types/react/index.d.ts:2634
|
|
133
133
|
|
|
@@ -238,7 +238,7 @@ aria-owns.
|
|
|
238
238
|
|
|
239
239
|
### aria-current?
|
|
240
240
|
|
|
241
|
-
> `optional` **aria-current**: `boolean` \| `"
|
|
241
|
+
> `optional` **aria-current**: `boolean` \| `"date"` \| `"false"` \| `"time"` \| `"true"` \| `"location"` \| `"page"` \| `"step"`
|
|
242
242
|
|
|
243
243
|
Defined in: node\_modules/@types/react/index.d.ts:2661
|
|
244
244
|
|
|
@@ -325,7 +325,7 @@ Indicates that the element is perceivable but disabled, so it is not editable or
|
|
|
325
325
|
|
|
326
326
|
### ~~aria-dropeffect?~~
|
|
327
327
|
|
|
328
|
-
> `optional` **aria-dropeffect**: `"
|
|
328
|
+
> `optional` **aria-dropeffect**: `"copy"` \| `"link"` \| `"none"` \| `"move"` \| `"execute"` \| `"popup"`
|
|
329
329
|
|
|
330
330
|
Defined in: node\_modules/@types/react/index.d.ts:2686
|
|
331
331
|
|
|
@@ -409,7 +409,7 @@ in ARIA 1.1
|
|
|
409
409
|
|
|
410
410
|
### aria-haspopup?
|
|
411
411
|
|
|
412
|
-
> `optional` **aria-haspopup**: `boolean` \| `"
|
|
412
|
+
> `optional` **aria-haspopup**: `boolean` \| `"false"` \| `"true"` \| `"dialog"` \| `"menu"` \| `"grid"` \| `"listbox"` \| `"tree"`
|
|
413
413
|
|
|
414
414
|
Defined in: node\_modules/@types/react/index.d.ts:2705
|
|
415
415
|
|
|
@@ -441,7 +441,7 @@ aria-disabled.
|
|
|
441
441
|
|
|
442
442
|
### aria-invalid?
|
|
443
443
|
|
|
444
|
-
> `optional` **aria-invalid**: `boolean` \| `"
|
|
444
|
+
> `optional` **aria-invalid**: `boolean` \| `"false"` \| `"true"` \| `"grammar"` \| `"spelling"`
|
|
445
445
|
|
|
446
446
|
Defined in: node\_modules/@types/react/index.d.ts:2715
|
|
447
447
|
|
|
@@ -645,7 +645,7 @@ aria-setsize.
|
|
|
645
645
|
|
|
646
646
|
### aria-pressed?
|
|
647
647
|
|
|
648
|
-
> `optional` **aria-pressed**: `boolean` \| `"
|
|
648
|
+
> `optional` **aria-pressed**: `boolean` \| `"false"` \| `"true"` \| `"mixed"`
|
|
649
649
|
|
|
650
650
|
Defined in: node\_modules/@types/react/index.d.ts:2760
|
|
651
651
|
|
|
@@ -1105,7 +1105,7 @@ Defined in: node\_modules/@types/react/index.d.ts:2919
|
|
|
1105
1105
|
|
|
1106
1106
|
### enterKeyHint?
|
|
1107
1107
|
|
|
1108
|
-
> `optional` **enterKeyHint**: `"
|
|
1108
|
+
> `optional` **enterKeyHint**: `"search"` \| `"next"` \| `"enter"` \| `"done"` \| `"go"` \| `"previous"` \| `"send"`
|
|
1109
1109
|
|
|
1110
1110
|
Defined in: node\_modules/@types/react/index.d.ts:2920
|
|
1111
1111
|
|
|
@@ -1187,7 +1187,7 @@ Defined in: node\_modules/@types/react/index.d.ts:2942
|
|
|
1187
1187
|
|
|
1188
1188
|
### inputMode?
|
|
1189
1189
|
|
|
1190
|
-
> `optional` **inputMode**: `"
|
|
1190
|
+
> `optional` **inputMode**: `"search"` \| `"numeric"` \| `"text"` \| `"url"` \| `"none"` \| `"tel"` \| `"email"` \| `"decimal"`
|
|
1191
1191
|
|
|
1192
1192
|
Defined in: node\_modules/@types/react/index.d.ts:2969
|
|
1193
1193
|
|
|
@@ -3349,7 +3349,7 @@ Defined in: node\_modules/@types/react/index.d.ts:2961
|
|
|
3349
3349
|
|
|
3350
3350
|
### select()?
|
|
3351
3351
|
|
|
3352
|
-
> `optional` **select**: (`extensions`) => `AssignedExtension`[]
|
|
3352
|
+
> `optional` **select**: (`extensions`) => [`AssignedExtension`](AssignedExtension.md)[]
|
|
3353
3353
|
|
|
3354
3354
|
Defined in: [packages/framework/esm-react-utils/src/ExtensionSlot.tsx:20](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/ExtensionSlot.tsx#L20)
|
|
3355
3355
|
|
|
@@ -3360,11 +3360,11 @@ An optional function for filtering or otherwise modifying
|
|
|
3360
3360
|
|
|
3361
3361
|
##### extensions
|
|
3362
3362
|
|
|
3363
|
-
`AssignedExtension`[]
|
|
3363
|
+
[`AssignedExtension`](AssignedExtension.md)[]
|
|
3364
3364
|
|
|
3365
3365
|
#### Returns
|
|
3366
3366
|
|
|
3367
|
-
`AssignedExtension`[]
|
|
3367
|
+
[`AssignedExtension`](AssignedExtension.md)[]
|
|
3368
3368
|
|
|
3369
3369
|
#### Inherited from
|
|
3370
3370
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: FeatureFlagDefinition
|
|
4
4
|
|
|
5
|
-
Defined in: packages/framework/esm-globals/
|
|
5
|
+
Defined in: [packages/framework/esm-globals/src/types.ts:363](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L363)
|
|
6
6
|
|
|
7
7
|
A definition of a feature flag extracted from the routes.json
|
|
8
8
|
|
|
@@ -12,7 +12,7 @@ A definition of a feature flag extracted from the routes.json
|
|
|
12
12
|
|
|
13
13
|
> **description**: `string`
|
|
14
14
|
|
|
15
|
-
Defined in: packages/framework/esm-globals/
|
|
15
|
+
Defined in: [packages/framework/esm-globals/src/types.ts:369](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L369)
|
|
16
16
|
|
|
17
17
|
An explanation of what the flag does, which will be displayed in the Implementer Tools
|
|
18
18
|
|
|
@@ -22,7 +22,7 @@ An explanation of what the flag does, which will be displayed in the Implementer
|
|
|
22
22
|
|
|
23
23
|
> **flagName**: `string`
|
|
24
24
|
|
|
25
|
-
Defined in: packages/framework/esm-globals/
|
|
25
|
+
Defined in: [packages/framework/esm-globals/src/types.ts:365](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L365)
|
|
26
26
|
|
|
27
27
|
A code-friendly name for the flag, which will be used to reference it in code
|
|
28
28
|
|
|
@@ -32,6 +32,6 @@ A code-friendly name for the flag, which will be used to reference it in code
|
|
|
32
32
|
|
|
33
33
|
> **label**: `string`
|
|
34
34
|
|
|
35
|
-
Defined in: packages/framework/esm-globals/
|
|
35
|
+
Defined in: [packages/framework/esm-globals/src/types.ts:367](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L367)
|
|
36
36
|
|
|
37
37
|
A human-friendly name which will be displayed in the Implementer Tools
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: ImportMap
|
|
4
4
|
|
|
5
|
-
Defined in: packages/framework/esm-globals/
|
|
5
|
+
Defined in: [packages/framework/esm-globals/src/types.ts:77](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L77)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,4 +10,4 @@ Defined in: packages/framework/esm-globals/dist/types.d.ts:73
|
|
|
10
10
|
|
|
11
11
|
> **imports**: `Record`\<`string`, `string`\>
|
|
12
12
|
|
|
13
|
-
Defined in: packages/framework/esm-globals/
|
|
13
|
+
Defined in: [packages/framework/esm-globals/src/types.ts:78](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L78)
|
|
@@ -4,9 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
Defined in: [packages/framework/esm-emr-api/src/types/location-resource.ts:3](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/location-resource.ts#L3)
|
|
6
6
|
|
|
7
|
+
Superclass for all Openmrs Resources, with strict typings.
|
|
8
|
+
If the subclass does not have all attributes (including optional ones)
|
|
9
|
+
accounted for, use OpenmrsResource instead.
|
|
10
|
+
|
|
7
11
|
## Extends
|
|
8
12
|
|
|
9
|
-
- `OpenmrsResource`
|
|
13
|
+
- [`OpenmrsResource`](OpenmrsResource.md)
|
|
10
14
|
|
|
11
15
|
## Indexable
|
|
12
16
|
|
|
@@ -136,7 +140,7 @@ Defined in: [packages/framework/esm-emr-api/src/types/location-resource.ts:21](h
|
|
|
136
140
|
|
|
137
141
|
### attributes?
|
|
138
142
|
|
|
139
|
-
> `optional` **attributes**: `OpenmrsResource`[]
|
|
143
|
+
> `optional` **attributes**: [`OpenmrsResource`](OpenmrsResource.md)[]
|
|
140
144
|
|
|
141
145
|
Defined in: [packages/framework/esm-emr-api/src/types/location-resource.ts:29](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/location-resource.ts#L29)
|
|
142
146
|
|
|
@@ -144,13 +148,13 @@ Defined in: [packages/framework/esm-emr-api/src/types/location-resource.ts:29](h
|
|
|
144
148
|
|
|
145
149
|
### auditInfo?
|
|
146
150
|
|
|
147
|
-
> `optional` **auditInfo**: `AuditInfo`
|
|
151
|
+
> `optional` **auditInfo**: [`AuditInfo`](AuditInfo.md)
|
|
148
152
|
|
|
149
|
-
Defined in: packages/framework/esm-api/
|
|
153
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L16)
|
|
150
154
|
|
|
151
155
|
#### Inherited from
|
|
152
156
|
|
|
153
|
-
`OpenmrsResource.auditInfo`
|
|
157
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`auditInfo`](OpenmrsResource.md#auditinfo)
|
|
154
158
|
|
|
155
159
|
***
|
|
156
160
|
|
|
@@ -198,11 +202,11 @@ Defined in: [packages/framework/esm-emr-api/src/types/location-resource.ts:5](ht
|
|
|
198
202
|
|
|
199
203
|
> `optional` **display**: `string`
|
|
200
204
|
|
|
201
|
-
Defined in: packages/framework/esm-api/
|
|
205
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L14)
|
|
202
206
|
|
|
203
207
|
#### Inherited from
|
|
204
208
|
|
|
205
|
-
`OpenmrsResource.display`
|
|
209
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`display`](OpenmrsResource.md#display)
|
|
206
210
|
|
|
207
211
|
***
|
|
208
212
|
|
|
@@ -216,13 +220,13 @@ Defined in: [packages/framework/esm-emr-api/src/types/location-resource.ts:11](h
|
|
|
216
220
|
|
|
217
221
|
### links?
|
|
218
222
|
|
|
219
|
-
> `optional` **links**: `Link`[]
|
|
223
|
+
> `optional` **links**: [`Link`](Link.md)[]
|
|
220
224
|
|
|
221
|
-
Defined in: packages/framework/esm-api/
|
|
225
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L15)
|
|
222
226
|
|
|
223
227
|
#### Inherited from
|
|
224
228
|
|
|
225
|
-
`OpenmrsResource.links`
|
|
229
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`links`](OpenmrsResource.md#links)
|
|
226
230
|
|
|
227
231
|
***
|
|
228
232
|
|
|
@@ -262,11 +266,11 @@ Defined in: [packages/framework/esm-emr-api/src/types/location-resource.ts:9](ht
|
|
|
262
266
|
|
|
263
267
|
> `optional` **resourceVersion**: `string`
|
|
264
268
|
|
|
265
|
-
Defined in: packages/framework/esm-api/
|
|
269
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L17)
|
|
266
270
|
|
|
267
271
|
#### Inherited from
|
|
268
272
|
|
|
269
|
-
`OpenmrsResource.resourceVersion`
|
|
273
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`resourceVersion`](OpenmrsResource.md#resourceversion)
|
|
270
274
|
|
|
271
275
|
***
|
|
272
276
|
|
|
@@ -288,7 +292,7 @@ Defined in: [packages/framework/esm-emr-api/src/types/location-resource.ts:7](ht
|
|
|
288
292
|
|
|
289
293
|
### tags?
|
|
290
294
|
|
|
291
|
-
> `optional` **tags**: `OpenmrsResource`[]
|
|
295
|
+
> `optional` **tags**: [`OpenmrsResource`](OpenmrsResource.md)[]
|
|
292
296
|
|
|
293
297
|
Defined in: [packages/framework/esm-emr-api/src/types/location-resource.ts:28](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/location-resource.ts#L28)
|
|
294
298
|
|
|
@@ -298,8 +302,8 @@ Defined in: [packages/framework/esm-emr-api/src/types/location-resource.ts:28](h
|
|
|
298
302
|
|
|
299
303
|
> **uuid**: `string`
|
|
300
304
|
|
|
301
|
-
Defined in: packages/framework/esm-api/
|
|
305
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:13](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L13)
|
|
302
306
|
|
|
303
307
|
#### Inherited from
|
|
304
308
|
|
|
305
|
-
`OpenmrsResource.uuid`
|
|
309
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`uuid`](OpenmrsResource.md#uuid)
|
|
@@ -18,7 +18,7 @@ Concept UUID to fetch reference range from
|
|
|
18
18
|
|
|
19
19
|
### interpretation?
|
|
20
20
|
|
|
21
|
-
> `optional` **interpretation**: `"
|
|
21
|
+
> `optional` **interpretation**: `"normal"` \| `"high"` \| `"low"` \| `"NORMAL"` \| `"HIGH"` \| `"CRITICALLY_HIGH"` \| `"OFF_SCALE_HIGH"` \| `"LOW"` \| `"CRITICALLY_LOW"` \| `"OFF_SCALE_LOW"` \| `"critically_low"` \| `"critically_high"` \| `"off_scale_low"` \| `"off_scale_high"`
|
|
22
22
|
|
|
23
23
|
Defined in: [packages/framework/esm-styleguide/src/numeric-observation/numeric-observation.component.tsx:23](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/numeric-observation/numeric-observation.component.tsx#L23)
|
|
24
24
|
|
package/docs/interfaces/Obs.md
CHANGED
|
@@ -4,9 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
Defined in: [packages/framework/esm-emr-api/src/types/obs-resource.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/obs-resource.ts#L5)
|
|
6
6
|
|
|
7
|
+
Superclass for all Openmrs Resources, with strict typings.
|
|
8
|
+
If the subclass does not have all attributes (including optional ones)
|
|
9
|
+
accounted for, use OpenmrsResource instead.
|
|
10
|
+
|
|
7
11
|
## Extends
|
|
8
12
|
|
|
9
|
-
- `OpenmrsResource`
|
|
13
|
+
- [`OpenmrsResource`](OpenmrsResource.md)
|
|
10
14
|
|
|
11
15
|
## Indexable
|
|
12
16
|
|
|
@@ -24,13 +28,13 @@ Defined in: [packages/framework/esm-emr-api/src/types/obs-resource.ts:9](https:/
|
|
|
24
28
|
|
|
25
29
|
### auditInfo?
|
|
26
30
|
|
|
27
|
-
> `optional` **auditInfo**: `AuditInfo`
|
|
31
|
+
> `optional` **auditInfo**: [`AuditInfo`](AuditInfo.md)
|
|
28
32
|
|
|
29
|
-
Defined in: packages/framework/esm-api/
|
|
33
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L16)
|
|
30
34
|
|
|
31
35
|
#### Inherited from
|
|
32
36
|
|
|
33
|
-
`OpenmrsResource.auditInfo`
|
|
37
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`auditInfo`](OpenmrsResource.md#auditinfo)
|
|
34
38
|
|
|
35
39
|
***
|
|
36
40
|
|
|
@@ -44,7 +48,7 @@ Defined in: [packages/framework/esm-emr-api/src/types/obs-resource.ts:13](https:
|
|
|
44
48
|
|
|
45
49
|
### concept?
|
|
46
50
|
|
|
47
|
-
> `optional` **concept**: `Concept`
|
|
51
|
+
> `optional` **concept**: [`Concept`](Concept.md)
|
|
48
52
|
|
|
49
53
|
Defined in: [packages/framework/esm-emr-api/src/types/obs-resource.ts:6](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/obs-resource.ts#L6)
|
|
50
54
|
|
|
@@ -54,11 +58,11 @@ Defined in: [packages/framework/esm-emr-api/src/types/obs-resource.ts:6](https:/
|
|
|
54
58
|
|
|
55
59
|
> `optional` **display**: `string`
|
|
56
60
|
|
|
57
|
-
Defined in: packages/framework/esm-api/
|
|
61
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L14)
|
|
58
62
|
|
|
59
63
|
#### Inherited from
|
|
60
64
|
|
|
61
|
-
`OpenmrsResource.display`
|
|
65
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`display`](OpenmrsResource.md#display)
|
|
62
66
|
|
|
63
67
|
***
|
|
64
68
|
|
|
@@ -104,13 +108,13 @@ Defined in: [packages/framework/esm-emr-api/src/types/obs-resource.ts:22](https:
|
|
|
104
108
|
|
|
105
109
|
### links?
|
|
106
110
|
|
|
107
|
-
> `optional` **links**: `Link`[]
|
|
111
|
+
> `optional` **links**: [`Link`](Link.md)[]
|
|
108
112
|
|
|
109
|
-
Defined in: packages/framework/esm-api/
|
|
113
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L15)
|
|
110
114
|
|
|
111
115
|
#### Inherited from
|
|
112
116
|
|
|
113
|
-
`OpenmrsResource.links`
|
|
117
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`links`](OpenmrsResource.md#links)
|
|
114
118
|
|
|
115
119
|
***
|
|
116
120
|
|
|
@@ -140,7 +144,7 @@ Defined in: [packages/framework/esm-emr-api/src/types/obs-resource.ts:10](https:
|
|
|
140
144
|
|
|
141
145
|
### order?
|
|
142
146
|
|
|
143
|
-
> `optional` **order**: `OpenmrsResource`
|
|
147
|
+
> `optional` **order**: [`OpenmrsResource`](OpenmrsResource.md)
|
|
144
148
|
|
|
145
149
|
Defined in: [packages/framework/esm-emr-api/src/types/obs-resource.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/obs-resource.ts#L15)
|
|
146
150
|
|
|
@@ -148,7 +152,7 @@ Defined in: [packages/framework/esm-emr-api/src/types/obs-resource.ts:15](https:
|
|
|
148
152
|
|
|
149
153
|
### person?
|
|
150
154
|
|
|
151
|
-
> `optional` **person**: `Person`
|
|
155
|
+
> `optional` **person**: [`Person`](Person.md)
|
|
152
156
|
|
|
153
157
|
Defined in: [packages/framework/esm-emr-api/src/types/obs-resource.ts:7](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/obs-resource.ts#L7)
|
|
154
158
|
|
|
@@ -158,11 +162,11 @@ Defined in: [packages/framework/esm-emr-api/src/types/obs-resource.ts:7](https:/
|
|
|
158
162
|
|
|
159
163
|
> `optional` **resourceVersion**: `string`
|
|
160
164
|
|
|
161
|
-
Defined in: packages/framework/esm-api/
|
|
165
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L17)
|
|
162
166
|
|
|
163
167
|
#### Inherited from
|
|
164
168
|
|
|
165
|
-
`OpenmrsResource.resourceVersion`
|
|
169
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`resourceVersion`](OpenmrsResource.md#resourceversion)
|
|
166
170
|
|
|
167
171
|
***
|
|
168
172
|
|
|
@@ -178,17 +182,17 @@ Defined in: [packages/framework/esm-emr-api/src/types/obs-resource.ts:21](https:
|
|
|
178
182
|
|
|
179
183
|
> **uuid**: `string`
|
|
180
184
|
|
|
181
|
-
Defined in: packages/framework/esm-api/
|
|
185
|
+
Defined in: [packages/framework/esm-api/src/types/openmrs-resource.ts:13](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L13)
|
|
182
186
|
|
|
183
187
|
#### Inherited from
|
|
184
188
|
|
|
185
|
-
`OpenmrsResource.uuid`
|
|
189
|
+
[`OpenmrsResource`](OpenmrsResource.md).[`uuid`](OpenmrsResource.md#uuid)
|
|
186
190
|
|
|
187
191
|
***
|
|
188
192
|
|
|
189
193
|
### value?
|
|
190
194
|
|
|
191
|
-
> `optional` **value**: `string` \| `number` \| `boolean` \| `OpenmrsResource`
|
|
195
|
+
> `optional` **value**: `string` \| `number` \| `boolean` \| [`OpenmrsResource`](OpenmrsResource.md)
|
|
192
196
|
|
|
193
197
|
Defined in: [packages/framework/esm-emr-api/src/types/obs-resource.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/obs-resource.ts#L17)
|
|
194
198
|
|
|
@@ -196,7 +200,7 @@ Defined in: [packages/framework/esm-emr-api/src/types/obs-resource.ts:17](https:
|
|
|
196
200
|
|
|
197
201
|
### valueCodedName?
|
|
198
202
|
|
|
199
|
-
> `optional` **valueCodedName**: `OpenmrsResource`
|
|
203
|
+
> `optional` **valueCodedName**: [`OpenmrsResource`](OpenmrsResource.md)
|
|
200
204
|
|
|
201
205
|
Defined in: [packages/framework/esm-emr-api/src/types/obs-resource.ts:11](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/types/obs-resource.ts#L11)
|
|
202
206
|
|