help calculating rates in Stata

#1
I'm having trouble figuring out the Stata code to calculate rates and age-adjusted rates (for each type of injury, per 100,000, by patient state) for different types of injury in my database. My data look like this...

Patient ID State Age Type of Injury State Population
1 Ohio 34 A X
2 Ohio 39 A X
3 PA 31 B X
4 PA 28 B X
5 NY 24 B X
6 NY 30 C X
7 MS 34 C X
8 MS 31 C X


Does anyone have guidance on this?

thanks.