Complementing data with contextual information

The system addresses the challenge of incomplete diabetic data collection by using predictive learning and contextual information to impute missing values, ensuring accurate and reliable data capture for effective diabetic disease progression analysis and treatment optimization.

JP7542152B2Active Publication Date: 2024-08-29F HOFFMANN LA ROCHE & CO AG
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023534003
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-12-03
Filing Date
2021-12-02
Publication Date
2024-08-29
Estimated Expiration
2041-12-02

AI Technical Summary

Technical Problem

Individuals with diabetes, particularly pre-diabetics and non-insulin-dependent type 2 diabetics, often fail to consistently monitor and record blood sugar levels and other relevant data, leading to incomplete datasets that necessitate extended testing periods and challenges in accurately analyzing diabetic disease progression and optimizing treatment.

Method used

A system and method utilizing a user device to capture structured blood glucose, dietary intake, medication, and activity data, supplemented by intelligent imputation of missing values using contextual information and predictive learning, employing general and time-weighted glycemic models to fill in gaps in data based on predefined thresholds and user-specific models.

Benefits of technology

Ensures accurate and reliable data collection, allowing for precise analysis of diabetic progression and treatment optimization by filling in missing data points with high confidence, thereby reducing the need for extended testing periods and improving treatment efficacy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007542152000004
    Figure 0007542152000004
  • Figure 0007542152000009
    Figure 0007542152000009
  • Figure 0007542152000010
    Figure 0007542152000010
Patent Text Reader

Abstract

A user device (e.g., a mobile device) receives test period data during a test period. The user device determines that a portion of the data is missing based on an analysis of the received test period data. The analysis of the received data includes an analysis of one or more blood glucose levels, as well as an analysis of food intake data, medication data, and activity data. The user device fills in the missing portions of the data with substitute data determined using predictive learning. The user device calculates a confidence level associated with the substitute data. The user device uses the substitute data to identify progression or regression of a diabetic condition associated with the user.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates generally to methods and systems for using predictive learning in diabetic disease progression analysis and treatment. [Background technology]

[0002] The device is used to monitor one or more parameters associated with a user during a test period. The user is a person (user) with diabetes, and the test period includes monitoring blood glucose levels and other data. The monitored blood glucose levels and other data are used to monitor the progression of the diabetic disease and the optimization of treatment. Strict adherence and close capture of blood glucose levels and other data during the test period is important to accurately determine the state of the diabetes and any necessary treatment adjustments. Unfortunately, some users (e.g., pre-diabetic patients and non-insulin-dependent type 2 diabetes patients) are not accustomed to habitual testing and recording of data and thus have challenges when undertaking a structured test period. Also, one or more instances of data may be missing during the test period. If one or more instances of data are missing during the test period, the test period needs to be extended so that a complete and reliable data set is available for disease progression and treatment optimization analysis.

[0003] US Patent Application Publication No. 2020 / 0176121 describes various systems and methods. One or more of the disclosed methods use machine learning algorithms to predict biophysical responses from biophysical data, such as heart rate monitoring data, food logs, or blood glucose measurements. The biophysical responses can include behavioral responses. Additional systems and methods extract nutritional information from foods by parsing strings that include the names of the foods.

[0004] US Patent Application Publication No. 2019 / 0252079 describes a system and method for providing a user with guidance regarding management of a physiological condition, such as diabetes. The determination can be based on the patient's blood glucose concentration data sensed by a blood glucose concentration sensor. A host status change associated with the host blood glucose concentration data can be determined. A guidance message based at least in part on the host status change can also be determined. The guidance message can be delivered via a user interface. Summary of the Invention

[0005] A system and method for reliably capturing structured test data is disclosed to ensure accurate and compliant data collection supplemented by intelligent imputation of missing values ​​based on context information and predictive learning. A user device (e.g., a mobile device) is implemented to provide reliable capture of blood glucose data, dietary intake data, medication data, and activity data from a user (e.g., a patient with diabetes (PwD)). The user device receives blood glucose data from a blood glucose monitor. The blood glucose monitor is a continuous glucose monitor (CGM) or a spot blood glucose measurement (SMBG) device. The blood glucose data includes a plurality of blood glucose levels of the user measured during a test period. The test period includes one or more days (e.g., three days). The user device receives test period data associated with the user during the test period. The test period data includes dietary intake data associated with a plurality of meals consumed by the user during the test period, medication data associated with a plurality of medication dosages taken by the user during the test period, and activity data associated with a plurality of pre-scheduled activities of the user during the test period.

[0006] The user device determines that a portion of the data is missing based on an analysis of the received test period data. The analysis of the received data includes an analysis of one or more blood glucose levels of the plurality of blood glucose levels, and an analysis of the meal intake data, the medication data, and the activity data. The analysis of the one or more blood glucose levels includes determining that the blood glucose level is greater than a predefined blood glucose threshold. The predefined blood glucose threshold is determined based on one or more of a carbohydrate content of the meal, a blood glucose profile of the meal, a dynamic fingerprint associated with the medication dosage, a type of prescheduled activity, a length of the prescheduled activity, or a predicted blood glucose level associated with one or more of a predefined blood glucose level rise associated with the user. The predefined blood glucose threshold is determined based on a general population-based blood glucose model in response to the meal, the prescheduled activity, or the medication dosage on the first day of the test period. The predefined blood glucose threshold is determined based on a time-weighted blood glucose model in response to the meal, the prescheduled activity, or the medication dosage on the second or third day of the test period. The time-weighted blood glucose model is developed using the user's blood glucose data received on the first day of the test period.

[0007] The user device determines that the missing portion of the data includes dietary intake data associated with one meal of the plurality of meals, and in response to determining that the user has consumed the meal, completes the missing portion of the data with substitute dietary intake data. The user device determines the substitute dietary intake data using the context information. The user device determines that the missing portion of the data includes dietary intake data including an analysis of one or more scheduled meals. The user device determines that the missing portion of the data includes dosage data associated with one dosage of the plurality of medication doses, and in response to determining that the user has taken the dosage, completes the missing portion of the data with substitute dosage data. The user device determines that the missing portion of the data includes dosage data including an analysis of the one or more scheduled dosages. The user device determines that the missing portion of the data includes activity data associated with one pre-scheduled activity of the plurality of pre-scheduled activities, and in response to determining that the user has participated in the pre-scheduled activity, completes the missing portion of the data with substitute activity data. The user device determines that the missing portion of the data includes activity data including an analysis of the one or more pre-scheduled activities.

[0008] The substitute data, such as substitute meal intake data, substitute activity data, and substitute medication data, may be determined by using context information, such as at least one glycemic model including predetermined data regarding at least one reference blood glucose level associated with one or more of the meal intake, activity, and medication intake. The substitute data, such as substitute meal intake data, substitute activity data, and substitute medication data, may be specifically based on one or more of a general population-based glycemic model and a time-weighted glycemic model, the population-based glycemic model may specifically include predetermined information regarding at least one exemplary individual's blood glucose level in response to one or more of the meal intake, activity, and medication intake, and the time-weighted glycemic model may specifically include predetermined information regarding the user's blood glucose level for one or more of the meal intake, activity, and medication intake.

[0009] The substitute dietary intake data, the substitute activity data, and the substitute medication data are based on a general population-based glycemic model in response to the missing portion of the data being associated with a first period of a day of the multiple days.

[0010] The general population-based glycemic model can be or include at least one predicted glycemic level response. In other words, the general population-based glycemic model can be or include information on how one or more of a meal, i.e. a pre-packaged meal, a pre-scheduled activity, and a medication, i.e. a pre-packaged medication, affect the glycemic level of a reference individual, such as an average and / or representative patient. Thus, by way of example, the general population-based glycemic model can include predetermined data, such as one or more standard values ​​and / or calculation procedures, i.e. at least one algorithm, regarding the occurrence of average glycemia over one or more of a meal intake, a pre-scheduled activity, and a medication. In particular, by way of simple example, the general population-based glycemic model can be or include one or more data sets, i.e. a data table or matrix, that assign a particular glycemic level according to one or more of a meal intake, an activity, i.e. a pre-scheduled activity, and a medication intake, such as a medication intake, or vice versa. In particular, certain data, i.e., food intake data, activity data or medication data associated with blood glucose levels, may be used as substitute data, i.e., substitute food intake data, substitute activity data and / or substitute medication data.

[0011] The general population-based glycemic model can be or include a trained model, such as a mathematical model trained on at least one training data set, for example, a set of predetermined training data, by using one or more of machine learning, deep learning, neural network, or other forms of artificial intelligence. For example, the general population-based glycemic model can be a trained model including at least one model selected from the group consisting of: a linear regression model including transformed features, such as logarithmic transformation or polynomial; at least one nonlinear artificial neural network (ANN), in particular at least one deep learning architecture, such as convolutional NN, recurrent NN, long-short-term memory NN; at least one support vector machine (SVM); at least one kernel-based method; tree regression; random forest.

[0012] The general population-based glycemic model may specifically be or include a training model trained with a training data set including previously determined data, e.g., historical experimental data, such as previously determined blood glucose levels. Specifically, the general population-based glycemic model may specifically be or include a predicted blood glucose level response using data from a person other than the user. By way of example, the training data for the general population-based glycemic model may be obtained by measuring and linking the blood glucose levels of multiple diabetic patients with respect to internal and external factors and / or influences. In particular, the blood glucose levels may be measured and / or monitored after the patient is subjected to external influences, such as physical exercise and nutrition, i.e., food, beverages, medicines, or other oral intake. Furthermore, the personal data of the diabetic patient may be determined, e.g., internal factors, such as age, sex, weight, duration of disease, disease progression, type of medication, general health, or other personal factors and / or parameters. Other data, such as environmental information, i.e., weather data, may be further obtained. Each measured blood glucose level may be used as training data, and the training data may be labeled with each potential influence, such as external influences and / or internal factors and / or additional information regarding the situation in which the training data was obtained. All information may be labeled and linked, i.e., with the blood glucose level in a subsequent step of measuring and determining data, thereby obtaining, as an example, a set of training data for training a general population-based blood glucose model. Other methods of obtaining training data for a general population-based blood glucose model may be feasible.

[0013] The replacement dietary intake data, replacement activity data, and replacement medication data are based on a time-weighted glycemic model developed using the user's glycemic data received on a first day of the multiple days, responsive to the missing portion of the data being associated with a second time period on a second or third day of the multiple days.

[0014] The time-weighted glycemic model may be or include at least one predicted glycemic level response further based on the user's test period data. In other words, the time-weighted glycemic model may be based on a general population-based glycemic model updated with information on how one or more of the dietary intakes, such as meals, i.e. pre-packaged meals, pre-scheduled activities, and medications, i.e. pre-packaged medications, affected the user's glycemic level on day 1 of the multiple days and possibly day 1 later. Thus, by way of example, the time-weighted glycemic model may include predetermined data, such as one or more values ​​regarding the user's glycemic development, according to one or more of the dietary intakes, pre-scheduled activities, and medications measured and / or received on day 1. In particular, by way of simple example, the time-weighted glycemic model may be or include one or more data sets, i.e. data tables or matrices, that assign a particular glycemic level of the user with one or more of the user's dietary intakes, the user's activities, i.e. pre-scheduled activities, and the user's medications, such as medications taken and / or performed by the user on day 1, or vice versa. As an example, the time-weighted glycemic model may be time-weighted such that the user's blood glucose level response closest to the current day of the test period is assigned a higher relative weight. Specifically, the user's food intake data, activity data or medication data associated with the user's blood glucose level on day 1 can be used as a substitute data for the subsequent day, i.e., as a substitute food intake data, a substitute activity data and / or a substitute medication data. In particular, the accuracy of the time-weighted glycemic model can evolve and improve by collecting and adding daily, i.e., user-specific blood glucose and intake data or performance data. Thus, on day 3, the time-weighted glycemic model can be or include data that assigns the user's blood glucose level with one or more of the user's food intake, the user's activity, and the user's medication intake on both days 1 and 2, i.e., the average value between the two days.

[0015] The time-weighted glycemic model may be or may include a trained model, such as a mathematical model, trained with at least one training data set containing information about the user, such as a set of predetermined user-specific training data, by using one or more of machine learning, deep learning, neural network, or other forms of artificial intelligence. By way of example, the time-weighted glycemic model may be a trained model including at least one model selected from the group consisting of: a linear regression model including transformed features, such as a logarithmic transformation or a polynomial; at least one nonlinear artificial neural network (ANN), in particular at least one deep learning architecture, such as a convolutional NN, a recurrent NN, a long-short-term memory NN; at least one support vector machine (SVM); at least one kernel-based method; tree regression; and random forest.

[0016] In particular, the time-weighted glycemic model may be or may include a trainable model, such as a training model that can be further trained and / or updated based on additional training data generated from the user, for example continuously generated by the user. Thus, the time-weighted glycemic model may be or may include a trained model, i.e. a trained model similar to a general population-based glycemic model, but trained with information about the user's glycemia, i.e. a training data set generated from the user, and further trained and / or updated based on additional data from the user. In particular, the time-weighted glycemic model may be or may include a predicted glycemic level response using the user's test period data from a day prior to the test period. As an example, the time-weighted glycemic model may be or may include a general population-based glycemic model updated by using test period data from a day prior to the test period. The time-weighted glycemic model may be or may include a trainable model trained and updated with training data generated from the user, such as the user's glycemic level previously determined and continuing to be determined, in particular the glycemic data and test period data received from the glycemic monitor, i.e. meal intake data, medication data and activity data. In particular, each measured blood glucose level of the user can be used as training data, and the training data can be labeled with each test period data, i.e., each potential influence of food intake data, medication data, and activity data under which the training data was obtained. All information can be labeled and linked, i.e., linked with the user's blood glucose level in a subsequent step of measuring and determining training period data, thereby obtaining a set of training data from the user to train the time-weighted blood glucose model, as an example. Other methods of obtaining training data for the time-weighted blood glucose model may be feasible.

[0017] The user device uses the alternate food intake data, alternate medication data, or alternate activity data to identify progression or regression of a diabetic condition associated with the user, and the user device adjusts a configuration of the insulin pump to increase or decrease the delivery of insulin to the user in response to the progression or regression of the diabetic condition.

[0018] The user device calculates a confidence level associated with the alternative dietary intake data, alternative medication data, or alternative activity data. The confidence levels of each instance of the alternative data complement for a day of the test period are aggregated to determine an aggregate confidence level for each day. The user device extends the test period in response to the aggregate confidence level for the day falling below a specified confidence threshold. The user device adds the alternative dietary intake data, alternative medication data, or alternative activity data to the test period data if the confidence level is greater than the specified confidence threshold. The user device uses the test period data to update a learning model associated with the user.

