ArticleslgStudy

computer science

OpenAPS

OpenAPS is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand OpenAPS rather than just read about it. In short: The Open Artificial Pancreas System (OpenAPS) project is a free and open-source project that aims to make basic artificial pancreas system (APS) technology available to everyone. The OpenAPS project was designed with the idea of quickly getting the APS technology to more people using a direct approach, rather than waiting for clinical trials to be completed and regulatory approval to be granted.

OpenAPS — main illustration
OpenAPS — illustration

Key takeaways

  • OpenAPS belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect OpenAPS to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of OpenAPS from memory before moving on to harder problems.

Reference excerpt

The Open Artificial Pancreas System (OpenAPS) project is a free and open-source project that aims to make basic artificial pancreas system (APS) technology available to everyone. The OpenAPS project was designed with the idea of quickly getting the APS technology to more people using a direct approach, rather than waiting for clinical trials to be completed and regulatory approval to be granted.

History

OpenAPS traces its origin to 2013, when Dana M. Lewis and Scott Leibrand became aware of privately shared software created by John Costik. This software (which also led to development of the Nightscout project) enabled access and transfer of continuous glucose monitor (CGM) data to cloud computing infrastructure. Lewis, a Type 1 Diabetes patient, was dissatisfied with her commercial device: the device's alarm for hypoglycemic status (which can be life-threatening, if untreated) was too quiet to wake Dana up while sleeping. To address this, Lewis and Leibrand extended the CGM-in-the-cloud software to create a custom high volume alarm. After this initial project, they then used the same CGM-in-the-cloud software to create the Do-It-Yourself Pancreas System (DIYPS) software, which provided a decision assist system for insulin delivery. This decision automation was able to become a "closed loop" with the help of an open source decoding-carelink project created by Ben West to communicate with Medtronic insulin pumps, enabling data retrieval and issuance of insulin-dosing commands to pumps that support it. With this update, the DIYPS system became "OpenAPS". Lewis has since presented the OpenAPS at conferences, and has been profiled in various news articles.

Software The OpenAPS software can run on a small computer such as a Raspberry Pi or Intel Edison and automates an insulin pump's insulin delivery to keep blood glucose in a target range. It does this by monitoring CGM data, algorithmically determining when insulin doses should occur, and issuing commands to the insulin pump to deliver these doses. OpenAPS is a subset of a broader "CGM in the Cloud" social movement; this includes the Nightscout project, which allows CGM users access to their blood sugar data in real time by putting the data in the cloud. As of July 2022 the OpenAPS project knew of over 2,720 people worldwide with various types of DIY closed loop implementations, for over 62 million real-world testing hours.

Regulatory concerns As with the Nightscout project more generally and as a non-commercial open source project, OpenAPS has not been subject to regulation; this has raised some regulatory concerns, particularly since each user builds their own implementation of the system. This has also raised some ethical concerns by regulators and researchers. The OpenAPS project emphasizes a "use at your own risk" approach, with the following disclaimer:

[T]he ultimate answer to "is it safe" will be something each individual decides for themselves.

Commercial alternatives In September 2016, subsequent to the development of OpenAPS, the US FDA released its first approval for an automated insulin delivery device for type 1 diabetes, for Medtronic's MiniMed 670G hybrid closed-loop system.

References

See also

Open Insulin Project, an open source biohacking project aiming to produce medical-grade insulin List of open-source health software

Worked examples

Example 1 — a first encounter with OpenAPS

Start with the simplest possible case. Write down what OpenAPS claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to OpenAPS before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about OpenAPS ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of OpenAPS

In research
OpenAPS appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses OpenAPS in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
OpenAPS is common in secondary-school and first-year university syllabi. It links to neighbouring topics Diabetes-related supplies and medical equipment, Free medical software, so understanding it makes those chapters shorter.
In everyday life
Look for OpenAPS outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “OpenAPS” →

How to study OpenAPS in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what OpenAPS means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain OpenAPS out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is OpenAPS in simple terms?

The Open Artificial Pancreas System (OpenAPS) project is a free and open-source project that aims to make basic artificial pancreas system (APS) technology available to everyone. The OpenAPS project was designed with the idea of quickly getting the APS technology to more people using a direct appro…

Why does OpenAPS matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study OpenAPS?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on OpenAPS.

Tags

  • Diabetes-related supplies and medical equipment
  • Free medical software

Keep exploring