HFE compatible with platform 2.0 up to 2.3.2

Build: #113 was successful

Job: Test against 2.2 was successful

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Code commits

Git

  • Stephen Senkomago Musoke

    Stephen Senkomago Musoke 7746c08184816b7b03003ca43c9e0f3c7dbcf505

    HTML-776 Add an optional date attribute to latestObs, earliestObs, latestEncounter and currentProgramWorkflowStatus to limit the date search for each of the expressions (#241)
    * HTML-776 add a latest date cut off for latestObs, latestEncounter and currentWorkflowStatus velocity expressions

    * Do not catch the exception in allObs so that it bubbles up to the caller

    * Handle date parsing exceptions and clean up methods to reduce redirection

    • api-tests/src/test/java/org/openmrs/module/htmlformentry/RegressionTest.java (version 7746c08184816b7b03003ca43c9e0f3c7dbcf505)
    • api-tests/src/test/java/org/openmrs/module/htmlformentry/VelocityFunctionsTest.java (version 7746c08184816b7b03003ca43c9e0f3c7dbcf505)
    • api/src/main/java/org/openmrs/module/htmlformentry/VelocityFunctions.java (version 7746c08184816b7b03003ca43c9e0f3c7dbcf505)
    • api/src/test/resources/org/openmrs/module/htmlformentry/data/RegressionTest-data-openmrs-2.1.xml (version 7746c08184816b7b03003ca43c9e0f3c7dbcf505)
    • api/src/test/resources/org/openmrs/module/htmlformentry/include/velocityFormLatestWithDate.xml (version 7746c08184816b7b03003ca43c9e0f3c7dbcf505)