Yes, that is the goal for part 1. You'll notice that if you tabulate heartatk before adding labels that the categories are 0 & 1. To submit a table for publication you need informative labels for the categories.
Here is an example:
webuse nhanes2, clear
tab highbp
label variable highbp "high systolic blood pressure"
label define bplabel 1 ">=140" 0 "<140"
label values highbp bplabel
tab highbp