[0019] The user device extends the test period in response to determining that the user did not consume a meal based on an analysis of one or more blood glucose levels of the plurality of blood glucose levels proximate a first time period associated with a meal. The user device extends the test period in response to determining that the user did not take a medication based on an analysis of one or more blood glucose levels of the plurality of blood glucose levels proximate a second time period associated with a medication. The user device extends the test period in response to determining that the user did not participate in a pre-scheduled activity based on an analysis of one or more blood glucose levels of the plurality of blood glucose levels proximate a third time period associated with the pre-scheduled activity. The user device extends the test period in response to determining that the confidence level is below a predetermined confidence threshold.

[0020] In an embodiment, the user device is configured to supplement the missing dietary intake data with substitute data. The user device determines the substitute data using the context information. The user device receives blood glucose data from a blood glucose monitor, the blood glucose data including a plurality of blood glucose levels of the user measured during a test period. The blood glucose monitor is a CGM or SMBG meter. The user device receives dietary intake data associated with a plurality of meals consumed by the user during the test period. The dietary intake data includes macronutrient information for the plurality of meals consumed by the user during the test period, the plurality of meals being pre-packaged meals.

[0021] The user device determines that a portion of the dietary intake data is missing based on an analysis of the received dietary intake data. The missing portion of the dietary intake data is associated with one meal of the plurality of meals. The user device determines that the user has consumed the meal based on a blood glucose level greater than a defined blood glucose level threshold of the plurality of blood glucose levels. The blood glucose level is close to a time period associated with the meal. In response to determining that the user has consumed the meal, the user device completes the missing portion of the dietary intake data with substitute data. The test period includes a plurality of days. The substitute data is based on a general population-based glycemic model in response to the meal being a first day of the plurality of days. The substitute data is based on a time-weighted glycemic model developed using the user's blood glucose data received on a first day of the plurality of days in response to the meal being a second or third day of the plurality of days. The substitute data enables one or more of a disease progression analysis or a treatment analysis at the end of the test period.

[0022] The substitute dietary intake data may be determined by using context information, specifically, at least one glycemic model, i.e., one or more of a general population-based glycemic model and a time-weighted glycemic model, which includes predetermined data on at least one glycemic level associated with at least one similar dietary intake, such as a dietary intake or a previous dietary intake. For example, the dietary intake or similar dietary intake may be or include an intake of a prepackaged meal, such as a meal of known nutritional information. As a simple example, the substitute dietary intake data may be a predetermined value, such as an average or standard value of dietary intake data. Specifically, as an example, if the missing portion of the test period data is associated with a first period of a first day of the multiple days, the substitute dietary intake data may be a value of the dietary intake data suggested and / or predicted by the general glycemic model. Additionally or alternatively, as an example, if the missing portion of the test period data is associated with a second period of a second or third day of the multiple days, the substitute dietary intake data may be a time-weighted value of the dietary intake data suggested and / or predicted by the time-weighted glycemic model.

[0023] The user device calculates a confidence level for the alternate data imputation, and the confidence levels for each instance of the alternate data imputation for each day of the examination period are aggregated to determine an aggregate confidence level for each day.

[0024] The user device extends the test period in response to determining that the user did not consume a meal based on an analysis of one or more blood glucose levels of the plurality of blood glucose levels proximate the period. The analysis of the one or more blood glucose levels proximate the period includes determining that the one or more blood glucose levels proximate the period are below a prescribed blood glucose threshold. The prescribed blood glucose threshold is determined based on a predicted blood glucose level associated with one or more of a carbohydrate content of the meal, a blood glucose profile of the meal, or a predetermined meal blood glucose level rise associated with the user. The prescribed blood glucose threshold is determined based on a general population-based blood glucose model in response to the meal being a first day of the plurality of days. The prescribed blood glucose threshold is determined based on a time-weighted blood glucose model in response to the meal being a second or third day of the plurality of days. The time-weighted blood glucose model is developed using the user's blood glucose data received on the first day of the plurality of days.

[0025] The user device extends the test period in response to determining that the reliability level of the surrogate data is below a predetermined reliability threshold. The test period is extended in response to the total reliability level for a day being below a defined reliability threshold. The user device uses the surrogate data to identify progression or regression of a diabetic condition associated with the user. The user device adjusts a configuration of the insulin pump to increase or decrease the delivery of insulin to the user in response to the progression or regression of the diabetic condition.

[0026] In an embodiment, the user device is configured to complement the missing medication data with replacement data. The user device receives blood glucose data from a blood glucose monitor, the blood glucose data including a plurality of blood glucose levels of the user measured during a test period. The blood glucose monitor is a CGM or an SMBG meter. The user device receives medication data associated with a plurality of medication doses taken by the user during the test period. The user device determines that a portion of the medication data is missing based on an analysis of the received medication data. The missing portion of the medication data is associated with one of the plurality of medication doses. The user device determines that the user has taken a medication based on a blood glucose level of one of the plurality of blood glucose levels being greater than a defined blood glucose threshold and an analysis of activity data proximate to a time period associated with the medication. For example, the user device determines that the blood glucose level is associated with the medication dose and is not associated with the missing portion of the activity data. The blood glucose level is proximate to a time period associated with the medication dose.

[0027] The user device, in response to determining that the user has taken the medication, completes missing portions of the medication data with substitute data. The user device determines the substitute data using the context information. The substitute data enables one or more of a disease progression analysis or a treatment analysis at the end of the test period. The test period includes a plurality of days. The substitute data is based on a general population-based glycemic model in response to the medication dose being a first day of the plurality of days. The substitute data is based on a time-weighted glycemic model developed using the user's glycemic data received on a first day of the plurality of days in response to the medication dose being a second or third day of the plurality of days. The user device calculates a confidence level of the substitute data completion.

[0028] The substitute data, i.e., substitute dosing data, can be determined by using context information, specifically, at least one glycemic model, i.e., one or more of a general population-based glycemic model and a time-weighted glycemic model, which includes predetermined data on at least one glycemic level associated with the intake of a medication, or at least one similar dosage, such as the intake of a previous medication. For example, the medication intake or similar medication intake can be or include a prepackaged medication intake, such as a medication of known dynamic fingerprint, i.e., a known effect on the glycemic level. As a simple example, the substitute dosing data can be a predetermined value, such as an average or standard value of the medication data. Specifically, as an example, if the missing portion of the test period data is associated with a first period of the first day of the multiple days, the substitute dosing data can be a value of the medication data suggested and / or predicted by the general glycemic model. Additionally or alternatively, as an example, if the missing portion of the test period data is associated with a second period of the second or third day of the multiple days, the substitute dosing data can be a time-weighted value of the medication data as suggested and / or predicted by the time-weighted glycemic model.

[0029] The user device extends the test period in response to determining that the user did not take the dosage based on an analysis of one or more blood glucose levels of the plurality of blood glucose levels proximate the period. The analysis of the one or more blood glucose levels proximate the period includes determining that the one or more blood glucose levels proximate the period are below a prescribed blood glucose threshold. The prescribed blood glucose threshold is determined based on a dynamic fingerprint associated with the dosage of the drug or a predetermined dose blood glucose level rise associated with the user. The dynamic fingerprint includes one or more of an onset time, an action time, or a drop time. The prescribed blood glucose threshold is determined based on a general population-based blood glucose model in response to the dosage being a first day of the plurality of days. The prescribed blood glucose threshold is determined based on a time-weighted blood glucose model in response to the dosage being a second or third day of the plurality of days, the time-weighted blood glucose model being developed using blood glucose data of the user received on the first day of the plurality of days.

[0030] The user device extends the test period in response to determining that the reliability level of the surrogate data is below a predetermined reliability threshold. The reliability levels of each instance of the surrogate data complement for a day of the test period are aggregated to determine an aggregate reliability level for each day, and the test period is extended in response to the aggregate reliability level for each day being below a defined reliability threshold. The user device uses the surrogate data to identify progression or regression of a diabetic condition associated with the user. The user device adjusts a configuration of the insulin pump to increase or decrease the delivery of insulin to the user in response to progression or regression of the diabetic condition.

[0031] In an embodiment, the user device is configured to supplement missing activity data with replacement data. The user device receives blood glucose data from a blood glucose monitor, the blood glucose data including a plurality of blood glucose levels of the user measured during a test period. The blood glucose monitor is a CGM or an SMBG meter. The user device receives activity data associated with a plurality of pre-scheduled activities of the user during the test period. The user device determines that a portion of the activity data is missing based on an analysis of the received activity data. The missing portion of the activity data is associated with one pre-scheduled activity of the plurality of pre-scheduled activities. The user device determines that the user participated in the pre-scheduled activity based on a blood glucose level of the one of the plurality of blood glucose levels being greater than a defined blood glucose threshold. The blood glucose level is proximate to a time period associated with the pre-scheduled activity. The user device determines that the user participated in the pre-scheduled activity based on an analysis of medication data proximate to a time period associated with the pre-scheduled activity. The user device determines that the blood glucose level is associated with the pre-scheduled activity and is not associated with the missing portion of the medication data.

[0032] The user device, in response to determining that the user participated in the pre-scheduled activity, completes missing portions of the activity data with substitute data. The substitute data enables one or more of a disease progression analysis or a treatment analysis at the end of the test period. The test period includes a plurality of days. The substitute data is based on a general population-based glycemic model in response to the pre-scheduled activity being a first day of the plurality of days. The substitute data is based on a time-weighted glycemic model developed using the user's glycemic data received on a first day of the plurality of days in response to the pre-scheduled activity being a second or third day of the plurality of days.

[0033] The substitute data, i.e., the substitute activity data, may be determined by using context information, such as at least one glycemic model, i.e., one or more of a general population-based glycemic model and a time-weighted glycemic model, and includes predetermined data on at least one glycemic level associated with a pre-scheduled activity, such as an activity previously performed, or at least one similar activity. For example, the pre-scheduled activity or similar activity may have a known effect on the glycemic level. As a simple example, the substitute activity data may be a predetermined value, such as an average or standard value, of the pre-scheduled activity data. Specifically, as an example, if the missing portion of the test period data is associated with a first period of a first day of the multiple days, the substitute activity data may be a value of the activity data suggested and / or predicted by the general glycemic model. Additionally or alternatively, as an example, if the missing portion of the test period data is associated with a second period of a second or third day of the multiple days, the substitute activity data may be a time-weighted value of the activity data suggested and / or predicted by the time-weighted glycemic model.

[0034] The user device calculates a confidence level of the alternative data imputation. The user device extends the test period in response to determining that the user did not participate in the pre-scheduled activity based on an analysis of one or more blood glucose levels of the plurality of blood glucose levels proximate the time period. The analysis of the one or more blood glucose levels proximate the time period includes determining that the one or more blood glucose levels proximate the time period are below a prescribed blood glucose threshold. The prescribed blood glucose threshold is determined based on one or more of a type of pre-scheduled activity associated with the user, a length of the pre-scheduled activity, or a predetermined activity blood glucose level rise. The prescribed blood glucose threshold is determined based on a general population-based blood glucose model in response to the activity being a first day of the plurality of days. The prescribed blood glucose threshold is determined based on a time-weighted blood glucose model in response to the activity being a second or third day of the plurality of days, the time-weighted blood glucose model being developed using the user's blood glucose data received on the first day of the plurality of days.

[0035] The user device extends the test period in response to determining that the reliability level of the surrogate data is below a predetermined reliability threshold. The reliability levels of each instance of the surrogate data complement for a day of the test period are aggregated to determine an aggregate reliability level for each day, and the test period is extended in response to the aggregate reliability level for each day being below a defined reliability threshold. The user device uses the surrogate data to identify progression or regression of a diabetic condition associated with the user. The user device adjusts a configuration of the insulin pump to increase or decrease the delivery of insulin to the user in response to progression or regression of the diabetic condition.

[0036] In summary, the following embodiments are proposed:

[0037]

[0021] Embodiment 1. A method comprising: receiving blood glucose level data from a blood glucose monitor, the blood glucose level data including a plurality of blood glucose levels of a user measured during a test period; receiving test period data associated with the user during the test period, the test period data enabling one or more of a disease progression analysis or a treatment analysis at an end of the test period, the test period data including dietary intake data associated with a plurality of meals consumed by the user during the test period, medication data associated with a plurality of medication dosages taken by the user during the test period, and activity data associated with a plurality of pre-scheduled activities of the user during the test period; determining that a portion of the test period data is missing based on an analysis of the received data; determining that the missing portion of the test period data includes dietary intake data associated with one meal of the plurality of meals, and in response to determining that the user has consumed a meal, complementing the missing portion of the test period data with substitute dietary intake data; determining that the missing portion of the data includes medication data associated with one of the plurality of pre-scheduled activities, and in response to determining that the user has taken the medication, completing the missing portion of the test period data with substitute medication data; determining that the missing portion of the data includes activity data associated with one of the plurality of pre-scheduled activities, and in response to determining that the user has participated in the pre-scheduled activity, completing the missing portion of the test period data with substitute activity data; calculating a confidence level associated with the substitute meal intake data, the substitute medication data, or the substitute activity data; and if the confidence level is greater than a specified threshold, adding the substitute meal intake data, the substitute medication data, or the substitute activity data to the test period data; determining that the user did not consume a meal based on an analysis of one or more blood glucose levels of the plurality of blood glucose levels proximate a first time period associated with the meal; determining that the user did not take the medication based on an analysis of one or more blood glucose levels of the plurality of blood glucose levels proximate a second time period associated with the medication.and extending the test period in response to one or more of: determining that the user did not participate in the pre-scheduled activity based on an analysis of one or more blood glucose levels of the plurality of blood glucose levels proximate a third time period associated with the pre-scheduled activity, or determining that the confidence level is below a predetermined confidence threshold.

[0038]

[0023] Embodiment 2. The method of embodiment 1, wherein the test period includes a plurality of days, and the replacement dietary intake data, the replacement activity data, and the replacement medication data are based on a general population-based glycemic model in response to a missing portion of the test period data being associated with a first period of a first day of the plurality of days.

[0039]

[0023] Embodiment 3. The method of embodiment 2, wherein the replacement dietary intake data, replacement activity data, and replacement medication data are based on a time-weighted glycemic model developed using the user's glycemic data received on a first day of the multiple days in response to a missing portion of the test period data being associated with a second time period on a second or third day of the multiple days.

[0040]

[0023] Embodiment 4. The method of embodiment 1, wherein the analysis of the received test period data includes analysis of one or more blood glucose levels of a plurality of blood glucose levels, and analysis of food intake data, medication data, and activity data.

[0041]

