Skip to content

SKYWARE-Group/Identisio

Repository files navigation

Identisio

Nuget Badge Nuget Badge

This project is an attempt to build parsing and validation library for a variety of identifiers, such as IBAN, Vat numbers, etc.

Usage

The easiest way to use this library is to get it from NuGet as follows:

Install-Package Skyware.Identisio

The identifiers comply with the well-known patterns, such as Validate(), Parse(string id) and TryParse(string id, object x).

Example code:

var egn = Egn.Parse("6101057509");
Assert.IsTrue(egn.IsMale);
Assert.IsTrue(egn.Birthdate == new DateTime(1961, 1, 5));

Currently supported identifiers

Individuals

Organizations

  • Bulgaria
    • Company Registry Identifier (ЕИК/Булстат)
    • Medical Practice code (РЦЗ код)
    • NHIF number (НЗОК номер)

Spatial

  • Bulgaria
    • Health Region (Здравен район)