Optim Data Privacy Providers  11.7.0
 All Data Structures Files Functions Variables Macros Groups Pages
Modules
France National ID
Collaboration diagram for France National ID:

Modules

 Specific Parameters
 
 Example
 

Detailed Description

Service Identifier: NID

This Service Provider is used to generate a valid and unique French National Institute for Statistics and Economic Studies (INSEE) number. By default, the France National ID Service Provider algorithmically generates a consistently altered destination INSEE number based on the source INSEE number. This Service Provider can also generate a random INSEE number when the source data does not have an INSEE number or when there is no need for transforming the source INSEE number in a consistent manner.




The following Common Parameters apply to France National ID:




The below validations will be part of basic validations for the France National ID:

  1. The input national ID is invalid in length.
  2. The conversion of source is not possible due to invalid source value.
  3. The input national ID has invalid separator.
  4. The input national ID is invalid.
  5. The input national ID has invalid name.
  6. The replacement character is invalid for national ID.
  7. The national ID has invalid character.
  8. The family name is invalid for national ID.
  9. The first name is invalid for national ID.
  10. The birth date is invalid for national ID.
  11. The region code is invalid for national ID.




The below validations will be done only when parameter ODPP_OPR_FLAGS is specified with value ODPP_FLAG_VALIDATE_INPUT during Provider_Init():

  1. Check for an invalid commune code.
  2. Check for an invalid control key(check digit).




The following Service Provider Information Requests are applicable to the National ID Service Provider:




The following validation are part of basic validations for EML service provider:




Format of France National ID

The France National ID is a 15 digit number having the following format:

SYYMMDDCCCOOOKK

SSex and Citizenship information
YYLast two digits of the Year of Birth
MMMonth of Birth (January has a value 1)
DDDepartment of origin
CCCCommune of origin (Valid values are defined by the department value)
OOOOrder number
KKControl key or Check Digit




Valid Field Specifications

The following convention is used in the table below:
C - copy from source to result
X - mask

For example, 5C10X (copy the first five digits of the source value to the result and mask the remaining Ten digits)

S/NFields to be maskedFormat without separator
1Sex Year Month Commune [ Default ]5X2C8X
2Sex1X9C5X
3Sex Year3X7C5X
4Sex Month1X2C2X5C5X
5Sex Commune1X6C8X
6Sex Department1X4C8X
7Sex Year Month5X5C5X
8Sex Year Commune3X4C8X
9Sex Year Department3X2C10X
10Sex Month Commune1X2C2X2C8X
11Sex Month Department1X2C12X
12Sex Year Month Department15X
13Year1C2X7C5X
14Year Month1C4X5C5X
15Year Commune1C2X4C8X
16Year Department1C2X2C10X
17Year Month Commune1C4X2C8X
18Year Month Department1C14X
19Month3C2X5C5X
20Month Commune3C2X2C8X
21Month Department3C12X
22Commune7C8X
23Department5C10X




Data Types

The France National ID Service Provider supports the following data types for the source and destination columns: