The intramedullary device (IMD) for proximal femur comprises of a nail with an expanded proximal end…