[0023] Embodiment 5. The method of embodiment 4, wherein the analyzing of the one or more blood glucose levels comprises determining that the blood glucose level is greater than a defined blood glucose threshold.

[0042]

[0023] Embodiment 6. The method of embodiment 5, wherein the predefined glycemic threshold is determined based on a predicted glycemic level associated with one or more of the carbohydrate content of a meal, the glycemic profile of a meal, a dynamic fingerprint associated with a dosage of a drug, a type of prescheduled activity, a length of a prescheduled activity, or a predefined glycemic level rise associated with a user.

[0043] Embodiment 7. The method of embodiment 1, wherein the testing period includes multiple days and the predefined glycemic threshold is determined based on a general population-based glycemic model in response to meals, pre-scheduled activities, or medications on a first day of the multiple days.

[0044]

[0023] Embodiment 8. The method of embodiment 7, wherein the prescribed glycemic threshold is determined based on a time-weighted glycemic model responsive to meals, pre-scheduled activities or medications on a second or third day of the multiple days, and the time-weighted glycemic model is developed using the user's glycemic data received on a first day of the multiple days.

[0045] Embodiment 9. The method of embodiment 1, wherein the blood glucose monitor is a continuous glucose monitor (CGM) or a spot blood glucose monitor (SMBG).

[0046] Embodiment 10. The method of embodiment 1, wherein determining that the missing portion of the test period data comprises dietary intake data comprises analysis of one or more scheduled meals, determining that the missing portion of the data comprises medication data comprises analysis of one or more scheduled medication dosages, and determining that the missing portion of the test period data comprises activity data comprises analysis of one or more pre-scheduled activities.

[0047]

[0023] Embodiment 11. The method of embodiment 1, wherein the confidence level of each instance of alternative data imputation for a day of the examination period is aggregated to determine an overall confidence level for the day, and the examination period is extended in response to the overall confidence level for the day falling below a specified confidence threshold.

[0048]

[0023] Embodiment 12. The method of embodiment 1, further comprising: using the alternative dietary intake data, alternative medication data, or alternative activity data to identify progression or regression of a diabetic condition associated with the user; and adjusting a configuration of an insulin pump to increase or decrease the supply of insulin to the user in response to the progression or regression of the diabetic condition.

[0049]

[0023] Embodiment 13. The method of embodiment 1, further comprising updating a learning model associated with the user using the inspection period data.

[0050]

[0023] Embodiment 14. A method comprising: receiving blood glucose data from a blood glucose monitor, the blood glucose data including a plurality of blood glucose levels of a user measured during a test period; receiving meal intake data associated with a plurality of meals consumed by the user during the test period; determining that a portion of the meal intake data is missing based on an analysis of the received meal intake data, the missing portion of the meal intake data being associated with one meal of the plurality of meals; determining that a portion of the meal intake data is missing based on a blood glucose level of the plurality of blood glucose levels that is greater than a prescribed blood glucose threshold, the blood glucose level being associated with one meal of the plurality of meals; determining that the user has consumed a meal based on a blood glucose level of the plurality of blood glucose levels that is greater than a prescribed blood glucose threshold; 11. A method comprising: determining that a user consumed a meal proximate the time period; in response to determining that the user consumed a meal, complementing missing portions of the meal intake data with substitute data, the substitute data enabling one or more of a disease progression analysis or a treatment analysis at an end of the test period; calculating a confidence level of the substitute data complement; and in response to one or more of determining that the user did not consume a meal based on an analysis of one or more blood glucose levels of a plurality of blood glucose levels proximate the time period or determining that the confidence level of the substitute data is below a predetermined confidence threshold, extending the test period.

[0051]

[0046] Embodiment 15. The method of embodiment 14, wherein the test period includes multiple days, and the surrogate data is based on a general population-based glycemic model responsive to the meal being day 1 of the multiple days, and the surrogate data is based on a time-weighted glycemic model developed using the user's glycemic data received on day 1 of the multiple days responsive to the meal being day 2 or day 3 of the multiple days. [Brief description of the drawings]

[0052] [Figure 1] FIG. 1 is a perspective view of a representative environment for monitoring or treating a diabetic condition. [Diagram 2] 1 shows a flow chart of an exemplary process for using structured test periods to analyze disease progression and optimize treatment. [Diagram 3] 1 is a flow chart of an exemplary process for ensuring data capture during structured inspection. [Figure 4] 1 shows a flow chart of an exemplary process for imputation of dietary intake data during a structured testing period. [Diagram 5] 1 illustrates a flowchart of an exemplary process for completion of activity data during a structured inspection period. [Figure 6] 1 illustrates a flow chart of an exemplary process for imputation of medication data during a structured test period. [Figure 7] 1 shows a flowchart of an exemplary process for imputing blood glucose data. [Figure 8] 1 shows a flow chart of an exemplary process for imputation of fasting blood glucose levels. [Figure 9] FIG. 1 is a block diagram of an exemplary blood glucose monitor. [Figure 10] FIG. 1 is a block diagram of an exemplary blood glucose measurement (BGM) device. [Figure 11] FIG. 1 is a block diagram illustrating an example of an insulin pump. [Figure 12] FIG. 1 is a block diagram of an exemplary computing device. [Figure 13] FIG. 1 is a block diagram of an exemplary smart plate. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0053] FIG. 1 is a perspective view of a representative environment for monitoring or treating a diabetic condition. As shown in FIG. 1, a user 100 with diabetes uses one or more blood glucose monitoring devices to aid in monitoring or treating the diabetic condition. The diabetic condition includes metabolic syndrome, pre-diabetes, type 1 diabetes, type 2 diabetes, or gestational diabetes. If the user's 100 blood glucose level is above or below a threshold blood glucose level, the user 100 may be in an extreme diabetic condition, such as hypoglycemia or hyperglycemia. In the embodiment of FIG. 1, the user 100 uses a blood glucose monitoring device to monitor the blood glucose level.

[0054] As used herein, the term "blood glucose monitor" refers to any device that detects and reports the level of blood glucose in a user's blood, either by direct measurement of blood or by an indirect detection process. Blood glucose level is also referred to as blood sugar level. Examples of blood glucose monitors include, but are not limited to, continuous glucose monitors, flash glucose monitors, and blood glucose meters that provide a single measurement of blood glucose level from a blood sample in a "spot" monitoring process. FIG. 1 shows an example of a blood glucose monitor, which is described in more detail below.

[0055] In some embodiments, the blood glucose monitoring device is a continuous glucose monitor (CGM) 102. The CGM 102 includes a subcutaneous sensor that is used to detect and monitor the amount of blood glucose in the interstitial fluid of the user 100. The CGM 102 includes a transmitting device located directly over the sensor that wirelessly powers the data transfer from the sensor. The CGM 102 periodically communicates data indicative of the user's 100 blood glucose level to an external device, such as a mobile device 104, for calculating or storing the user's 100 blood glucose level.

[0056] As used herein, the term "mobile device" refers to any mobile electronic device that can move with a user as the user changes location. Examples of mobile devices include mobile phones, smart phones, wearable devices, tablets, laptops, notebook computers, personal digital assistants (PDAs), and any other mobile electronic device that can move with a user. Some embodiments of mobile devices incorporate a blood glucose monitor into the integrated device.

[0057] Some embodiments of the mobile device 104 operate as a CGM controller device. Although the mobile device 104 is provided as an example of a device with which the CGM 102 communicates, the CGM 102 can communicate with other dedicated CGM controller devices to provide similar functionality as described herein for the mobile device 104. The CGM 102 processes glycemic data to enable disease progression and treatment analysis. The glycemic data is processed in the mobile device 104 or other CGM controller devices, and alert indicators are communicated to the CGM 102.

[0058] In some embodiments, blood glucose monitoring is performed by flash blood glucose monitoring (FGM). FGM includes a subcutaneous sensor 103 that is used to detect and monitor the amount of blood glucose in the interstitial fluid of a user 100. A separate reader device, such as a mobile device 104 or another reader device, receives blood glucose information from the sensor when the device is within RF range of the sensor 103. The sensor 103 transmits instantaneous blood glucose levels or graphical trends of blood glucose levels to the reader device for display.

[0059] In some embodiments, the CGM 102 is a short-term disposable CGM device. The short-term disposable CGM device is activated at the beginning of a test period and measures the user's blood glucose level during the test period. In an example, the short-term disposable CGM device transmits the blood glucose level measurement to the mobile device 104. In an example, the short-term disposable CGM device transmits the blood glucose level measurement to the remote computing device 122. The short-term disposable CGM device is discarded after the completion of the test period.

[0060] In some embodiments, the CGM 102 is blinded so that blood glucose level measurements are not presented to the user during the test period. Users tend to change their behavior if they are able to see the blood glucose level measurements.

[0061] In some embodiments, the CGM 102 does not communicate with the mobile device 104. Instead, the CGM 102 stores the blood glucose level measurements until the end of the test period. In an example, the CGM is configured to transfer the stored blood glucose level measurements to the remote computing device 122.

[0062] In some embodiments, a user uses a blood glucose monitor (BGM) 106 (e.g., a spot blood glucose (SMBG) device) as a blood glucose monitoring device to monitor blood glucose levels. The BGM 106 includes a port 108 that accepts a blood glucose test strip 110. The user 100 deposits a sample of blood on the blood glucose test strip 110. The BGM 106 analyzes the sample and measures the blood glucose level in the sample. The blood glucose level measured from the sample is displayed on a display 112 of the BGM 106 or communicated to an external device, such as the mobile device 104.

[0063] The blood glucose level measured by the BGM 106 or calculated using the data received from the CGM 102 is used to treat the diabetic condition of the user 100. The blood glucose level measured by the BGM 106 or calculated using the data received from the CGM 102 is used to identify the progression or regression of the diabetic condition of the user 100. The blood glucose level measured by the BGM 106 or calculated using the data received from the CGM 102 is used to adjust (e.g., optimize) a therapy associated with the user 100.

[0064] In some embodiments, the user 100 uses a portable non-durable insulin pump 116 or a portable durable insulin pump 118 to treat diabetic symptoms with insulin. The mobile device 104 determines the amount of insulin to be administered to the user 100, and the insulin pumps 116, 118 receive instructions from the mobile device 104 to deliver a predetermined amount of insulin to the user 100. The insulin pumps 116, 118 receive other information from the mobile device 104, such as mealtime information or exercise information of the user 100. The insulin pumps 116, 118 determine the dosage of insulin based on the information received from the mobile device 104. The insulin pumps 116, 118 communicate information to the mobile device 104. The information communicated to the mobile device 104 includes the amount of insulin delivered to the user 100, the corresponding delivery time, or pump status (e.g., battery status, insulin status, or another status of a portion of the pump). The blood glucose level measured by the BGM 106 or calculated using data received from the CGM 102 is used to adjust the configuration of the insulin pump 116, 118 or to reduce the supply of insulin to the user in response to the progression or regression of a diabetic condition.

[0065] In some embodiments, the user 100 wears a fitness tracker 114. The fitness tracker 114 is a fitness band (e.g., as shown in FIG. 1), a smart watch, or another wearable device. The fitness tracker 114 measures and describes the user's activity or lack thereof. The fitness tracker 114 is used to measure activities such as walking, exercising, running, sleeping, inactivity, cycling, exercising on an elliptical trainer, etc. Data collected by the fitness tracker 114 (e.g., activity data) is transferred to and viewable on a computing device (e.g., mobile device 104, etc.).

[0066] In some embodiments, the user 100 receives pre-packaged meals 130 for consumption during a test period. Each of the pre-packaged meals 130 includes a meal machine-readable optical label 131. The meal machine-readable optical label 131 may be a bar code, a QR code, or some other unique identifier. The user 100 scans the meal machine-readable optical label 131 before consuming the meal, for example, to verify that each pre-packaged meal 130 has been consumed.

[0067] In some embodiments, the user 100 receives prepackaged dosages 132 for consumption during a test period. Each of the prepackaged dosages 132 includes a dosage machine-readable optical label 133. The dosage machine-readable optical label 133 may be a bar code, a QR code, or some other unique identifier. The user 100 scans the dosage machine-readable optical label 133 before taking the dosage, for example, to verify that each prepackaged dosage 132 has been consumed.

[0068] In some embodiments, the user 100 consumes a meal using a smart plate 128. The smart plate 128 includes one or more sensors configured to determine the amount of food (e.g., a prepackaged meal) that the user 100 has eaten. The smart plate 128 is configured to scan the meal machine-readable optical label 131 of the prepackaged meal 130. For example, the smart plate 128 includes a camera or a barcode scanner.

[0069] The mobile device 104 communicates with the insulin pumps 116, 118, CGM 102, BGM 106, fitness tracker 114, and smart plate 128 using wired or wireless communications. The mobile device 104, CGM 102, CGM controller, BGM 106, fitness tracker 114, smart plate 128, and insulin pumps 116, 118 are collectively referred to as user devices. The mobile device 104 communicates with the insulin pumps 116, 118, CGM 102, BGM 106, fitness tracker 114, and smart plate 128 using the same or different wireless protocols. For example, the mobile device 104 communicates with the insulin pumps 116, 118, the CGM 102, the BGM 106, the fitness tracker 114, and the smart plate 128 using BLUETOOTH®, Near Field Communication (NFC), THREAD®, WIFI®, ZIGBEE®, WI-MAX®, a cellular communication protocol, a proprietary wireless communication protocol, or another radio frequency (RF) communication protocol.

[0070] The mobile device 104 receives data and stores the data to assist in monitoring or treating a diabetic condition. The mobile device 104 receives input from the user 100 via a user interface (e.g., a graphical user interface (GUI)) provided on a display of the mobile device 104. The mobile device 104 receives input via hard or soft buttons provided on the display. The user 100 confirms compliance with one or more aspects of the structured check period via the user interface of the mobile device. For example, the user 100 confirms via the mobile device 104 whether a meal has been consumed, whether a dosage has been taken, and whether an activity has been participated in.

[0071] The mobile device 104 is configured to determine the device's location. For example, the mobile device 104 can identify the device's geographic location (e.g., latitude and longitude) using signals from a Global Positioning System (GPS) or triangulation via cellular communications. The mobile device 104 determines the relative location using an RF beacon device 126. The RF beacon device 126 communicates a unique identifier via short-range wireless communications, such as a BLUETOOTH® low energy (BLE) beacon or an NFC beacon. The mobile device 104 receives the RF beacon and performs a lookup in a database (e.g., information from the data store 124) to determine the relative location associated with the unique identifier. For example, the mobile device 104 determines that the RF beacon indicates that the device is in a particular room in a home or building, on a particular floor in a building, near a specified object, or within RF range of a beacon associated with another object or location.

