Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4749

Remove the old problems lists implementation

    XMLWordPrintable

    Details

    • Complexity:
      Low
    • Epic Name:
      Remove Problem Lists

      Description

      We need to remove the old problem lists implementation from the core platform. This will be replaced with condition lists.
      Remove ActiveListService.java, ActiveListServiceImpl.java, ActiveListServiceTest.java, ActiveListTest.xml, Problem.java, Allergy.java, AllergySeverity.java, AllergyType.java, AllergySeverity.java, ActiveListItem.java, ActiveListType.java, ProblemModifier.java, ActiveListAllergy.hbm.xml, ActiveListItem.hbm.xml, ActiveListProblem.hbm.xml, ActiveListType.hbm.xml
      ProblemListItem.java, ActiveListWidget.java, ActiveListDAO.java, HibernateActiveListDAO.java

      Delete the entire org.openmrs.activelist package

      In liquibase-core-data.xml remove the changeset with id "20110915-0848"

      Remove all active list changeset from liquibase-schema-only.xml. That is changesets with ids: "20110915-1215", "20110915-0825", "20110915-0845", "20110915-0847", "20110915-0823", "20110915-0824", "20110915-0836", "20110915-0837", "20110915-0838", "20110915-0839", "20110915-0840", "20110915-0841", "20110915-0842", "20110915-0846"

      From liquibase-update-to-latest.xml remove changesets with ids: "20100525-818-1", "20100525-818-1-fix", "20100525-818-2", "20100525-818-2-fix", "20100525-818-3", "20100525-818-4", "20100525-818-5", "201410291616-TRUNK-3474"

      You would also need to remove ActiveListTypeResource1_8.java, ProblemResource1_9.java, ProblemResource1_8.java, BaseActiveListItemResource1_8.java, ProblemResource1_8Test.java, ProblemController1_8Test, customActiveListTest.xml, ProblemController1_9Test from the REST web services module https://github.com/openmrs/openmrs-module-webservices.rest

      After doing all the above, remember to run the mvn clean install and ensure that all tests are passing. Also run the web application to ensure that all is well and you are able to login.

      https://wiki.openmrs.org/display/docs/Allergy+and+Problem+Lists
      http://blog.burkeware.com/2009/04/active-lists-in-openmrs/

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jdegraft James deGraft-Johnson
              Reporter:
              dkayiwa Daniel Kayiwa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: