Getting position health or liquidation price / current price through contract

Hi,

I’ve tried to look at the documentation, but I could not find an answer. I would like to monitor my positions on Avax MIM an a similar way to how I check for AAVE here:

I don’t want to create an alert for price, because I would need to update it based on current collateral. Is there a smart contract function I can call to get position health or liquidation price and current price of collateral in a current cauldron?

Looks like _isSolvent would be useful template, but is there a code for Position Health that is shown on the website somewhere?