Implementation of a machine learning application in preoperative risk assessment for hip repair surgery