Video here:
Prototype, but it has possibilities.
LOL...I was thinking some mechanical device would squish the bag, and that’s exactly what it is.
Servo-controlled motors, parts and microcontroller boards are a dime a dozen at Adafruit, SparkFun, Seeed Studio, Pololu Robotics, 1Sheeld and many other “maker” suppliers. Of course, none of that stuff is approved for medical use - fine for hobbyists and makers, but reliability will be a problem.
Its cheap, and it works, and it will not be allowed. Why? Just because... (can’t let college inventors steal the spot light and “beat the system”)