[0072] Some embodiments of the mobile device 104 include one or more sensors to detect the relative position of the device or information about the user 100. The mobile device 104 detects a change in movement or orientation. Based on the movement or change in orientation (or lack thereof) of the mobile device 104 over a period of time, the mobile device 104 detects whether the user 100 is standing, sitting, or lying down. The mobile device 104 detects that the user 100 is exercising when the change in movement or orientation is greater than a threshold value over a period of time. The mobile device 104 detects the heartbeat of the user 100 using a heartbeat sensor. Based on the heart rate and the movement of the user 100 over a period of time, the mobile device 104 detects whether the user 100 is asleep or awake. Information about the mobile device 104 or the user 100 is used to provide information about or treat a diabetic condition.

[0073] The mobile device 104 provides information to the user 100 regarding the user's diabetic condition. For example, the mobile device 104 provides blood glucose levels, provides meal-related information, provides exercise-related information, generates graphs and other graphical user interfaces for display, or generates alerts that are provided to the user 100. For example, the mobile device 104 measures the blood glucose level of the user 100 and provides an alert when the blood glucose level of the user 100 reaches an extreme diabetic condition threshold (e.g., hypoglycemia or hyperglycemia). The alert provided by the mobile device 104 is an audible or non-audible alert. A non-audible alert is provided as a vibration, a flashing screen, or a flashing LED on the mobile device 104. An alert is also or alternatively provided by an external device based on a communication from the mobile device 104. Some embodiments of the mobile device 104 include an electric motor for providing a vibration alert on the body, or a speaker for providing an audible alert, in response to a data indication or trigger identified in the monitored blood glucose data.

[0074] The mobile device 104 communicates directly with other devices via wired communication or near-field wireless communication (e.g., WI-FI, BLUETOOTH, BLE, NFC, or another suitable short-range wireless communication). The mobile device 104 communicates indirectly with remote computing devices 122 or data stores 124 via a network 120 (e.g., using a WI-FI network, a cellular network, a WI-MAX network, or another wired or wireless network). The network 120 is a wired or wireless network. The network 120 is used to communicate with other devices via the Internet. One or more of the remote computing devices 122 are configured to execute a remote service application 123.

[0075] The mobile device 104 communicates with the remote computing device to generate a user interface for display on the mobile device 104, perform remote calculations, or otherwise control the remote computing device. For example, the mobile device 104 provides the user interface via an application or a web browser generated on the remote computing device 122. The mobile device 104 generates instructions for providing a reminder based on information associated with the test period. The mobile device 104 displays one or more reminders to the user 100. The reminders are configured to remind the user 100 to enter data, take medication, consume meals, participate in an activity, and perform a blood glucose measurement.

[0076] The mobile device 104 communicates with the data store 124 to store or retrieve information. The information includes information about the user 100, the CGM 102, the BGM 106, the fitness tracker 114, the smart plate 128, and the insulin pump 116, 118. For example, the mobile device 104 receives treatment information associated with the user 100 as an input, or blood glucose information from the CGM 102 or the BGM 106, and transmits the information to the data store 124 via the network 120. As another example, the mobile device 104 receives activity information from the fitness tracker 114 and transmits the activity information to the data store 124 via the network 120. The stored information is retrieved from the data store 124 for treatment of the user's diabetic condition. For example, the mobile device 104 retrieves the amount of insulin delivered to the user 100 or the corresponding delivery time. The data store 124 includes one or more remote storage locations, collectively referred to as cloud storage. For example, the data store 124 stores information regarding one or more personal characteristics of a user 100 (eg, the user's age or gender), or one or more alert profiles for an alert.

[0077] One or more of the user devices are implemented for reliable capture of test period data from a user (e.g., during a structured test period). The test period data includes blood glucose data, food intake data, medication data, and activity data. For example, the mobile device 104 receives the test period data (e.g., blood glucose data, food intake data, medication data, and activity data) during a structured test period. The mobile device 104 executes a mobile application 105 for collecting the test period data. The mobile device 104 (e.g., via the mobile application 105) is configured to collect the test period data, set a test protocol, receive reminders, and enable user input of data. The mobile device 104 collects the test period data via communication with one or more of the user devices. For example, the one or more user devices transmit the test period data to the mobile device 104. The mobile device 104 receives the user input of data. For example, the mobile application 105 provides a user interface for the user 100 to input the test period data.

[0078] The length of the structured test period (e.g., test period) is determined based on the user and their disease state. In an example, the test period is two or more days (e.g., three days). In another example, the test period is one day. The length of the test period is adjusted during the test period. For example, if test period data is not received by the mobile device 104, the test period is extended (e.g., by one or more days). The data collection frequency of the test period is variable on different days of the test period. For example, test period data is collected more frequently on the first day of the test period than on the second or third days of the test period.

[0079] The user 100 sets up one or more test protocols using the mobile application 105. The test protocol includes the type of test period data to collect and the frequency at which the test period data is collected. The mobile device 104 (e.g., via the mobile application 105) sends one or more reminders to the user. The reminders are configured to remind the user to enter data, take medication, consume a meal, participate in an activity, or take a blood glucose measurement.

[0080] Ideally, all of the test period data is collected and reported (e.g., to the mobile device 104). During the test period, one or more portions of data may be missing (e.g., not received by the mobile device 104). For example, the mobile device 104 determines that one or more portions of data (e.g., blood glucose data, food intake data, medication data, and activity data) were not received. The mobile device 104 or the remote computing device 122 analyzes the test period data to determine what type of data is missing. For example, the missing portions of data are not received by the mobile device 104 due to one or more of the following: the user forgetting to enter the data (e.g., into the mobile application 105), the mobile device 104 being turned off, or the mobile device 104 having its wireless communication turned off. A complete data set is needed from the structured test period. Therefore, if data is missing, the test period is extended (e.g., one day is added to the test period). Extending the test period provides another opportunity to collect a complete set of data. However, extending the test period is intrusive to the user and requires more processing resources on the mobile device 104 and other user devices. Continuous testing drains the battery of the mobile device 104 due to using more processing resources to receive additional test period data and update the learning model additional times.

[0081] For example, to ensure the quality of the test period data, input of data for each day of the test period is limited. In an example, one imputation is allowed for each day of the test period. In an example, two injections are allowed on the second or subsequent days of the test period. More imputations can be allowed in the second half of the test period because the learning model used to predict missing data is more accurate in the second half of the test period. If more data portions are missing for a day of the test period than the allowable number of imputations, the test period is extended, even if the data can be imputed by alternative data.

[0082] To collect test period data using a mobile application 105 (e.g., a data collection application) on the mobile device 104 to monitor the test period data, the mobile device 104 uses unnecessary resources when the test period data is communicated to the remote computing device 122 (e.g., a remote software application 123) because the test period is extended, data inaccuracies are obtained, and the test period data must be collected on additional test days of the test period. Extending the test period increases the number of communications performed between the mobile device 104 and other devices (e.g., the remote computing device 122, the fitness tracker 114, and the meal plate 128, etc.) generating additional traffic on the wireless communication network.

[0083] In some embodiments, the mobile device 104 or the remote computing device 122 performs retrospective data imputation. The mobile device 104 (e.g., via the mobile application 105) or the remote computing device 122 (e.g., via the remote service application 123) uses context information to imput the missing portion of the data, for example, after determining that a portion of the test period data is missing. The missing portion of the data is imputed with substitute data. The context information includes blood glucose data. For example, the context information includes the onset time, duration of action, and peak associated with the blood glucose data. The context information used to imput the missing data is close to a pre-scheduled event or an unscheduled event. The substitute data includes confirmation that a pre-scheduled event has occurred, blood glucose data, or confirmation that an unscheduled event has occurred. The mobile device 104 imputs the missing data at the end of each day of the test period. In an example, the mobile device 104 notifies the user that data is missing and that the missing data has been imputed with substitute data. Optionally, the mobile device 104 requests the user to confirm the accuracy of the imputed substitute data.

[0084] If the missing portion of the data corresponds to a pre-scheduled event, the mobile device 104 (e.g., via the mobile application 105) uses blood glucose data close to the time the pre-scheduled event is scheduled to occur. For example, the mobile device 104 analyzes the blood glucose data to determine if the pre-scheduled event has occurred. The analyzed blood glucose data includes an onset time, an action time, and a peak. If the mobile device 104 determines that the pre-scheduled event has occurred, the mobile device 104 fills in the missing portion of the data with substitute data. In this case, the substitute data includes a confirmation that the pre-scheduled event has occurred.

[0085] When the mobile device 104 (e.g., mobile application 105) identifies a change in blood glucose data that is not near a pre-scheduled event, the mobile device determines whether the change in blood glucose data corresponds to an unscheduled event. The mobile device 104 then determines, for example, based on an analysis of the blood glucose data, what type of unscheduled event the change in blood glucose data corresponds to. Once the mobile device 104 determines what type of unscheduled event the change in blood glucose data corresponds to, the mobile device 104 fills in the missing portion of the data with substitute data (e.g., indicating that the unscheduled event occurred).

[0086] The mobile device 104 calculates a confidence level for the completion (e.g., each instance of the completion). The confidence level is calculated based on an analysis of the context information. For example, the mobile device 104 assigns different weights to the start time, action time, and peak of the completion. The mobile device 104 aggregates the weights to calculate a confidence level associated with the completion. The mobile device 104 increases the calculated confidence level of the completion when the user confirms the accuracy of the completion data.

[0087] In an example, the mobile device 104 responds to an instance of completion by increasing the frequency, amount, or vibration intensity of reminders and notifications for the remaining days of the testing period.

[0088] The mobile device 104 determines whether to extend the testing period based on the confidence level associated with the complement. If the confidence level is greater than a predefined confidence threshold, the mobile device 104 determines not to extend the testing period. If the confidence level is equal to or less than the predefined confidence threshold, the mobile device 104 determines to extend the testing period. Extending the testing period includes adding one or more days to the testing period.

[0089] The mobile device 104 determines a daily aggregated confidence level by aggregating the confidence levels of each instance of the alternate data complement for a day of the testing period, and the mobile device 104 extends the testing period in response to the aggregate daily confidence level falling below a specified confidence threshold.

[0090] The mobile device 104 decides whether to extend the testing period based on the number of complements. If the number of complements on one day of the testing period is too high, the mobile device 104 decides to extend the testing period. Too many complements depends on the day of the testing period. In an example, more than one complement on the first day of the testing period is too high. In an example, more than three complements on the second or subsequent days of the testing period is too high. In an example, if the number of complements for the entire testing period is too high, the data is unusable and another testing period is needed.

[0091] The estimation of missing data is not based on imputed data from the day before the test period. At the end of each day of the test period, the mobile device 104 (e.g., using the mobile application 105) reports to the user what data was imputed, e.g., as an educational checkpoint to increase compliance. In an example, the mobile device 104 (e.g., using the mobile application 105) provides one or more hints for behavioral changes to increase compliance.

[0092] One or more of the mobile device 104 (e.g., using the mobile application 105) or the remote computing device 122 (e.g., using the remote service application 123) analyzes the disease progression and optimizes the treatment based on the test period data. For example, the test period data allows the remote computing device 122 to identify a more appropriate (e.g., optimal) medication for the user 100. If a medication is selected for the user 100 using incomplete or inaccurate test data, a suboptimal medication may be selected for the user 100, resulting in a faster progression of the user's disease. On the other hand, if a medication is selected for the user 100 using complete data (e.g., using data imputation), the progression of the user's disease may be delayed or the need for the user 100 to take insulin may be delayed.

[0093] In some embodiments, the mobile device 104 performs proactive data interpolation. Proactive data interpolation reduces processing resources required for the mobile device 104 during a test period and reduces wireless communication bandwidth by reducing instances of test period data reporting. In an example, the frequency of blood glucose information reporting / reception is adjustable during a test period. Frequent reporting of blood glucose information (e.g., from the CGM 102 to the mobile device 104) consumes device resources (e.g., processing power, battery power, or other device resources). Less frequent reporting of blood glucose information conserves device resources and reduces wireless communication bandwidth. For example, the mobile device 104 receives blood glucose information (e.g., from the CGM 102) at a first frequency on the first day of the test period and at a second frequency on the second day of the test period. The second frequency is less than the first frequency such that the time interval between blood glucose information reports is greater on the second day of the test period. The mobile device 104 supplements the blood glucose data between reports on the second day of the testing period (e.g., by interpolation based on blood glucose information received on the first day of the testing period) so that the amount of blood glucose information is substantially the same.

[0094] In some embodiments, the mobile device 104 performs predictive learning. For example, the mobile device 104 updates the learning model of the user 100 during the test period. At the start of the test period, the learning model includes data from a general population-based model. The general population-based model includes predicted blood glucose level responses using data from people with a similar profile (e.g., age, sex, weight, disease duration, disease progression, or type of medication) as the user. At the end of the first day of the test period, the learning model is updated to include predicted blood glucose level responses from the user 100 on the first day of the test period. At the end of the second day of the test period, the learning model is updated to include predicted blood glucose level responses from the user 100 on the second day of the test period. The learning model is weighted in time such that blood glucose level responses of users closest to the day of the test period are assigned a higher relative weight.

[0095] 2 shows a flow chart of an exemplary process 200 for using structured test periods to analyze disease progression and optimize treatment. The exemplary process 200 is performed by one or more devices, such as, for example, one or more user devices. The process 200 is performed by a single user device or distributed across multiple devices. For example, the process 200 is performed by a computing device (such as, for example, the mobile device 104 or the remote computing device 122 shown in FIG. 1). Parts of the process 200 are performed by other devices, such as a blood glucose monitor (such as, for example, the CGM 102 or the BGM 106 shown in FIG. 1).

[0096] As shown in FIG. 2, at 202, a test period is initiated. A test period is a defined period of infrequent data acquisition. For example, a test period is two or more days (e.g., three days). A test protocol may require information multiple times per day during a test period. For example, a test protocol may require information three times per day during a test period.

[0097] At 204, the mobile device or blood glucose monitor monitors blood glucose data during the test period. In an example, the mobile device receives blood glucose data from the blood glucose monitor. The blood glucose data is received at regular intervals during the test period. In an example, the intervals are different on days 1, 2, and 3 of the test period. The blood glucose data includes blood glucose levels at specific times. For example, the user's blood glucose level is measured before and after meals, before and after taking medication, before and after activity, before and after going to bed. The blood glucose data includes fasting blood glucose levels. For example, the user's blood glucose level is measured before going to bed, overnight (e.g., between midnight and 6 a.m.), and when the user wakes up.

