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

Hard-coded uuids for drug order type and test order type

    XMLWordPrintable

Details

    • Enhancement
    • Status: Ready for Work
    • Should
    • Resolution: Unresolved
    • Core 2.4.0
    • None
    • None
    • Low

    Description

      OpenMRS has hard-coded uuids in the API service to look up the order type for "Drug Order" and the order type for "Test Order". 

      However, there is no requirement or enforcement in the system that OpenMRS implementations have Order Types with these uuids, and in fact the system explicitly supports the ability to have multiple order types to represent drug orders and test orders via the "javaClassName" property.

      Any place in the codebase where these constants are looked up should be evaluated to determine if looking up by javaClassName is the better and more correct approach, and we should do everything we can to remove any dependencies on these specific uuids.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                mseaton Mike Seaton
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated: