The Rural Doctors Association says planned laws covering violence against health workers need to cover general practice and not just hospitals.

Anyone who assaults health workers in South Australian hospitals will face penalties of up to 25 years in jail, under the planned legislative change.

Association president Scott Lewis said the proposal was good news but there should not be a demarcation between hospitals and GP practices.

"In rural areas it's even a little bit more curious because we have general practices co-located with hospitals or we have general practices, in my case, within a stone's throw of the hospital," he said.

"If I was to be assaulted in my hospital 40 metres away then it would be an aggravated assault but if I'm assaulted here in my rooms then it wouldn't be. That doesn't make a huge amount of sense."

A government spokesman said health professionals were being consulted about the proposed change and whether it needed to go even further.