Uploaded image for project: 'HTML Form Entry Module'
  1. HTML Form Entry Module
  2. HTML-646

Merge htmlformentry19ext module into htmlformentry

    XMLWordPrintable

Details

    • Undetermined

    Description

      Now that htmlformentry requires a minimum version of OpenMRS 1.9.9, there is no longer any need for the htmlformentry19ext module to stay separate.

      We should move the functionality from htmlformentry19ext into htmlformentry, and modify htmlformentry19ext to fail to start if the version of htmlformentry that is installed is a certain number or higher.

      I believe the key steps would be to:

      • Move EncounterProviderAndRoeleTag Handler into the "handler" directory in HFE API project with the other handlers
      • Move EncounterRoleWidget, ProviderWidget, and ProviderAjaxAutoCompleteWidget into the "widget" directory in HFE API
      • Move ProviderAndRoleElement and the ProviderStub into the "element" directory in HFE API
      • Move "MatchMode", "ProviderTransformer" and "Transformer", "Predicate" into a new "util" directory in the HFE API project
      • Do not copy over the ProviderByPersonNameComparator, but instead use the one now provided by core
      • Move the utility methods in "HtmlFormEntryExtensions19Utils" into the existing "HtmlFormEntryUtil"--if there are any overlapping/duplicate methods, remove
      • Incorporate the messages.propertes into the HFE messages.properties (be sure to properly push the translations into Transifex); remove the HFE 19ext Transifex project (if one exists)
      • Add the EncounterRoleAndProviderTagHandler to the handler configuration in the HFE moduleApplicationContext (this replaces the setup in the HFE-Ext19 activator)
      • Rename the "HtmlFormEntry19ExController" to "ProviderSearchController"; change the mapping of the getProviders method to the htmlformentry module instead of "htmlformentry19ext"; change all references to this controller (there may only be one--in the ProviderAjaxAutoCompleteWidget"
      • Move all the tests over to the HFE module and confirm they work
      • Modify htmlformentry19ext to fail to start if the version of htmlformentry that is installed is a certain number or higher.

      Gliffy Diagrams

        Attachments

          Activity

            People

              gutkowski Paweł Gutkowski
              mseaton Mike Seaton
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 5 hours
                  1d 5h