Oxycontin (oxycodone) and heroin are both opioids, but not exactly the same substance. So, no, Oxycontin is not "pharmaceutical grade heroin" — thats an oversimplification to say they're both opioids (so they work in a similar way).
Just take a look at their molecular structures to see that they're similar, but different:
**Heroin:**
!Heroin
**Oxycodone:**
!Oxycodone