Background
Drug compliance, which refers to the degree to which an individual's medication behavior is in line with the behavior recommended by a health care provider, is an important part of user medication. Medication compliance includes three phases of initiation of medication therapy, execution and withdrawal. Poor compliance with certain drugs, such as immunosuppressive drugs, can lead to adverse conditions such as acute rejection, graft loss, loss of graft function, and increased medical investment. Therefore, accurate judgment of poor drug compliance and intervention measures for users are important conditions for ensuring the effectiveness of drug treatment. However, there is currently no effective "standard" for measuring drug compliance. Chronic diseases account for a great proportion of the global disease burden, and the compliance problem of users with chronic diseases is a key point of attention. Poor medication compliance directly affects the therapeutic efficacy of the user. Therefore, it is important to select a suitable medication compliance determination tool.
The current compliance evaluation methods can be generally divided into objective methods and subjective methods. Compliance questionnaires are a subjective evaluation method widely used, but when the questionnaire data is large, the data arrangement process is time-consuming and labor-consuming. Objectively relying on a computer analysis method is more efficient than a subjective method, but data still needs to be collected and preprocessed in the early stage, and the current standards are different.
Disclosure of Invention
The invention aims to provide a method for determining drug compliance through an intelligent drug box, which can accurately obtain the drug taking time and the drug taking quantity of a user through the intelligent drug box, accurately judge the drug compliance level of the user, show the change of the drug compliance of the user at different time periods and time points, and help medical staff to make effective intervention measures so as to guide subsequent clinical follow-up and intervention treatment.
The invention discloses a method for determining drug compliance through an intelligent drug box, which comprises a processor, a memory and a human-computer interaction interface, and comprises the following steps:
setting ideal medication time T during medication period through the human-computer interaction interface0And the ideal dosage S0And stored in the memory, wherein T0={t01,t02,...,t0n},S0={s01,s02,...,s0n};
The processor automatically records the actual medication time T and the actual dosage S of a user during medication and stores the actual medication time T and the actual dosage S in the memory, wherein T ═ T1,t2,...,tn},S={s1,s2,...,sn};
The processor extracts the saved data from the memory and carries out the following processing procedures:
(1) ideal medication time T
0Quantized into vectors
Quantifying the actual dosing time T as a vector
The ideal dosage S
0Quantized into vectors
Quantifying the actual dosage S as a vector
(2) Obtained by the Jaccard coefficient method
And
similarity function of
Wherein, t
iAnd t
0iAre respectively as
And
the ith dimension data of (1), namely the actual time and ideal time of the ith medication;
(3) obtained by the Jaccard coefficient method
And
similarity function of
Wherein s is
iAnd s
0iAre respectively as
And
the ith dimension data of (1), namely the actual amount and ideal amount of the ith medication;
(4) defining the relative error vector of the medication time as
The relative difference coefficient of the medication time
Wherein
Defining the relative error vector of the dosage as
Relative difference coefficient of dosage
Wherein
(5) Obtaining a drug compliance index according to the similarity function and the relative difference coefficient, namely defining the drug compliance index at the medication time as
Defining the drug compliance index of the drug dose as
(6) Referring to an immunosuppressive drug compliance Basel assessment scale, obtaining a score of the user Basel assessment scale according to the medication time and the dosage of a user, referring to the score, and analyzing a difference value between ideal medication time and actual medication time, a difference value between ideal medication dosage and actual medication dosage and a corresponding relation between the difference values and the score of the assessment scale according to the suggestion of a medical expert or a doctor, thereby obtaining a drug compliance grade;
the processor determines the drug compliance level of the user according to the drug compliance indexes D (T) and D (S) of the user, judges whether the user is under-dose or over-dose, and feeds information back to the human-computer interaction interface.
The intelligent medicine box can adopt the existing commercial products, hardware such as a single chip microcomputer control module, a sensor module, a processing module (comprising a processor and a memory), a power supply, a detecting head, a PCB (printed circuit board) and the like are designed in the box body, and a display screen is arranged outside the box body and used as a human-computer interaction interface.
By the method, each time a user takes a medicine, the sensor module sends a signal to the control module for analysis, and sends an analysis result to the processing module for processing, wherein the processing comprises recording the medicine taking time and the medicine amount data, analyzing the medicine compliance, displaying the medicine compliance for a period of time and the like. The intelligent medicine box can set ideal medicine taking time and medicine amount of a user according to the suggestion of a clinician, and the ideal medicine taking time and the ideal medicine taking amount are displayed on the medicine box through the processing of the chip to remind the user to take medicine according to requirements, so that the clinical treatment is effectively assisted.
The method for determining the drug compliance by the intelligent drug box has the following advantages:
(1) the method can more comprehensively show the drug compliance of the user for a period of time and the drug compliance of the user at the current time, and is convenient for clinical analysis.
(2) The compliance of the medicine obtained by comparing the ideal dosage with the ideal administration time is more accurate, and the clinical effectiveness is higher.
(3) The method is an objective drug compliance evaluation method, and eliminates the influence of subjective factors.
(4) By using an effective computer data processing method, the calculation efficiency of the drug compliance is improved, and the accuracy of the calculation result is ensured, so that medical staff can intervene the user timely and effectively.
Detailed Description
The present invention will be described in detail below with reference to specific embodiments and with reference to the attached drawings.
1. Data acquisition:
1.1 setting the ideal administration time T in the intelligent medicine box according to the doctor suggestion0={t01,t02.....t0nAnd the desired dose S0={s01,s02.....s0n}。
1.2 the user uses intelligent medicine box to take medicine, obtains the time of using medicine T ═ T during user's period of taking medicine through intelligent medicine box1,t2.....tnThe dosage S ═ S1,s2.....sn}。
2. Drug compliance index calculation:
2.1 quantizing the ideal dosing time to a vector
Actual time of administration
Obtaining ideal dosage vector by the same method
Vector of actual dose
2.2 calculation to obtain
And
similarity function of
Here, the Jaccard coefficient method is adopted to obtain
And
similarity function of
Wherein t is
iAnd t
0iAre respectively as
And
the ith dimension data of (1), namely the actual time and ideal time of the ith medication; calculated by the same principle to obtain
And
similarity function of
Wherein s is
iAnd s
0iAre respectively as
And
i.e. the actual and ideal amount of the ith dose.
2.3 calculation to obtain
And
relative coefficient of difference of
Here, the relative error vector of the medication time is defined as
The time relative difference coefficient
Wherein
Defining the relative error vector of the dosage as
Relative difference coefficient of dosage
Wherein
2.4 drug compliance index by medication time
The dosage of the medicine isThe substance compliance index is defined as
3. Drug compliance rating
3.1 reference immunosuppressive drug adherence to the Basel assessment Scale, which contains a total of 5 entries. The first 4 items are subjected to negative scoring by aLikert 6 scoring method, 1-6 points are counted from 'No' to 'almost every day' or 'more than 4 times', the scores of the first 4 items are added to form a total score of the scale, and the score range is 4-24 points; higher scores indicate that the user has poorer compliance with the medication. The last 1 entry of the gauge evaluates the user's unauthorized withdrawal, with the entry being selected as "yes" or "no". In the 5 entries of the scale, if the user options are "no" or "none", the user is prompted to comply with the immunosuppressive medication taking; either question option is not "no" or "none," suggesting that the user is not compliant. FIG. 4 shows the details of the Basel rating scale.
3.2 drug compliance ratings are assigned according to attached Table 3, which is a standard derived from the inventors' investigation of user drug compliance and reference to the immunosuppressive drug compliance Basel rating Scale. The score of the user Basel rating scale can be obtained according to the medication time and the medication amount of the user, and the medication compliance grade is divided into 9 grades according to the recommendation of a medical expert or a doctor by referring to the score, which is shown in the attached table 1 and the attached table 2. From this grading criterion, a scale score based on the time of administration and the amount of medication was obtained, thereby obtaining the medication compliance grading criterion in attached Table 3.
4. Determining a drug compliance grade based on the drug compliance index
From theabove steps 1 and 2, in combination with the scale instep 3, a drug compliance rating scale based on the drug compliance indexes d (t) and d(s) can be obtained, as shown in attached table 4. And (3) obtaining the medication time and the medication amount of the user through the intelligent medicine box, and then obtaining the medication compliance index of the user according to the step (2), and further judging the medication compliance level. It should be noted that the medication compliance level in the attached table 4 is a discrete level at a certain medication time, and is not enough to show the change of the medication compliance of the user in a period of time, so the medication data of the user in the attached table 5 is taken as an example to plot the change of the medication compliance index of the user in a period of time, and the advantages of the medication compliance determination method based on the medication time and the dosage of the user provided by the present invention are better demonstrated.
Attached table 1: drug compliance levels based on Basel assessment scale score profiles
| Medication intake status/score | Drug compliance levels |
| The medicine is not taken | 2 |
| [4,6) | 9 |
| [6,8) | 8 |
| [8,10) | 7 |
| [10,12) | 6 |
| [12,14) | 5 |
| [14,16) | 4 |
| [16,18) | 3 |
| [18,21) | 2 |
| [21,24] | 1 |
Attached table 2: ideal medicine taking time and ideal medicine taking quantity and actual medicine taking time and corresponding relation between difference value of medicine taking quantity and evaluation scale score
In the attached table 2, Δ S represents the difference between the actual dosage and the ideal dosage, and Δ T represents the difference between the actual dosage and the ideal dosage, and the unit is H.
Attached table 3: a medicine compliance grading table is made according to the difference between the actual medicine dosage and the ideal medicine dosage and the difference between the actual medicine taking time and the ideal medicine taking time
In Table 3, Δ S represents the difference between the actual dosage and the ideal dosage, and Δ T represents the difference between the actual dosage and the ideal dosage in H. D represents the drug compliance level. The table ranks drug compliance into 9 grades with reference to the immunosuppressive drug compliance Basel assessment scale, with higher grades giving better drug compliance. Wherein
The representative user has no clothesThe dosage of the medicine is 0.
Attached table 4: medication compliance staging chart based on user medication time and user dose compliance indices and staging criteria for attached chart 1
Table 4 is a table in which the ideal administration time is 12.00 and the ideal administration amount is 10, and the classification criteria of table 1 are used. In the table, D (T) and D (S) are respectively a medication compliance index of a user medication time and a medication compliance index of the user, after the intelligent medicine box judges whether the user has insufficient medication or excessive medication, the intelligent medicine box can judge the medication compliance grade of the user according to the D (T) and the D (S) of the user, and the medication compliance grade shown in the table is a discrete grade at a certain medication time.
Attached table 5: user A medication record chart
The ideal dosing time required by the clinician is: the medicine is taken for 1 week from 12 months and 12 days in 2017 to 12 months and 18 days in 2017, and the medicine is taken for 4,5 and 6 units at 8.00, 12.00 and 18.00 every day. The actual administration time and amount of the drug for user A are shown in Table 5.
Taking the medicine taking data of the user in the attached table 5 as an example, the change of the medicine compliance index of the user in a period of time is drawn, and the advantages of the medicine compliance judgment method based on the medicine taking time and the medicine dosage of the user are better shown. As shown in fig. 1 and 2. Meanwhile, according to the medicine compliance index shown in fig. 1 and fig. 2, the change of the medicine compliance grade D with the change of the number of times of taking medicine is shown in fig. 3.
Fig. 1 shows the variation of the dose compliance index D (S) of the drug taken by the user A with the number of times of taking the drug. As can be seen from FIG. 1, when the dosage of the medicine taken by the user A does not comply with the requirement of the doctor, D (S) decreases, and when the user A starts to take the medicine normally, D (S) rises, but because the medicine is taken abnormally in the early period, the rising is slow, so the algorithm is close to the actual situation.
Fig. 2 is a graph of the drug compliance index d (t) with the number of times of administration for user a over the time of administration. As can be seen from fig. 2, when the administration time of the user A does not comply with the doctor's request, D (T) decreases, and when the user A starts to take the medicine normally, D (T) rises back and fluctuates with the change of the administration times.
The average medication dose and medication compliance index of the user A in the medication period is 0.8652, the average medication time and medication compliance index is 0.5685, and the medication compliance grade of the user A in the medication period can be obtained from the attached table 2 and is 7-8 grades.
Fig. 3 shows the variation of the medication compliance grade D of the user a with the number of times of taking medicine, and it can be seen that when the user a takes medicine without following the requirement of the doctor, D decreases with the number of times of taking medicine, and fluctuates with the number of times of taking medicine, and when the user a starts to take medicine normally, D also has a back-up phenomenon, which is consistent with the variation trends of D(s) and D (t) shown in fig. 1 and fig. 2, and this is the place where the medication compliance judgment method based on the time and the amount of medicine taken by the user is most consistent with the actual situation, and can be used for clinical reference.
In conclusion, the invention designs the self drug compliance scale based on the Basel assessment scale of immunosuppressive drug compliance, so that the drug compliance of the user is graded according to the determined drug compliance scale, and the index of the drug compliance of the user for a period of time is analyzed to make the next clinical intervention measure. The invention can more comprehensively and accurately show the drug compliance of a user for a period of time and the drug compliance of the user at the current time, greatly eliminates the influence of subjective factors, and is displayed on the drug box through the processing of the chip, thereby reminding the user to take the drug according to the requirement and being beneficial to realizing the precise treatment of clinical drugs.