Patient Migration - CSV Upload Date format support for '/' separator char

Given that a user has date concepts in the CSV (for both registrations and forms), when the user has date format as YYYY/MM/DD (i.e. using slash as separator), then the data should be successfully be imported in the concept.

Note: At present migration only supports hyphen as a separator in the date format, i.e. YYYY-MM-DD.

As per discussion with community following requirement has been finalised.

  • Add support for csv date global property bahmni.admin.csv.upload.dateFormat

  • User can set a valid date format in global property

  • CSV dates will be parsed using the set dateFormat.

  • User should get error for incorrect format of concept dates same as as it is getting currently getting error for visit start date and encounter date.