added ecgOutcome api