Abstract
Nowadays, the digitalisation of healthcare has, in turn, generated outstanding volumes of heterogeneous data from EHRs, IoMT devices, and telemedicine platforms, requiring secure and scalable analytical frameworks. Existing monolithic systems now face issues related to scalability, interoperability, and compliance while also putting patient privacy at risk. Our study describes a new federated microservices architecture that integrates Kubernetes-orchestrated microservices, TensorFlow Federated learning, and Hyperledger Fabric blockchain to enable privacy-preserving, scalable, and auditable analytics in healthcare. In contrast to prior works focusing on isolated solutions, our framework presents an end-to-end deployable system with modular scalability, differential privacy, and immutable auditability. We have evaluated the framework on 100,000 synthetic Synthea records and a real-world dataset of 20,000 diabetes patients. The framework achieved 95.2% predictive accuracy, 42% lower latency, and 10 \(\times\) faster recovery than the monolithic baselines while ensuring zero breach success in adversarial simulations. These results demonstrate that the proposed architecture not only improves clinical decision support accuracy but also provides operational resilience, regulatory compliance, and cost efficiency. This work lays the foundation for next-generation intelligent healthcare systems, with future extensions toward multimodal data and explainable AI to enhance trust and adoption in clinical practice.
Similar content being viewed by others
Data availability
The datasets analysed in this study include both real-world and synthetic healthcare data. The real-world Type 2 diabetes dataset was obtained from the publicly available UCI Machine Learning Repository (Diabetes 130-US hospitals for the years 1999–2008), which is fully de-identified and accessible at https://archive.ics.uci.edu/dataset/296/diabetes+130-us+hospitals+for+years+1999-2008. As a publicly available, de-identified dataset, its use qualifies for exemption under 45 CFR 46.104(d)(4), and all data handling complies with HIPAA Safe Harbor de-identification standards and applicable GDPR requirements. In addition, synthetic patient records were generated using the open-source Synthea™ platform, available at https://synthetichealth.github.io/synthea, to support controlled experimentation. All datasets were processed and stored in accordance with relevant data protection regulations. The processed datasets and model implementation scripts are available from the corresponding author upon reasonable request for academic and non-commercial research purposes.
References
Shah, V. & Khang, A. Internet of medical things (IOMT) driving the digital transformation of the healthcare sector. In Data-Centric AI Solutions and Emerging Technologies in the Healthcare Ecosystem. 15–26 (CRC Press, 2023).
Chen, Z. et al. Harnessing the power of clinical decision support systems: Challenges and opportunities. Open Heart 10, e002432 (2023).
Rajkomar, A., Dean, J. & Kohane, I. Machine learning in medicine. N. Engl. J. Med. 380, 1347–1358 (2019).
Khanna, A. & Sattar, N. Big data and machine learning in healthcare. BMJ Health Care Inform. 28, e100321 (2021).
Yadegari, F. & Asosheh, A. A unified iot architectural model for smart hospitals: Enhancing interoperability, security, and efficiency through clinical information systems (cis). J. Big Data 12, 149 (2025).
Teo, J., Smith, M. & Johnson, R. Streamlining radiology workflows with microservices architecture. IEEE Trans. Biomed. Eng. 71, 455–467 (2024).
Teo, S., Kumar, R. & Williams, D. A comprehensive survey of federated learning in healthcare applications. Nat. Digit. Med. 7, 89 (2024).
Ahmad, M., Ali, H. & Khan, S. Microservice-based scalable and secure architecture for healthcare IOT. IEEE Internet Things J. 10, 6847–6859 (2023).
Casella, M., Rossi, E. & Bianchi, G. A scoping review of modular architectures in clinical decision support systems. J. Med. Internet Res. 27, e47821 (2025).
McMahan, B., Moore, E., Ramage, D., Hampson, S. & y Arcas, B. A. Communication-efficient learning of deep networks from decentralized data. In Proceedings of the 20th International Conference on Artifical Intelligence Statistics. 1273–1282 (2017).
Li, W., Zhang, X. & Chen, M. Fedcure: A heterogeneity-aware personalized federated learning framework for IOMT applications. IEEE Trans. Med. Imaging 43, 234–247 (2024).
Zhang, Y. & Kreuter, F. Recent advances in federated learning for healthcare: A systematic review. IEEE Rev. Biomed. Eng. 17, 123–145 (2024).
Kumar, A., Sharma, P. & Gupta, R. Blockchain-enabled federated learning in edge-fog-cloud healthcare systems. IEEE Trans. Cloud Comput. 12, 1089–1102 (2024).
Ziller, A., Müller, T. & Schmidt, J. Enhancing federated learning with blockchain-based secure aggregation. IEEE Trans. Inf. For. Secur. 19, 2456–2469 (2024).
Androulaki, E. & et al. Hyperledger fabric: A distributed operating system for permissioned blockchains. In Proceedings of the 13th EuroSys Conference. 1–15 (2018).
Cirillo, F., De Santis, M. & Esposito, C. Applications of solid platform and federated learning for decentralized health data management. In Artificial Intelligence Techniques for Analysing Sensitive Data in Medical Cyber-Physical Systems: System Protection and Data Analysis. 95–111 (Springer, 2025).
Koya, S. R. M. Microservice Architecture for Social Media Data Collection, Analysis, and Dashboarding. Master’s Thesis, University of Arkansas at Little Rock (2024).
Tedeschini, B. C. et al. Decentralized federated learning for healthcare networks: A case study on tumor segmentation. IEEE access 10, 8693–8708. https://doi.org/10.1109/ACCESS.2022.3141913 (2022).
Han, S. et al. Fed-ehp: Efficient and heterogeneous privacy-preserving personalized federated learning. In IEEE Transactions on Dependable and Secure Computing. 1–16. https://doi.org/10.1109/TDSC.2025.3634446 (2025).
Strack, B. et al. Diabetes 130-US hospitals for years 1999–2008 data set. https://archive.ics.uci.edu/dataset/296/diabetes+130-us+hospitals+for+years+1999-2008 (2014). Accessed 01 Jul 2026 (UCI Machine Learning Repository).
Akdemir, B., Karabulut, M. A. & Ilhan, H. Performance of deep learning methods in df based cooperative communication systems. In 2021 IEEE International Black Sea Conference on Communications and Networking (BlackSeaCom). 1–6 (2021).
Hossain, M. Z., Khan, M. M., Islam, R., Nahar, K. & Kabir, M. F. Formulation of a multi-disease comorbidity prediction framework: A data-driven case analysis on of diabetes, hypertension, and cardiovascular risk trajectories. J. Comput. Sci. Technol. Stud. 5, 161–182 (2023).
Patharkar, A., Cai, F., Al-Hindawi, F. & Wu, T. Predictive modeling of biomedical temporal data in healthcare applications: Review and future directions. Front. Physiol. 15, 1386760 (2024).
Becker, A. S., Chaim, J. & Vargas, H. A. Streamlining radiology workflows through the development and deployment of automated microservices. J. Imaging Inform. Med. 37, 945–951 (2024).
Annappa, B. et al. Fedcure: A heterogeneity-aware personalized federated learning framework for intelligent healthcare applications in IOMT environments. IEEE Access 12, 15867–15883 (2024).
Muneekaew, S., Wang, M.-J. & Chen, S.-Y. Control of stem cell differentiation by using extrinsic photobiomodulation in conjunction with cell adhesion pattern. Sci. Rep. 12, 1812 (2022).
Warnat-Herresthal, S. et al. Swarm learning for decentralized and confidential clinical machine learning. Nature 594, 265–270. https://doi.org/10.1038/s41586-021-03583-3 (2021).
Dayan, I. et al. Federated learning for predicting clinical outcomes in covid-19 patients. Nat. Med. 27, 1735–1743. https://doi.org/10.1038/s41591-021-01506-3 (2021).
Thakur, A. et al. Knowledge abstraction and filtering based federated learning over heterogeneous data views in healthcare. npj Digit. Med. 7, 283 (2024).
Zhu, H. et al. Fedweight: mitigating covariate shift of federated learning on electronic health records data through patients re-weighting. npj Digit. Med. 8, 286 (2025).
Funding
Open access funding provided by Symbiosis International (Deemed University). This work is supported by the Research Support Fund (RSF) of Symbiosis International (Deemed University), Pune, India.
Author information
Authors and Affiliations
Contributions
Z.A.A. conceived the study and designed the overall federated microservices framework. M.H. and Z.A.A. implemented the system architecture, developed the containerized microservices, and conducted the experiments, including federated model training and performance evaluation. S.S. (Sreyan Swarna) and D.R.N. contributed to data preprocessing, result interpretation, and performance analysis. S.F. and S.W.M. assisted in manuscript drafting, literature validation, and the refinement of experimental design. Shadab Siddiqui supported visualisation, figure preparation, and blockchain integration validation. All authors reviewed, edited, and approved the final version of the manuscript.
Corresponding author
Ethics declarations
Competing Interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Harshith, M., Ansari, Z.A., Fatima, S. et al. Federated microservices architecture with blockchain for privacy-preserving and scalable healthcare analytics. Sci Rep (2026). https://doi.org/10.1038/s41598-026-39837-1
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-026-39837-1


