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

Require start and discontinue dates for orders

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Could
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.9.0
    • Component/s: Data Model
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      The current data model allows start and stop dates for orders to be null; however, this makes it difficult to determine active orders when performing retrospective queries. After some discussion within the 18-Oct-2007 Developers Conference Call, we decided that it would be preferable to make start_date required, forcing the application to determine a reasonable default date as orders are created/changed.

      With this change, the order.discontinued bit becomes unnecessary and it should be removed.

      (u) order.start_date becomes required
        (-) order.discontinued
      

        Attachments

        1. openmrs-476.2.patch
          34 kB
        2. openmrs-476.patch
          2 kB
        3. openmrs-476-3.patch
          45 kB
        4. openmrs-476-4.patch
          3 kB

          Activity

            People

            Assignee:
            zabilcm Zabil C.M [X] (Inactive)
            Reporter:
            burke Burke Mamlin
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: