Skip to content

Commit

Permalink
Delink 2.x apps
Browse files Browse the repository at this point in the history
  • Loading branch information
ojwanganto committed Jul 5, 2024
1 parent 328e914 commit a50c7d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 76 deletions.
40 changes: 8 additions & 32 deletions api/src/main/resources/moduleApplicationContext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,63 +35,63 @@
<bean id="kenyaemr.app.registration" factory-bean="kenyacore.appFactoryBean" factory-method="createInstance">
<constructor-arg value="kenyaemr.registration" />
<constructor-arg value="Registration" />
<constructor-arg value="kenyaemr/registration/registrationHome.page" />
<constructor-arg value="" />
<constructor-arg value="kenyaui:apps/registration.png" />
<constructor-arg value="100" />
</bean>

<bean id="kenyaemr.app.intake" factory-bean="kenyacore.appFactoryBean" factory-method="createInstance">
<constructor-arg value="kenyaemr.intake" />
<constructor-arg value="Triage" />
<constructor-arg value="kenyaemr/intake/intakeHome.page" />
<constructor-arg value="" />
<constructor-arg value="kenyaui:apps/intake.png" />
<constructor-arg value="200" />
</bean>

<bean id="kenyaemr.app.hts" factory-bean="kenyacore.appFactoryBean" factory-method="createInstance">
<constructor-arg value="kenyaemr.hivtesting" />
<constructor-arg value="HIV Testing Services" />
<constructor-arg value="kenyaemr/hivTesting/htsHome.page" />
<constructor-arg value="" />
<constructor-arg value="kenyaui:apps/hts.png" />
<constructor-arg value="250" />
</bean>

<bean id="kenyaemr.app.counselling" factory-bean="kenyacore.appFactoryBean" factory-method="createInstance">
<constructor-arg value="kenyaemr.counselling" />
<constructor-arg value="Adherence Counselling" />
<constructor-arg value="kenyaemr/adherenceCounselling/counsellingHome.page" />
<constructor-arg value="" />
<constructor-arg value="kenyaemr:apps/counselling.png" />
<constructor-arg value="255" />
</bean>

<bean id="kenyaemr.app.clinician" factory-bean="kenyacore.appFactoryBean" factory-method="createInstance">
<constructor-arg value="kenyaemr.medicalEncounter" />
<constructor-arg value="Clinician" />
<constructor-arg value="kenyaemr/clinician/clinicianHome.page" />
<constructor-arg value="" />
<constructor-arg value="kenyaui:apps/clinician.png" />
<constructor-arg value="300" />
</bean>

<bean id="kenyaemr.app.prep" factory-bean="kenyacore.appFactoryBean" factory-method="createInstance">
<constructor-arg value="kenyaemr.prep" />
<constructor-arg value="PrEP" />
<constructor-arg value="kenyaemr/prep/prepHome.page"/>
<constructor-arg value=""/>
<constructor-arg value="kenyaui:apps/prep.png" />
<constructor-arg value="350" />
</bean>

<bean id="kenyaemr.app.defaultertracing" factory-bean="kenyacore.appFactoryBean" factory-method="createInstance">
<constructor-arg value="kenyaemr.defaultertracing" />
<constructor-arg value="Patient Tracing" />
<constructor-arg value="kenyaemr/defaulterTracing/defaulterTracingHome.page" />
<constructor-arg value="" />
<constructor-arg value="kenyaui:apps/defaulter_tracing.png" />
<constructor-arg value="399" />
</bean>

<bean id="kenyaemr.app.chart" factory-bean="kenyacore.appFactoryBean" factory-method="createInstance">
<constructor-arg value="kenyaemr.medicalChart" />
<constructor-arg value="Chart" />
<constructor-arg value="kenyaemr/chart/chartHome.page" />
<constructor-arg value="" />
<constructor-arg value="kenyaui:apps/chart.png" />
<constructor-arg value="400" />
</bean>
Expand Down Expand Up @@ -144,30 +144,6 @@
<constructor-arg value="840" />
</bean>

