The randomisation sequence was computer generated , blocked , and stratified by use of ticagrelor or prasugrel , type of acute coronary syndrome ( ST-segment elevation myocardial infarction , troponin positive or negative , non-ST-segment elevation acute coronary syndrome ) , and anticipated use of immediate percutaneous coronary intervention .