Applying smart card in health care system