[0098] At 206, the mobile device decides whether to extend the test period. The mobile device decides to extend the test period if two or more instances of blood glucose data are missing. The mobile device decides to extend the test period if one instance of blood glucose data is missing and the missing data cannot be completed by alternative data. If the mobile device decides to extend the test period, the mobile device adds one or more days to the test period at 204 and continues to monitor blood glucose data on the added days. After the added days, the mobile device again decides whether to extend the test period. If the mobile device decides not to extend the test period, the mobile device transmits the test period data at 208 to a remote service application running on a remote computing device that can be operated by a health care professional (HCP). The mobile device transmits the test period data at the end of each day of the test period or at the end of the test period at 208.

[0099] At 210, a remote service application at the remote computing device or mobile device analyzes the test period data to determine disease progression and optimize treatment. For example, the test period data enables identification of progression or regression of a diabetic condition associated with the user. In an example, one or more configurations of an insulin pump (such as, for example, the portable non-durable insulin pump 116 or the portable durable insulin pump 118 shown in FIG. 1) are adjusted to increase or decrease the supply of insulin to the user in response to the progression or regression of the diabetic condition. In an example, the amount of medication or frequency of medication is adjusted in response to the test period data.

[0100] The remote computing device or mobile device compares the examination period data with previous examination period data from the user's previous examination period. In another example, the remote computing device or mobile device compares the examination period data with a general population model. For example, if the examination period is the user's first examination period, the remote computing device or mobile device establishes the user's baseline disease progression. For example, if the examination period is the user's second examination period or a subsequent examination period, the remote computing device updates the previous user-specific model (e.g., a previous learning model).

[0101] Each day of the inspection period includes an analysis of the received inspection period data to determine if data is missing. If a portion of the inspection period data is missing, the mobile device determines if the missing data can be imputed with substitute data. If the missing data can be imputed with substitute data, a confidence level of the imputed substitute data is calculated. If the confidence level of the imputed substitute data is above a specified threshold (e.g., 90%), the substitute data is added to the inspection period data for that day. The inspection period data for that day is used to update a learning model associated with the user.

[0102] FIG. 3 illustrates a flow chart of an exemplary process 300 for one day of a structured inspection period. The exemplary process 300 is performed by one or more devices, such as, for example, one or more user devices. The process 300 is performed by a single user device or distributed across multiple devices. For example, the process 300 is performed by a computing device (such as, for example, the mobile device 104 shown in FIG. 1). The process 300 is performed on each day of the inspection period. The inspection period is a defined period of infrequent data acquisition. For example, the inspection period is two or more days (e.g., three days). For example, the process 300 is initiated at the start of each day of the inspection period.

[0103] As shown in Figure 3, at 302, a test period day begins. The mobile device indicates to the user (e.g., via a display, reminder, or alert) that a test period day has begun. A test period day begins when the user wakes up. For example, a test period day begins when the user's morning fasting blood glucose level is received by the mobile device.

[0104] At 304, the mobile device receives test period data during the test period. The test period data includes blood glucose data, food intake data, activity data, and medication data. The mobile device receives blood glucose data from a blood glucose monitor (e.g., CGM 102 or BGM 106 shown in FIG. 1). The blood glucose data includes one or more blood glucose levels of the user measured during the test period. The blood glucose data is received at regular intervals during the test period. In an example, the intervals are different on the first, second, or third day of the test period. The blood glucose data includes blood glucose levels (e.g., measurements) at specific times. For example, the user's blood glucose levels are measured before and after meals, before and after taking medication, before and after activities, before and after going to bed. The blood glucose data includes fasting blood glucose levels. For example, the user's blood glucose levels are measured before going to bed, late at night, and when waking up.

[0105] The food intake data includes whether the user consumed a meal, the carbohydrate content of the meal, nutritional information associated with the meal (e.g., the glycemic profile of the meal, the macronutrient information of the meal, the carbohydrate content of the meal), the blood glucose level rise of a given meal, the percentage of the meal consumed by the user, or the macronutrient information of the meal. The activity data includes whether the user participated in an activity, the type of activity (e.g., a pre-scheduled activity), the length of the activity, or the given activity blood glucose level rise. The medication data includes whether the user took a medication, the type of medication, a dynamic fingerprint associated with the medication, or the given medication blood glucose level rise.

[0106] The test period data is received via wireless communication via a mobile application 105 executing on a mobile device. For example, the mobile application 105 is preloaded with one or more of scheduled meals, scheduled medications, or scheduled activities. The mobile application 105 allows a user to indicate whether a scheduled meal has been eaten, whether a scheduled medication has been taken, and whether a scheduled activity has been performed.

[0107] In an example, the food intake data is input by a user into the mobile application 105. For example, the user indicates, via the mobile application 105, whether a meal was consumed and when the meal was consumed. The meal is a large meal, a small meal, or a snack. The user inputs into the mobile application 105 nutritional information associated with the meal and the amount of the meal consumed. Additionally or alternatively, the meals are pre-packaged meals (e.g., such as the pre-packaged meals 130 shown in FIG. 1). Each of the pre-packaged meals includes a machine-readable optical label (e.g., such as the meal optical label 131 shown in FIG. 1) that is scannable to determine nutritional information of the pre-packaged meal. The machine-readable optical label indicates the nutritional information. For example, the device (e.g., a mobile device) retrieves (e.g., from a memory, from the Internet, or from a database) the nutritional information of the meal based on the machine-readable optical label.

[0108] In an example, a user consumes a meal using a smart plate (such as, for example, smart plate 128 shown in FIG. 1). The smart plate includes one or more sensors configured to determine the amount of meal (e.g., a prepackaged meal) eaten by the user. The smart plate is configured to scan a machine-readable optical label of the prepackaged meal. For example, the smart plate includes a camera or a barcode scanner.

[0109] In an example, activity data is entered into the mobile application 105 by a user. For example, the user indicates, via the mobile application 105, whether the user participated in an activity and the time. The activity is a pre-scheduled activity or an unscheduled activity. Examples of activities include running, jogging, walking, yoga, strength training, interval training, and other types of exercise. The user also enters the length of the activity into the mobile application 105. Additionally or alternatively, the mobile device receives data from a fitness tracker (such as, for example, the fitness tracker 114 shown in FIG. 1) worn by the user. The fitness tracker is a health band, a watch, or some other wearable device equipped with one or more sensors configured to track activity levels during a test period. For example, the data from the fitness tracker indicates when the user participates in a pre-scheduled activity or an unscheduled activity.

[0110] In an example, the dosing data is entered by a user into a mobile application (e.g., mobile application 105 shown in FIG. 1). For example, the user indicates, via the mobile application, whether the user has taken a dosage. The dosage is a pre-scheduled dosage or an unscheduled dosage. Additionally or alternatively, the dosage is a pre-packaged dosage (e.g., such as dosage 132 shown in FIG. 1). Each of the pre-packaged dosages includes a machine-readable optical label (e.g., dosing optical label 133 shown in FIG. 1) that is scannable to indicate that the user has taken the dosage. The machine-readable optical label indicates nutritional information. For example, the device (e.g., mobile device) retrieves (e.g., from a memory, from the Internet, or from a database) nutritional information for a meal based on the machine-readable optical label.

[0111] At 306, the mobile device determines if test period data is missing. The mobile device determines if food intake data, activity data, medication data, or blood glucose data is missing based on an analysis of the received test period data.

[0112] If the mobile device determines that no test period data is missing from the current day of the test period, the mobile device updates the learning model (e.g., time-weighted blood glucose model) associated with the user with the test period data for that day at 308. The updated learning model is used on future days of the test period to either complete the test period data or to identify whether the missing data can be completed with alternative data. The process 300 stops at 320.

[0113] If the mobile device determines that some of the test period data is missing, the mobile device determines at 310 whether the missing portion of the test period data can be completed, for example, based on the learning model and analysis of the blood glucose data. The learning model is populated with general population-based data for day 1 of the test period. For example, for day 1 of the test period, the learning model includes a predicted blood glucose level response using data from people with a similar profile (e.g., age, sex, weight, disease duration, disease progression, or type of medication) to the user.

[0114] The mobile device determines what type of data is missing at 310. For example, the mobile device analyzes one or more scheduled meals, one or more scheduled medication dosages, or one or more pre-scheduled activities to determine what type of data is missing. The mobile device determines that the missing portion of the test period data includes meal intake data based on an analysis of the one or more scheduled meals. The mobile device determines that the missing portion of the data includes medication data based on an analysis of the one or more scheduled medication dosages. The mobile device determines that the missing portion of the data includes activity data based on an analysis of the one or more pre-scheduled activities.

[0115] The learning model is populated with the user's time-weighted test period data for the second, third, and subsequent days of the test period. For example, the learning model includes a predicted blood glucose level response using test period data from days prior to the test period. For example, the mobile device compares one or more measured blood glucose levels proximate the missing portion of the test period data to one or more blood glucose levels in the learning model. Based on an analysis of the learning model, the mobile device determines whether the user consumed a meal associated with the missing portion of the test period data, whether the user participated in an activity associated with the missing portion of the test period data, or whether the user took a medication associated with the missing portion of the test period data. In an example, the mobile device determines whether the missing portion of the test period data corresponds to blood glucose data, food intake data, medication data, or activity data.

[0116] If the mobile device determines that the missing portions of the data cannot be imputed, the mobile device extends the test period at 322. The mobile device determines that the missing portions of the data cannot be imputed if the analysis of the learning model is inconclusive. In an example, the mobile device may not be able to determine from the analysis of the learning model whether a meal was consumed, a medication dose was taken, or an activity was participated in. When the test period is extended, the mobile device adds an additional day to the test period. When the test period is extended, the mobile device updates the learning model at 308 using the test period data received for that day of the test period.

[0117] If the mobile device determines that the missing portion of the data can be filled, the mobile device fills the missing portion of the data with replacement data at 312. The mobile device uses the context information to determine the replacement data. In an example, the mobile device fills the missing portion of the data using a learning model.

[0118] At 314, the mobile device calculates a confidence level for the imputed proxy data. The confidence level for the imputed proxy data depends on the type of missing data. For example, proxy data for imputing missing pre-meal blood glucose levels is assigned a higher confidence level than proxy data for imputing missing post-meal blood glucose levels. A higher confidence level is assigned to obtaining pre-meal blood glucose levels because post-meal blood glucose levels are more important for updating learning models, disease progression analysis, and treatment analysis.

[0119] At 316, the mobile device determines whether the confidence level of the imputed alternative data is greater than a specified confidence threshold. The specified confidence threshold is 90%. If the confidence level of the imputed alternative data is greater than a specified confidence threshold, the mobile device displays a notification requesting the user to confirm the imputed alternative data. If the confidence level of the imputed alternative data is greater than a specified confidence threshold, the mobile device adds the imputed alternative data to the examination period data at 318. Then, at 308, the examination period data is used (e.g., with the imputed alternative data) to update a learning model associated with the user. The examination period data is also used to analyze disease progression and optimize treatment, such as, for example, step 210 of process 200 shown in FIG. 2. The process 300 ends at 320 after the learning model is updated with the examination period data for that day.

[0120] FIG. 4 shows a flow chart of an exemplary process 400 for supplementation of meal intake data during a structured test period. The exemplary process 400 is performed by one or more devices, such as, for example, one or more user devices. The process 400 is performed by a single user device or distributed across multiple devices. For example, the process 400 is performed by a computing device (such as, for example, the mobile device 104 shown in FIG. 1). The process 400 is initiated near a time period when a meal is scheduled to be consumed by the user. Additionally or alternatively, the process 400 is initiated based on an analysis of blood glucose data. For example, the process 400 is initiated by an elevated blood glucose level. The process 400 is initiated at step 306 of the process 300 shown in FIG. 3.

[0121] As shown in FIG. 4, at 402, the mobile device determines whether dietary intake data is missing. During the test period, a user inputs dietary consumption parameters into a mobile device (e.g., mobile device 104 shown in FIG. 1) via a mobile application (e.g., mobile application 105 shown in FIG. 1). The dietary consumption parameters include foods to be consumed, amounts of foods to be consumed, and nutritional information associated with the foods. The mobile device determines that dietary intake data is missing if expected dietary intake data (e.g., dietary consumption parameters) are not input into the mobile application.

[0122] Prior to consuming a meal, a user scans a pre-packaged meal (e.g., a barcode) to indicate which meal is to be consumed. In an example, the pre-packaged meal includes a sensor in its packaging that communicates with a mobile device (e.g., via proximity-based communication, radio frequency identification (RFID), near field communication (NFC), or BLUETOOTH® communication protocol) to transmit details associated with the meal. The pre-packaged meal is associated with a serial number. A user inputs the serial number into a mobile application. The mobile application has meal nutritional information associated with the meal stored in memory or retrieves the meal nutritional information from a food database (e.g., via the Internet). Additionally or alternatively, a user inputs nutritional information associated with a meal. For example, a user inputs separate components of a meal and the mobile application inputs the nutritional information. In this case, the mobile application maintains or accesses a food database to input the nutritional information. In an example, a user searches for and selects foods to consume during each meal via a user interface that accesses or interfaces with the food database.

[0123] After consuming the meal, the user confirms what percentage of the meal has been consumed. For example, the user confirms that the entire meal has been consumed or that a portion of the meal has been consumed. The mobile device initiates a meal consumption reminder. The mobile device initiates a meal consumption reminder for a predetermined amount of time after the meal consumption parameters are entered. In an example, the user consumes the meal using a smart plate (e.g., such as the smart plate 128 shown in FIG. 1). The smart plate includes one or more sensors configured to determine the amount of the meal (e.g., a pre-packaged meal) eaten by the user. For example, the smart plate weighs the meal before and after the user finishes the meal. In an example, the smart plate is configured to scan a machine-readable optical label of the pre-packaged meal. For example, the smart plate includes a camera or barcode scanner. The smart plate transmits the nutritional information to the mobile device. For example, the smart plate indicates to the mobile device how much of the meal has been consumed. If the mobile device determines that no meal intake data is missing, the process 400 stops at 418.

[0124] If the mobile device determines that dietary intake data is missing, the mobile device determines whether dietary intake data is missing on day 1 of the test period, at 404. If dietary intake data is missing on day 1 of the test period, the mobile device determines a prescribed glycemic threshold for the missing dietary intake data based on a general population-based glycemic model, at 406. The general population-based model approximates the blood glucose level response of a typical person with diabetes using one or more data sets from other people with diabetes of a similar age, same sex, similar disease duration, or taking similar medications.

