@openmrs/esm-framework 6.2.1-pre.2777 → 6.2.1-pre.2779
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 +2 -2
- package/dist/openmrs-esm-framework.js +1 -1
- package/dist/openmrs-esm-framework.js.map +1 -1
- package/docs/API.md +15 -1
- package/docs/interfaces/Concept.md +50 -6
- package/docs/interfaces/ConceptClass.md +122 -0
- package/docs/interfaces/Diagnosis.md +178 -0
- package/docs/interfaces/Encounter.md +177 -0
- package/docs/interfaces/EncounterProvider.md +111 -0
- package/docs/interfaces/EncounterRole.md +122 -0
- package/docs/interfaces/EncounterType.md +122 -0
- package/docs/interfaces/Location.md +3 -3
- package/docs/interfaces/NewVisitPayload.md +7 -7
- package/docs/interfaces/Obs.md +276 -0
- package/docs/interfaces/OpenmrsDatePickerProps.md +4 -4
- package/docs/interfaces/OpenmrsResource.md +0 -2
- package/docs/interfaces/OpenmrsResourceStrict.md +16 -0
- package/docs/interfaces/StyleguideConfigObject.md +18 -0
- package/docs/interfaces/Visit.md +11 -11
- package/docs/interfaces/VisitType.md +3 -3
- package/package.json +18 -18
@@ -0,0 +1,111 @@
|
|
1
|
+
[@openmrs/esm-framework](../API.md) / EncounterProvider
|
2
|
+
|
3
|
+
# Interface: EncounterProvider
|
4
|
+
|
5
|
+
## Hierarchy
|
6
|
+
|
7
|
+
- [`OpenmrsResourceStrict`](OpenmrsResourceStrict.md)
|
8
|
+
|
9
|
+
↳ **`EncounterProvider`**
|
10
|
+
|
11
|
+
## Table of contents
|
12
|
+
|
13
|
+
### Properties
|
14
|
+
|
15
|
+
- [auditInfo](EncounterProvider.md#auditinfo)
|
16
|
+
- [display](EncounterProvider.md#display)
|
17
|
+
- [encounterRole](EncounterProvider.md#encounterrole)
|
18
|
+
- [links](EncounterProvider.md#links)
|
19
|
+
- [provider](EncounterProvider.md#provider)
|
20
|
+
- [resourceVersion](EncounterProvider.md#resourceversion)
|
21
|
+
- [uuid](EncounterProvider.md#uuid)
|
22
|
+
|
23
|
+
## Properties
|
24
|
+
|
25
|
+
### auditInfo
|
26
|
+
|
27
|
+
• `Optional` **auditInfo**: [`AuditInfo`](AuditInfo.md)
|
28
|
+
|
29
|
+
#### Inherited from
|
30
|
+
|
31
|
+
[OpenmrsResourceStrict](OpenmrsResourceStrict.md).[auditInfo](OpenmrsResourceStrict.md#auditinfo)
|
32
|
+
|
33
|
+
#### Defined in
|
34
|
+
|
35
|
+
[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)
|
36
|
+
|
37
|
+
___
|
38
|
+
|
39
|
+
### display
|
40
|
+
|
41
|
+
• `Optional` **display**: `string`
|
42
|
+
|
43
|
+
#### Inherited from
|
44
|
+
|
45
|
+
[OpenmrsResourceStrict](OpenmrsResourceStrict.md).[display](OpenmrsResourceStrict.md#display)
|
46
|
+
|
47
|
+
#### Defined in
|
48
|
+
|
49
|
+
[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)
|
50
|
+
|
51
|
+
___
|
52
|
+
|
53
|
+
### encounterRole
|
54
|
+
|
55
|
+
• **encounterRole**: [`EncounterRole`](EncounterRole.md)
|
56
|
+
|
57
|
+
#### Defined in
|
58
|
+
|
59
|
+
[packages/framework/esm-api/src/types/encounter-resource.ts:27](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L27)
|
60
|
+
|
61
|
+
___
|
62
|
+
|
63
|
+
### links
|
64
|
+
|
65
|
+
• `Optional` **links**: [`Link`](Link.md)[]
|
66
|
+
|
67
|
+
#### Inherited from
|
68
|
+
|
69
|
+
[OpenmrsResourceStrict](OpenmrsResourceStrict.md).[links](OpenmrsResourceStrict.md#links)
|
70
|
+
|
71
|
+
#### Defined in
|
72
|
+
|
73
|
+
[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)
|
74
|
+
|
75
|
+
___
|
76
|
+
|
77
|
+
### provider
|
78
|
+
|
79
|
+
• **provider**: [`OpenmrsResource`](OpenmrsResource.md)
|
80
|
+
|
81
|
+
#### Defined in
|
82
|
+
|
83
|
+
[packages/framework/esm-api/src/types/encounter-resource.ts:26](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L26)
|
84
|
+
|
85
|
+
___
|
86
|
+
|
87
|
+
### resourceVersion
|
88
|
+
|
89
|
+
• `Optional` **resourceVersion**: `string`
|
90
|
+
|
91
|
+
#### Inherited from
|
92
|
+
|
93
|
+
[OpenmrsResourceStrict](OpenmrsResourceStrict.md).[resourceVersion](OpenmrsResourceStrict.md#resourceversion)
|
94
|
+
|
95
|
+
#### Defined in
|
96
|
+
|
97
|
+
[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)
|
98
|
+
|
99
|
+
___
|
100
|
+
|
101
|
+
### uuid
|
102
|
+
|
103
|
+
• **uuid**: `string`
|
104
|
+
|
105
|
+
#### Inherited from
|
106
|
+
|
107
|
+
[OpenmrsResourceStrict](OpenmrsResourceStrict.md).[uuid](OpenmrsResourceStrict.md#uuid)
|
108
|
+
|
109
|
+
#### Defined in
|
110
|
+
|
111
|
+
[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)
|
@@ -0,0 +1,122 @@
|
|
1
|
+
[@openmrs/esm-framework](../API.md) / EncounterRole
|
2
|
+
|
3
|
+
# Interface: EncounterRole
|
4
|
+
|
5
|
+
## Hierarchy
|
6
|
+
|
7
|
+
- [`OpenmrsResourceStrict`](OpenmrsResourceStrict.md)
|
8
|
+
|
9
|
+
↳ **`EncounterRole`**
|
10
|
+
|
11
|
+
## Table of contents
|
12
|
+
|
13
|
+
### Properties
|
14
|
+
|
15
|
+
- [auditInfo](EncounterRole.md#auditinfo)
|
16
|
+
- [description](EncounterRole.md#description)
|
17
|
+
- [display](EncounterRole.md#display)
|
18
|
+
- [links](EncounterRole.md#links)
|
19
|
+
- [name](EncounterRole.md#name)
|
20
|
+
- [resourceVersion](EncounterRole.md#resourceversion)
|
21
|
+
- [retired](EncounterRole.md#retired)
|
22
|
+
- [uuid](EncounterRole.md#uuid)
|
23
|
+
|
24
|
+
## Properties
|
25
|
+
|
26
|
+
### auditInfo
|
27
|
+
|
28
|
+
• `Optional` **auditInfo**: [`AuditInfo`](AuditInfo.md)
|
29
|
+
|
30
|
+
#### Inherited from
|
31
|
+
|
32
|
+
[OpenmrsResourceStrict](OpenmrsResourceStrict.md).[auditInfo](OpenmrsResourceStrict.md#auditinfo)
|
33
|
+
|
34
|
+
#### Defined in
|
35
|
+
|
36
|
+
[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)
|
37
|
+
|
38
|
+
___
|
39
|
+
|
40
|
+
### description
|
41
|
+
|
42
|
+
• **description**: `string`
|
43
|
+
|
44
|
+
#### Defined in
|
45
|
+
|
46
|
+
[packages/framework/esm-api/src/types/encounter-resource.ts:32](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L32)
|
47
|
+
|
48
|
+
___
|
49
|
+
|
50
|
+
### display
|
51
|
+
|
52
|
+
• `Optional` **display**: `string`
|
53
|
+
|
54
|
+
#### Inherited from
|
55
|
+
|
56
|
+
[OpenmrsResourceStrict](OpenmrsResourceStrict.md).[display](OpenmrsResourceStrict.md#display)
|
57
|
+
|
58
|
+
#### Defined in
|
59
|
+
|
60
|
+
[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)
|
61
|
+
|
62
|
+
___
|
63
|
+
|
64
|
+
### links
|
65
|
+
|
66
|
+
• `Optional` **links**: [`Link`](Link.md)[]
|
67
|
+
|
68
|
+
#### Inherited from
|
69
|
+
|
70
|
+
[OpenmrsResourceStrict](OpenmrsResourceStrict.md).[links](OpenmrsResourceStrict.md#links)
|
71
|
+
|
72
|
+
#### Defined in
|
73
|
+
|
74
|
+
[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)
|
75
|
+
|
76
|
+
___
|
77
|
+
|
78
|
+
### name
|
79
|
+
|
80
|
+
• **name**: `string`
|
81
|
+
|
82
|
+
#### Defined in
|
83
|
+
|
84
|
+
[packages/framework/esm-api/src/types/encounter-resource.ts:31](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L31)
|
85
|
+
|
86
|
+
___
|
87
|
+
|
88
|
+
### resourceVersion
|
89
|
+
|
90
|
+
• `Optional` **resourceVersion**: `string`
|
91
|
+
|
92
|
+
#### Inherited from
|
93
|
+
|
94
|
+
[OpenmrsResourceStrict](OpenmrsResourceStrict.md).[resourceVersion](OpenmrsResourceStrict.md#resourceversion)
|
95
|
+
|
96
|
+
#### Defined in
|
97
|
+
|
98
|
+
[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)
|
99
|
+
|
100
|
+
___
|
101
|
+
|
102
|
+
### retired
|
103
|
+
|
104
|
+
• **retired**: `boolean`
|
105
|
+
|
106
|
+
#### Defined in
|
107
|
+
|
108
|
+
[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)
|
109
|
+
|
110
|
+
___
|
111
|
+
|
112
|
+
### uuid
|
113
|
+
|
114
|
+
• **uuid**: `string`
|
115
|
+
|
116
|
+
#### Inherited from
|
117
|
+
|
118
|
+
[OpenmrsResourceStrict](OpenmrsResourceStrict.md).[uuid](OpenmrsResourceStrict.md#uuid)
|
119
|
+
|
120
|
+
#### Defined in
|
121
|
+
|
122
|
+
[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)
|
@@ -0,0 +1,122 @@
|
|
1
|
+
[@openmrs/esm-framework](../API.md) / EncounterType
|
2
|
+
|
3
|
+
# Interface: EncounterType
|
4
|
+
|
5
|
+
## Hierarchy
|
6
|
+
|
7
|
+
- [`OpenmrsResourceStrict`](OpenmrsResourceStrict.md)
|
8
|
+
|
9
|
+
↳ **`EncounterType`**
|
10
|
+
|
11
|
+
## Table of contents
|
12
|
+
|
13
|
+
### Properties
|
14
|
+
|
15
|
+
- [auditInfo](EncounterType.md#auditinfo)
|
16
|
+
- [description](EncounterType.md#description)
|
17
|
+
- [display](EncounterType.md#display)
|
18
|
+
- [links](EncounterType.md#links)
|
19
|
+
- [name](EncounterType.md#name)
|
20
|
+
- [resourceVersion](EncounterType.md#resourceversion)
|
21
|
+
- [retired](EncounterType.md#retired)
|
22
|
+
- [uuid](EncounterType.md#uuid)
|
23
|
+
|
24
|
+
## Properties
|
25
|
+
|
26
|
+
### auditInfo
|
27
|
+
|
28
|
+
• `Optional` **auditInfo**: [`AuditInfo`](AuditInfo.md)
|
29
|
+
|
30
|
+
#### Inherited from
|
31
|
+
|
32
|
+
[OpenmrsResourceStrict](OpenmrsResourceStrict.md).[auditInfo](OpenmrsResourceStrict.md#auditinfo)
|
33
|
+
|
34
|
+
#### Defined in
|
35
|
+
|
36
|
+
[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)
|
37
|
+
|
38
|
+
___
|
39
|
+
|
40
|
+
### description
|
41
|
+
|
42
|
+
• **description**: `string`
|
43
|
+
|
44
|
+
#### Defined in
|
45
|
+
|
46
|
+
[packages/framework/esm-api/src/types/encounter-resource.ts:21](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L21)
|
47
|
+
|
48
|
+
___
|
49
|
+
|
50
|
+
### display
|
51
|
+
|
52
|
+
• `Optional` **display**: `string`
|
53
|
+
|
54
|
+
#### Inherited from
|
55
|
+
|
56
|
+
[OpenmrsResourceStrict](OpenmrsResourceStrict.md).[display](OpenmrsResourceStrict.md#display)
|
57
|
+
|
58
|
+
#### Defined in
|
59
|
+
|
60
|
+
[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)
|
61
|
+
|
62
|
+
___
|
63
|
+
|
64
|
+
### links
|
65
|
+
|
66
|
+
• `Optional` **links**: [`Link`](Link.md)[]
|
67
|
+
|
68
|
+
#### Inherited from
|
69
|
+
|
70
|
+
[OpenmrsResourceStrict](OpenmrsResourceStrict.md).[links](OpenmrsResourceStrict.md#links)
|
71
|
+
|
72
|
+
#### Defined in
|
73
|
+
|
74
|
+
[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)
|
75
|
+
|
76
|
+
___
|
77
|
+
|
78
|
+
### name
|
79
|
+
|
80
|
+
• **name**: `string`
|
81
|
+
|
82
|
+
#### Defined in
|
83
|
+
|
84
|
+
[packages/framework/esm-api/src/types/encounter-resource.ts:20](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/encounter-resource.ts#L20)
|
85
|
+
|
86
|
+
___
|
87
|
+
|
88
|
+
### resourceVersion
|
89
|
+
|
90
|
+
• `Optional` **resourceVersion**: `string`
|
91
|
+
|
92
|
+
#### Inherited from
|
93
|
+
|
94
|
+
[OpenmrsResourceStrict](OpenmrsResourceStrict.md).[resourceVersion](OpenmrsResourceStrict.md#resourceversion)
|
95
|
+
|
96
|
+
#### Defined in
|
97
|
+
|
98
|
+
[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)
|
99
|
+
|
100
|
+
___
|
101
|
+
|
102
|
+
### retired
|
103
|
+
|
104
|
+
• **retired**: `boolean`
|
105
|
+
|
106
|
+
#### Defined in
|
107
|
+
|
108
|
+
[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)
|
109
|
+
|
110
|
+
___
|
111
|
+
|
112
|
+
### uuid
|
113
|
+
|
114
|
+
• **uuid**: `string`
|
115
|
+
|
116
|
+
#### Inherited from
|
117
|
+
|
118
|
+
[OpenmrsResourceStrict](OpenmrsResourceStrict.md).[uuid](OpenmrsResourceStrict.md#uuid)
|
119
|
+
|
120
|
+
#### Defined in
|
121
|
+
|
122
|
+
[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)
|
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
#### Defined in
|
20
20
|
|
21
|
-
[packages/framework/esm-api/src/types/visit-resource.ts:
|
21
|
+
[packages/framework/esm-api/src/types/visit-resource.ts:35](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/visit-resource.ts#L35)
|
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/visit-resource.ts:
|
31
|
+
[packages/framework/esm-api/src/types/visit-resource.ts:36](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/visit-resource.ts#L36)
|
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/visit-resource.ts:
|
41
|
+
[packages/framework/esm-api/src/types/visit-resource.ts:34](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/visit-resource.ts#L34)
|
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
#### Defined in
|
24
24
|
|
25
|
-
[packages/framework/esm-api/src/types/visit-resource.ts:
|
25
|
+
[packages/framework/esm-api/src/types/visit-resource.ts:12](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/visit-resource.ts#L12)
|
26
26
|
|
27
27
|
___
|
28
28
|
|
@@ -32,7 +32,7 @@ ___
|
|
32
32
|
|
33
33
|
#### Defined in
|
34
34
|
|
35
|
-
[packages/framework/esm-api/src/types/visit-resource.ts:
|
35
|
+
[packages/framework/esm-api/src/types/visit-resource.ts:7](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/visit-resource.ts#L7)
|
36
36
|
|
37
37
|
___
|
38
38
|
|
@@ -42,7 +42,7 @@ ___
|
|
42
42
|
|
43
43
|
#### Defined in
|
44
44
|
|
45
|
-
[packages/framework/esm-api/src/types/visit-resource.ts:
|
45
|
+
[packages/framework/esm-api/src/types/visit-resource.ts:8](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/visit-resource.ts#L8)
|
46
46
|
|
47
47
|
___
|
48
48
|
|
@@ -52,7 +52,7 @@ ___
|
|
52
52
|
|
53
53
|
#### Defined in
|
54
54
|
|
55
|
-
[packages/framework/esm-api/src/types/visit-resource.ts:
|
55
|
+
[packages/framework/esm-api/src/types/visit-resource.ts:9](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/visit-resource.ts#L9)
|
56
56
|
|
57
57
|
___
|
58
58
|
|
@@ -62,7 +62,7 @@ ___
|
|
62
62
|
|
63
63
|
#### Defined in
|
64
64
|
|
65
|
-
[packages/framework/esm-api/src/types/visit-resource.ts:
|
65
|
+
[packages/framework/esm-api/src/types/visit-resource.ts:11](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/visit-resource.ts#L11)
|
66
66
|
|
67
67
|
___
|
68
68
|
|
@@ -72,7 +72,7 @@ ___
|
|
72
72
|
|
73
73
|
#### Defined in
|
74
74
|
|
75
|
-
[packages/framework/esm-api/src/types/visit-resource.ts:
|
75
|
+
[packages/framework/esm-api/src/types/visit-resource.ts:6](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/visit-resource.ts#L6)
|
76
76
|
|
77
77
|
___
|
78
78
|
|
@@ -82,4 +82,4 @@ ___
|
|
82
82
|
|
83
83
|
#### Defined in
|
84
84
|
|
85
|
-
[packages/framework/esm-api/src/types/visit-resource.ts:
|
85
|
+
[packages/framework/esm-api/src/types/visit-resource.ts:10](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/visit-resource.ts#L10)
|