<bean id="kenyaemr.app.openmrs3Shortcut" factory-bean="kenyacore.appFactoryBean" factory-method="createInstance">
<constructor-arg value="kenyaemr.openmrs3Shortcut" />
<constructor-arg value="3.x Patient Chart" />
<constructor-arg value="kenyaemr/shortcuts/o3Home.page" />
<constructor-arg value="kenyaemr:apps/O3.png" />
<constructor-arg value="999999" />
</bean>

<bean id="kenyaemr.app.openmrs3ServiceQueueShortcut" factory-bean="kenyacore.appFactoryBean" factory-method="createInstance">
<constructor-arg value="kenyaemr.openmrs3ServiceQueueShortcut" />
<constructor-arg value="3.x Service Queue Module" />
<constructor-arg value="kenyaemr/shortcuts/o3ServiceQueuesHome.page" />
<constructor-arg value="kenyaemr:apps/queue.png" />
<constructor-arg value="999999" />
</bean>

<bean id="kenyaemr.app.openmrs3AppointmentsShortcut" factory-bean="kenyacore.appFactoryBean" factory-method="createInstance">
<constructor-arg value="kenyaemr.openmrs3AppointmentsShortcut" />
<constructor-arg value="3.x Appointment Module" />
<constructor-arg value="kenyaemr/shortcuts/o3AppointmentsHome.page" />
<constructor-arg value="kenyaemr:apps/appointment.png" />
<constructor-arg value="1000001" />
</bean>

<bean id="kenyaemr.app.developer" factory-bean="kenyacore.appFactoryBean" factory-method="createInstance">
<constructor-arg value="kenyaemr.developer" />
<constructor-arg value="Developer" />
Expand Down
44 changes: 0 additions & 44 deletions omod/src/main/webapp/fragments/providerAction/providerActions.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -114,57 +114,13 @@
</a>
</li>

<li class="float-left" style="margin-top: 7px">
<a href="${ ui.pageLink("kenyaemr", "registration/registrationSearch") }" class="float-left">
<i class="fa fa-search fa-2x"></i>
Find/Create Patient
</a>
</li>

<li class="float-left" style="margin-top: 7px">
<a href="${ ui.pageLink("hivtestingservices", "patientContactList", [patientId: currentPatient.patientId]) }" class="float-left">
<i class="fa fa-list-ul fa-2x"></i>
Contact Listing
</a>
</li>

<li class="float-left" style="margin-top: 7px">
<a href="${ ui.pageLink("kenyaemrorderentry", "orders/drugOrderHome", [patientId: currentPatient]) }" class="float-left">
<i class="fa fa-medkit fa-2x"></i>
Drug Orders
</a>
</li>

<li class="float-left" style="margin-top: 7px">
<a href="${ ui.pageLink("kenyaemrorderentry", "orders/labOrderHome", [patientId: currentPatient]) }" class="float-left">
<i class="fa fa-flask fa-2x"></i>
Lab Orders
</a>
</li>
<li class="float-left" style="margin-top: 7px">
<a href="${ ui.pageLink("covid19", "covidHome", [patientId: currentPatient]) }" class="float-left">
<i class="fa fa fa-cog fa-2x"></i>
Covid-19
</a>
</li>
<li class="float-left" style="margin-top: 7px">
<a href="javascript:getO3URL()" class="float-left">
<i class="fa fa fa-cog fa-2x"></i>
3.x New Patient Chart
</a>
</li>
<li class="float-left" style="margin-top: 7px">
<a href="javascript:getO3ServiceQueuesURL()" class="float-left">
<i class="fa fa fa-cog fa-2x"></i>
3.x New Service Queue Module
</a>
</li>
<li class="float-left" style="margin-top: 7px">
<a href="javascript:getO3AppointmentsURL()" class="float-left">
<i class="fa fa fa-cog fa-2x"></i>
3.x New Appointment Module
</a>
</li>
</ul>
</div>

Expand Down

0 comments on commit a50c7d9

Please sign in to comment.