The state government is hoping a two-year pay deal with 16,000 health sector workers will set a precedent for other public sector workers including prison officers and nurses as it tries to contain spending growth in the lead-up to next year's election.