@openmrs/esm-stock-management-app 3.3.2-pre.534 → 3.3.2-pre.548
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/README.md +12 -11
- package/dist/228.js +2 -2
- package/dist/228.js.map +1 -1
- package/dist/5117.js +1 -1
- package/dist/5117.js.map +1 -1
- package/dist/8071.js +1 -1
- package/dist/8071.js.map +1 -1
- package/dist/{1304.css.map → 8105.css.map} +1 -1
- package/dist/8105.js +1 -0
- package/dist/8105.js.map +1 -0
- package/dist/openmrs-esm-stock-management-app.js +2 -2
- package/dist/openmrs-esm-stock-management-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/e2e/README.md +30 -36
- package/package.json +1 -1
- package/src/core/components/table/table.component.test.tsx +73 -0
- package/src/core/components/table/table.component.tsx +43 -11
- package/src/stock-items/add-stock-item/batch-information/batch-information.component.tsx +14 -2
- package/src/stock-items/add-stock-item/batch-information/batch-information.resource.test.ts +32 -0
- package/src/stock-items/add-stock-item/batch-information/batch-information.resource.ts +28 -8
- package/src/stock-items/add-stock-item/drug-selector/drug-selector.component.tsx +3 -5
- package/src/stock-items/add-stock-item/drug-selector/drug-selector.test.tsx +1 -1
- package/src/stock-items/add-stock-item/quantities/quantities.component.tsx +5 -3
- package/src/stock-items/add-stock-item/quantities/quantities.resource.ts +28 -8
- package/src/stock-items/add-stock-item/transactions/transactions.component.tsx +6 -0
- package/src/stock-items/add-stock-item/transactions/transactions.resource.ts +27 -7
- package/src/stock-operations/stock-operations-forms/input-components/batch-no-selector.component.tsx +17 -14
- package/src/stock-operations/stock-operations-forms/input-components/batch-no-selector.test.tsx +66 -127
- package/src/stock-operations/stock-operations-forms/steps/stock-availability-cell.component.tsx +5 -2
- package/src/stock-operations/stock-operations-forms/steps/stock-availability-cell.test.tsx +2 -2
- package/src/stock-operations/stock-operations-forms/steps/stock-operation-items-form-step.scc.scss +1 -1
- package/src/stock-operations/stock-operations-forms/steps/stock-operation-items-form-step.test.tsx +3 -3
- package/translations/en.json +1 -0
- package/dist/1304.js +0 -1
- package/dist/1304.js.map +0 -1
- /package/dist/{1304.css → 8105.css} +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OpenMRS ESM Stock Management App
|
|
2
2
|
|
|
3
|
-
](https://github.com/openmrs/openmrs-esm-stock-management-app/actions/workflows/ci.yml)
|
|
4
4
|
|
|
5
5
|
The OpenMRS ESM Stock Management app is designed to help healthcare facilities manage inventory of medical supplies, pharmaceuticals, and other stockable items directly within OpenMRS. It facilitates accurate tracking of stock levels, stock movements, and supply chain operations. It uses the [stock management backend module](https://github.com/openmrs/openmrs-module-stockmanagement).
|
|
6
6
|
|
|
@@ -10,6 +10,7 @@ The OpenMRS ESM Stock Management app is designed to help healthcare facilities m
|
|
|
10
10
|
|
|
11
11
|
- **Stock Management**: Comprehensive tracking of drugs, medical supplies, and commodities across multiple locations
|
|
12
12
|
- **Stock Operations**: Complete workflow support including:
|
|
13
|
+
- Opening stock balances for initial inventory setup
|
|
13
14
|
- Stock receipts from suppliers with batch tracking
|
|
14
15
|
- Stock issues to locations/patients with dispatch management
|
|
15
16
|
- Transfers between locations
|
|
@@ -34,7 +35,7 @@ The OpenMRS ESM Stock Management app is designed to help healthcare facilities m
|
|
|
34
35
|
|
|
35
36
|
### Reporting & Analytics
|
|
36
37
|
|
|
37
|
-
- **Comprehensive Reports**:
|
|
38
|
+
- **Comprehensive Reports**: 14 report types including:
|
|
38
39
|
- Stock forecasting and trend analysis
|
|
39
40
|
- Movement history and transaction reports
|
|
40
41
|
- Expiry forecasting and disposal tracking
|
|
@@ -46,7 +47,6 @@ The OpenMRS ESM Stock Management app is designed to help healthcare facilities m
|
|
|
46
47
|
|
|
47
48
|
- **User Management**: Role-based permissions with location-specific access control
|
|
48
49
|
- **Source Management**: Supplier/vendor setup with preferred vendor assignments
|
|
49
|
-
- **Location Management**: Hierarchical location setup with inheritance rules
|
|
50
50
|
- **Workflow Controls**: Multi-step approval processes for stock operations
|
|
51
51
|
|
|
52
52
|
### Technical Features
|
|
@@ -65,7 +65,8 @@ The OpenMRS ESM Stock Management app is designed to help healthcare facilities m
|
|
|
65
65
|
|
|
66
66
|
## Requirements
|
|
67
67
|
|
|
68
|
-
- OpenMRS Platform 2.
|
|
68
|
+
- OpenMRS Platform 2.8.0 or higher
|
|
69
|
+
- [Stock Management backend module](https://github.com/openmrs/openmrs-module-stockmanagement) `>= 4.0.0` (requires `webservices.rest >= 3.0.0`) and `fhir2 >= 1.2`
|
|
69
70
|
- Admin privileges to install and configure the app
|
|
70
71
|
|
|
71
72
|
## Installation
|
|
@@ -103,12 +104,12 @@ These must be configured to match your OpenMRS concept dictionary. These UUIDs l
|
|
|
103
104
|
|
|
104
105
|
```json
|
|
105
106
|
{
|
|
106
|
-
"packingUnitsUUID": "
|
|
107
|
+
"packingUnitsUUID": "a6d438fe-05c1-4d4d-9755-c11cf6b0b3b9",
|
|
107
108
|
"dispensingUnitsUUID": "162402AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
108
|
-
"stockAdjustmentReasonUUID": "
|
|
109
|
-
"stockTakeReasonUUID": "
|
|
110
|
-
"stockSourceTypeUUID": "
|
|
111
|
-
"stockItemCategoryUUID": "
|
|
109
|
+
"stockAdjustmentReasonUUID": "3a9021d1-d6c1-4fc2-8e30-ca8e204e44de",
|
|
110
|
+
"stockTakeReasonUUID": "faa466c5-0953-4d4f-8ea7-d9a06341c3f3",
|
|
111
|
+
"stockSourceTypeUUID": "937a0440-95f7-42f6-aaef-16cf611fcf10",
|
|
112
|
+
"stockItemCategoryUUID": "8ccf6066-9297-4d76-aaf3-00aa3714d198"
|
|
112
113
|
}
|
|
113
114
|
```
|
|
114
115
|
|
|
@@ -162,9 +163,9 @@ The defaults match the Reference Application. Set these to match your distributi
|
|
|
162
163
|
|
|
163
164
|
- **`stockRoleUUIDs`** - UUIDs of the roles that identify stock roles in the user role scope form. The defaults are the Inventory Clerk, Inventory Manager, Inventory Dispensing, Inventory Reporting and Inventory Administrator roles from the Reference Application demo content.
|
|
164
165
|
|
|
165
|
-
- **`stockLocationTags`** _(default: ["Main Store", "Main Pharmacy", "Dispensary"])_ - Names of the location tags for stock locations. Locations without one of these tags don't appear in the stock locations table, the user role scope form, stock rules, reports or the location filters. This doesn't change which locations stock operations accept
|
|
166
|
+
- **`stockLocationTags`** _(default: ["Main Store", "Main Pharmacy", "Dispensary"])_ - Names of the location tags for stock locations. Locations without one of these tags don't appear in the stock locations table, the user role scope form, stock rules, reports or the location filters. This doesn't change which locations stock operations accept; that is configured per operation type in the backend via the `stockmanagement.<type>.sourceLocationTags` and `.destinationLocationTags` global properties (blank by default, allowing any location).
|
|
166
167
|
|
|
167
|
-
- **`mainStoreLocationTag`** _(default: "Main Store")_ - Name of the location tag for the main store. The source or destination of a new stock operation is prefilled when this is the only tag the operation type allows on that side. It needs to match a tag
|
|
168
|
+
- **`mainStoreLocationTag`** _(default: "Main Store")_ - Name of the location tag for the main store. The source or destination of a new stock operation is prefilled when this is the only tag the operation type allows on that side. It needs to match a tag configured for that operation type in the backend.
|
|
168
169
|
|
|
169
170
|
```json
|
|
170
171
|
{
|