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

EncounterValidator should prevent creation of encounters with encounterDatetime in the future

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.8.2, OpenMRS 1.9.0
    • Fix Version/s: OpenMRS 1.9.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      Currently I can go to the Manage Encounters administrative page and create an encounter whose encounterDatetime is tomorrow. This is wrong.

      (I assume this is permitted by prior OpenMRS versions too. I only verified it on trunk and demo. It should be fixed and backported, and the correct versions put in fixVersion.)

        Attachments

        1. save_invalid_datetime_for_encounter.png
          save_invalid_datetime_for_encounter.png
          44 kB
        2. TRUNK-2916.patch
          3 kB
        3. TRUNK-2916-2.patch
          4 kB

          Activity

            People

            Assignee:
            mvorobey Mykola Vorobey
            Reporter:
            darius Darius Jazayeri [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: