Method, device, and computer program product for determining inactive time of drug infusion calculator
A method and apparatus for determining an inactive time of a medical liquid dose calculator are provided. According to the method, an infusion error of a medical liquid infusion device may be detected, and an inactive time of the medical liquid dose calculator may be determined in response to detection of the infusion error.
1 . A method of determining an inactive time of a medical liquid dose calculator, the method comprising:
detecting an infusion error of a medical liquid infusion device in response to occurrence of a communication error with the medical liquid infusion device; and
determining an inactive time of the medical liquid dose calculator in response to detection of the infusion error, wherein
the determining comprises:
obtaining a communication error occurrence time when the communication error occurred; and
determining the inactive time based on a current time, a preset insulin duration, and the communication error occurrence time.
2 . The method of claim 1 ,
wherein the detecting comprises detecting an infusion error of the medical liquid infusion device in response to occurrence of occlusion of an inlet of a medical liquid infusion device,
wherein the determining comprises:
calculating an insulin infusion reference time based on an insulin infusion start time and an insulin infusion end time; and
determining the inactive time based on a current time, a preset insulin duration, and the insulin infusion reference time.
3 . An apparatus for determining an inactive time of a medical liquid dose calculator, the apparatus comprising:
a memory in which at least one program is stored; and
a processor configured to perform operations by executing the at least one program, wherein the processor is further configured to
detect an infusion error of a medical liquid infusion device in response to occurrence of a communication error with the medical liquid infusion device, and
determine an inactive time of the medical liquid dose calculator in response to detection of the infusion error, and
the processor is further configured to
obtain a communication error occurrence time when the communication error occurred, and
determine the inactive time based on a current time, a preset insulin duration, and the communication error occurrence time.
4 . The apparatus of claim 3 , wherein the processor is further configured to
detect an infusion error of a medical liquid infusion device in response to occurrence of occlusion of an inlet of the medical liquid infusion device, and
the processor is further configured to
calculate an insulin infusion reference time based on an insulin infusion start time and an insulin infusion end time, and
determine the inactive time based on a current time, a preset insulin duration, and the insulin infusion reference time.
5 . A computer program product including a computer-readable recording medium having stored therein a program for executing a method, the method comprising:
detecting an infusion error of a medical liquid infusion device in response to occurrence of a communication error with the medical liquid infusion device; and
determining an inactive time of a medical liquid dose calculator in response to detection of the infusion error, wherein
the determining comprises:
obtaining a communication error occurrence time when the communication error occurred; and
determining the inactive time based on a current time, a preset insulin duration, and the communication error occurrence time.
6 . The computer program product of claim 5 , wherein the detecting comprises detecting an infusion error of the medical liquid infusion device in response to occurrence of occlusion of an inlet of a medical liquid infusion device,
wherein the determining comprises:
calculating an insulin infusion reference time based on an insulin infusion start time and an insulin infusion end time; and
determining the inactive time based on a current time, a preset insulin duration, and the insulin infusion reference time.