Improving model-based cardiac diagnosis with an ECG