There are several functions to assess the goodness of fit of binary, multinomial and ordinal logistic models. Generally, the Hosmer-Lemeshow test is suitable for binary, multinomial regression model, whereas, the Lipsitz and Pulkstenis Robinson tests are suitable for ordinal regression model. However, the test by Lipsitz et al. is partly based on the Hosmer-Lemeshow approach and is more suitable for a general ordinal regression model.
For better understanding you may follow this link.
Fagerland MW, Hosmer DW. A generalized Hosmer-Lemeshow goodness-of-fit test for multinomial logistic regression models. Stata J. 2012;12(3):447–453.
Lipsitz SR, Fitzmaurice GM, Molenberghs G. Goodness-of-fit tests for ordinal response regression models. Appl Stat J Roy Stat Soc C. 1996;45(2):175–190