[0125] If meal intake data is missing on the second, third, or later days of the test period, the mobile device determines 408 a prescribed blood glucose threshold based on a time-weighted blood glucose model associated with the user. The time-weighted blood glucose model is developed for the user using the user's blood glucose data received on one or more previous days (e.g., day 1) of the test period. For example, the time-weighted blood glucose model uses the user's blood glucose level response in response to consuming meals, taking medications, and participating in activities on day 1 of the test period. The time-weighted blood glucose model is continuously updated during the test period. The time-weighted blood glucose model assigns a greater weight to data received closer to the missing data. For example, the weight assigned to a particular portion of data decreases as the test period progresses. Additionally or alternatively, the time-weighted blood glucose model is updated at the end of each day of the test period.

[0126] At 410, the mobile device determines whether the user's measured blood glucose level is greater than a defined blood glucose threshold. The mobile device analyzes one or more blood glucose levels proximate a time period associated with a meal. As an example, the time period includes 11:00 a.m. to 1:00 p.m., when the meal is lunch. The mobile device compares the user's measured blood glucose level proximate a time associated with the meal (e.g., after the meal). If the user's measured blood glucose level proximate a time associated with the meal is equal to or less than the defined blood glucose threshold, the mobile device determines at 416 that the user did not consume a meal. The process 400 then stops at 418.

[0127] If the measured blood glucose level is greater than the defined blood glucose threshold, the mobile device determines at 412 that the user consumed a meal. The mobile device, for example, complements the missing dietary intake data with substitute data at 414 based on the determination that the user consumed a meal. The mobile device uses the context information to determine the substitute data. Users often miscalculate the amount of food consumed or the nutritional information of the consumed food. Thus, complementing the dietary intake data results in a more accurate data set because the complemented dietary intake data is more likely to be accurate than the dietary intake data entered by the user. The process 400 stops at 418 when the missing dietary intake data is complemented with substitute data.

[0128] The missing activity data may be imputed using a learning model associated with the user. The learning model is a general population-based glycemic model for day 1 of the test period. The learning model is a time-weighted glycemic model for days 2 and beyond of the test period. If a measured glycemic level proximate to the missing activity data is greater than a prescribed glycemic threshold, it is determined that the user participated in the activity. The prescribed glycemic threshold is determined using the learning model. The missing activity data is imputed by substitute data from when the user participated in the activity.

[0129] FIG. 5 shows a flow chart of an exemplary process 500 for input of activity data during a structured test period. The exemplary process 500 is performed by one or more devices, such as, for example, one or more user devices. The process 500 is performed by a single user device or distributed across multiple devices. For example, the process 500 is performed by a computing device (such as, for example, the mobile device 104 shown in FIG. 1). The process 500 is initiated close to a time period when an activity is scheduled to be participated in by the user. The activity is a pre-scheduled activity or an unscheduled activity. Additionally or alternatively, the process 500 is initiated based on an analysis of blood glucose data. The mobile device receives blood glucose data (e.g., from a blood glucose monitor) during the test period. The blood glucose data includes one or more measured blood glucose levels of the user during the test period. For example, the process 500 is initiated by an elevated blood glucose level. The process 500 is initiated at step 306 of the process 300 shown in FIG. 3.

[0130] As shown in FIG. 5, at 502, the mobile device determines whether activity data is missing. During a test period, a user inputs activity parameters into a mobile device (e.g., mobile device 104, etc.) via a mobile application (e.g., mobile application 105, etc.). The activity parameters include a type of activity, a length of the activity, or a predetermined activity blood glucose level rise associated with the user. The mobile device determines that activity data is missing if expected activity data (e.g., activity parameters) are not input into the mobile application. In an example, the mobile application receives the activity parameters from a fitness tracker worn by the user.

[0131] The mobile application has information associated with the activity stored in memory or retrieves the activity information from an activity database (e.g., via the Internet). The activity information includes an estimated effort level or an estimated amount of calories expected to be burned during the activity. Additionally or alternatively, the user inputs the activity information. For example, the user inputs the type of activity and the length of the activity. The mobile application inputs the activity information based on the type of activity and the length of the activity. In this case, the mobile application maintains or accesses the activity database to input the activity information. In an example, the user searches for and selects the type of activity to participate in via a user interface that accesses or interfaces with the activity database.

[0132] If the mobile device determines that no activity data is missing, process 500 stops at 518 .

[0133] If the mobile device determines that activity data is missing, the mobile device determines whether activity data is missing on day 1 of the test period at 504. If activity data is missing on day 1 of the test period, the mobile device determines a default glycemic threshold for the missing activity data based on a general population-based glycemic model at 506. The general population-based model approximates the glycemic level response of a typical person with diabetes using one or more data sets from other people with diabetes of a similar age, same sex, similar disease duration, or taking similar medications.

[0134] If activity data is missing on the second, third, or later days of the test period, the mobile device determines 508 a prescribed blood glucose threshold based on a time-weighted blood glucose model associated with the user. The time-weighted blood glucose model is developed for the user using the user's blood glucose data received on one or more previous days (e.g., day 1) of the test period. For example, the time-weighted blood glucose model uses the user's blood glucose level response in response to consuming meals, taking medications, and participating in activities on day 1 of the test period. The time-weighted blood glucose model is continuously updated during the test period. The time-weighted blood glucose model assigns a greater weight to data received closer to the missing data. For example, the weight assigned to a particular portion of data decreases as the test period progresses. Additionally or alternatively, the time-weighted blood glucose model is updated at the end of each day of the test period.

[0135] At 510, the mobile device determines whether the user's measured blood glucose level is greater than a defined blood glucose threshold. The mobile device analyzes one or more blood glucose levels proximate a time period associated with the activity. As an example, the time period includes 6:00 a.m. to 9:00 a.m., where the activity is a morning jog. The mobile device compares the user's measured blood glucose level proximate a time associated with the activity (e.g., after the activity). If the measured blood glucose level is equal to or less than the defined blood glucose threshold, the mobile device determines at 516 that the user did not participate in the activity. The process 500 then stops at 518.

[0136] If the measured blood glucose level is greater than a defined blood glucose threshold, the mobile device determines at 512 that the user participated in the activity. The mobile device determines at 512 that the user participated in the activity based on an analysis of medication data proximate to the time period associated with the activity. For example, if there are no medication doses proximate to the time period associated with the activity, the mobile device eliminates medication as a possible cause of the elevated blood glucose level. The mobile device, for example, complements the missing activity data with substitute data at 514 based on the determination that the user participated in the activity. The mobile device uses the context information to determine the substitute data. The process 500 stops at 518 when the missing dietary intake data is complemented with substitute data.

[0137] The missing medication data can be imputed using a learning model associated with the user. The learning model is a general population-based glycemic model for day 1 of the test period. The learning model is a time-weighted glycemic model for days 2 and beyond of the test period. If the measured glycemic level proximate to the missing medication data is greater than a prescribed glycemic threshold, it is determined that the user took a medication. The prescribed glycemic threshold is determined using the learning model. The missing activity data is imputed with substitute data for when the user took a medication.

[0138] FIG. 6 illustrates a flow chart of an exemplary process 600 for supplementation of medication data during a structured test period. The exemplary process 600 is performed by one or more devices, such as, for example, one or more user devices. The process 600 may be performed by a single user device or distributed across multiple devices. For example, the process 600 is performed by a computing device (such as, for example, the mobile device 104 shown in FIG. 1). The process 600 is initiated proximate to a time period when a medication dose is scheduled to be taken by the user. The medication dose may be a pre-scheduled medication dose or an off-scheduled medication dose. The off-scheduled medication dose may include pain medication, allergy medication, or cold medication. The mobile device scans a bar code on the packaging of the off-scheduled medication dose to input the medication data. Additionally or alternatively, the process 600 is initiated based on an analysis of blood glucose data. The mobile device receives blood glucose data (e.g., from a blood glucose monitor) during the test period. The blood glucose data includes one or more measured blood glucose levels of the user during the test period. For example, the process 600 is initiated by an elevated blood glucose level. The process 600 begins at step 306 of the process 300 shown in FIG.

[0139] As shown in FIG. 6, at 602, the mobile device determines whether dosing data is missing. During the test period, the user inputs dosing data (e.g., dosing parameters) into the mobile device (e.g., mobile device 104 shown in FIG. 1) via a mobile application (e.g., mobile application 105 shown in FIG. 1). Additionally or alternatively, the mobile device is pre-populated with dosing data, for example, as part of an e-prescription process. The dosing parameters include a type of medication, a dosage of the medication, a time period associated with the dosage of the medication, or a predetermined medication blood glucose level rise associated with the user. The mobile device determines that dosing data is missing if the expected dosing data (e.g., dosing parameters) are not entered into the mobile application. The mobile application receives dosing parameters from a medical device configured to deliver a dosage of the medication (e.g., portable non-durable insulin pump 116 or portable durable insulin pump 118 shown in FIG. 1).

[0140] The mobile application has information about dosing stored in memory or retrieves the dosing information from a dosing database (e.g., via the Internet). The dosing information includes a dynamic fingerprint associated with a dosage of the drug, a dynamic fingerprint associated with a dosage of the drug, or a dosage. Additionally or alternatively, the user inputs the dosing information. For example, the user inputs a type of drug and a dosage, and the mobile application inputs the dosing information. In an example, the mobile application maintains or accesses a dosing database to input the dosing information. The user searches for and selects the type of drug to take via a user interface that accesses the dosing database. If the mobile device determines that no dosing data is missing, the process 600 stops at 618.

[0141] If the mobile device determines that medication data is missing, the mobile device determines at 604 whether medication data is missing on day 1 of the test period. If medication data is missing on day 1 of the test period, the mobile device determines at 606 a default glycemic threshold for the missing medication data based on a general population-based glycemic model. The general population-based model uses one or more data sets from other people with diabetes of a similar age, same sex, similar disease duration, or taking similar medications to approximate the blood glucose level response of a typical person with diabetes. The default glycemic threshold is determined based on the user's weight.

[0142] If medication data is missing on the second, third, or later days of the test period, the mobile device determines 608 a prescribed blood glucose threshold based on a time-weighted blood glucose model associated with the user. The time-weighted blood glucose model is developed for the user using the user's blood glucose data received on one or more previous days (e.g., day 1) of the test period. For example, the time-weighted blood glucose model uses the user's blood glucose level response in response to consuming meals, taking medications, and participating in activities on day 1 of the test period. The time-weighted blood glucose model is continuously updated during the test period. The time-weighted blood glucose model assigns a greater weight to data received closer to the missing data. For example, the weights assigned to a particular portion of data decrease as the test period progresses. Additionally or alternatively, the time-weighted blood glucose model is updated at the end of each day of the test period.

[0143] At 610, the mobile device determines whether the user's measured blood glucose level is greater than a prescribed blood glucose threshold. The mobile device analyzes one or more blood glucose levels proximate a time period associated with the medication. As an example, the time period includes 7:00 am to 9:00 am where the medication is a multivitamin to be taken at breakfast. The mobile device compares the user's measured blood glucose level proximate a time associated with the medication (e.g., after the medication). If the measured blood glucose level is equal to or less than the prescribed blood glucose threshold, the mobile device determines at 616 that the user did not take the medication. The process 600 then stops at 618.

[0144] If the measured blood glucose level is greater than a defined blood glucose threshold, the mobile device determines at 612 that the user has taken a medication dose. The mobile device determines at 612 that the user has taken a medication dose based on an analysis of activity data proximate to the time period associated with the medication dose. For example, if there is no activity proximate to the time period associated with the dose of medication, the mobile device eliminates activity as a possible cause of the elevated blood glucose level. The mobile device completes the missing medication data with substitute data at 614, for example, based on the determination that the user has taken a medication dose. The mobile device uses the context information to determine the substitute data. The process 600 stops at 618 when the missing medication data is completed with substitute data.

[0145] The mobile device may, for example, determine whether the user has taken a double dose of medication to compensate for a missed dose. For example, the mobile device may analyze the measured blood glucose levels to determine whether the user has taken a double dose of medication.

[0146] The missing blood glucose data is imputed. In an example, the missing blood glucose data is imputed using a learning model associated with the user. In an example, the missing blood glucose data is imputed using other blood glucose data. For example, one or more blood glucose levels close to the missing blood glucose data are estimated. The estimated blood glucose levels are used to imput the missing blood glucose data. A confidence level of the imputed blood glucose data is calculated.

[0147] FIG. 7 shows a flow chart of an exemplary process 700 for complementation of blood glucose data during a structured test period. The exemplary process 700 is performed by one or more devices, such as, for example, one or more user devices. The process 700 is performed by a single user device or distributed across multiple devices. For example, the process 700 is performed by a computing device (such as, for example, the mobile device 104 shown in FIG. 1). The process 700 is initiated proximate to a time period associated with a meal, activity, or medication. Additionally or alternatively, the process 700 is initiated based on an analysis of blood glucose data. The mobile device receives blood glucose data (e.g., from a blood glucose monitor) during the test period. The blood glucose data includes one or more measured blood glucose levels of the user during the test period. For example, the process 700 is initiated by an elevated blood glucose level.

[0148] As shown in Figure 7, the mobile device determines gaps in blood glucose data at 702. For example, the mobile device receives the user's blood glucose levels at regular intervals during a test period, before and after meals, before and after medication, and before and after activity. The mobile device determines gaps in blood glucose data at 702 when one or more of the blood glucose levels are missing.

[0149] At 704, the mobile device estimates the user's blood glucose level near the gap. The mobile device estimates the user's blood glucose level using the context information. In an example, the mobile device estimates the user's blood glucose level near the gap by interpolating between the received blood glucose levels. In an example, the mobile device estimates the user's blood glucose level near the gap using previously measured blood glucose levels associated with the same meal, activity, or medication.

[0150] At 706, the mobile device interpolates gaps in the blood glucose data to the estimated blood glucose level. At 708, the mobile device calculates a confidence level of the interpolated blood glucose level. The confidence level is calculated based on one or more of the type of estimation, the day of the test period, or before or after the estimation. For example, an interpolated blood glucose level estimate is assigned a higher confidence level than a previously measured blood glucose level estimate. An interpolated blood glucose level estimate for a day after the test period (e.g., day 2 or day 3) is assigned a higher confidence level than an interpolated blood glucose level estimate for a day before the test period (e.g., day 1). An estimated blood glucose level before a meal, activity, or dosage is assigned a higher confidence level than an estimated blood glucose level after a meal, activity, or dosage. The process 700 stops at 710 when the confidence level is calculated.

[0151] The fasting blood glucose level is complemented. The user's bedtime blood glucose level is measured before the user goes to bed. The user's morning fasting blood glucose level is received when the user wakes up. If the user's overnight fasting blood glucose level is not received, the overnight fasting blood glucose level is complemented by surrogate data. In an example, the surrogate data is the user's overnight fasting blood glucose levels for different days of the testing period. In an example, the surrogate data is determined by interpolating between the bedtime blood glucose level and the morning fasting blood glucose level.

