A man who nearly fainted had obstructive hypertrophic cardiomyopathy, an inherited heart condition that goes undiagnosed in most people who have it.