Patent ID: 8532933

Claim:
A testing method for optimizing a therapy to a diabetic patient via a device comprising a processor, the testing method comprising the steps of: querying a diabetic patient via the device to confirm that entry criteria have been satisfied; collecting at least one sampling set of biomarker data if entry criteria have been satisfied, wherein each sampling set comprises one or more sampling instances recorded over a collection period and each sampling instance comprises one or more biomarker readings; evaluating whether the collection of the sampling set satisfies adherence criteria; computing a probability distribution function, a hazard function, a risk function, and a risk value for the sampling set of biomarker data wherein, the probability distribution function is calculated to approximate the probability distribution of the biomarker data, the hazard function is a function which yields higher hazard values for biomarker readings in the sampling set indicative of higher risk of complications, wherein the hazard function H(B) is defined by the equation H(B)=H hypo (B)+H hyper (B), wherein B is a biomarker reading in the sampling set, H hypo (B) is the hazard function associated with hypoglycemic events, H hyper (B) is the hazard function associated with hyperglycemic events, the risk function is the product of the probability distribution function and the hazard function, and the risk value J is calculated by the integral of the risk function J = ∫ B = 0 ∞ ⁢ p ⁡ ( B ) ⁢ H ⁡ ( B ) ⁢ ⅆ B , wherein p(B) is a probability distribution; minimizing the risk value by adjusting the diabetic patient's therapy; and instructing the patient via the device to exit the testing method when the risk value for at least one sampling set is minimized to an optimal risk level, wherein the above steps are performed by the processor.