HFE compatible with platform 2.0 up to 2.3.2

Build: #46 was successful Changes by Michael Seaton <mseaton@pih.org>

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Code commits

Git

  • Michael Seaton <mseaton@pih.org>

    Michael Seaton <mseaton@pih.org> b48e22878608e0da6bfcac73d0c5854970e7c147

    Drug order fixes (#221)
    * Initial fixes to clean up CSS and to add more detail to the view mode

    * Standardize dispensing with quantity by default.

    * Ensure default order date is set to the encounter date, if editing an existing encounter and no specific date field is on the form.

    * Two fixes - one, makes sure that all option lists are configured with the primary key ids of each metadata item.  two, makes sure that the dateActivated is not submitted from the form, but rather taken from the tag configuration or the encounter date.

    * Render active orders in enter/edit mode by default, to facilitate ensuring that these orders are recognized as active and more easily operated on.

    * Fix misalignment of radio buttons in 2.x UI

    * Fix to display of orders to format these with the same label configurations as specified on the tag for consistency.

    * Fix to discontinue date rendering and do not auto-open for a new order after discontinuation.

    * Improved formatting of orders when later discontinued.

    * Unit test adjustments following merge of master.

    • api-tests/src/test/java/org/openmrs/module/htmlformentry/element/DrugOrderSubmissionElementTest.java (version b48e22878608e0da6bfcac73d0c5854970e7c147)
    • api-tests/src/test/java/org/openmrs/module/htmlformentry/handler/DrugOrderTagHandlerTest.java (version b48e22878608e0da6bfcac73d0c5854970e7c147)
    • api-tests/src/test/java/org/openmrs/module/htmlformentry/widget/DrugOrderWidgetTest.java (version b48e22878608e0da6bfcac73d0c5854970e7c147)
    • api/src/main/java/org/openmrs/module/htmlformentry/element/DrugOrderSubmissionElement.java (version b48e22878608e0da6bfcac73d0c5854970e7c147)
    • api/src/main/java/org/openmrs/module/htmlformentry/handler/DrugOrderTagHandler.java (version b48e22878608e0da6bfcac73d0c5854970e7c147)
    • api/src/main/java/org/openmrs/module/htmlformentry/util/JsonObject.java (version b48e22878608e0da6bfcac73d0c5854970e7c147)
    • api/src/main/java/org/openmrs/module/htmlformentry/widget/DateWidget.java (version b48e22878608e0da6bfcac73d0c5854970e7c147)
    • api/src/main/java/org/openmrs/module/htmlformentry/widget/DrugOrderWidget.java (version b48e22878608e0da6bfcac73d0c5854970e7c147)
    • api/src/main/resources/messages.properties (version b48e22878608e0da6bfcac73d0c5854970e7c147)
    • omod/src/main/webapp/resources/drugOrderWidget.css (version b48e22878608e0da6bfcac73d0c5854970e7c147)
    • omod/src/main/webapp/resources/drugOrderWidget.js (version b48e22878608e0da6bfcac73d0c5854970e7c147)
    • scripts/watch-webapp.sh (version b48e22878608e0da6bfcac73d0c5854970e7c147)