Uploaded image for project: 'OpenMRS 3.x Frontend'
  1. OpenMRS 3.x Frontend
  2. O3-1367

Vitals error: encounter datetime should be before the current date

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • TBD
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Undetermined

    Description

      When submitting vitals, a 400 error occurs with the following message

      {"error":{"message":"Invalid Submission","code":"webservices.rest.error.invalid.submission","globalErrors":[],"fieldErrors":{"encounterDatetime":[

      {"code":"Encounter.datetimeShouldBeBeforeCurrent","message":"The encounter datetime should be before the current date."}

      ]}}}

      Tested on dev3, patient: https://dev3.openmrs.org/openmrs/spa/patient/89cc78b7-01bb-493b-bc5a-afd562db999f/chart/Patient%20Summary

      A week ago, this behavior did not happen in what I think was the same process.

      Same error if biometrics are attempted to be added (I'm pretty sure that's the same anyway)

      gif attached

      Gliffy Diagrams

        Attachments

          1. chrome_v8Qr57dUQz.gif
            267 kB
            Todd Anderson

          Activity

            People

              Unassigned Unassigned
              tanderson Todd Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: