A state's public hospital system will be without thousands of doctors for four hours later this week as they bid to win fairer pay and safer workloads.