diff --git a/Dockerfile b/Dockerfile index 82c70b633..7e10eecdc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 ### Dev Stage -FROM openmrs/openmrs-core:dev-amazoncorretto-11 as dev +FROM openmrs/openmrs-core:dev-amazoncorretto-11 AS dev WORKDIR /openmrs_distro ARG MVN_ARGS_SETTINGS="-s /usr/share/maven/ref/settings-docker.xml -U -P distro" diff --git a/distro/configuration/billableservices/billableServices.csv b/distro/configuration/billableservices/billableServices.csv new file mode 100644 index 000000000..25392b711 --- /dev/null +++ b/distro/configuration/billableservices/billableServices.csv @@ -0,0 +1,5 @@ +Uuid, Void/Retire, Service Name, Short Name, Concept, Service Type, Service Status +44ebd6cd-04ad-4eba-8ce1-0de4564bfd17,, Antenatal care, ANTC, 1592AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, Antenatal Services, Enabled +a0f7d8a1-4fa2-418c-aa8a-9b358f43d605,, Orthopedic Service, OTHS, 164949AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, Orthopedic Services, Enabled +16435ab4-27c3-4d91-b21e-52819bd654d8,, Nutrition counseling, NUC, 1380AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, Nutrition Services, Enabled +360fab13-d92b-4a9f-ad4e-0ac223e7f54c,, OPD consultation, OPDC, 160542AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, Orthopedic Services, Enabled diff --git a/distro/configuration/cashpoints/cashPoints.csv b/distro/configuration/cashpoints/cashPoints.csv new file mode 100644 index 000000000..69a2968c3 --- /dev/null +++ b/distro/configuration/cashpoints/cashPoints.csv @@ -0,0 +1,4 @@ +uuid,Void/Retire,name,description,location +54065383-b4d4-42d2-af4d-d250a1fd2590,, OPD Cash Point, Opd cash point for billing, Opd Clinic +ba685651-ed3b-4e63-9b35-78893060758a,, IPD Cash Point, IPD cash point for billing, Inpatient Ward +1ce1b7d4-c865-4178-82b0-5932e51503d6,, Community Outreach, MCH cash point for billing, Community Outreach \ No newline at end of file diff --git a/distro/configuration/ocl/openmrs_Billing_v202410101138_autoexpand-202410101138.2024-10-04_213540.zip b/distro/configuration/ocl/openmrs_Billing_v202410101138_autoexpand-202410101138.2024-10-04_213540.zip new file mode 100644 index 000000000..95b13b466 Binary files /dev/null and b/distro/configuration/ocl/openmrs_Billing_v202410101138_autoexpand-202410101138.2024-10-04_213540.zip differ diff --git a/distro/configuration/ocl/openmrs_DemoQueueConcepts_v2_autoexpand-2.2022-03-01_052308.zip b/distro/configuration/ocl/openmrs_DemoQueueConcepts_v2_autoexpand-2.2022-03-01_052308.zip deleted file mode 100644 index 28cafa0bf..000000000 Binary files a/distro/configuration/ocl/openmrs_DemoQueueConcepts_v2_autoexpand-2.2022-03-01_052308.zip and /dev/null differ diff --git a/distro/configuration/ocl/openmrs_DemoQueueConcepts_v3_autoexpand-3.2024-10-17_062517.zip b/distro/configuration/ocl/openmrs_DemoQueueConcepts_v3_autoexpand-3.2024-10-17_062517.zip new file mode 100644 index 000000000..4e166e002 Binary files /dev/null and b/distro/configuration/ocl/openmrs_DemoQueueConcepts_v3_autoexpand-3.2024-10-17_062517.zip differ diff --git a/distro/configuration/paymentmodes/paymentModes.csv b/distro/configuration/paymentmodes/paymentModes.csv new file mode 100644 index 000000000..0a4dd2a85 --- /dev/null +++ b/distro/configuration/paymentmodes/paymentModes.csv @@ -0,0 +1,4 @@ +uuid, Void/Retire, name, attributes +526bf278-ba81-4436-b867-c2f6641d060a,, Cash, +2b1b9aae-5d35-43dd-9214-3fd370fd7737,, Bank transfer, +e168c141-f5fd-4eec-bd3e-633bed1c9606,, Paypal, Maximum::Numeric::::True;Minimum \ No newline at end of file diff --git a/distro/configuration/privileges/privileges_stockmanagement.csv b/distro/configuration/privileges/privileges_stockmanagement.csv new file mode 100644 index 000000000..72c542146 --- /dev/null +++ b/distro/configuration/privileges/privileges_stockmanagement.csv @@ -0,0 +1,18 @@ +Uuid,Privilege name,Description,_order:1000 +cc9b0e0c-ecaf-479d-9d7c-3071c0c1bff2,App: stockmanagement.dashboard,Able to view stock management application dashboard +ffeb0885-293e-433b-a279-8de6f98026b2,App: stockmanagement.stockItems,Able to view stock items +4a61b6db-03dd-43f2-969c-17dfa66ad41e,Task: stockmanagement.stockItems.mutate,Able to create and update stock items +83871f7a-467e-11ed-8109-00155dcc3fc0,Task: stockmanagement.stockItems.dispense.qty,Able to view stock item quantities at dispensing locations +6292e17d-4694-11ed-8109-00155dcc3fc0,Task: stockmanagement.stockItems.dispense,Able to dispense stock items +a627c62a-efa1-4ac9-88e8-b816facfce0a,App: stockmanagement.userRoleScopes,Able to view stock management user role scope +cc5a7ba4-ee34-4c2f-98c7-ae65cacf0094,Task: stockmanagement.userRoleScopes.mutate,Able to create and update user role scopes +5d0d6f61-2188-11ed-9dff-507b9dea1806,App: stockmanagement.stockoperations,Able to view stock operations +63b8815f-2188-11ed-9dff-507b9dea1806,Task: stockmanagement.stockoperations.mutate,Able to create and update stock operations +7aef02ad-2189-11ed-9dff-507b9dea1806,Task: stockmanagement.stockoperations.approve,Able to aprove stock operations +fd391f90-3335-11ed-a667-507b9dea1806,Task: stockmanagement.stockoperations.receiveitems,Able to receive dispatched stock items +4fec772e-262a-11ed-a544-507b9dea1806,App: stockmanagement.stockSources,Able to view stock sources +557acdab-262a-11ed-a544-507b9dea1806,Task: stockmanagement.stockSources.mutate,Able to create and update stock sources +5a421e1a-28ad-11ed-bdcb-507b9dea1806,App: stockmanagement.stockOperationType,Able to view stock operation types +55670834-28ad-11ed-bdcb-507b9dea1806,Task: stockmanagement.party.read,Able to read party information +27334ff0-698d-11ed-a1c5-806d973f13a9,App: stockmanagement.reports,Able to view stock reports +8f0cecbb-6b11-11ed-93a2-806d973f13a9,Task: stockmanagement.reports.mutate,Able to create stock reports diff --git a/distro/configuration/roles/roles_stockmanagement.csv b/distro/configuration/roles/roles_stockmanagement.csv new file mode 100644 index 000000000..b26e5d516 --- /dev/null +++ b/distro/configuration/roles/roles_stockmanagement.csv @@ -0,0 +1,8 @@ +Uuid,Role name,Description,Inherited roles,Privileges,_order:1000 +7d8d214d-2188-11ed-9dff-507b9dea1806,Stock Management Base Role,This Role is the default Role for stock management with basic functionality with less privileges,,App: stockmanagement.dashboard; App: stockmanagement.stockItems; App: stockmanagement.stockoperations; Get Concepts; Get Locations; Get Users; Get Roles; App: stockmanagement.stockSources;App: stockmanagement.stockOperationType; Task: stockmanagement.party.read, +cca4be4b-2188-11ed-9dff-507b9dea1806,Inventory Manager,This enables managing stock management operations accross the stock management application,Stock Management Base Role,Task: stockmanagement.stockItems.mutate; Task: stockmanagement.stockoperations.mutate; Task: stockmanagement.stockoperations.approve; Task: stockmanagement.stockSources.mutate; Task: stockmanagement.stockoperations.receiveitems, +2083fd40-3391-11ed-a667-507b9dea1806,Inventory Administrator,This Role enables full access to stock management application,Inventory Manager,App: stockmanagement.userRoleScopes; Task: stockmanagement.userRoleScopes.mutate, +d210eb66-2188-11ed-9dff-507b9dea1806,Inventory Clerk,This Role enables access to daily stock operations,Stock Management Base Role,Task: stockmanagement.stockoperations.mutate; Task: stockmanagement.stockSources.mutate; Task: stockmanagement.stockoperations.receiveitems, +8ee2f2ac-467f-11ed-8109-00155dcc3fc0,Inventory Provider Access,This Role enables a provider to view inventory items and access quantities available,,App: stockmanagement.stockItems; Get Concepts; Get Locations; Get Users; App: stockmanagement.stockSources; App: stockmanagement.stockOperationType; Task: stockmanagement.party.read; Task: stockmanagement.stockItems.dispense.qty, +84bdd876-4694-11ed-8109-00155dcc3fc0,Inventory Dispensing,This Role enables a provider to dispence inventory items,Inventory Provider Access,Task: stockmanagement.stockItems.dispense, +a49be648-6b0a-11ed-93a2-806d973f13a9,Inventory Reporting,This Role enables a provider to access reports,Stock Management Base Role,App: stockmanagement.reports; Task: stockmanagement.reports.mutate; Manage Scheduler; Get Patients, diff --git a/distro/distro.properties b/distro/distro.properties index 380f9eb47..ee8745323 100644 --- a/distro/distro.properties +++ b/distro/distro.properties @@ -32,3 +32,5 @@ omod.emrapi=${emrapi.version} omod.event.groupId=org.openmrs omod.event=${event.version} omod.bedmanagement=${bedmanagement.version} +omod.stockmanagement=${stockmanagement.version} +omod.billing=${billing.version} diff --git a/distro/pom.xml b/distro/pom.xml index 0c79ecfe5..bfdead472 100644 --- a/distro/pom.xml +++ b/distro/pom.xml @@ -25,21 +25,21 @@ we do so here so that we can utilise Maven to track updates, etc. --> 2.3.0-SNAPSHOT 1.0.0 - 2.6.7 + 2.6.9 2.8.0-SNAPSHOT 2.45.0-SNAPSHOT - 2.17.0 - 4.10.0 - 1.16.0 + 2.19.0 + 4.12.0 + 1.18.0 1.6.0 1.9.0 - 2.3.0 - 3.2.0 + 2.4.0 + 3.4.0 2.4.0 2.4.0 2.0.0-20240305.062514-14 2.0.0-20230831.113926-1 - 3.7.1 + 3.7.2 1.26.0 1.14.0 @@ -47,11 +47,14 @@ 1.11.0 0.2.16 1.0.2 - 3.0.7 + 3.0.8 2.3.0 2.1.0-SNAPSHOT 2.10.0 6.0.0 + + 2.0.2-SNAPSHOT + 1.2.0-SNAPSHOT @@ -220,6 +223,18 @@ ${bedmanagement.version} provided + + org.openmrs.module + stockmanagement-omod + ${stockmanagement.version} + provided + + + org.openmrs.module + billing-omod + ${billing.version} + provided + diff --git a/frontend/spa-assemble-config.json b/frontend/spa-assemble-config.json index df6254cb8..db6df978f 100644 --- a/frontend/spa-assemble-config.json +++ b/frontend/spa-assemble-config.json @@ -38,6 +38,9 @@ "@openmrs/esm-system-admin-app": "next", "@openmrs/esm-user-onboarding-app": "next", "@openmrs/esm-ward-app": "next" + "@openmrs/esm-user-onboarding-app": "next", + "@openmrs/esm-stock-management-app": "next", + "@openmrs/esm-billing-app": "next" }, "excludedFrontendModules": [] } diff --git a/pom.xml b/pom.xml index bda63aa38..9bd29d4e8 100644 --- a/pom.xml +++ b/pom.xml @@ -109,12 +109,12 @@ org.openmrs.maven.plugins openmrs-sdk-maven-plugin - 4.5.0 + 5.15.0 org.openmrs.maven.plugins openmrs-packager-maven-plugin - 1.7.0 + 1.9.0-SNAPSHOT