Mapping Municipal Regulation of Digital Health: a Proposal Using Artificial Intelligence in Legal Research

Authors

DOI:

https://doi.org/10.11606/issn.2316-9044.rdisan.2025.232879

Keywords:

Artificial Intelligence, Digital Health, Empirical Research on Law, Data Scraping, Regulation

Abstract

This article proposes an empirical-legislative methodology based on web scraping and artificial intelligence techniques. Its specific objectives are to describe the proposed method, apply it to the analysis of municipal regulations related to digital health governance in Brazil, and evaluate its performance in light of potential biases, gaps, and limitations. The research involved an exploratory analysis of five Brazilian capitals, selected for their normative repositories’ accessibility and standardization. Through automated data scraping and classification of legal text using a language model, relevant legislations were identified and categorized into five main areas: governance, privacy and data protection, telehealth, research, and medical devices. The results show that digital healthrelated regulations still represent a small fraction of the total municipal regulations, mostly in the form of executive degrees. However, their number has grown significantly in the past few years, particularly after the enactment of the General Data Protection Law and during the Covid-19 pandemic. Despite limitations such as the lack of standardization of repositories and the exclusion of certain secondary regulations, the methodology proved to be efficient and scalable, enabling deeper analyses of regulatory patterns and gaps. The study concludes that automated tools have the potential to enhance analytical capacity in the legal field, promoting the empirical knowledge that is an essential foundation for shaping public policies in digital health, a strategic topic for future of regulation in Brazil.

Downloads

Download data is not yet available.

Author Biographies

  • André Bastos Lopes Ferreira, Universidade de São Paulo (USP). School of Law. São Paulo/SP, Brazil

    PhD candidate in Law at the Universidade de São Paulo Law School (FD/USP). Researcher of the Center for Research in Health Law (Cepedisa/USP). Lawyer.   

  • Larissa Bezerra Cuervo, Universidade de São Paulo (USP). School of Law. Ribeirão Preto/SP, Brazil

    Law degree from the Ribeirão Preto Law School of Universidade de São Paulo (FDRP/USP). Researcher of the Center for Research in Health Law (Cepedisa/USP). Lawyer.

  • Thárick Hernani dos Santos Ferreira Mafra, Universidade de São Paulo (USP). School of Law. Ribeirão Preto/SP, Brazil

    Law degree from the Ribeirão Preto Law School of Universidade de São Paulo (FDRP/USP). Researcher of the Center for Research in Health Law (Cepedisa/USP). Lawyer.

  • Victor Dantas de Maio Martinez, Universidade de São Paulo (USP). School of Law. Ribeirão Preto/SP, Brazil

    PhD candidate in Law at the Ribeirão Preto Law School of Universidade de São Paulo (FDRP/USP). Researcher of the Center for Research in Health Law (Cepedisa/USP).

References

AITH, Fernando Mussa Abujamra. Saúde digital e os desafios regulatórios. Revista de Direito Sanitário, v. 21, 2021, p. 1-2. DOI: https://doi.org/10.11606/issn.2316-9044.rdisan.2021.193268. Disponível em: https://revistas.usp.br/rdisan/article/view/193268/178486.

BARDIN, Laurence. Análise de conteúdo. Lisboa: Edições 70, 1977.

BOLFARINE, Heleno; BUSSAB, Wilton de Oliveira. Elementos de amostragem. São Paulo: Edgard Blücher, 2005.

BRASIL. Constituição da República Federativa do Brasil de 1988. Disponível em: http://www.planalto.gov.br/ccivil_03/constituicao/constituicao.htm. Acesso em: 10 dez. 2024.

BRASIL. Lei Complementar n. 95, de 26 de fevereiro de 1998. Dispõe sobre a elaboração, a redação, a alteração e a consolidação das leis conforme o disposto no parágrafo único do art. 59 da Constituição Federal, e estabelece normas para a consolidação dos atos normativos que menciona. Disponível em: http://www.planalto.gov.br/ccivil_03/leis/lcp/lcp95.htm. Acesso em: 10 dez. 2024.

