The CAS statement said the 29-year-old Jeglic, who scored Slovenia's winning goal against Slovakia on Saturday, had failed an in-completion drug test and had accepted the anti-doping violation.
Ziga Jeglic has been tested positive for fenoterol, a bronchodilator, a result of a test conducted in-competition, in Pyeongchang, and the athlete has accepted his provisional suspension, shall specify the HEAP in a press release.
However, he claimed he took the drug - which opens up the airways to the lungs - under doctor's orders.
Jeglic who also scored the victor in the shootout against Slovakia on Saturday failed an in-competition test.
Slovenia men's ice hockey player Ziga Jeglic has been suspended for the remainder of the ongoing Pyeongchang Olympics " Winter Olympics in Gold Coast after failing a drug test, the Court of Arbitration for Sport (CSA) has said.
"The procedure will continue and the CAS ADD will issue a final award after the conclusion of the Games".
Jeglic now plays for Russian side Torpedo Nizhny Novgorod in the Kontinental Hockey League, and also competed for the Slovenian national team at the 2014 Winter Olympics in Sochi.
"It has been prescribed to me after testing for respiratory problems in Slovakia in 2017".
Japanese ice skater Kei Saito failed a doping test and was sent home in the first week of the Games.
"I overlooked the difference between the comparable medicines that are allowed, which would allow me to use it in the event of respiratory problems even during the Olympic Games. We were kind of disappointed and a little upset that he won't be able to play, but we don't really know what the situation is", Slovenia captain Jan Mursak said after the loss to Norway.
The victor of the tie between Norway and Slovenia will face off against Olympic Athletes from Russian Federation in the quarter-final of the tournament.