Complex sentence: Continuing to suffer from tuberculosis, Sudirman was checked into Panti Rapih, where he stayed until October October, when he was transferred to a sanatorium in nearby Pakem.
Split into simpler sentences: Continuing to suffer from tuberculosis, Sudirman was checked into Panti Rapih. He stayed in Panti Rapih until near the end of the year, being released by October; he was transferred to a sanatorium in nearby Pakem.