Design an automatic appointment system to improve patient access to primary health care