Conclusion: These seven immune-related gene risk signatures provided an effective method for prognostic stratification in ER (+) and/or PR (+) and HER2 (−) BC. The gene discussed is ERBB2; the disease is breast cancer.