The results of ROC curve analysis showed that the area under the curve (AUC) of ATX for diagnosing optic neuropathy in DR patients was 0.873, with a 95% CI of 0.808–0.938. The gene discussed is ENPP2; the disease is optic nerve disorder.