Inspiration

What it does

How we built it

About BloodFlow AI

Inspiration

Blood is one of the most critical resources in healthcare, yet managing its availability is a complex logistical challenge. A hospital can face a shortage of a particular blood group while another facility may have available stock that could potentially help meet that demand.

This made me think about an important question: What if hospitals could predict blood shortages before they happen and coordinate available supplies more intelligently?

That question inspired BloodFlow AI.

I wanted to build more than a conventional inventory management system. I wanted to create an intelligent platform that helps healthcare facilities move from reactive stock management to proactive, data-driven decision-making.

What it does

BloodFlow AI is an AI-powered blood inventory forecasting and redistribution decision-support platform.

It brings together several capabilities:

  • Demand forecasting: Estimates future blood inventory requirements over 7, 14 and 30 days.
  • Shortage-risk monitoring: Helps identify facilities and blood components that may experience shortages.
  • Expiry-risk management: Highlights blood units approaching expiry to support better inventory utilization.
  • Inter-facility coordination: Identifies potential redistribution opportunities between facilities for authorized personnel to review.
  • Blood-unit traceability: Maintains a chronological history of registrations, reservations, transfers and other important events.
  • Cold-chain incident monitoring: Records temperature incidents and flags affected units for quarantine and review.

The goal is to give healthcare teams better information to make timely inventory and supply coordination decisions.

How I built it

I developed BloodFlow AI as a full-stack application, using technologies I work with regularly as a software engineer.

The frontend is built with Next.js, React and TypeScript, providing an interface for inventory management, forecasting, facility operations and transfer workflows.

The backend uses Python and FastAPI, with SQLAlchemy handling database interactions and business logic. I implemented role-based authorization to ensure that sensitive inventory operations are restricted to appropriate users.

One of the important parts of development was building the blood-unit lifecycle and traceability functionality. Instead of treating inventory as static records, I implemented event tracking that records important actions throughout a unit's lifecycle, including registration, transfer reservations, completed transfers and cold-chain incidents.

I also developed workflows that require authorized human approval before transfers are completed. When a cold-chain incident affects an approved transfer, the system can block the transfer and release the associated reservations for review.

The current MVP uses synthetic data for demonstration and testing. The forecasting and redistribution capabilities will need validation against real operational data before deployment in healthcare facilities.

What I learned

Building BloodFlow AI taught me that developing healthcare technology requires much more than implementing algorithms and creating dashboards.

I learned the importance of:

  • Designing reliable data models for tracking individual inventory units.
  • Implementing secure, role-based access across multiple healthcare facilities.
  • Building auditable workflows for sensitive operations.
  • Handling edge cases where inventory availability changes during an approved transfer.
  • Testing complex backend workflows and ensuring that different components work together.
  • Thinking about the practical realities of healthcare operations, where reliability, accountability and human oversight are essential.

I also learned that an AI prediction is only valuable when it helps someone make a better decision.

Challenges I faced

One of my biggest challenges was designing a reliable inter-facility transfer workflow.

Inventory availability can change between the moment a transfer is approved and the moment it is completed. I had to account for situations where a unit becomes unavailable, is quarantined following a temperature incident, or can no longer be transferred.

Another challenge was implementing traceability without losing the relationship between individual blood units and their operational history. I addressed this by combining audit records and temperature events into a chronological unit-level history.

I also had to ensure that users could only access information and perform operations permitted by their roles.

Testing these workflows required multiple iterations, particularly around transfer approval, reservation release, cold-chain incidents and authorization.

Current progress

BloodFlow AI has a functional MVP with inventory management, forecasting functionality, transfer workflows, cold-chain incident reporting and individual blood-unit traceability.

The backend currently has 60 passing automated tests, and the frontend has successfully passed a production build.

The next major milestone is to validate the forecasting system using historical operational data and work with healthcare facilities to evaluate the platform in a real-world pilot.

What's next?

I envision BloodFlow AI becoming a connected inventory intelligence network for hospitals and blood banks, beginning in Kenya and eventually expanding across other African healthcare systems.

By combining predictive analytics, inventory visibility, traceability and responsible coordination, I hope to contribute to a healthcare system where blood shortages can be anticipated earlier and available supplies can be managed more effectively.

BloodFlow AI — Predict shortages. Coordinate supplies. Improve blood availability.

Challenges we ran into

Accomplishments that we're proud of

What we learned

What's next for Bloodflow ai

Built With

  • artificial-intelligence
  • data-science
  • data-visualization
  • fastapi
  • forecasting
  • full-stack-development
  • healthcare
  • healthcare-innovation
  • healthtech
  • inventory-management
  • machine-learning
  • next.js
  • predictive-analytics
  • python
  • react
  • rest-api
  • social
  • sqlalchemy
  • supply-chain
  • typescript
Share this project:

Updates

Submission history