Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

How to set validation rules for Participant UID field?

The participant can contain a "Unique ID" to store geography-specific identifiers—for example, SSN in the U.S, Medicare number in AU, etc. However, different countries have different formats. 

This page describes how to specify the validation rules for the UID field.

  1. Login as Super Admin
  2. Click on 'Settings' card
  3. Search for 'UID Pattern' property
  4. Click on the property 'UID Pattern'. 
  5. Enter the regex pattern in the 'New Value' field to validate SSN. 
  6. Click on 'Update'. 

E.g. The regex pattern for US SSN format: ^(?!000|666)[0-8][0-9]{2}-(?!00)[0-9]{2}-(?!0000)[0-9]{4}$

Learn how to create a regex for your pattern: https://regexone.com/

A detailed explanation of the default SSN format 'AAA-GG-SSSS'.

  • The first three digits were historically (before mid-2011) assigned by geographical region, and are thus called the area number. The area number cannot be 000, 666, or between 900 and 999.
  • Digits four and five are called the group number and range from 01 to 99.
  • The last four digits are serial numbers from 0001 to 9999.
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com