PMN Rules

PMN Rules

The following rules can be applied to dictionary fields using Pseudonimisation (PMN):

NameData type fromData type toDescriptionConfigurable
Age GroupNumeric, DateTextConverts a number (age) or date (dob) into an age range, e.g. 7 becomes 0-9Yes
Date IntervalDateNumericTakes a date field and returns the number of complete years passed since that dateNo
Date midperiodDateDateRounds a date to the month/quarter/year level, returning the mid-point of that periodYes
Date partDateDateChanges the format of a dateYes
Date rata dieDateNumericReturns the Rata Die value calculated from the dateNo
Date year bandDateTextConverts a date into a year range, e.g. 27/05/2014 becomes 2010-2015Yes
Divide byNumericNumericTakes the value from another specified column and uses it as a numerator or denominator in a fraction with the given value.Yes
Exclude OutlierNumericNumericExcludes the value if it's not in a specific intervalYes
JitterNumericNumericAdds some jitter to a valueYes
LookupTextTextLookup a value in CSV file and return the corresponding valueYes
MaskTextTextMasks some characters from text given a templateYes
Number BandNumericTextConverts a number into a numeric range, e.g. 7 becomes 0-10Yes
Reduce PrecisionNumericNumericTakes any numeric value (positive, negative, decimal, etc.) and returns the number with a reduced precisionYes
RoundNumericNumericThis will a decimal number and round to nearest integerNo
SplitTextTextSplits the string with a delimiter and returns the N-th tokenYes
SubstringTextTextReturn the first X characters of a string from a starting indexYes
Updated on August 21, 2023

Was this article helpful?