BRASIL. Lei n. 13.709, de 14 de agosto de 2018. Lei Geral de Proteção de Dados Pessoais (LGPD). Disponível em: https://www.planalto.gov.br/ccivil_03/_ato2015-2018/2018/lei/l13709.htm. Acesso em: 15 jul. 2025.

BUCCI, Maria Paula Dallari. Notas para uma metodologia de análise de políticas públicas. In: FORTINI, Cristiana; ESTEVES, Júlio César dos Santos; DIAS, Maria Tereza Fonseca (orgs.). Políticas públicas: possibilidades e limites. Belo Horizonte: Editora Fórum, 2008. p. 225-260.

BUCCI, Maria Paula Dallari. O conceito de política pública em direito. In: BUCCI, Maria Paula Dallari (org.). Políticas públicas: reflexões sobre o conceito jurídico. São Paulo: Saraiva, 2006. p. 1-47.

CAELEN, Olivier; BLETE, Marie-Alice. Developing Apps with GPT-4 and ChatGPT. 2. ed. Sebastopol: O’Reilly Media, 2024.

CAPPI, Riccardo. A “teorização fundamentada nos dados”: um método possível na pesquisa empírica em direito. In: MACHADO, Maria Rocha (ed.). Pesquisar empiricamente o direito. São Paulo: Rede de Estudos Empíricos em Direito, 2017. p. 391-421.

COCHRAN, William G. Sampling techniques. 3. ed. New York: John Wiley and Sons, 1977.

DI PIETRO, Maria Sylvia Zanella. Direito administrativo. 33. ed. Rio de Janeiro: Forense, 2020.

EPSTEIN, Lee; KING, Gary. Pesquisa empírica em direito: as regras de inferência. São Paulo: Direito GV, 2013.

EPSTEIN, Lee; MARTIN, Andrew D. An introduction to empirical legal research. Oxford: Oxford University Press, 2014.

KUBLIK, Sandra; SABOO, Shubham. GPT-3. Sebastopol: O’Reilly, 2022.

LUBANOVIC, Bill. Introducing Python: modern computing in simple packages. 2. ed. Sebastopol: O’Reilly, 2020.

MARCONI, Marina de Andrade; LAKATOS, Eva Maria. Fundamentos de metodologia científica. 5. ed. São Paulo: Atlas, 2003.

MARRARA, Thiago. Manual de direito administrativo: fundamentos, organização e pessoal. 2. ed. São Paulo: Kindle Direct Publishing (KDP), 2020. v. 1.

MITCHELL, Ryan. Web scraping with Python. 2nd ed. Sebastopol: O’Reilly Media, 2018.

PHOENIX, James; TAYLOR, Mike. Prompt engineering for generative AI: future-proof inputs for reliable AI outputs. 1. ed. Sebastopol: O’Reilly Media, 2024.

SILVA, Paulo Eduardo Alves da. Pesquisas em processos judiciais. In: MACHADO, M. R. (Org.). Pesquisar empiricamente o direito. São Paulo: Rede de Estudos Empíricos em Direito, 2017. p. 275-320.

WORLD HEALTH ORGANIZATION - WHO. Global strategy on digital health 2020–2025. Geneva: World Health Organization, 2021. Disponível em: https://iris.who.int/handle/10665/344249. Acesso em: 07 dez. 2024.

ZUFELATO, Camilo; MARTINEZ, Victor Dantas de Maio; CAMARGO, Vinícius de. “Justicia 4.0”: un panorama general sobre el uso de la tecnología en las políticas públicas judiciales en Brasil. In: BUSTAMANTE RÚA, Mónica María; PILAR HENAO OCHOA, Adriana del; RAMÍREZ CARVAJAL, Diana María (Orgs.). La justicia en la era de la revolución tecnológica. Medellín: Institución Universitaria de Envigado, 2023. p. 186-205.

Published

09/25/2025

How to Cite

Ferreira, A. B. L. ., Cuervo, L. B., Mafra, T. H. dos S. F. ., & Martinez, V. D. de M. . (2025). Mapping Municipal Regulation of Digital Health: a Proposal Using Artificial Intelligence in Legal Research. Journal of Health Law, 25(1), e0003. https://doi.org/10.11606/issn.2316-9044.rdisan.2025.232879