Introduction:Today, artificial intelligence (AI) is an up-to-date and widely used tool in various areas of the health care delivery system. Artificial intelligence, along with other possibilities resulting from technological advances, can bring about important developments in the treatment and provision of medical care, early diagnosis of diseases, screening, improving the cost and productivity of the health economy, and can also improve the education of health sciences and Carrying out evaluations and tests that have more validity and reliability, as well as assessing the needs of the audience, developing an educational program, a plan for the transformation and development of education and content production will provide significant help.The fact that a technological tool can help promote work that is useful for society is in itself a moral good and a practice that is morally praiseworthy and acceptable But a tool that is so useful for the health system may violate some principles and norms and ethical rules and cause harm to society, doctors, nurses and other health care service providers as well as patients.According to the theoretical and field research done in this regard, the following are the most important things to consider. 1. Privacy 2. Secrecy 3. Cultural considerations of the target community 4. Doctor-patient relationship and attention to the balance between AI decisions and physician decisions 5. The principle of justice and the issue of discrimination 6. Validation 7. Transparency 8. Training and evaluation. Paying attention to other important issues such as the possible ethical benefits and harms of registries, algorithmic exclusion of some patients, conflict of interests, as well as attention to justice from the perspective of algorithmic bias and the exclusion of minorities (both epidemiologically and socially, tribally, and racially) and paying attention to the possible increase in commercialization of medicine is among other things that can be interesting. Conclusion: The result is that compliance with medical ethics in cases where artificial intelligence is involved can become one of the most important issues of medical ethics.