Templefield Technologies
Data Science & ML Engineering

AI-Driven Hospital Invoice Verification

AI-driven hospital invoice verification built on a microservices architecture

Industry
Statutory Health Insurance
Client
AOK Systems GmbH
Engagement period
October 2024 – June 2025
Delivery mode
Remote
AI-driven hospital invoice verification

Situation

The client wanted to automate and improve the accuracy of its hospital-invoice verification process using machine learning. The existing approach relied on manual workflows that were inefficient, error-prone, and difficult to scale with growing case volumes.

Objective

Templefield Technologies was engaged to design and implement a scalable, Python-based ML microservice application that streamlines invoice verification, integrates cleanly with existing systems, and adheres to modern DevOps practices.

Approach

  • Developed a Python microservice leveraging PyTorch for machine learning and FastAPI for the application interfaces
  • Implemented PostgreSQL and Amazon S3 as the data infrastructure
  • Applied Docker containerization and Kubernetes orchestration with Helm for deployment management
  • Deployed Kafka for event-driven streaming between services
  • Established data governance frameworks to safeguard quality and compliance

Results

The solution improved invoice-verification accuracy and efficiency, reduced manual effort, and provided the client with a scalable, automated system ready for future enhancements. By guiding manual processing, it reduced the cost per invoice by 16%.

Technology stack

PyTorchPythonFastAPIKubernetesKafkaPostgreSQLS3DockerHelm
All work