[0152] FIG. 8 shows a flow chart of an exemplary process 800 for complementation of fasting blood glucose levels during structured testing periods. The exemplary process 800 is performed by one or more devices, such as, for example, one or more user devices. The process 800 is performed by a single user device or distributed across multiple devices. For example, the process 800 is performed by a computing device (such as, for example, the mobile device 104 shown in FIG. 1). The process 800 is initiated closer to the user's bedtime. For example, the mobile device initiates the process 800 at the user's preset bedtime. Additionally or alternatively, the user initiates the process 800 before going to bed. The user initiates the process via a mobile application (such as, for example, the mobile application 105 shown in FIG. 1) running on the mobile device.

[0153] As shown in Figure 8, at 802, the mobile device receives a blood glucose level measurement before the user goes to bed. The blood glucose level measurement is received from a blood glucose monitor (such as the CGM 102 or BGM 106 shown in Figure 1). The blood glucose level measurement is stored in the memory of the mobile device.

[0154] At 804, the mobile device receives a blood glucose level measurement (e.g., a fasting blood glucose level) when the user wakes up. The mobile device (e.g., automatically) determines that the user is awake based on one or more of the activity data, the movement of the mobile device, or an action of the mobile device (e.g., unlocking).

[0155] At 806, the mobile device determines whether the user's fasting blood glucose level was measured overnight (e.g., between midnight and 6:00 AM). The overnight fasting blood glucose level is measured at a midpoint between the time the user goes to bed and the time the user wakes up. If the user's fasting blood glucose level was measured overnight, the process 800 stops at 812. If the user's fasting blood glucose level was not measured overnight, the mobile device estimates the overnight fasting blood glucose level using surrogate data at 808. In an example, the mobile device determines the surrogate data by interpolating between the blood glucose level measurement received before going to bed and the blood glucose level measurement received when the user wakes up. In an example, the mobile device estimates the surrogate data based on the overnight fasting blood glucose level measured the day before or the day after the test period.

[0156] At 808, the mobile device calculates a confidence level of the interpolated overnight fasting blood glucose level. The confidence level is calculated based on the type of estimate or the day of the test period. For example, an interpolated overnight fasting blood glucose level estimate is assigned a higher confidence level than an overnight fasting blood glucose level estimate measured earlier or later. An interpolated overnight fasting blood glucose level estimate on a later day of the test period (e.g., day 2 or day 3) is assigned a higher confidence level than an interpolated overnight fasting blood glucose level estimate on a previous day of the test period (e.g., day 1). The process 800 stops at 810 when the confidence level is calculated.

[0157] A test period is a defined period of infrequent data capture. For example, a test period is 2 or more days (e.g., 3 days). A test period is initiated by a user. Additionally or alternatively, a test period is pre-configured to start on a predetermined date. In this case, the test period is initiated by the user's mobile device. The mobile device indicates to the user (e.g., via a display, reminder, or alert) that a test period has started.

[0158] FIG. 9 is a block diagram of an exemplary blood glucose monitoring device 900 (such as, for example, the CGM 102 shown in FIG. 1). The blood glucose monitoring device 900 may be, for example, a CGM or an FGM. The blood glucose monitoring device 900 includes a subcutaneous sensor 926 that is used to detect and monitor the amount of blood glucose in the interstitial fluid of a user. Data is transmitted from the sensor 926 to a transmitting device 904. If the blood glucose monitoring device 900 is a CGM, the transmitting device 904 is placed directly above the sensor 926 and wirelessly powers the data transfer from the sensor 926 via a power source 920. If the blood glucose monitoring device 900 is an FGM, the transmitting device 904 is a mobile device or other reader device that instantly receives blood glucose information from the sensor 926 when the device is within RF range of the sensor 926.

[0159] The transmitting device 904 receives data communications from the sensor 926 via communication circuitry 918. The communication circuitry 918 is in electrical communication with the processor 902. The processor 902 includes one or more circuits, such as a general purpose processor, a special purpose processor, a conventional processor, a digital signal processor (DSP), a microprocessor, an integrated circuit, a programmable logic device (PLD), an application specific integrated circuit (ASIC), etc. The processor 902 performs signal coding, data processing, power control, input / output processing, or any other function that enables the transmitting device 904 to perform as described herein.

[0160] The transmitting device 904 includes other communication circuitry 916 for communicating with other devices. The processor 902 is in electrical communication with the communication circuitry 916 for transmitting or receiving information. The communication circuitry 916, 918 can perform wired or wireless communication. For example, the communication circuitry 916, 918 includes one or more radio frequency (RF) transceivers for transmitting and receiving RF signals (e.g., BLUETOOTH, Near Field Communication (NFC), WIFI, WI-MAX, cellular, or other suitable RF signals) via an antenna, or other communication modules capable of performing wireless communication. The communication circuits 916, 918 communicate using the same RF protocol or different RF protocols.

[0161] The processor 902 stores information in or retrieves information from the memory 912. The memory 912 includes non-removable or removable memory. Non-removable memory includes random access memory (RAM), read only memory (ROM), a hard disk, or any other type of non-removable memory storage. Removable memory includes a subscriber identity module (SIM) card, a memory stick, a memory card (e.g., a digital camera memory card), or any other type of removable memory. The processor 902 accesses the memory 912 for executable instructions or other information used by the transmitting device 904. The processor 902 is in electronic communication with one or more input keys 924 for providing input to the processor 902.

[0162] The processor 902 is in electrical communication with or controls the speaker 914. The speaker 914 provides an audible sound (e.g., a tone, beep, or buzzer) in response to a trigger event detected by the processor 902.

[0163] The blood glucose monitor 900 includes an electric motor 910 in electrical communication with or controlled by a processor 902. The electric motor 910 rotates and causes the blood glucose monitor 900 to vibrate (e.g., to indicate an alarm) in response to a trigger event detected by the processor 902. The electric motor 910 provides an alarm to supplement or replace an audible alarm provided by a speaker 914.

[0164] FIG. 10 is a block diagram of an exemplary blood glucose measurement (BGM) device 1000 (such as, for example, the BGM 106 shown in FIG. 1). The blood glucose monitoring device 1000 is, for example, a spot blood glucose (SMBG) device. As shown in FIG. 10, the BGM device 1000 includes a processor 1002 for controlling the functions of the BGM device 1000. In various embodiments, the processor 1002 includes one or more digital logic devices, such as a general-purpose processor, a special-purpose processor, a digital signal processor (DSP), a microprocessor, an integrated circuit, a programmable logic device (PLD), an application specific integrated circuit (ASIC), and any other suitable digital logic device. The processor 1002 performs signal coding, data processing, power control, image processing, input / output processing, or any other function that enables the BGM device 1000 to perform as described herein.

[0165] The processor 1002 stores information in or retrieves information from the memory 1016. The memory 1016 includes non-removable or removable memory. Non-removable memory includes random access memory (RAM), read only memory (ROM), a hard disk, or any other type of non-removable memory storage. Removable memory includes a subscriber identity module (SIM) card, a memory stick, a memory card (e.g., a digital camera memory card), or any other type of removable memory. The processor 1002 accesses the memory 1016 for executable instructions or other information used by the BGM device 1000.

[0166] The BGM device 1000 includes one or more communication circuits 1018. The processor 1002 is in electrical communication with the communication circuit 1018 to transmit or receive information. The communication circuit 1018 can perform wired or wireless communication. For example, the communication circuit 1018 includes one or more radio frequency (RF) transceivers for transmitting and receiving RF signals (e.g., BLUETOOTH, Near Field Communication (NFC), WIFI, WI-MAX, cellular, or other suitable RF signals) via an antenna, or other communication modules capable of performing wireless communication. The one or more communication circuits 1018 are capable of infrared (IR) communication.

[0167] The processor 1002 is in electronic communication with a keypad 1024 for providing input to the processor 1002. The keypad 1024 includes one or more keys for accepting input from a user. The keypad 1024 includes hard keys or soft keys whose functions can change when a user makes a selection.

[0168] Another input to the processor 1002 is provided by a BGM sensor module 1004. The BGM sensor module 1004 includes a blood glucose measurement engine that analyzes a blood sample provided by a patient on a blood glucose measuring strip and determines the amount of blood glucose in the sample.

[0169] The processor 1002 is in electronic communication with the display 1006 to provide information to a user or generate images. The communication between the display 1006 and the processor 1002 is two-way communication because the display 1006 includes a touch screen module that can receive information from a user and provide such information to the processor 1002. For example, the display 1006 provides soft buttons for selection by the user that are recognized by the touch screen module and provided as input to the processor 1002.

[0170] The processor 1002 is in electrical communication with or controls a speaker 1008. The speaker 1008 provides an audible sound (e.g., a tone, beep, or buzzer) in response to a trigger event detected by the processor 1002.

[0171] The BGM device 1000 includes an electric motor 1010 in electrical communication with or controlled by a processor 1002. The electric motor 1010 rotates and causes the BGM device 1000 to vibrate (e.g., to indicate an alert) in response to a trigger event detected by the processor 1002. The electric motor 1010 provides an alert to supplement or replace the audible alert provided by the speaker 1008.

[0172] The processor 1002 is in electrical communication with or receives information from the microphone 1022. For example, the processor 1002 receives an audio signal via the microphone 1022.

[0173] The BGM device 1000 includes a visual indicator, such as one or more light emitting diodes (LEDs) 1028. The LED or LEDs 1028 may be illuminated or flashed to provide a warning or to convey other information to the user (e.g., that the battery is low or that the device is powered on).

[0174] FIG. 11 is a block diagram illustrating an example of an insulin pump 1100 (such as, for example, the portable non-durable insulin pump 116 or the portable durable insulin pump 118 shown in FIG. 1). As shown in FIG. 11, the insulin pump 1100 includes a processor 1102. The processor 1102 includes one or more circuits, such as a general purpose processor, a special purpose processor, a conventional processor, a digital signal processor (DSP), a microprocessor, an integrated circuit, a programmable logic device (PLD), an application specific integrated circuit (ASIC), or the like. The processor 1102 performs signal coding, data processing, power control, image processing, input / output processing, or any other function that enables the insulin pump 1100 to perform as described herein.

[0175] In the embodiment of Figure 11, the processor 1102 is in electronic communication with or controls a pump motor 1104 in the insulin pump 1100. The pump motor 1104 drives a drive unit 1112 which pushes a plunger mechanism 1114. The plunger mechanism 1114 expels insulin from an insulin cartridge (not shown). The insulin cartridge contains a supply of insulin for delivery to a user.

[0176] The processor 1102 is in electronic communication with the display 1106 to provide information to a user or generate images. The communication between the display 1106 and the processor 1102 is two-way communication because the display 1106 includes a touch screen module that can receive information from a user and provide such information to the processor 1102. For example, the display 1106 provides soft buttons for selection by the user that are recognized by the touch screen module and provided as input to the processor 1102.

[0177] The processor 1102 is in electrical communication with or controls the speaker 1108. The speaker 1108 provides an audible sound (e.g., a tone, beep, or buzzer) in response to a trigger event detected by the processor 1102.

[0178] The insulin pump 1100 includes an electric motor 1110 in electrical communication with or controlled by a processor 1102. The electric motor 1110 rotates and causes the insulin pump to vibrate (e.g., to indicate an alarm) in response to a trigger event detected by the processor 1102. The electric motor 1110 provides an alarm to supplement or replace the audible alarm provided by the speaker 1108.

[0179] The processor 1102 is in electronic communication with the memory 1116. The processor stores information in or retrieves information from the memory 1116. The memory 1116 includes non-removable or removable memory for storing computer-readable media. Non-removable memory includes random access memory (RAM), read-only memory (ROM), hard disk, or any other type of non-removable memory storage. Removable memory includes a subscriber identity module (SIM) card, a memory stick, a memory card (e.g., a digital camera memory card), or any other type of removable memory. The processor 1102 accesses the memory 1116 for executable instructions or other information used by the insulin pump 1100.

[0180] The insulin pump 1100 includes a communication circuit 1118. The processor 1102 is in electrical communication with the communication circuit 1118 to transmit or receive information. The communication circuit 1118 can perform wired or wireless communication. For example, the wireless communication circuit 1118 includes a radio frequency (RF) transceiver for transmitting and receiving RF signals (e.g., BLUETOOTH, Near Field Communication (NFC), WIFI, WI-MAX, cellular, or other suitable RF signals) via an antenna, or other communication module capable of performing wireless communication. The communication circuit 1118 can perform infrared (IR) communication.

[0181] The processor 1102 is in electronic communication with a keypad 1124 for providing input to the processor 1102. The keypad 1124 includes one or more keys for accepting input from a user. The keypad 1124 includes hard keys or soft keys whose functions can change when a user makes a selection.

[0182] Other inputs to the processor 1102 are provided by sensors 1126. The sensors 1126 may include a pressure sensor sensitive to pressure in an insulin reservoir, a cartridge sensor sensitive to the presence of an insulin cartridge, or a motion sensor that detects movement of a gear (not shown) in the drive unit 1112.

[0183] FIG. 12 is a block diagram of an exemplary computing device 1200 (such as, for example, the mobile device 104 shown in FIG. 1). The computing device may be, for example, a mobile computing device such as a tablet, a mobile phone, a wearable device, a CGM controller device, or another computing device. As shown in FIG. 12, the computing device 1200 includes a processor 1202 for controlling the functions of the computing device 1200. The processor 1202 includes one or more circuits, such as a general-purpose processor, a special-purpose processor, a conventional processor, a digital signal processor (DSP), a microprocessor, an integrated circuit, a programmable logic device (PLD), an application-specific integrated circuit (ASIC), or the like. The processor 1202 performs signal coding, data processing, power control, image processing, input / output processing, or any other function that enables the computing device 1200 to perform as described herein.

[0184] The processor 1202 stores information in or retrieves information from the memory 1216. The memory 1216 includes non-removable or removable memory. Non-removable memory includes random access memory (RAM), read only memory (ROM), a hard disk, or any other type of non-removable memory storage. Removable memory includes a subscriber identity module (SIM) card, a memory stick, a memory card (e.g., a digital camera memory card), or any other type of removable memory. The processor 1202 accesses the memory 1216 for executable instructions or other information used by the computing device 1200.

[0185] Computing device 1200 includes a camera 1206 in communication with processor 1202. Camera 1206 is a digital camera or other optical device capable of generating images or video (e.g., a sequence of images) for capture at computing device 1200. Camera 1206 includes a lighting device that can flash in response to a signal from processor 1202. The lighting device flashes and provides a warning via camera 1206.

