Uploaded image for project: 'Reference Application'
  1. Reference Application
  2. RA-1101

Appointment Types should be built in to referencedemodata module, not referencemetadata module

    Details

    • Complexity:
      Undetermined

      Description

      The appointment types that we included for demonstration purposes are included as part of the referencemetadata module, but they should be in the referencedemodata module. As it stands now, no implementation can remove them.

      See https://talk.openmrs.org/t/why-do-deleted-appointment-module-types-return-after-restart/5655

      Dev Notes

      The fix here is probably as easy as just moving these two files to openmrs-module-referencedemodata:

      ...plus maybe a couple of lines like these:

      To test this:

      • run the complete reference application including the referencedemodata module, and make sure these appointment types exist.
      • remove the referencedemodata module
      • via the admin UI, delete one of the appointment types
      • restart OpenMRS (jetty or tomcat), still without the referencedemodata module, and verify that the deleted appointment type is not added back.

        Gliffy Diagrams

          Attachments

            Issue Links

              Attachments-Category-Modification

                Activity

                  People

                  • Assignee:
                    dkayiwa Daniel Kayiwa
                    Reporter:
                    darius Darius Jazayeri
                  • Votes:
                    1 Vote for this issue
                    Watchers:
                    5 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: