Singlehood and psychological counseling experiences were protective factors of the QoL scores, whilst insufficient sleep, abnormally elevated CRP, C4, IgA and IgM levels were risk factors for the QoL scores of RA patients. The gene discussed is CD40LG; the disease is rheumatoid arthritis.