I am not sure what your question is, but gout and osteoarthritis itself can cause ankle, wrist, shoulder and elbow stiffness. This can result in whole right arm stiffness. Lupus usually causes more generalized symptoms like fatigue, rashes, numbness, tingling, fever etc. It does not cause symptoms restricted to joints.
The American College of Rheumatology (ACR) has identified 11 characteristics that should be present for diagnosis of SLE or lupus and it is important that at least 4 of the characteristics should be present for a confirmed diagnosis. This includes serositis (pleurisy or pericardiatis, since you had bronchial infection, ask your doctor to check for pleurisy or inflammation of lining of lung), mouth ulcer, low WBC or leucopenia/anemia (hemolytic)/thrombocytopenia/lymphopenia, arthritis, kidney involvement, high ANA, finding of Smith Antibody (Anti-Smith)/ dsDNA/ antiphospholipid antibodies (anticardiolipin immunoglobulin G [IgG] or immunoglobulin. So, if you and your doctor suspect you have lupus, you can ask your doctor to run basic tests like ANA, ANA staining, Anti-RNP antibodies, anti-U1 RNP antibodies etc. Take care!