Введение в APS и AAPS
Что такое система искусственной поджелудочной железы”?
Человеческая поджелудочная железа делает много, помимо регулирования содержания сахара в крови. Однако, термин «Система Искусственной Поджелудочной Железы» (APS) обычно относится к системе, которая работает для автоматического поддержания уровня сахара в крови в здоровых пределах.
Основным способом поддерживать этот уровень является определение уровней гликемии, выполнение расчетов и подачи (прогнозируемого) корректного количества инсулина в организм. Система производит эти расчеты каждые несколько минут, 24/7. Она подает звуковые сигналы и оповещения для информирования пользователя о необходимости вмешательства или для привлечения его внимания. Эта система обычно состоит из сенсора гликемии, инсулиновой помпы и приложения на телефоне.
Больше о существующих в настоящее время системах искусственной поджелудочной железы и о разработках см. в этой статье 2022 года:
Перспективы развития систем замкнутого цикла.
В недалеком будущем некоторые системы так называемого «двойного гормона» научатся вводить глюкагон наряду с инсулином, с целью предотвращения тяжелых гипогликемий и обеспечения более жесткого контроля глюкозы в крови.
Считается, что искусственная поджелудочная железа может быть представлена в виде «автопилота для вашего диабета». Что это означает?
В самолете автопилот не выполняет всю работу за человека, пилот не может спать на протяжении всего полета. Автопилот помогает работе пилота. Он освобождает его от бремени постоянного наблюдения за самолетом, позволяя пилоту время от времени концентрироваться на более широком контроле. Автопилот получает сигналы от различных датчиков, компьютер оценивает их наряду со спецификациями пилота, а затем вносит необходимые корректировки, оповещая пилота о любых сложностях. Пилоту не нужно постоянно принимать решения.
Что значит гибридный замкнутый цикл?
Лучшим решением для диабета первого типа было бы «функциональное лекарство» (возможно, имплант поджелудочных клеток, защищенных от иммунной системы). Пока мы ждем этого, искусственная поджелудочная железа, вероятно, является наилучшей альтернативой. Это технологическая система, которая не нуждается в усилиях пользователя (например для подачи болюсов на еду или предупреждение о физических упражнениях), с хорошей регуляцией уровней глюкозы в крови. В настоящее время нет широко доступных систем, которые представляли бы из себя «полный» замкнутый цикл, все они нуждаются в участии пользователя. Имеющиеся в настоящее время системы называются «гибридными» замкнутыми петлями, так как в них применяется сочетание автоматизированных технологий и вводные данные от пользователя.
Как и почему появились системы ИПЖ?
Развитие коммерческих технологий для людей с диабетом первого типа движется очень медленно. В 2013 году люди, объединенные желанием помочь больным Сд 1 типа, основали движение #WeAreNotWaiting (Мы не ждем). Они сами разработали системы ИПЖ на основе существующих одобренных технологий (инсулиновых помп и систем мониторинга ГК) для улучшения контроля гликемии, безопасности и качества жизни. Эти системы известны как DIY (самостоятельно созданные, т. к. они официально не утверждены органами здравоохранения (FDA, NHS, Минздравом и т. д.). Доступно четыре основных самостоятельно созданных системы: OpenAPS, AAPS, Loop и iAPS.
Отличный способ понять основы таких систем - ознакомиться с книгой Даны Льюис «Автоматизированная подача инсулина». (Перевод книги на русский выполнили Александр Чекалин, Юлия Войнич и Владимир Бакуш, его можно найти здесь: https://docs. google. com/document/d/16HW88iKvNjuyMz0rvnTxUiupGBgSv5nHX1RA8Pq-3B0/edit?usp=sharing). Ее оригинал здесь [here] (https://www. artificialpancreasbook. com/) бесплатно (или купить бумажную версию). Перевод на русский язык: https://docs. google. com/document/d/16HW88iKvNjuyMz0rvnTxUiupGBgSv5nHX1RA8Pq-3B0/edit Перевели Александр Чекалин, Юлия Войнич и Владимир Бакуш. Если вы хотите узнать больше о OpenAPS, который был источником AAPS - переходите на сайт OpenAPS.
В настоящее время уже существуют коммерческие гибридные системы замкнутого цикла, наиболее свежими из которых являются [CamAPS FX] (https://camdiab. om/) (Великобритания и ЕС) и [Omnipod 5] (https://www. omnipod. com/en-gb/what-is-omnipod/omnipod/omnipod-5) (США и ЕС). Они очень отличается от самостоятельно созданных систем DIY, главным образом потому, что включают в себя «обучающийся алгоритм», который корректирует потребности в инсулине на основе предыдущих дней. Многие люди среди энтузиастов самостоятельно созданных систем уже пробовали эти коммерческие системы и сравнивали их со своими. О сравнении систем можно узнать в группах AAPS Facebook group или на Discord.
Что такое Android APS (AAPS)?
Рисунок 1. Принципиальная схема Android APS (Artificial Pancreas System), AAPS.
Android APS (AAPS) is a hybrid closed loop system, or Artificial Pancreas System (APS). Она производит вычисления по дозировке инсулина на основе проверенных алгоритмов,OpenAPS, разработанных сообществом #WeAreNotWaiting.
Since OpenAPS is only compatible with certain older insulin pumps, AAPS (which can be used with a wider range of insulin pumps) was developed in 2016 by Milos Kozak, for a family member with type 1 diabetes. С тех пор AAPS постоянно развивается и усовершенствуется командой добровольцев компьютерных разработчиков и других энтузиастов, которые имеют связь с миром сахарного диабета первого типа. Сегодня AAPS использует примерно 10 000 человек. Это настраиваемая универсальная система с открытым исходным кодом, Она легко совместима со многими другими программными продуктами и платформами для сахарного диабета. Основные компоненты нынешней системы AAPS представлены на рисунке 1 выше.
Основные компоненты AAPS
«Мозгом» AAPS является приложение, которое вы должны собрать сами. Для этого существует подробная пошаговая инструкция. You then install the AAPS app on a compatible Android smartphone (1). Многие пользователи предпочитают иметь отдельный телефон для AAPS в дополнение к основному телефону. Таким образом, отдельный телефон на Android может предназначаться только для AAPS.
0>Телефон на Android должен иметь еще одно приложение наряду с AAPS. Это либо модифицированное приложение Dexcom под названием build-your-own dexcom app BYODA или Xdrip+. This additional app receives glucose data from a sensor (2) by bluetooth, and then sends the data internally on the phone to the AAPS app.
Приложение AAPS использует процесс принятия решений (алгоритм), созданный на базе OpenAPS. Новички начинают использовать базовый алгоритм oref0, но при работе с AAPS можно переключиться на более новый алгоритм oref1. Выбор алгоритма (ореф1 или ореф), зависит от того, что вам лучше подходит. В обоих случаях алгоритм учитывает множество факторов и выполняет быстрые вычисления каждый раз, когда поступает новые данные с сенсора. Затем алгоритм по bluetooth посылает инструкции на инсулиновую помпу (3) о том, сколько инсулина давать организму. Вся информация может быть отправлена через передачу данных или wifi в интернет (4). По желанию эти данные могут также передаваться наблюдателям(фоллоуерам) и/или собираться для анализа.
Преимущества системы AAPS
Алгоритм OpenAPS, используемый AAPS контролирует уровни сахара в крови при отсутствии вводимых пользователем данных, в соответствии с заданными параметрами (наиболее важные из них базальная скорость, коэффициент чувствительности к инсулину ISF, углеводный коэффициент IC, продолжительность действия инсулина и т. д.), реагируя каждые 5 минут на новые данные от сенсора. Ко многим отмеченным пользователями преимуществам AAPS относятся множество тонких настроек, автоматизация и прозрачность системы для пациентов/опекунов. Что повышает контроль над диабетом, улучшает качество жизни и повышает душевный покой.
К практическим преимуществам относятся:
1) Встроенная безопасность
To read about the safety features of the algorithms, known as oref0 and oref1, click here. Пользователь контролирует свои собственные ограничения безопасности.
1) Аппаратная гибкость
AAPS работает с широким спектром помп и сенсоров. Например, если у вас аллергия на пластырь сенсора Dexcom, можно перейти на Libre. Это дает свободу при изменениях в жизни. Пересобирать или переустанавливать приложение AAPS не требуется, просто установите флажок в приложении, чтобы изменить ваше оборудование. AAPS не зависит от конкретных драйверов помп и содержит «виртуальную помпу», чтобы пользователи могли безопасно экспериментировать, прежде чем применять самостоятельно.
2) Настраиваемость в широком диапазоне
Пользователи могут легко добавлять/удалять модули и функциональность, а AAPS может работать как в режиме открытого, так и закрытого цикла. Вот примеры возможностей с системой AAPS:
a) Возможность задавать нижнюю цель ГК за 30 минут до еды; цель может быть ниже 72 мг/дЛ (4.0 ммоль/L).
b) если у вас резистентность к инсулину, приводящая к высоким сахарам, AAPS позволяет установить правило автоматизации: если ГК поднимается выше 8 ммоль/л (144 мг/дл), происходит переход на 120% профиля (что приводит к увеличению базала на 20% и других параметров, в сравнении с обычной настройкой профиля). Автоматизация продлится согласно запланированному вами времени. Такая автоматизация может срабатывать в определенные дни недели, в определенное время суток, и даже в определенных местах.
c) если Ваш ребенок неожиданно оказался на батуте, AAPS позволит приостановить подачу инсулина на заданный период времени непосредственно по телефону.
d) после повторного подключения помпы которая была отключена перед купанием, AAPS будет рассчитывать базальный инсулин, который вы пропустили при отключении и осторожно введет его, согласно вашей текущей ГК. Любой лишний инсулин может быть переопределен простой «отменой» пропущенной базы.
f) AAPS дает возможность настраивать различные профили для различных ситуаций и легко переключаться между ними. Функции, которые делают алгоритм более быстрым для снижения высокой ГК (например, супермикроболюсы («SMB»), неожиданный прием пищи, (“UAM”) могут быть настроены на работу только в дневное время, если вы боитесь ночных гипогликемий.
Это все лишь примеры, полный спектр характеристик дает большую гибкость в повседневной жизни, включая спорт, болезнь, гормональные циклы и т. д. В конечном счете, пользователь сам должен решить, как использовать эти возможности, универсальной автоматизации для всех не существует.
3) Удаленный мониторинг
There are multiple possible monitoring channels (Sugarmate, Dexcom Follow, Xdrip+, Android Auto etc.) which are useful for parents/carers and adults in certain scenarios (sleeping/driving) who need customisable alerts. В некоторых приложениях (Xdrip+) есть возможность полностью отключить звуковые оповещения, что отлично, если у вас есть новый датчик на «прогреве» или вы еще не готовы полностью запустить систему.
4) Remote control
Значительное преимущество **AAPS **над коммерческими системами состоит в возможности при помощи подтвержденныхтекстовых команд (SMS) или через приложение (Nightscout или AAPSClient) отправлять команды в систему **AAPS **. Это широко используют родители детей с диабетом 1 типа, применяющих AAPS. Это очень удобно на игровой площадке, например, если вы хотите дать пре-болюс на перекус с вашего телефона, а ваш ребенок занят играми. Можно мониторить систему (напр. Fitbit), отправлять базовые команды (напр. Samsung Galaxy watch 4) или даже запустить всю систему AAPS с высокотехнологичных часов (5) (например, LEMFO LEM14). В этом последнем варианте для запуска AAPS вообще не требуется телефон. По мере увеличения срока службы батарей на часах, этот вариант, возможно, станет более привлекательным.
5) Отсутствие коммерческих ограничений из-за открытого интерфейсов приложений
Отсутствие коммерческих ограничений из-за открытого интерфейса приложений: помимо возможности в любое время просматривать исходный код AAPS, принцип открытого интерфейса программирования дает другим разработчикам возможность вносить новые идеи. AAPS тесно интегрирован с Nightscout. This accelerates development and allows users to add on features to make life with diabetes even more convenient. Good examples for such integrations are NightScout, Nightscout Reporter, Xdrip+, M5 stack etc. Идет обмен мнениями между разработчиками с открытым исходным кодом и разработчиками коммерческих систем. Many of the DIY innovations are gradually adopted by commercial systems, where developments are understandably slower, partly because interfaces between systems from different companies (pumps, apps, sensors etc) need to be carefully negotiated and licenced. Это обстоятельство также замедляет внедрение инноваций, удобных для пациента (или небольшой группы пациентов, которые имеют очень специфические потребности, но не генерируют существенной прибыли.
6) Детализированный интерфейс приложения
При помощи AAPS легко контролировать такие вещи как: уровень инсулина в помпе, время работы катетера, сенсора, количество активного инсулина в организме и т. д.. Многие действия можно сделать с помощью приложения AAPS (первичное заполнение помпы, отсоединие помпы и т. п.), не трогая помпу, то есть помпа при этом может находиться в кармане (или на ремне подопечного).
7) Accessibility and affordability
AAPS gives people who currently can’t afford to self-fund, or don’t have funding/insurance, access to a world-class hybrid closed looping system which is conceptually years ahead, in terms of development, of the commercial systems. You currently need to have a Nightscout account to set up AAPS, although the Nightscout account is not required for day-to-day running of the AAPS loop. Many people continue to use Nightscout for collecting their data, and for remote control. Although AAPS itself is free, setting up Nightscout through one of the various platforms may incur a fee (€0 - €12), depending on what level of support you want (see comparison table) and whether you want to keep using Nightscout after setup or not. AAPS works with a wide range of affordable (starting from approx €150) Android phones. Different versions are available for specific locations and languages, and AAPS can also be used by people who are blind.
8) Support
No automated insulin delivery system is perfect. Коммерческие системы и системы с открытым исходным кодом имеют много общих недоработок как в коммуникациях, так и в оборудовании. There is support available from community of AAPS users on Facebook, Discord and Github who designed, developed and are currently using AAPS, all over the world. There are also Facebook support groups and help from clinic/commercial companies for the commercial APS systems - it is worth speaking to the users, or former users of these systems to get feedback on the common glitches, the quality of the education programme and the level of ongoing support provided.
9) Predictability, transparency and safety
AAPS is totally transparent, logical and predictable, which may make it easier to know when a setting is wrong, and to adjust it accordingly. Вы всегда точно видите, что делает система, почему она это делает, задаете свои ограничения, которые оставляют контроль (и ответственность) в ваших руках. А это, в свою очередь, обеспечивает уверенность и здоровый сон пользователя.
10) Access to advanced features through development (dev) modes including full closed loop
This AAPS documentation focuses on the mainstream “master” branch of AAPS. However, research and development is going on all the time. More experienced users may wish to explore the experimental features in the development branch. This includes integration of Dexcom G7, and automatically adjusting insulin delivery according to short-term sensitivity changes (DYNISF). The development innovations focus on strategies for full closed looping (not having to bolus for meals etc.), and generally trying to make life with type 1 diabetes as convenient as possible.
11) Ability to contribute yourself to further improvements
Type 1 diabetes can be highly frustrating and isolating. Контролируя собственные технологии преодоления диабета, имея возможность внести свой вклад в эти усилия, вы почувствуете удовлетворение от пользы, которую приносите другим. You can educate yourself, discover the roadblocks and look for, and even contribute, to new developments and the documentation. There will be others in the community with the same quest that you can bounce ideas off and work with. Смысл движения #WeAreNotWaiting именно в этом.
Как выглядит AAPS в сопоставлении с традиционными инъекциями и открытым циклом?
Multiple daily injections (MDI, (a) in Figure 2 below) usually involve giving an injection of a long-lasting insulin (e.g. Tresiba) once a day, with injections of faster-acting insulin (e.g. Novorapid, Fiasp) at mealtimes, or for corrections. Контроль диабета при помощи помпы в открытом цикле (b) состоит из применения помпы для создания базового уровня инсулина при запрограмированной скорости подачи быстродействующего инсулина, а также введения инсулина помпой в виде болюсов на еду или на коррекцию. The basics of a looping system are that the looping app uses the sensor glucose data to instruct the pump to stop insulin delivery when it predicts you are heading for a low, and to give you extra insulin if your glucose levels are rising and predicted to go too high (c). Although this figure is oversimplified compared to real-life, it aims to demonstrate the key differences of the approaches. It is possible to achieve exceptionally good glucose control with any of these three approaches.
Рисунок 2. Basic overview of (a) MDI, (b) open-loop pumping and (c) hybrid closed loop pumping.
Сравнение AAPS с другими системами ИПЖ
As of June 25 2023, there are four major open source closed loop systems available: OpenAPS, AAPS, Loop and iAPS, (formerly FreeAPS X). Характеристики различных систем приведены в таблице:
Характеристики различных систем приведены в таблице:
Devicestype |
Имя |
||||
---|---|---|---|---|---|
Phone |
Android |
||||
Phone |
iPhone |
||||
Rig |
tiny computer (1) |
||||
ПОМПА |
|||||
ПОМПА |
|||||
ПОМПА |
|||||
ПОМПА |
Omnipod (Dash) (2) |
||||
ПОМПА |
|||||
ПОМПА |
|||||
ПОМПА |
|||||
ПОМПА |
|||||
ПОМПА |
|||||
ПОМПА |
|||||
ПОМПА |
|||||
ПОМПА |
|||||
CGM / НМГ |
|||||
CGM / НМГ |
|||||
CGM / НМГ |
|||||
CGM / НМГ |
|||||
CGM / НМГ |
|||||
CGM / НМГ |
|||||
CGM / НМГ |
|||||
CGM / НМГ |
|||||
CGM / НМГ |
|||||
CGM / НМГ |
|||||
CGM / НМГ |
|||||
CGM / НМГ |
Table notes:
A rig is a small computer which you carry around with you, without a monitor. One supported device type is Intel Edison + Explorer Board and the other Raspberry Pi + Explorer HAT or Adafruit RFM69HCW Bonnet. The first APS were based on this setup, as mobile phones were not capable of running the required algorithms. Use of these systems has declined, as the setup on mobile phones has become easier, and phones have a display included. Intel has also stopped selling the Intel Edison. The excellent OpenAPS algorithms oref0 and oref1 are now incorporated in AAPS and iAPS.
Omnipod Dash is the successor of Omnipod Eros. It supports bluetooth communication and does not need a rig gateway to communicate between the Omnipod and mobile phone. If you have a choice, we recommend use of the Dash instead of Eros.
An international peer-reviewed consensus statement containing practical guidance on open source looping was written by and for health-care professionals, and published in a leading medical journal in 2022: Lancet Diabetes Endocrinol, 2022; 10: 58–74(1). It is well worth a read (including for your diabetes clinic) and summarises the main technical differences between the different open-source hybrid closed loop systems.
Трудно «почувствовать» любую систему, не используя ее, или не поговорив с другими пользователями, поэтому обращайтесь с ними на Facebook/Discord и задавайте интересующие вас вопросы. Most people find that AAPS is incredibly sophisticated in comparison to other hybrid closed loop systems (particularly the commercial systems), with a huge number of potentially customisable settings and features, discussed above. Некоторые могут счесть такое мнение обескураживающим, но нет никакой спешки для изучения всех возможностей системы, вы можете двигаться с той скоростью, с которой захотите, и на каждом этапе вы сможете получить помощь.
Использует ли AAPS искусственный интеллект или какой-либо обучающий алгоритм?
The current master version of AAPS (3.1.0.3) does not have any machine learning algorithms, multiple-parameter insulin response models, or artificial intelligence. Сама по себе система открыта и прозрачна в своей работе, и может быть понятной не только специалистам, но и медработникам широкого профиля и пациентам. It also means that if you have a sharply varying schedule (maybe switching from a stressful week at work to a relaxing holiday) and are likely to need a significantly different amount of insulin, you can immediately switch AAPS to run a weaker/stronger customised profile. Система сделает эту настройку для Вас автоматически, но скорее всего потребуется какое-то время на подстройку подачи инсулина.
Which system is right for me or my dependant?
На практике выбор системы часто ограничивается тем, какая у вас имеется помпа, или какую помпу вам может предоставить ваша медицинская организация, а также тем, каким телефоном вы пользуетесь (Apple или Android). Если у вас еще нет помпы, у вас самый большой выбор систем. Технология постоянно развивается, помпы снимаются с производства, выпускаются новые помпы и сенсоры. Большинство систем с открытым исходным кодом работают с наиболее распространенными сенсорами (Libre и Dexcom) или быстро адаптируются к работе с новыми сенсорами в течение года или после их выпуска (с небольшой задержкой времени для проверки безопасности и стабильности).
Most AAPS users report more time in range, HbA1c reductions, as well as quality of life improvements from having a system that can auto-adjust basal rates overnight during sleep, and this is true for most hybrid closed loop systems. Некоторые предпочитают простые системы, в которых минимум настроек (и останавливают выбор на коммерческих системах), другие считают нехватку настраиваемых элементов весьма серьезным недостатком (и тогда выбирают систему с открытым исходным кодом). If you (or your dependant) are newly diagnosed, a common route is to get used to using MDI plus a glucose sensor first, then progress to a pump which has the potential for looping, then progress to AAPS, but some people (especially small kids) may go straight to a pump.
Важно отметить, что для устранения неполадок пользователь AAPS должен сам проявлять инициативу в устранении проблем, а также обращаться за помощью к сообществу пользователей и разработчиков. Такой подход радикально отличается от пользования коммерческими системами. С AAPS пользователь имеет больше контроля, но и больше ответственности и должен быть готов к этому.
Безопасно ли пользование системами с открытым исходным кодом, такими как AAPS?
Safety of the AAPS system
A more accurate question is probably “is it safe compared with my current insulin delivery system?” since no method of insulin delivery is without risk. Система AAPS имеет множество сдержек и противовесов для достижения максимальной безопасности. A recent paper looked at the use of AAPS in a computer simulated set-up, which was an effective way to unobjectively trial how safe and effective the system is. Считается, что более 10 000 человек во всем мире используют автоматизированные системы ИПЖ с открытым исходным кодом, и это число продолжает расти.
Любое устройство, использующее радиосвязь, может быть взломано, и это относится и к обычным инсулиновым помпам. В настоящее время нам неизвестны случаи взлома медицинского оборудования, связанного с диабетом, с целью причинения вреда. Однако существует множество способов защититься от таких рисков:
В настройках помпы ограничивайте как максимально допустимые, так и временные скорости базала до тех количеств, которые, по вашему мнению, являются безопасными. Это — жесткие ограничения, которые, по нашему мнению, не сможет обойти какой-нибудь хакер-злоумышленник.
Установите сигналы оповещения вашего мониторинга для высоких и низких уровней ГК.
Отслеживайте подачу инсулина через интернет. Пользователи Nightscout могут установить дополнительные сигналы тревоги для различных ситуаций, включая условия, которые имеют гораздо больше вероятности, чем атаки злоумышленника. Помимо высоких и низких сахаров, Nightscout отображает диагностические данные, полезные для проверки работы помпы, включая активный инсулин IOB, историю болюсов и временной базальной скорости помпы. Он также может быть настроен на оповещение о нежелательных условиях, таких как прогнозируемые высокие и низкие уровни гликемии, запасах инсулина в резервуаре и низкий заряд батареи в помпе.
Если на вашу инсулиновую помпу будет произведена атака злоумышленника, выше приведенные стратегии значительно снизят риски. Каждый потенциальный пользователь AAPS должен взвесить риски, связанные с использованием AAPS, по сравнению с рисками использования другой системы.
Safety considerations around improving blood glucose control too fast
A rapid reduction in HbA1c and improved blood glucose control sounds appealing. However, reducing average blood glucose levels too fast by starting any closed loop system can cause permanent damage, including to the eyes, and painful neuropathy that never goes away. This damage can be avoided simply by reducing levels more slowly. If you currently have an elevated HbA1c and are moving to AAPS (or any other closed loop system), please discuss this potential risk with your clinical team before starting, and agree a timeplan with them. More general information on how to reduce your glucose levels safely, including links to medical literature is given in the [safety section here.
Medical safety around devices, consumable supplies and other medications
Use a tested, fully functioning FDA or CE approved insulin pump and CGM for an artificial pancreas loop. Внесение аппаратных или программных технических изменений в это оборудование может стать причиной неконтролируемого введения инсулина, что может повлечь опасные последствия для пациента. If you find or get offered broken, modified or self-made insulin pumps or CGM receivers, do not use these for creating an AAPS system.
Use original supplies such as inserters, cannulas and insulin containers approved by the manufacturer of your pump and CGM. Использование непроверенных или модифицированных материалов может вызвать неточность мониторинга и ошибки дозировки инсулина. Insulin is highly dangerous when misdosed - please do not play with your life by hacking your supplies.
Do not take SGLT-2 inhibitors (gliflozins) when using AAPS as they incalculably lower blood sugar levels. Combining this effect with a system that lowers basal rates in order to increase BG is dangerous, there is more detail about this in the main safety section.
Как мне подойти к обсуждению AAPS с врачами?
Users are encouraged to speak with their clinicians about their intention to use AAPS. Please do not be afraid to have an honest conversation with your diabetes team if you intend to use AAPS (or any other DIY loop, for that matter). Transparency and trust between patient and doctor is paramount.
Suggested approach:
Start a conversation with your clinician to determine their familiarity and attitude towards diabetic technology such as CGMs, pumps, hybrid loops and commercial looping. Your clinician/endocrinologist should be aware of the basic technology and be willing to discuss with you recent advancements with commercial loop products available within their regions.
Local precedent
Obtain your clinicians/endocrinologists’ views on DIY loop vs commercial looping, and gauge their knowledge in this area. Are they familiar with AAPS and can they share with you any helpful experience of working with patients with DIY looping?
Ask if your team has any patients under their care who already use DIY looping. Due to patient confidentiality, doctors cannot pass other patient’s details to you without obtaining the individual’s consent. However, if you want to, you can ask them to pass your contact details to an existing DIY looping patient if there is one the clinician feels you might «click” with, suggesting that you would be happy for the patient to contact you to discuss DIY looping. Clinicians are not obliged to do this, but some are happy to, since they realise the importance of peer-to-peer support in type 1 diabetes management. You may also find it useful to meet local friendly DIY loopers. This is of course up to you, and not entirely necessary.
National and International Precedent
If you feel unsupported by your team to loop with AAPS, the following discussion points may help:
a) The AAPS system has been designed BY patients and their caregivers. It has been designed ultimately for safety, but also drawing on in-depth patient experience. There are currently around 10,000 AAPS users worldwide. There is therefore likely to be other patients using DIY looping in your clinic’s patient population (whether they know about it or not).
b) Recent peer-reviewed published guidance in the internationally leading medical journal The Lancet(1) has confirmed that DIY loops are safe and effective at improving diabetic control, including time in range. There are regular articles in leading journals like Nature(3) which highlight the progress of the DIY looping commmunity.
c) Starting with AAPS involves a gradual migration from “open” loop pumping, through low-glucose suspend, through to hybrid “closed” looping, by completing a number of objectives. There is therefore a structured programme, requiring the user to demonstrate a level of competence at each stage and fine-tuning their basic settings (basal, ISF and ICR) before they can close the loop.
d) Technical support is available to you from the DIY community through Github, Discord and Facebook closed groups.
e) You will be able to provide both CGM and insulin looping/pumping information as combined reports at clinic meetings (through Nightscout or Tidepool), either printed out or on-screen (if you bring a laptop/tablet). The streamlining of both CGM and insulin data will allow more effective use of your clinician’s time to review your reports and aid their discussions in assessing your progress.
f) If there is still strong objection from your team, hand your clinician printouts of the reference articles linked here in the text, and give them the link to the AAPS clinicians section: For Clinicians – A General Introduction and Guide to AAPS
Support for DIY looping by other clinicians
The paper published in the Lancet Diabetes Endocrinology(1)[ (co led by Kings’ and Guy’s and St Thomas’ NHS Foundation Trust, and co lead by Dr Sufyan Hussain, a consultant diabetologist and honorary senior lecturer from King’s in London) provides:
a) Assurance for professionals that DIY artificial pancreas systems/ open source as a “safe and effective treatment” option for type 1 diabetes and provides guidance on recommendations, discussions, supports, documentation;
b) Recognition that open-source automated insulin delivery (“AID”) systems can increase time in range (TIR) while reducing variability in blood glucose concentrations and the amount of hypo and hyperglycaemic episodes in various age groups, genders and communities;
c) Recommendation that healthcare workers should support type 1 patients or their caregivers who choose to manage their diabetes with an open source AID system;
d) Recommendation that healthcare workers should attempt to learn about all treatment options that might benefit patients including available open-source AID systems. If health care professionals do not have resources to educate themselves, or have legal or regulatory concerns, they should consider cooperating, or teaming up with other healthcare professionals who do;
e) Emphasis that all users of CGMs should have real-time and open-access to their own health data at all times
f) Emphasis that these open source systems have not undergone the same regulatory evaluations as commercially available medical technologies, and there is no commercial technical support. However, extensive community support is available; and
g) A recommendation that regulation and legal frameworks should be updated to ensure clarity on permitting ethical and effective treatment of such open source systems.
Another paper in Medical Law International, 2021(4) also highlights the UK General Medical Council’s ‘consent guidance’ places a strong emphasis on doctor and patients making decisions together. The doctor should explain the potential benefits, risks, burdens and side-effects on DIY APS and may recommend a particular option without pressuring the patient.
Ultimately it is up to the patient to weigh up these factors, along with any non-clinical issues relevant to them and decide which treatment option, if any, to accept.
If a doctor discovers in a clinic that their patient is looping with a DIY system, they are not exempted from their obligations to monitor the patient, simply because they did not prescribe the particular piece of technology the patient is using; clinicians must continue to monitor patients.
Doctors (at least in the UK) are not prohibited from prescribing unlicensed medicines and can use their clinical discretion. They should therefore use their clinical judgement to decide if a DIY APS is suitable for a specific patient, and discuss what they consider to be the pros and cons with the patient.
The articles referenced above, and other useful links and position statements are listed below:
Open-source automated insulin delivery: international consensus statement and practical guidance for health-care professionals Lancet Diabetes Endocrinol, (2022) 10, 58–74
A DIY ‘bionic pancreas’ is changing diabetes care — what’s next? Nature (2023), 620, 940-941
Prescribing unapproved medical devices? The case of DIY artificial pancreas systems Medical law international, (2021), 21, 42-68
Do-It-Yourself Automated Insulin Delivery: A Health-care Practitioner User’s Guide (Diabetes Canada position and guide) Canadian Journal of Diabetes, (2023)47, E8, 389-397
Netherlands (EN/NL) - for clinicians - how to help people on open source automated insulin delivery systems
First Use of Open-Source Automated Insulin Delivery AndroidAPS in Full Closed-Loop Scenario: Pancreas4ALLRandomized Pilot Study Diabetes Technol. Ther., 25, 5, 2023
Pre-school and school-aged children benefit from the switch from a sensor-augmented pump to an AndroidAPS hybrid closed loop: A retrospective analysis Pediatr. Diabetes 2021, 22, 594-604. 2021
Outcomes of the OPEN project, an EU-funded project into the Outcomes of Patient’s Evidence with Novel, Do-it-Yourself Artificial Pancreas Technology (https://www.open-diabetes.eu/publications)
Why can’t I just download AAPS and use it straight away?
Приложение нельзя найти в Google Play - его следует самостоятельно собрать из исходного кода по юридическим причинам. AAPS не имеет лицензии, то есть не имеет одобрения ни от одного регулирующего органа ни в одной стране. AAPS is deemed to be carrying out a medical experiment on yourself, and is carried out at the user’s own risk.
Создание системы требует терпения, нацеленности на результат и постепенного развития технических знаний. Вся информация и поддержка находится в этой документации или в группах поддержки в интернете. Over 10,000 people have successfully built and are currently using AAPS worldwide.
The developers of AAPS take safety incredibly seriously, and want others to have a good experience of using AAPS. Поэтому важно, чтобы каждый пользователь (или опекун, если пользователь является ребенком):
builds the AAPS system themself and works through the objectives so that they have reasonably good personalised settings and understand the basics of how AAPS works by the time they “close the loop”;
периодически осуществлял резервное копирование системы, экспортируя и сохраняя важные файлы (например, keystore и settings.json) в безопасном месте, чтобы иметь возможность при необходимости снова быстро настроить систему;
устанавливал обновления версий master по мере их доступности; и
обслуживал систему и следил за ней, чтобы она работала правильно.
What is the connectivity of the AAPS system?
Figure 3 (below) shows one example of the AAPS system for a user who do not require any followers interacting with the system. Additional open-source software and platforms which are not shown can also be integrated.
Figure 4 (below) shows the full potential of the AAPS system for a user who has followers and requires a monitor and send adjust the system remotely (like a child with type 1 diabetes). Additional open-source software and platforms which are not shown can also be integrated.
How does AAPS get continually developed and improved?
Большинство пользователей AAPS работает с полностью протестированной и обкатанной master версиюей AAPS. Параллельно с этим разработчики исследуют и тестируют новые улучшения в ветке «разработчиков» (dev) AAPS, наряду с теми пользователями, которые готовы проверять нововведения и сообщать о замеченных недостатках. Если улучшения работают нормально, они будут выпущены в качестве новой «master» версии AAPS. Каждая новая мастер-версия анонсируется в группе Facebook и основные пользователи **AAPS **получают об этом своевременную информацию.
Some experienced and confident AAPS users conduct experiments with emerging technologies and with dev versions of the AAPS app, which can be interesting for the less adventurous users to read about, without having to do it themselves! Сообщения об этих экспериментах можно найти в группе Facebook.
Подробнее о некоторых из этих экспериментов и обсуждение новых технологий можно прочитать здесь:
Tim Street https://www.diabettech.com/
David Burren https://bionicwookie.com/
Who can benefit from AAPS?
Тип пользователя |
---|
✔️ люди с диабетом первого типа |
✔️ опекуны и/или родители детей с диабетом первого типа |
✔️ слепые пользователи с диабетом первого типа |
✔️ *медработники и специалисты здравоохранения |
Приведенная выше таблица предполагает, что пользователь имеет доступ как к непрерывному мониторингу гликемии, так и к инсулиновой помпе.
*All data from AAPS can be made available to healthcare professionals via data sharing platforms, including Nightscout that provides logging and real time monitoring of CGM data, insulin delivery, carbohydrate entries, predictions and settings. Записи Nightscout включают ежедневные и еженедельные отчеты, которые могут помочь специалистам здравоохранения обсудить с пациентами диабета первого типа все мероприятия по компенсации и контролю диабета.
Accessibility for users AAPS who are partially or completely blind
Day to day AAPS use:
AAPS can be used by blind people. On Android devices, the operating system has a program called TalkBack. This allows screen orientation via voice output as part of the operating system. By using TalkBack you can operate both your smartphone and AAPS without needing to be able to see.
Building the AAPS app:
As a user you will build the AAPS app in Android Studio. Many people use Microsoft Windows for this purpose, where there is the Screenreader analogous to TalkBack. Since Android Studio is a Java application, the “Java Access Bridge” component must be enabled in the Control Panel. Otherwise, the screen reader of the PC will not speak in Android Studio.
How you do this depends on your operating system, two methods are outlined below:
In the Windows Start menu, enter “Control Panel” in the search field, open with Enter. It opens: “All Control Panel Items”.
Open the «Ease of Access Centre».
Then open “Use computer without a display” with Enter.
Under hear text read aloud select «turn on narrator» and «turn on audio display», and click «apply»
or:
Press Windows key and enter “Control Panel” in the search field, open with Enter. It opens: “All Control Panel Items”.
Press the letter C to get to “Center for Ease of Use”, open with Enter.
Then open “Use computer without a screen” with Enter.
There, at the bottom, you will find the checkbox “Enable Java Access Bridge”, select it.
Done, just close the window! The screen reader should work now.
What benefits can I get from AAPS?
Если вы готовы потратить свое время, AAPS поможет вам:
• смягчить стресс и бремя диабета;
• сократить количество решений, вытекающих из диабета;
получить персонализированные динамические дозировки инсулина на основе данных, получаемых в режиме реального времени, которые могут сократить потребность в купировании эпизодов гипо- и гипергликемии;
повысить знания об управлении инсулинотерапией и уверенность в настройке ваших параметров;
научиться создавать сценарии автоматизации, подходящие вашему стилю жизни;
улучшить качество сна и сократить частоту пробуждений в ночное время;
осуществлять дистанционный мониторинг и подачу инсулинов при уходе за лицами с диабетом; и
streamlining of all your portable diabetic equipment (continuous glucose monitor receiver and insulin controlling devices) by using an Android phone controlled by AAPS.
Ultimately, AAPS can empower individuals to better manage their diabetes, resulting in stable blood sugars and improved long term health outcomes.
Interested in how to get started with setting up AAPS? Take a look at the preparing section.