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

Add regex validation to PersonNameValidator

    XMLWordPrintable

    Details

    • Complexity:
      Low

      Description

      In TRUNK-338 Shanaka added some user-defined regex validation to the create patient jsp page. This check needs to be at the api level as well in the PersonNameValidator class on all string-based fields of PersonName.

      Add some @shoulds and unit tests for this as well.

        Attachments

        1. 2616_2.patch
          23 kB
        2. 2616_3.patch
          25 kB
        3. 2616.patch
          15 kB

          Issue Links

            Activity

              People

              Assignee:
              gokhan Gokhan Ozman
              Reporter:
              bwolfe Ben Wolfe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: