How is an immune deficiency diagnosed and what can lead to an immune deficiency?

The diagnosis of a primary immune deficiency always requires the elimination of other causes, which are generally much more common. As the majority of primary immune deficiency types are very rare diseases, the diagnosis should be performed by a consultant with specialist experience in immune deficiencies. In the process, specialised blood tests are required.