GPT and type 2 diabetes mellitus: A predictive model, FAP Index, containing age, type 2 diabetes, alanine transaminase, and ordinal cFAP was developed using logistic regression; then, its diagnostic accuracy was evaluated.<h4>Results</h4>FAP Index AUROC for advanced fibrosis was 0.875 (95% CI: 0.813-0.938) in the training cohort and 0.841 (95% CI: 0.776-0.906) in the validation cohort.