Social factor would be axis IV in DSM-IV-TR
In diagnosing psychiatric problem, you need to do multiaxial assessment of 5 axis. Axis I is psychiatric problem, axis II personality, axis III for other medical problem, axis IV for environtment or social factor then axis V for Global Assessment Functional(GAF) scale