Use a risk-based approach to design connected medical devices