The NSW Premier says her government will learn from the tragic experiences of regional communities struggling to access medical services.