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

Obs date format differs in getValueAsString and setValueAsString

    XMLWordPrintable

Details

    Description

      The Obs#setValueAsString expects date string to be in "yyyy-MM-dd" and the Obs#getValueAsString returns the date value in short format "dd-MM-yy". Currently this affects the obs get and save in encounter transaction API in EMR-API.

      This should be changed to use same format in both places, preferably "yyyy-MM-dd".

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                rohanpoddar Rohan Poddar
                endeepak Deepak N
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - 2 hours
                    2h
                    Remaining:
                    Time Spent - 1 hour Remaining Estimate - 1 hour
                    1h
                    Logged:
                    Time Spent - 1 hour Remaining Estimate - 1 hour
                    1h