Compatibility between the donor and recipient is determined through HLA typing. HLA are proteins found on most cells in the body, and a close match reduces the risk of complications such as graft-versus-host disease (GVHD). Blood tests are used to identify HLA markers and match potential donors with patients.