A temporary deal between doctors and a state government will prevent health workers from walking off the job, but a longer-term solution remains out of reach.