[0186] The computing device 1200 includes one or more communication circuits 1218. The processor 1202 is in electrical communication with the communication circuit 1218 to transmit or receive information. The communication circuit 1218 can perform wired or wireless communication. For example, the communication circuit 1218 includes one or more radio frequency (RF) transceivers for transmitting and receiving RF signals (e.g., BLUETOOTH, Near Field Communication (NFC), WIFI, WI-MAX, cellular, or other suitable wireless transceivers) via an antenna, or other communication modules capable of performing wireless communication. The one or more communication circuits 1218 are capable of infrared (IR) communication.

[0187] The processor 1202 is in electronic communication with a keypad 1224 for providing input to the processor 1202. The keypad 1224 includes one or more keys for accepting input from a user. The keypad 1224 includes hard keys or soft keys whose functions can change when a user makes a selection.

[0188] Other inputs to the processor 1202 are provided by one or more sensors 1226. The sensors 1226 include a motion sensor, a proximity sensor, a heart rate monitoring sensor, an accelerometer, a gyroscope, or another sensor on the computing device. The motion sensor transmits an infrared signal or uses image processing to sense motion. The proximity sensor transmits an infrared signal to detect when an object is within a defined proximity. The heart rate monitoring sensor implements photoplethysmography to detect the amount of blood flow of the user. The heart rate monitoring sensor includes one or more LEDs or photodiodes to detect the amount of blood flow of the user. The heart rate monitoring sensor implements infrared technology to detect the amount of blood flow of the user. The heart rate monitoring sensor obtains an electrocardiogram (ECG) and detects information about the user's heartbeat from the ECG. The accelerometer measures the non-gravitational acceleration of the computing device 1200 in a given direction. The accelerometer responds to vibrations associated with movement in a given direction. Measurements from the accelerometer are used by the processor 1202 to determine the magnitude or direction of relative motion of the computing device 1200 or the relative position of the user (e.g., standing, sitting, or lying down). The gyroscope is used to determine the orientation of the computing device 1200.

[0189] The processor 1202 is in electronic communication with the display 1220 to provide information to a user or generate images. The communication between the display 1220 and the processor 1202 is two-way because the display 1220 includes a touch screen module that can receive information from a user and provide such information to the processor 1202. For example, the display 1220 provides soft buttons for selection by the user that are recognized by the touch screen module and provided as input to the processor 1202.

[0190] The processor 1202 is in electrical communication with or controls the speaker 1208. The speaker 1208 provides an audible sound (e.g., a tone, beep, or buzzer) in response to a trigger event detected by the processor 1202.

[0191] Computing device 1200 includes an electric motor 1210 in electrical communication with or controlled by processor 1202. The electric motor 1210 rotates and causes computing device 1200 to vibrate (e.g., to indicate an alert) in response to a trigger event detected by processor 1202. The electric motor 1210 provides an alert to supplement or replace the audible alert provided by speaker 1208.

[0192] The processor 1202 is in electrical communication with or receives information from the microphone 1214. For example, the processor 1202 receives an audio signal via the microphone 1214.

[0193] The computing device 1200 includes a global positioning system (GPS) circuit 1204. The GPS circuit 1204 is capable of receiving GPS information. The processor 1202 can determine GPS coordinates (e.g., latitude and longitude) of the computing device 1200 based on the GPS information received via the GPS circuit.

[0194] Computing device 1200 includes visual indicators such as one or more light emitting diodes (LEDs) 1212. One or more of the LEDs 1212 may be illuminated or flashed to provide a warning or convey other information to a user (e.g., that the battery is low or that the device is powered on).

[0195] FIG. 13 is a block diagram of an exemplary smart plate 1300 (such as, for example, the smart plate 128 shown in FIG. 1). The smart plate is configured to automate a user's food consumption tracking, for example, during structured testing periods. As shown in FIG. 13, the smart plate 1300 includes a processor 1302 for controlling the functions of the smart plate 1300. The processor 1302 includes one or more circuits, such as a general-purpose processor, a special-purpose processor, a conventional processor, a digital signal processor (DSP), a microprocessor, an integrated circuit, a programmable logic device (PLD), an application specific integrated circuit (ASIC), or the like. The processor 1302 performs signal coding, data processing, power control, image processing, input / output processing, or any other function that enables the smart plate 1300 to perform as described herein.

[0196] The processor 1302 stores information in or retrieves information from the memory 1316. The memory 1316 includes non-removable or removable memory. Non-removable memory includes random access memory (RAM), read only memory (ROM), a hard disk, or any other type of non-removable memory storage. Removable memory includes a subscriber identity module (SIM) card, a memory stick, a memory card (e.g., a digital camera memory card), or any other type of removable memory. The processor 1302 accesses the memory 1316 for executable instructions or other information used by the smart plate 1300.

[0197] The smart plate 1300 includes a camera 1306 in communication with the processor 1302. The camera 1306 is a digital camera or other optical device capable of generating images or videos (e.g., an image sequence) for capture at the smart plate 1300. The camera 1306 includes a lighting device that can flash in response to a signal from the processor 1302. The lighting device flashes and provides a warning via the camera 1306. The camera 1306 is configured to read a machine-readable optical label (e.g., a bar code, a QR code, or some other unique identifier) ​​on a prepackaged meal (such as, for example, the prepackaged meal 130 shown in FIG. 1) or packaged food product. The images captured by the camera 1306 are used by the processor 1302 to determine nutritional information for the prepackaged meal or packaged food product.

[0198] The smart plate 1300 has one or more communication circuits 1318. The processor 1302 is in electrical communication with the communication circuit 1318 to transmit or receive information. The communication circuit 1318 can perform wired or wireless communication. For example, the communication circuit 1318 includes one or more radio frequency (RF) transceivers for transmitting and receiving RF signals (e.g., BLUETOOTH, Near Field Communication (NFC), WIFI, WI-MAX, cellular, or other suitable wireless transceivers) via an antenna, or other communication modules capable of performing wireless communication. The one or more communication circuits 1318 are capable of infrared (IR) communication.

[0199] The processor 1302 is in electronic communication with a keypad 1324 for providing input to the processor 1302. The keypad 1324 includes one or more keys for accepting input from a user. The keypad 1324 includes hard keys or soft keys whose functions can change when a user makes a selection.

[0200] Other inputs to the processor 1302 are provided by one or more sensors 1326. The sensors 1326 include motion sensors, proximity sensors, weight sensors, accelerometers, gyroscopes, or another sensor on the smart plate. The motion sensors transmit infrared signals or use image processing to sense motion. The proximity sensors transmit infrared signals to detect when an object is within a defined proximity. The weight sensors measure the weight of the food on the smart plate 1300. Measurements from the weight sensors are used by the processor 1302 to determine the weight of the meal, the weight of each food item in the meal, and the percentage of the meal consumed by the user. The accelerometers measure the non-gravitational acceleration of the smart plate 1300 in a given direction. The accelerometers respond to vibrations associated with movement in a given direction. Measurements from the accelerometers are used by the processor 1302 to determine the magnitude or direction of the relative motion of the smart plate 1300 or the relative position of the user (e.g., standing, sitting, or lying down). The gyroscopes are used to determine the orientation of the smart plate 1300.

[0201] The processor 1302 is in electronic communication with the display 1320 to provide information to a user or generate images. The communication between the display 1320 and the processor 1302 is two-way communication because the display 1320 includes a touch screen module that can receive information from a user and provide such information to the processor 1302. For example, the display 1320 provides soft buttons for selection by the user that are recognized by the touch screen module and provided as input to the processor 1302.

[0202] The processor 1302 is in electrical communication with or controls the speaker 1308. The speaker 1308 provides an audible sound (e.g., a tone, beep, or buzzer) in response to a trigger event detected by the processor 1302.

[0203] The smart plate 1300 includes an electric motor 1310 in electrical communication with or controlled by the processor 1302. The electric motor 1310 rotates and causes the smart plate 1300 to vibrate (e.g., to indicate an alert) in response to a trigger event detected by the processor 1302. The electric motor 1310 provides an alert to supplement or replace the audible alert provided by the speaker 1308.

[0204] The smart plate 1300 includes a global positioning system (GPS) circuit 1304. The GPS circuit 1304 is capable of receiving GPS information. The processor 1302 can determine the GPS coordinates (e.g., latitude and longitude) of the smart plate 1300 based on the GPS information received via the GPS circuit.

[0205] The smart plate 1300 includes a visual indicator, such as one or more light emitting diodes (LEDs) 1312. The LED or LEDs 1312 may be illuminated or flashed to provide a warning or to convey other information to the user (e.g., that the battery is low or the device is powered on).

[0206] Although the features, elements, and functions are described above in particular combinations, the features, elements, or functions may be used alone or in any combination with other features, elements, or functions. Various presently unforeseen or unanticipated substitutions, modifications, variations, or improvements may be made thereafter, which are also intended to be encompassed by the scope of the following claims.

[0207] The methods described herein are implemented in a computer program, software, or firmware that is embedded in a computer-readable medium for execution by a computer or processor. Examples of computer-readable media include electronic signals (transmitted via wired or wireless connection) and computer-readable storage media. Examples of computer-readable storage media include, but are not limited to, read-only memory (ROM), random access memory (RAM), removable disks, and optical media such as CD-ROM disks and digital versatile disks (DVDs).

Claims

1. 1. A computer-implemented method, comprising: receiving blood glucose data from a blood glucose monitor (106, 900, 1000), the blood glucose data including a plurality of blood glucose levels of a user (100) measured during a test period; receiving examination period data associated with the user (100) during the examination period, the examination period data enabling one or more of a disease progression analysis or a treatment analysis at the end of the examination period, the examination period data comprising: dietary intake data associated with a number of meals consumed by the user (100) during the test period; medication data associated with a plurality of medication dosages taken by the user (100) during the test period; activity data associated with a plurality of pre-scheduled activities of the user (100) during the test period; receiving test period data associated with the user (100); determining that a portion of the inspection period data is missing based on an analysis of the received inspection period data; in response to determining that a missing portion of the examination period data includes dietary intake data associated with one meal of the plurality of meals and determining that the user (100) has consumed the meal, completing the missing portion of the examination period data with substitute dietary intake data; determining that the missing portion of the test period data includes dosage data associated with a dosage of the plurality of dosages and in response to the user (100) determining that the dosage has been taken, completing the missing portion of the test period data with substitute dosage data; determining that a missing portion of the inspection period data includes activity data associated with one of the plurality of pre-scheduled activities and in response to determining that the user (100) has participated in the pre-scheduled activity, complementing the missing portion of the inspection period data with alternative activity data; calculating a confidence level associated with the substitute dietary intake data, the substitute medication data, or the substitute activity data; adding the alternative dietary intake data, the alternative medication data, or the alternative activity data to the test period data if the confidence level is greater than a specified threshold; determining that the user (100) did not consume the meal based on an analysis of one or more blood glucose levels of the plurality of blood glucose levels proximate a first time period associated with the meal; determining that the user (100) did not take the dosage based on an analysis of one or more blood glucose levels of the plurality of blood glucose levels proximate a second time period associated with the dosage; determining that the user did not participate in the pre-scheduled activity based on an analysis of one or more blood glucose levels of the plurality of blood glucose levels proximate a third time period associated with the pre-scheduled activity; or determining that the confidence level is below a predetermined confidence threshold; extending the inspection period in response to one or more of Including, the test period includes a plurality of days, and the substitute dietary intake data, the substitute activity data, and the substitute medication data are based on a general population based glycemic model responsive to the missing portion of the test period data being associated with a first time period on a first day of the plurality of days, the general population based glycemic model including a predicted blood glucose level response using data from individuals having a similar profile to the user (100); The method of claim 1, wherein the replacement dietary intake data, the replacement activity data, and the replacement medication data are based on a time-weighted glycemic model developed using blood glucose data of the user received on the first of the plurality of days in response to the missing portion of the test period data being associated with a second time period on a second or third day of the plurality of days, the time-weighted glycemic model including a predicted blood glucose level response using test period data from days prior to the test period.

2. said analyzing said received inspection period data further comprising: analyzing one or more blood glucose levels of the plurality of blood glucose levels; Analyzing the dietary intake data, the medication data, and the activity data; The method of claim 1 , comprising:

3. The method of claim 2 , wherein the analysis of the one or more blood glucose levels comprises determining that a blood glucose level is greater than a predefined blood glucose threshold.

4. 4. The method of claim 3, wherein the predefined blood glucose threshold is determined based on a predicted blood glucose level associated with one or more of the carbohydrate content of the meal associated with the user (100), the blood glucose profile of the meal, a dynamic fingerprint associated with the dosage of a medication, the type of prescheduled activity, the length of the prescheduled activity, or a predetermined blood glucose level rise.

5. 4. The method of claim 3, wherein the test period includes a plurality of days, and the pre-defined glycemic threshold is determined based on a general population-based glycemic model in response to the meal, pre-scheduled activity, or medication on a first day of the plurality of days.

6. 6. The method of claim 5, wherein the predefined glycemic threshold is determined based on a time-weighted glycemic model responsive to the meals, pre-scheduled activities or medications for a second or third day of the plurality of days, the time-weighted glycemic model being developed using glycemic data of the user (100) received for the first day of the plurality of days.

7. The method of claim 1 , wherein the blood glucose monitor (106, 900, 1000) is a continuous glucose monitor (CGM) (102) or a spot blood glucose monitor (SMBG).

8. 2. The method of claim 1, wherein determining that the missing portion of the test period data comprises dietary intake data comprises analysis of one or more scheduled meals, determining that the missing portion of the test period data comprises medication data comprises analysis of one or more scheduled medication dosages, and determining that the missing portion of the test period data comprises activity data comprises analysis of one or more pre-scheduled activities.

9. 2. The method of claim 1, wherein the confidence level of each instance of substitute data completion for a day of the inspection period is aggregated to determine an aggregate confidence level for a day, and the inspection period is extended in response to the aggregate confidence level for a day falling below a predefined confidence threshold.

10. using the alternative dietary intake data, the alternative medication data, or the alternative activity data to identify a progression or regression of a diabetic condition associated with the user (100); adjusting a configuration of an insulin pump to increase or decrease the supply of insulin to the user (100) in response to the progression or regression of the diabetic condition; The method of claim 1 further comprising:

11. The method of claim 1 , further comprising: updating a learning model associated with the user (100) using the inspection period data.

Citation Information

Patent Citations

  • medical advisory system

    JP2007512588A

  • Biomarker management apparatus

    JP2010142273A

  • Blood sugar level prediction device and program

    JP2012040189A

  • Facilitating automatic handling of incomplete data in a random forest model

    US20190130226A1