In 1864/65 Heine went to Berlin and worked with well-known physicians like Rudolf Virchow. The following year he was an assistant doctor in Heidelberg and qualified as professor. He succeeded his teacher Karl Otto Weber as professor and director of the surgical hospital. In 1869 Heine took up the job of director of the surgical hospital at the University of Innsbruck. In the Franco-Prussian War Heine once more worked as a military surgeon and was highly decorated.
Head of Hospital and president of the doctors' fraternity in Prague (1873–1877)
Heine's successful work in Innsbruck induced the Austrian government to start a similar project in Prague. From 1873 onwards Heine established a second surgical hospital as an exemplary institute of European rank. At the same time he engaged in improving the hygienic situation and the water supply of the city. Heine was elected president of the German medical fraternity in January 1877. In 1876 he had become a citizen of Austria and was given a peerage. In the summer of 1877 he surprisingly came down with a diphtheritic angina and died at his parents' home in Cannstatt.