Skip to content

Commit

Permalink
Added o3forms backend module and removed 'remove' array for frontends
Browse files Browse the repository at this point in the history
  • Loading branch information
Amos Laboso committed Sep 22, 2023
1 parent d66da93 commit b0a290f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 23 deletions.
1 change: 1 addition & 0 deletions distro/distro.properties
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ omod.event=${event.version}
omod.event.groupId=org.openmrs
omod.providermanagement=${providermanagement.version}
omod.uilibrary=${uilibrary.version}
omod.o3forms=${o3forms.version}
9 changes: 9 additions & 0 deletions distro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
<!-- Commenting due toArtifactDescriptorException: -->
<!-- <casereport.version>2.0-SNAPSHOT</casereport.version> -->

<o3forms.version>2.1.0</o3forms.version>

</properties>

<dependencies>
Expand Down Expand Up @@ -275,6 +277,13 @@
<scope>provided</scope>
</dependency> -->

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>o3forms-omod</artifactId>
<version>${o3forms.version}</version>
<scope>provided</scope>
</dependency>

</dependencies>

<build>
Expand Down
27 changes: 4 additions & 23 deletions frontend/ohri-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,10 @@
"@openmrs/esm-patient-chart-app": {
"extensionSlots": {
"patient-chart-dashboard-slot": {
"remove": [
"test-results-summary-dashboard",
"conditions-summary-dashboard",
"results-summary-dashboard",
"programs-summary-dashboard",
"allergies-summary-dashboard",
"attachments-results-summary-dashboard",
"drug-orders-summary-dashboard"
]
"remove": []
},
"action-menu-chart-items-slot": {
"remove": [
"visit-note-nav-button",
"clinical-form-action-menu"
]
"remove": []
}
},
"notesConceptUuids": ["161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "437d1e25-e7ab-481c-aabc-01f21c6cdef1"],
Expand All @@ -27,13 +16,7 @@
"@openmrs/esm-patient-banner-app": {
"extensionSlots": {
"patient-actions-slot": {
"remove": [
"add-patient-to-patient-list-button",
"start-visit-button",
"stop-visit-button",
"cancel-visit-button",
"add-past-visit-button"
]
"remove": []
}
}
},
Expand All @@ -54,9 +37,7 @@
"@openmrs/esm-primary-navigation-app": {
"extensionSlots": {
"app-menu-slot": {
"remove": [
"dispensing-link"
]
"remove": []
}
},
"logo": {
Expand Down

0 comments on commit b0a290f

Please sign in to comment.