Assessment of the immediate prognosis during acute myocardial infarction