rtificial Intelligence (AI) is increasingly being adopted in the field of medical diagnostics, offering innovative solutions for early disease detection and improving clinical decision-making. One striking example is the use of AI-based models in diagnosing Diabetic Retinopathy (DR), a condition that can lead to permanent blindness if left untreated. Leveraging machine learning algorithms, these tools can analyze high-resolution retinal images and detect minute abnormalities, sometimes with greater accuracy than human experts.

But with great innovation comes a pressing need for regulation, especially when sensitive patient data and life-altering diagnoses are involved. In Indonesia, the government is responding with a comprehensive legal framework to ensure AI is used responsibly in healthcare.

This article, prepared by SIP Law Firm, explores the use of AI in medical diagnostics, with a focus on the regulatory, ethical, and legal frameworks currently applicable in Indonesia.

The Application of AI in Medical Diagnostics

AI in healthcare refers to the deployment of intelligent algorithms to process medical data and support diagnostic decision-making. AI technologies leverage methods such as machine learning, neural networks, and natural language processing to identify patterns in large and complex datasets. Its applications in medicine include medical image analysis, genomic data processing, disease prediction, and the development of clinical decision support systems..

AI algorithms are capable of interpreting medical images and assisting healthcare professionals in identifying and diagnosing diseases more accurately and efficiently. These systems are also employed to analyze biosignals like ECG and EEG, as well as electronic health records, vital signs, and laboratory results. A multimodal approach allows AI to deliver a comprehensive view of a patient’s health status, thereby improving clinical decision-making.

By integrating data from multiple sources, healthcare providers gain a more complete understanding of a patient’s condition and the root causes of their symptoms. This reduces the risk of misdiagnosis and improves diagnostic precision.

One example is the use of Convolutional Neural Networks (CNNs) to detect Diabetic Retinopathy (DR)—a severe complication of diabetes—via digital fundus imaging. This AI-driven method enables the identification of retinal abnormalities such as microaneurysms, hemorrhages, and exudates, which are often difficult to detect with the naked eye and require significant time and cost. Given the importance of early detection to prevent blindness from DR, AI-powered machine learning presents a promising and cost-effective solution..

Regulatory Framework for AI in Healthcare in Indonesia

The right to access quality healthcare services is constitutionally guaranteed under Article 28H paragraph 1 of the 1945 Constitution of the Republic of Indonesia (UUD NRI 1945), which states that “every citizen has the right to live in physical and spiritual prosperity, to have a place to live, and to enjoy a good and healthy environment and to receive medical care.” Based on this provision, healthcare services are a state priority, and the government is obligated to continuously improve healthcare quality, including through the adoption of advanced technologies such as AI to enhance diagnostic accuracy and expand access.

The legal basis for AI in healthcare has been established through Law Number 17/2023 on Health (UU Kesehatan). While the law does not explicitly mention “Artificial Intelligence,” it provides sufficient legal latitude for the integration of emerging technologies within the healthcare system. Article 1 paragraph 18 of the Health Law defines Health Technology as:

“All forms of tools, products, and/or methods intended to assist in diagnosing, preventing, and treating human health problems.”

This broad definition effectively legitimizes the use of AI, including algorithms like CNN and machine learning, that support diagnosis through medical imaging, laboratory data analysis, or electronic health records. For instance, the use of AI to detect Diabetic Retinopathy through digital fundus images aligns with the mandate to facilitate accurate and timely diagnoses while also supporting preventive care and therapeutic decision-making.

Furthermore, Article 334 paragraph 1 to paragraph 4 of the same law, under Chapter X on Health Technology, further elaborates on the use of technology in healthcare as follows:

  1. Health Technology must be organized, developed, distributed, and evaluated through research, development, and assessment to improve Health Resources and Healthcare Services;
  2. Health Technology encompasses both hardware and software;
  3. The Central and Regional Governments are encouraged to promote the use of domestically produced Health Technology;
  4. Health Technology must meet standards as stipulated in relevant laws and regulations.

From these provisions, it is clear that software-based solutions, including AI, are encompassed within the legal definition of health technology. However, their application requires rigorous oversight to ensure patient data security, demonstrable clinical efficacy, and minimal risk to the public, both ethically and socially.

Also read:

Ethical and Implementation Challenges in the Use of AI in Healthcare

While AI offers immense promise for innovation and improved healthcare outcomes, it also brings about significant ethical and social considerations.. One of the most pressing issues is the protection of personal health data. AI systems often rely on vast datasets to train algorithms and generate clinical insights. Without proper governance, this can compromise patient privacy and violate their rights.

Indonesia’s Law Number 27/2022 on Personal Data Protection (PDP Law) highlights this concern. Under Article 4 paragraph 2 of the law, health data is classified as specific personal data, requiring heightened safeguards in its collection, storage, and processing. When AI is used to process medical information, data controllers must strictly adhere to principles of caution, transparency, and accountability in compliance with the PDP Law.

Another critical concern is algorithmic bias. AI models trained on non-representative datasets may yield inaccurate or discriminatory diagnostic outputs, potentially harming specific demographic groups. This emphasizes the need for ethical and inclusive data practices. Moreover, transparency in AI decision-making, particularly in “black box” systems, poses challenges for medical professionals and patients alike. When an AI system predicts a high risk of diabetes in a patient, both the physician and the patient deserve to know which data points were used, which variables were prioritized, and whether factors such as family history or lifestyle were considered. Without transparency, the recommendations issued by AI systems become ethically ambiguous and legally indefensible.

A Path Forward: Regulation, Ethics, and Human-Centered Design

SIP Law Firm firmly recommends for the integration of AI in healthcare to be grounded not only in technological capabilities but also in legal certainty, ethical compliance, and a commitment to human-centered principles in service delivery. AI must not become an unregulated instrument of automation. Instead, its implementation must be guided by visionary policymaking and collaborative efforts among all stakeholders to establish a healthcare system that is just, inclusive, and sustainable.***

Also read: Protecting Innovation: The Role of Patents in Biotechnology Drug Development

Regulations:

  • Undang-Undang Dasar Negara Republik Indonesia Tahun 1945 (UUD NRI 1945).
  • Undang-Undang Nomor 27 Tahun 2022 tentang Perlindungan Data Pribadi (UU PDP).
  • Undang-Undang Nomor 17 Tahun 2023 tentang Kesehatan (UU Kesehatan). 

References:

  • Kecerdasan Buatan dalam Diagnostik Medis, Revolusi dalam Dunia Kesehatan. Universitas Medan Area. (Diakses pada 16 Juli 2025 pukul 09.10 WIB). 
  • Revolusi AI dalam Diagnostik Medis. detik.com. (Diakses pada 16 Juli 2025 pukul 09.26 WIB). 
  • Nurohman, Rudi Heriansyah, Dwi Asa Verano, & Zaid Romegar Mair. (2024). Deteksi Penyakit Diabetes Retinopathy Menggunakan Citra Digital Dengan Metode Convolutional Neural Network (Cnn). Prosiding Snast, November, 311–320. (Diakses pada 16 Juli 2025 pukul 09.42 WIB).  
  • Afandi, A. R., & Kurnia, H. (2023). Revolusi Teknologi: Masa Depan Kecerdasan Buatan (AI) dan Dampaknya Terhadap Masyarakat. Academy of Social Science and Global Citizenship Journal, 3(1), 9–13. (Diakses pada 16 Juli 2025 pukul 10.12 WIB). 
  • AI Cerdas tapi Bisa Bias? Waspada Bahaya Algoritma. Universitas Airlangga. (Diakses pada 16 Juli 2025 pukul 10.18 WIB).