Back to portfolio
Healthcare Claim Microservices · Case study

Claim Integration & Data Pipeline Platform

Two Node.js services that take healthcare claims from hospitals, partners and clients, validate them, and exchange claim files and reports with each client.

Challenge

Every client and partner exchanges claims in its own format, channel and schedule.

Claims arrive through partner APIs, hospital submissions and daily client files on SFTP. Each client expects status files back in its own layout, often encrypted, on a fixed schedule. Done by hand, every new client adds file handling, manual checks and report preparation, and a missed file is only noticed when the client asks.

05Claim Integration
Platform

Solution

The platform is split into two services. The claim service owns claim intake, attachments, validation and the hand-off to the core claim system. The data pipeline owns everything that crosses to clients: SFTP pulls and pushes, PGP encryption, scheduled jobs and reports. They talk over authenticated REST, and partner status updates arrive through RabbitMQ.

  • Claim intake APIs Outpatient and inpatient claims from hospitals and partners, v1 and v2.
  • Per-company authentication JWT and company-level access, with request and response logging.
  • Attachment microservice Documents stored by token, with rollback when a claim is rejected.
  • Client SFTP pull Daily claim archives downloaded, validated and turned into claims.
  • Client file push Status files generated, PGP-encrypted and uploaded on schedule.
  • RabbitMQ status processing Durable queues, one message at a time, acknowledged after processing.
  • Run-once scheduling Pods race for a ticket so each hourly job runs exactly once.
  • Automatic retries Failed claims and failed file deliveries are retried by dedicated jobs.
  • Client reporting Utilisation, SLA, benefit balance, collections and batch reports.
  • Observability Health checks, Datadog tracing, Sentry and logs on success and failure.

Claim Integration Platform

The claim service exposes REST APIs to hospitals, partners and the internal claim application, and stores claims in MongoDB and MSSQL. It calls the data pipeline over authenticated REST for reports and batch data. The data pipeline runs scheduled jobs that exchange files with clients over SFTP with PGP, consumes partner status updates from RabbitMQ, and writes a log for every run. Both services run as Docker containers on Kubernetes, built and released through Jenkins.

Business impact

  • Validated claims reach the core system without re-keying
  • Client files and reports delivered on schedule, without manual preparation
  • New clients onboarded through configuration instead of new code paths
  • Failed deliveries retried automatically and visible in logs
  • Scheduled jobs run exactly once, even with several replicas
  • Secure file exchange with PGP encryption over SFTP
  • Each service deployed and scaled independently on Kubernetes