Live data from Hacker News

On Building My Own Artificial Pancreas

liamz.co

11–20 of 56 posts

Re: On Building My Own Artificial Pancreas

#11
post #8

So, for those of you that feel that this is worthy of hacking: Diabetes is one of those diseases that seems right where your average hacker would like it to be. A single value (Blood Glucose Level) which you can read using some sensor and an automated delivery method. Connect A to B using some 30 lines of Python and call it a day. But it is not that simple. The manufacturers of these devices have to go through some p…

See Boeing MCAS for an example of how a seemingly simple fix is actually not.

Re: On Building My Own Artificial Pancreas

#12

I'm curious what the build-your-own-pancreas people have to say about Tidepool's plan to build an iOS app to do the control logic, and at the same time developing standard interfaces to insulin pumps and glucose monitors. Any comments? https://www.tidepool.org/blog/tidepool-loop-medtronic-collab...

Yes! I think this is fantastic. Tidepool’s employees actually have worked on many of these open-source projects, are funded a lot by the JDRF (one of the biggest T1 Diabetes NFP’s) ans seem to be the most aligned with diabetic’s interests.

Personally I’ve been using their Tidepool software for two years before this and it’s very good. The Tidepool Loop is actually based off of another FLOSS APS called Loop - so it’s likely the efforts will not go to waste. That being said, there’s still possibility that the pump manufacturers have interest to stifle their development - but we’ll see.

Re: On Building My Own Artificial Pancreas

#13
post #5
post #4

Earlier quoted context omitted.

Making a hardware product that is validated in a regulated market is non trivial. At least part of the cost goes to reducing overall risk to a large market, which open source projects aren't really resourced to address.

Isn't it possible to design the product such that its risks are greatly reduced? E.g. by limiting the amount of insulin it can deliver in a given timeframe?

A bit of elaboration on the risks you could encounter here:

- CGM sensors can be faulty, depending on the rate of change of glucose (they’re actually not measuring blood directly, but interstitial fluids, which are generally lagging by about 15mins and can be inaccurate with large swings)

- battery dying out isn’t so bad, since the pump will just default back to its previous basal delivery settings - there are safety maximums on insulin delivery, which prevent among other things, your typical overflow/precision errors

- maximums over time though is a more complex issue, something I haven’t yet dug into

Re: On Building My Own Artificial Pancreas

#14
post #5

Earlier quoted context omitted.

Isn't it possible to design the product such that its risks are greatly reduced? E.g. by limiting the amount of insulin it can deliver in a given timeframe?

A bit of elaboration on the risks you could encounter here: - CGM sensors can be faulty, depending on the rate of change of glucose (they’re actually not measuring blood directly, but interstitial fluids, which are generally lagging by about 15mins and can be inaccurate with large swings) - battery dying out isn’t so bad, since the pump will just default back to its previous basal delivery settings - there are safety…

And then there are... pump actuator failure, syringe seal failure (on syringe based pumps), valve failure (on valve based pumps), user error (on all systems), reservoir running out, occlusion, air bubbles and a thousand other things that can go wrong. This is not exactly easy material in the best of cases and most sensor packages do not have redundancy and will at best address only a small fraction of all possible failure modes.

Re: On Building My Own Artificial Pancreas

#15

I'm curious what the build-your-own-pancreas people have to say about Tidepool's plan to build an iOS app to do the control logic, and at the same time developing standard interfaces to insulin pumps and glucose monitors. Any comments? https://www.tidepool.org/blog/tidepool-loop-medtronic-collab...

> Any comments?

I hope they don't mess up the encryption on the pump commands. Especially with pumps that can deliver high doses that can be really problematic.

Re: On Building My Own Artificial Pancreas

#16

It's a damn shame that years after this became a thing we are still waiting for a proper commercial product to hit the market at a reasonable price , I had a male relative with T1 diabetes and it was a complete burden on his life, We have the technology to improve peoples lives markedly (because we already did) but because of what the author mentioned in the article and the lack of "skin in the game" manufacturers ar…

> It's a damn shame that years after this became a thing we are still waiting for a proper commercial product to hit the market at a reasonable price

How many people is the device allowed to kill when it fails? Who pays the bill when that happens?

The answer to those questions defines the price and availability of a medical device.

Re: On Building My Own Artificial Pancreas

#17
post #16

It's a damn shame that years after this became a thing we are still waiting for a proper commercial product to hit the market at a reasonable price , I had a male relative with T1 diabetes and it was a complete burden on his life, We have the technology to improve peoples lives markedly (because we already did) but because of what the author mentioned in the article and the lack of "skin in the game" manufacturers ar…

> It's a damn shame that years after this became a thing we are still waiting for a proper commercial product to hit the market at a reasonable price How many people is the device allowed to kill when it fails? Who pays the bill when that happens? The answer to those questions defines the price and availability of a medical device.

Except that you forgot profit.

Also once the device is built and certified subsequent devices are at the cost of materials, support and production (and some profit) ... which I suspect is a bit a bit less than 8000.

Re: On Building My Own Artificial Pancreas

#18

It's a damn shame that years after this became a thing we are still waiting for a proper commercial product to hit the market at a reasonable price , I had a male relative with T1 diabetes and it was a complete burden on his life, We have the technology to improve peoples lives markedly (because we already did) but because of what the author mentioned in the article and the lack of "skin in the game" manufacturers ar…

Someone who can and will build their own is very committed to understanding a great many things. This guy has gone and read what doctors with diabetes have to say because doctors without diabetes are not an adequate source of information for his purposes.

To build one you can sell to anyone who has diabetes (and the money or insurance to cover it) you have to do a lot of "idiot proofing." You can't assume they will keep up with all the information, best practices, etc.

They want it to just work and that's not what you are seeing with the build-your-own crowd.

Re: On Building My Own Artificial Pancreas

#19

It's a damn shame that years after this became a thing we are still waiting for a proper commercial product to hit the market at a reasonable price , I had a male relative with T1 diabetes and it was a complete burden on his life, We have the technology to improve peoples lives markedly (because we already did) but because of what the author mentioned in the article and the lack of "skin in the game" manufacturers ar…

Seems to me this is a principle-agent problem, really. Manufacturers and the FDA are only liable for one part of the system's safety - immediate injury or death attributable directly to a specific error. They're not liable for the gradual systemic damage caused by not using closed loop algorithms (due to worse blood glucose control).

Hence hobbyists home brewing this stuff. Only when you're making things for yourself are incentives properly aligned.

Re: On Building My Own Artificial Pancreas

#20

I'm curious what the build-your-own-pancreas people have to say about Tidepool's plan to build an iOS app to do the control logic, and at the same time developing standard interfaces to insulin pumps and glucose monitors. Any comments? https://www.tidepool.org/blog/tidepool-loop-medtronic-collab...

> Any comments? I hope they don't mess up the encryption on the pump commands. Especially with pumps that can deliver high doses that can be really problematic.

Is it possible to have interlocks whereby a pump will refuse to dose more than X ml over Y hours or is a fatal dose for some people in some scenarios less than a therapeutic does for others in other scenarios?
Post reply on HN