primary immunodeficiency due to a defect in adaptive immunity (EFO_0700042) is disorders of adaptive immunity (i.e., T-cell, B-cell or combined immunodeficiencies), a type of primary immunodeficiency disorder (PID), which constitute a heterogeneous group of disorders that result from defects in immune system development and/or function.