openmrs/openmrs-core — pull request #629 by endeepak (2014-02-11 09:39:33+00:00)
Title: TRUNK-4254 : Allow configurable number of days after which visit can be auto closed

I have changed AutoCloseVisitsTask to read a global property which indicates minimum number of visit days allowed before auto closing visit. The default value will be 0, so it continues to work the same way it is now.