Time monitoring method, device and equipment for medical field and storage medium
The barcode image of medical equipment is collected through the camera, and the use status of the equipment is automatically obtained and the remaining usage time is displayed, which solves the problem of manual recording time in the prior art, which consumes manpower and time, and improves monitoring efficiency and accuracy.
Patent Information
- Application Number
- CN202411594614.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-09
- Publication Date
- 2025-02-28
AI Technical Summary
The existing medical equipment usage time monitoring methods rely on manual recording, which consumes manpower and time, and has low accuracy.
The camera collects the barcode images that match the target device, obtains the usage status of the device, and displays the remaining time of the countdown task when in use, realizing automated time monitoring.
It improves the efficiency and accuracy of time monitoring, reduces the burden of manual recording for medical staff, and ensures the safety of patients' use of equipment.
Smart Images

Figure CN119541818A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to a time monitoring method, device, equipment and storage medium for use in the medical field. Background Art
[0002] In the field of medical research or treatment, medical equipment is usually needed to treat or monitor the patient's condition. For example, using an oxygen mask to breathe oxygen is a way to relieve hypoxia. By breathing oxygen, the arterial oxygen partial pressure and arterial oxygen saturation can be increased, the hypoxia caused by various reasons can be corrected, and the metabolism of tissues can be promoted to maintain life activities.
[0003] However, some medical devices are usually not allowed to be used for a long time. Long-term use of medical devices may have some negative effects on patients. For example, long-term oxygen inhalation through a mask may cause poisoning. Therefore, medical staff need to record the length of time each patient uses medical equipment. After a certain period of time, the patient is prohibited from using the medical equipment for treatment to avoid the negative effects caused by the patient's long-term use of medical equipment for treatment. At present, the commonly used way to monitor the use time of medical equipment is that medical staff manually record the time when the patient starts using the medical equipment and manually calculate the time when the medical equipment stops being used.
[0004] The above time monitoring method consumes manpower and time, and has low accuracy. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides a time monitoring method, device, equipment and storage medium for use in the medical field. By scanning the barcode, the remaining usage time of the equipment can be checked, avoiding manual time recording by medical staff, thereby improving the efficiency and accuracy of time monitoring.
[0006] In the first aspect, the present application provides a time monitoring method for the medical field, the method comprising: obtaining a barcode image captured by a camera and matching a target device, the target device being used to provide set treatment services to patients; obtaining the usage status of the target device based on the barcode image; if the usage status of the target device is in use, obtaining and displaying the remaining duration of the countdown task, the remaining duration being used to indicate the remaining usage time of the target device by the patient.
[0007] In the second aspect, the present application provides a time monitoring device for use in the medical field, the device comprising: a barcode image acquisition module, used to obtain a barcode image captured by a camera and matching a target device, the target device being used to provide set treatment services to patients; a usage status acquisition module, used to obtain the usage status of the target device based on the barcode image; a remaining time display module, used to obtain and display the remaining time of the countdown task if the usage status of the target device is in use, the remaining time being used to indicate the remaining usage time of the target device by the patient.
[0008] In a third aspect, the present application provides an electronic device, which includes a time monitoring device for use in the medical field, and the device includes: a camera for collecting barcode images matching the target device; one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by one or more processors, the one or more processors implement the time monitoring method for use in the medical field as described in the first aspect above.
[0009] In a fourth aspect, the present application provides a storage medium, which may be a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the time monitoring method for the medical field as described in the first aspect above is implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, it implements any time monitoring method for the medical field as described in the first aspect above.
[0011] Compared with the prior art, the technical solution provided by the embodiments of the present application has the following advantages:
[0012] The embodiment of the present application provides a time monitoring method, apparatus, device and storage medium for the medical field, the method comprising: obtaining a barcode image collected by a camera and matching with a target device, the target device is used to provide set treatment services for patients; obtaining the use status of the target device based on the barcode image; if the use status of the target device is in use, obtaining and displaying the remaining time of the countdown task, the remaining time is used to indicate the remaining use time of the target device by the patient. After the medical staff scans the barcode matching with the target device, if the target device is in use, the remaining use time of the target device can be directly displayed, avoiding the medical staff from manually recording the time, thereby improving the efficiency and accuracy of time monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0015] Figure 1 A schematic diagram of a time monitoring method for the medical field provided in an embodiment of the present application;
[0016] Figure 2 A schematic diagram of the input area in the barcode management platform provided in an embodiment of the present application;
[0017] Figure 3 A schematic diagram of a user interface provided in an embodiment of the present application;
[0018] Figure 4 A schematic diagram of another user interface display provided in an embodiment of the present application;
[0019] Figure 5 A schematic diagram of a process flow of an optimized time monitoring method for the medical field provided in an embodiment of the present application;
[0020] Figure 6 A schematic diagram of the display of the second interface provided in an embodiment of the present application;
[0021] Figure 7 A schematic diagram of the display of the first interface provided in an embodiment of the present application;
[0022] Figure 8 A flowchart of a countdown delay method for the medical field provided in an embodiment of the present application;
[0023] Fig. 9 A schematic diagram of the structure of a time monitoring device for the medical field provided in an embodiment of the present application;
[0024] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0026] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only part of the embodiments of the present application, rather than all of the embodiments.
[0027] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0028] It should be noted that the concepts such as "first" and "second" mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0029] It should be noted that the modifications of "one" and "plurality" mentioned in the present application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0030] The time monitoring method for the medical field provided by the present application is described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0031] Figure 1 This is a flowchart of a time monitoring method for the medical field in an embodiment of the present application. This embodiment is applicable to the situation of monitoring the use time of medical equipment. The method can be executed by a time monitoring device for the medical field. The time monitoring device for the medical field can be implemented in software and / or hardware. The time monitoring device for the medical field can be configured in an electronic device. The time monitoring method in the medical field is executed by a designated application in an electronic device, or by a designated applet in a third-party application.
[0032] like Figure 1 As shown, the time monitoring method for the medical field provided in the embodiment of the present application mainly includes steps S101-S103.
[0033] S101. Obtain a barcode image collected by a camera and matching with a target device, where the target device is used to provide a set treatment service for a patient.
[0034] A barcode is a graphic representation of information converted into a pattern of parallel lines and spaces of different widths in a specific coding method. The above barcode can be a one-dimensional barcode or a two-dimensional barcode, which is not specifically limited in the embodiments of the present application. The barcode image can be understood as an image obtained by photographing or scanning the barcode by a camera of an electronic device. The built-in application of the electronic device decodes the barcode image and converts the image into data that can be processed by a computer.
[0035] The target device may refer to a medical device that provides certain treatment services or testing services to patients. In the embodiment of the present application, the target device is taken as an oxygen mask for example. The oxygen mask and the oxygen supply device are used in combination to provide patients with a certain flow of oxygen to relieve the patient's hypoxia symptoms.
[0036] First, let's introduce the steps of generating a barcode image. On the barcode management platform, you can create and generate a barcode. The barcode management platform responds to the operation of creating a barcode by displaying the following: Figure 2 The input area shown is used to receive information related to the barcode. Figure 2 As shown, in response to the input operation on the input area, the countdown duration corresponding to the barcode is received, wherein the countdown duration can include the countdown hour duration and the countdown minute duration. The countdown duration can be understood as the total duration of the countdown task after the countdown task built into the barcode is triggered.
[0037] In response to the input operation on the input area, the contact information corresponding to the barcode is received, and the contact information mainly includes the contact name, contact phone number, contact alias, etc. After the countdown task is triggered, when the countdown is about to end, a prompt message is sent to the contact based on the contact information.
[0038] In response to the input operation on the input area, the attribution project of the barcode is received, wherein the attribution project is used to indicate the target device to which the barcode is to be matched. For example, the attribution project of the barcode may be an oxygen mask. In addition, due to the different users (hospitals) of oxygen masks, the required models or production batches are different, the attribution project of the barcode may also specifically define the user of the oxygen mask, the mask model, the production batch and other details.
[0039] In response to an input operation on the input area, a generated number of the barcode is received, where the generated number is used to refer to the number of generated barcodes.
[0040] In response to the triggering operation of the confirmation control in the input area, a barcode is generated according to the above-mentioned received information. It should be noted that the barcode is used in conjunction with the target device. In other words, each target device is configured with a one-to-one corresponding barcode. The barcode can be pasted on the target device before leaving the factory, or it can be distributed with the instruction manual of the target device. This embodiment is not specifically limited.
[0041] Install a target application that can recognize the above barcode in the electronic device, or bind a small program that can recognize the above barcode in a third-party application.
[0042] On the barcode management platform, create a user account in advance, and the user logs in to the target application with this account and password. Alternatively, the user logs in to the mini program with this account and password to bind the mini program to the third-party application.
[0043] In response to a scan trigger operation in an electronic device, the camera is controlled to scan a barcode that matches the target device, and a barcode image that is scanned by the camera and matches the target device is obtained. It should be noted that in the embodiment of the present application, the authority of the electronic device is not limited. Medical staff can use a designated electronic device to scan a barcode to obtain a barcode image, and the patient himself or the patient's family can also use their own electronic device (for example: mobile phone, tablet computer) to scan the barcode to obtain a barcode image.
[0044] Among them, the designated electronic devices used by medical staff have operation permissions, but the patients' own electronic devices only have viewing permissions and do not have operation permissions.
[0045] S102: Acquire the usage status of the target device based on the barcode image.
[0046] The target device usage status includes unused, in use, and ended use. Unused means that the target device is still in the factory state and is not used by any patient. In use means that the target device is assigned to a patient and is being used by the patient. For example, if a patient is using an oxygen mask to breathe oxygen, the oxygen mask usage status is in use. End of use means that the target device has been used up and the patient no longer uses it. For example, after the patient has finished breathing oxygen, the oxygen mask is in the ended use state.
[0047] After obtaining the barcode image, the barcode image is interpreted to obtain the usage status of the target device.
[0048] S103: If the target device is in use, obtain and display the remaining duration of the countdown task, where the remaining duration is used to indicate the remaining duration of use of the target device by the patient.
[0049] If the target device is in use, it means that the patient is using the target device for treatment. For example, if a patient uses an oxygen mask to breathe oxygen, then after scanning the barcode of the oxygen mask, it can be obtained that the oxygen mask is in use.
[0050] When the target device is in use, the remaining time of the countdown task is obtained and displayed in a user interface, which can be an interface of an electronic device used by medical staff or an interface of an electronic device used by patients. In other words, the patient can scan the barcode of the target device to view the remaining time of the target device. The medical staff can also scan the barcode of the target device to view the remaining time of the target device.
[0051] In a possible implementation, the countdown task is triggered from the start time of the target device to start the countdown, and the remaining time of the countdown task is directly obtained and displayed in the user interface. For example, if the total time of the countdown task is 6 hours, the countdown task starts counting down from 6 hours, and the remaining time of the countdown at the current moment is displayed in the user interface.
[0052] In one possible implementation, the remaining duration of the countdown task is obtained and displayed, including: obtaining a first set duration, the start time when the patient uses the target device, and the current time, the first set duration is used to represent a reference usage time of the target device; based on the first set duration, the start time and the current time, the remaining duration of the countdown task is calculated and displayed.
[0053] The first set duration is the total countdown duration set by the barcode management platform, and the total countdown duration can be set according to the usage of the target device. Furthermore, the first set duration can be dynamically adjusted according to the diagnosis and treatment process and the treatment plan formulation rules. For example: when the target device is an oxygen mask, in actual application, the oxygen inhalation time is generally 6 hours, so the first set duration can be set to 6 hours. The start time of the patient using the target device refers to the time point when the medical staff triggers the target device to start working.
[0054] The remaining duration of the countdown task is calculated based on the first set duration, the start time and the current time, including: subtracting the start time from the current time to obtain a time difference, and subtracting the time difference from the first set duration to obtain the remaining duration of the countdown task. For example: the first set duration is 6 hours, the start time is 9:00:00 in 2024; the current time is 12:00:00 in 2024, the time difference between the current time and the start time is 3 hours, 00 minutes, 00 seconds, the first set duration is 6 hours minus the time difference of 3 hours, 00 minutes, 00 seconds, and the remaining duration is 3 hours, 00 minutes, 00 seconds. The remaining duration of 3 hours, 00 minutes, 00 seconds is displayed on the user interface.
[0055] Further, such as Figure 3 As shown, the user interface 30 includes a start time display area 31 and a remaining time display area 32. The start time display area 31 is used to display the start time of the patient using the target device, and the remaining time display area 32 is used to display the remaining time of the countdown task.
[0056] When the user interface is in the display state, the remaining time in the second display area 32 of the user interface is counted down in seconds. When the user interface exits the display state and the countdown remaining time is checked again, the remaining time of the countdown task is displayed according to the solution provided in the embodiment of the present application.
[0057] In the embodiment of the present application, after obtaining the barcode image that matches the target device captured by the camera, the user's current login account and the operating authority of the current login account are obtained. The use status of the target device is obtained based on the barcode image; if the current login account does not have the operating authority but only has the viewing authority, and the use status of the target device is not in use, a prompt message is displayed in the user interface, and the prompt message is used to remind the user that the target device has not started to be used. If the current login account does not have the operating authority but only has the viewing authority, and the use status of the target device is in use, the remaining time of the countdown task is obtained and displayed in the user interface, and the user interface is as follows: Figure 3 shown.
[0058] In a possible implementation, if the usage status of the target device is ended, the usage information of the target device is obtained and displayed, and the usage information includes: the patient's code, end time, start time and actual usage duration.
[0059] If the target device is in the end of use state, the start time, end time and actual use time of the target device are obtained and displayed in the user interface. Figure 4 The user interface 40 includes a start time display area 41, an end time display area 42, and an actual use duration display area 43. The start time display area 41 is used to display the start time when the patient uses the target device, the end time display area 42 is used to display the end time when the patient stops using the target device, and the actual use duration display area 43 is used to display the actual duration of the patient using the target device.
[0060] The embodiment of the present application provides a time monitoring method for the medical field, the method comprising: obtaining a barcode image acquired by a camera and matching with a target device, the target device being used to provide a set treatment service for a patient; obtaining the use status of the target device based on the barcode image; if the use status of the target device is in use, obtaining and displaying the remaining time of the countdown task, the remaining time being used to indicate the remaining use time of the target device by the patient. After the medical staff scans the barcode matching with the target device, if the target device is in use, the remaining use time of the target device can be directly displayed, avoiding the medical staff from manually recording the time, thereby improving the efficiency and accuracy of time monitoring.
[0061] On the basis of the above embodiments, the time monitoring method used in the medical field is further optimized in the embodiments of the present application, and the main optimization direction is that the account with operation authority can modify the remaining time in the countdown task according to the actual situation. For example: the account of the medical staff is an account with operation authority, and the remaining time in the countdown task can be modified according to the operation situation or the actual physical condition of the patient.
[0062] Specifically, Figure 5 As shown, the optimized time monitoring method for the medical field provided in the embodiment of the present application mainly includes steps S201-S207.
[0063] S201. Obtain a barcode image collected by a camera and matching with a target device, where the target device is used to provide a set treatment service for the patient.
[0064] S202: Acquire the usage status of the target device based on the barcode image.
[0065] The process of S201-S202 in the embodiment of the present application is the same as that of S101-S102 in the above embodiment. For details, please refer to the description in the above embodiment, which will not be repeated in this embodiment.
[0066] S203. If the usage status of the target device is unused and the current account has the operation permission, an association relationship between the target device and the patient code is established, and a countdown task is triggered; the usage status of the target device is set to in use; and the start time of the patient using the target device is recorded.
[0067] The current account has the operation permission, which can be understood as the current login account has the permission to modify the countdown task. The patient code is the unique code that represents the patient's identity. The account's operation permission is set in the barcode generation platform.
[0068] The association relationship between the target device and the patient's code means that the patient with the code is the user of the target device. For example, if the patient is using an oxygen mask to breathe oxygen, then an association relationship between the oxygen mask code and the patient's code is established. Triggering the countdown task can be understood as starting the countdown from the first set duration.
[0069] Set the target device's usage status to in use, so that when you scan the barcode later, you can determine the remaining time of the countdown task based on the target device's usage status. Record the start time of the patient's use of the target device, so that you can display the start time later and calculate the remaining time of the countdown task based on the start time.
[0070] In a possible implementation, if the target device is in unused state and the current account has the operation permission, the second interface is displayed, such as Figure 6 As shown, the second display interface includes a patient code input box and a confirmation control. In response to the user's input operation on the patient code input box, the patient code input by the user is obtained. In response to the user's triggering operation on the confirmation control, an association relationship between the target device and the patient's code is established, and a countdown task is triggered; the use status of the target device is set to in use; and the start time of the patient using the target device is recorded.
[0071] Furthermore, in response to the user's triggering operation on the confirmation control, the interface jumps to the first interface, and the start time, remaining time and delay control are displayed in the first interface.
[0072] S204: If the target device is in use and the current account has the operation permission, the remaining time of the countdown task is obtained and displayed in the first interface.
[0073] The method of obtaining the remaining time of the countdown task is consistent with the method in the above embodiment. For details, please refer to the description in the above embodiment, which will not be repeated in this embodiment.
[0074] In the embodiment of the present application, in response to the user's triggering operation on the confirmation control, the second interface jumps to the first interface, or after scanning the barcode, when it is determined that the current account has the operation permission and the target device is in use, the first interface is directly displayed. Figure 7 As shown, the first interface includes: a start time display area 71, a remaining time display area 72, at least one delay control 73 and an end control 74. The start time display area 31 is used to display the start time of the patient using the target device, and the remaining time display area 32 is used to display the remaining time of the countdown task.
[0075] In response to the triggering operation on the delay control 73, the delay duration is obtained, and the delay duration is added to the countdown remaining duration as the countdown duration. For example, if the countdown remaining duration is 2 hours and the delay duration is 1 hour, after the user clicks the delay control 73, the countdown remaining duration is modified to 3 hours.
[0076] Furthermore, multiple delay controls can be set in the first interface, and different delay controls can correspond to different delay durations. The user can trigger the delay control multiple times for multiple delays, or can trigger the delay control only once and then set the delay control to a disabled trigger state.
[0077] The delay time corresponding to the delay control can be dynamically adjusted according to the diagnosis and treatment process and plan formulation rules. The delay time can be set in hours and minutes respectively.
[0078] In response to the triggering operation of the end control 74, the patient stops using the target device.
[0079] In a possible implementation, a user delay solution is specifically introduced. Figure 8 As shown, the method for user delay mainly includes steps S301-S308.
[0080] S301. In response to a delay instruction, obtain a delay duration corresponding to the delay instruction.
[0081] Responding to the delay instruction may include: responding to a trigger operation on the delay control 73. Multiple delay controls may be set in the first interface, and different delay controls may correspond to different delay durations. Responding to the trigger operation on the delay control, obtaining the delay duration corresponding to the triggered delay control.
[0082] In another possible implementation, the delay instruction may be dynamically adjusted according to the diagnosis and treatment process and the treatment plan formulation rules, and may include: in response to the received delay instruction, obtaining the delay duration carried in the delay instruction. For example: a delay input box may be displayed in the first interface, and in response to the input operation on the delay input box, the delay duration corresponding to the input operation is obtained, and the delay duration is used as the delay duration carried in the delay instruction. For another example: a diagnosis and treatment method for the patient is obtained from a third-party platform. If the diagnosis and treatment plan includes a delay duration, it is automatically generated and responded to the delay instruction, and the delay duration included in the diagnosis and treatment plan is used as the delay duration carried in the delay instruction.
[0083] S302: Determine whether the remaining time is greater than or equal to the delay time. If so, execute S303; if not, execute S304.
[0084] The remaining time refers to the remaining time of the current countdown task, which can be the remaining time of the countdown task without delay operation or the remaining time of the countdown task after delay operation.
[0085] Compare the remaining time and the delayed time to determine the relationship between the remaining time and the delayed time.
[0086] S303, keep executing the countdown task.
[0087] If the remaining time is greater than or equal to the delay time, the current countdown task will be kept running. For example, if the remaining time is 3 hours and the delay time is 2 hours, the countdown task will be kept running with the remaining time of 3 hours.
[0088] S304: Calculate the sum of the delay duration and the usage duration of the target device.
[0089] If the remaining time is less than the delay time, the countdown time of the countdown task is determined based on the sum of the delay time and the target device's used time. The target device's used time refers to the difference between the current time and the start time.
[0090] For example, if the delay time is 2 hours and the target device has been used for 5 and a half hours, then the sum of the two is 7 and a half hours.
[0091] S305: Determine whether the sum is greater than a second set duration, where the second set duration is used to indicate a maximum usage duration of the target device. If so, execute S306; if not, execute S307.
[0092] The maximum usage time of the target device refers to the usage limit of the target device. When the usage time of the target device used by the patient exceeds the second set time, damage may be caused to the patient or the target device. Optionally, the second set time is 7 hours.
[0093] It is determined whether the sum of the delay time and the used time of the target device is greater than the second set time.
[0094] S306: Calculate the countdown duration based on the second set duration and the used duration.
[0095] If the sum of the delay time and the target device's usage time is greater than the second set time, it indicates that the sum of the delay time and the target device's usage time exceeds the target device's usage limit, which may cause damage to the patient or the target device.
[0096] At this time, the difference between the second set time and the used time is used as the countdown time. For example, if the second set time is 7 hours and the used time is 5 and a half hours, the difference between the second set time and the used time is 1 and a half hours as the countdown time.
[0097] S307: Use the delay duration as the countdown duration.
[0098] If the sum of the delay duration and the usage duration of the target device is less than the second set duration, the sum of the delay duration and the usage duration of the target device exceeds the reference usage duration of the target device, but does not exceed the usage limit value of the target device. Therefore, the delay duration is used as the countdown duration.
[0099] At this time, the difference between the second set time and the used time is used as the countdown time. For example, if the second set time is 7 hours, the used time is 4 and a half hours, and the delay time is 2 hours, then 2 hours is used as the countdown time.
[0100] S308: restart a new countdown task based on the countdown duration, and calculate and display a new remaining duration based on the countdown duration and the current time.
[0101] Restarting a new countdown task based on the countdown duration means restarting the countdown with the countdown duration as the starting point. For example, if the countdown time is 2 hours, a 2-hour countdown task will be executed and the previous countdown task will be stopped.
[0102] After the new remaining time is calculated, the remaining time in the first interface is replaced with the new remaining time so that both medical staff and patients can intuitively view the latest countdown remaining time.
[0103] S205. In response to the end instruction, record the countdown end time of the patient's use of the target device, and set the use status of the target device to end of use; calculate the actual use time based on the end time and the start time; store the patient's use information of the target device, the use information including: the patient's code, end time, start time and actual use time.
[0104] Responding to the end instruction includes at least one of the following: responding to receiving a trigger operation for the end control 74; responding to the remaining countdown time being 0; or receiving a stop use instruction sent by the target device.
[0105] The end time of the patient's use of the target device is the time when the end instruction is received, at which time the patient stops using the target device for treatment services. The use status of the target device is set to end of use to facilitate subsequent inquiries about the use of the target device or the patient's treatment status.
[0106] The difference between the end time and the start time is taken as the actual usage time. For example, if the start time is 9:00:00 in 2024 and the end time is 14:00:00 in 2024, and the difference between the end time and the start time is 5 hours, 00 minutes, 00 seconds, then the actual usage time is 5 hours, 00 minutes, 00 seconds.
[0107] The patient's code, end time, start time and actual usage duration are stored as the patient's usage information of the target device to provide data support for subsequent treatment or diagnosis.
[0108] S206. If the usage status of the target device is ended, obtain and display the usage information of the target device. The start time usage information includes: the patient's code, end time, start time and actual usage duration.
[0109] The target device usage status is to obtain and display the target device usage information at the end of use, so that users can view the treatment status of the patient using the target device and provide data support for subsequent treatment or diagnosis. For specific display content, please refer to Figure 4 The description in the embodiments of the present application will not be repeated again.
[0110] Based on the above embodiment, if the remaining time is less than the third set time, a prompt message is generated and user information associated with the target device is obtained, the prompt message is used to indicate that the remaining usage time of the target device is insufficient; and a prompt message is sent to the user based on the user information.
[0111] The first preset time can be set according to actual conditions. For example, if the third preset time is 5 minutes and the remaining time is less than 5 minutes, it indicates that the patient has used the target device for too long and may stop using the target device. At this time, a prompt message is generated to indicate that the remaining usage time of the target device is insufficient. In other words, the prompt message is used to instruct the medical staff to end the use of the target device so that the patient no longer uses the target device.
[0112] The user information may include a user's mobile phone number or a user's instant messaging account, and the prompt information is sent to the user's mobile phone number, or to the user's instant messaging account.
[0113] In an embodiment of the present application, when the remaining usage time of the target device is insufficient, the medical staff is prompted to turn off the target device to avoid unexpected situations caused by the patient using the target device for an excessive period of time.
[0114] Fig. 9 FIG. 1 is a schematic diagram of a time monitoring device for use in the medical field according to an embodiment of the present application. Fig. 9As shown, the time monitoring device 90 for the medical field provided in the embodiment of the present application mainly includes: a barcode image acquisition module 91, a usage status acquisition module 92 and a remaining time display module 93.
[0115] Among them, the barcode image acquisition module 91 is used to obtain the barcode image captured by the camera and matched with the target device, and the target device is used to provide set treatment services for the patient; the usage status acquisition module 92 is used to obtain the usage status of the target device based on the barcode image; the remaining time display module 93 is used to obtain and display the remaining time of the countdown task if the usage status of the target device is in use, and the remaining time is used to indicate the remaining usage time of the target device by the patient.
[0116] The embodiment of the present application provides a time monitoring device for the medical field, which is used to execute the following process: obtaining a barcode image collected by a camera and matching with a target device, the target device is used to provide set treatment services for patients; obtaining the use status of the target device based on the barcode image; if the use status of the target device is in use, obtaining and displaying the remaining time of the countdown task, the remaining time is used to indicate the remaining use time of the target device by the patient. After the medical staff scans the barcode matching with the target device, if the target device is in use, the remaining use time of the target device can be directly displayed, avoiding the medical staff from manually recording the time, thereby improving the efficiency and accuracy of time monitoring.
[0117] In a possible implementation, it also includes: a start setting module, which is used to establish an association between the target device and the patient code and trigger a countdown task if the usage status of the target device is not in use and the current account has operation authority; set the usage status of the target device to in use; and record the start time of the patient using the target device.
[0118] In one possible implementation, the remaining time display module 93 is specifically used to obtain and display the remaining time of the countdown task, including: obtaining a first set time, the start time of the patient's use of the target device, and the current time, the first set time is used to represent the reference usage time of the target device; based on the first set time, the start time and the current time, the remaining time of the countdown task is calculated and displayed.
[0119] In one possible implementation, the remaining time display module 93 is specifically used to respond to a delay instruction and obtain the delay time corresponding to the delay instruction; if the remaining time is greater than or equal to the delay time, the countdown task is kept running; if the remaining time is less than the delay time, the sum of the delay time and the usage time of the target device is calculated; it is determined whether the sum is greater than a second set time, and the second set time is used to indicate the maximum usage time of the target device; if the sum is greater than the second set time, the countdown time is calculated based on the second set time and the start time; if the sum is less than the second set time, the delay time is used as the countdown time; a new countdown task is restarted based on the countdown time, and a new remaining time is calculated and displayed based on the countdown time and the current time.
[0120] In a possible implementation, it also includes: an end setting module, which is used to record the end time of the patient's use of the target device in response to the end instruction, and set the use status of the target device to the end of use; calculate the actual use time based on the end time and the start time; store the patient's use information of the target device, the use information includes: the patient's code, end time, start time and actual use time.
[0121] In a possible implementation, it also includes: a usage information display module, which is used to obtain and display the usage information of the target device if the usage status of the target device is ended, and the usage information includes: the patient's code, end time, start time and actual usage time.
[0122] In a possible implementation, it also includes: a prompt information sending module, which is used to generate a prompt information if the remaining time is less than a third set time, and obtain user information associated with the target device, the prompt information is used to indicate that the remaining usage time of the target device is insufficient; and send the prompt information to the user based on the user information.
[0123] The time monitoring device for the medical field provided in the embodiment of the present application can execute the time monitoring method for the medical field provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0124] Fig.10 is a schematic diagram of the structure of an electronic device provided in this embodiment. The electronic device may include a time monitoring device used in the medical field, such as Fig.10 As shown, the electronic device 1000 includes a processor 1010, a memory 1020, an input device 1030, and an output device 1040; the number of processors 1010 in the electronic device can be one or more. Fig.10A processor 1010 is taken as an example; the processor 1010, the memory 1020, the input device 1030 and the output device 1040 in the electronic device can be connected via a bus or other means. Fig.10 The example of connecting through bus is taken in the following.
[0125] The memory 1020 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the time monitoring method for the medical field in the embodiment of the present invention. The processor 1010 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 1020, that is, the time monitoring method for the medical field provided by the embodiment of the present invention is implemented.
[0126] The memory 1020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 1020 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 1020 may further include a memory remotely arranged relative to the processor 1010, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0127] The input device 1030 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device, and may include a keyboard, a mouse, etc. The output device 1040 may include a display device such as a display screen.
[0128] This embodiment also provides a storage medium containing computer executable instructions, which, when executed by a computer processor, are used to implement the time monitoring method for the medical field provided by the embodiment of the present invention.
[0129] Of course, the computer executable instructions of a storage medium containing computer executable instructions provided in an embodiment of the present invention are not limited to the method operations described above, and can also execute related operations in the time monitoring method for the medical field provided in any embodiment of the present invention.
[0130] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0131] It is worth noting that in the above-mentioned embodiment of the time monitoring device for the medical field, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0132] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0133] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A time monitoring method for medical field, characterized in that: The method comprises: Acquire a barcode image acquired by a camera and matching with a target device, wherein the target device is used to provide a set treatment service for a patient; Acquire the usage status of the target device based on the barcode image; If the usage status of the target device is in use, the remaining duration of the countdown task is obtained and displayed, where the remaining duration is used to indicate the remaining usage duration of the target device by the patient.
2. The method according to claim 1, characterized in that Also includes: If the usage status of the target device is unused and the current account has the operation permission, then an association relationship between the target device and the patient's code is established, and a countdown task is triggered; Setting the usage status of the target device to in use; The start time of the patient's use of the target device is recorded.
3. The method according to claim 1, characterized in that Obtain and display the remaining time of the countdown task, including: Acquire a first set duration, a start time when the patient uses the target device, and a current time, wherein the first set duration is used to represent a reference usage duration of the target device; The remaining duration of the countdown task is calculated and displayed based on the first set duration, the start time and the current time.
4. The method according to claim 2, characterized in that: Obtain and display the remaining time of the countdown task, including: In response to a delay instruction, obtaining a delay duration corresponding to the delay instruction; If the remaining duration is greater than or equal to the delay duration, the countdown task is continued to be executed; If the remaining duration is less than the delay duration, calculating the sum of the delay duration and the used duration of the target device; Determining whether the sum is greater than a second set duration, where the second set duration is used to indicate a maximum usage duration of the target device; If the sum is greater than the second set duration, the countdown duration is calculated based on the second set duration and the start time; If the sum is less than the second set duration, the delay duration is used as the countdown duration; A new countdown task is restarted based on the countdown duration, and a new remaining duration is calculated and displayed based on the countdown duration and the current time.
5. The method according to claim 4, characterized in that The method further comprises: In response to the end instruction, recording the end time of the patient's use of the target device, and setting the use status of the target device to end of use; Calculate the actual usage time based on the end time and the start time; The patient's usage information of the target device is stored, wherein the usage information includes: the patient's code, the end time, the start time and the actual usage duration.
6. The method according to claim 1, characterized in that Also includes: If the usage status of the target device is ended, the usage information of the target device is obtained and displayed, and the usage information includes: the patient's code, end time, start time and actual usage duration.
7. The method according to claim 1, characterized in that Also includes: If the remaining time is less than a third set time, generating a prompt message and acquiring user information associated with the target device, wherein the prompt message is used to indicate that the remaining usage time of the target device is insufficient; Prompt information is sent to the user based on the user information.
8. A time monitoring device for use in the medical field, characterized in that: The device comprises: A barcode image acquisition module, used to acquire a barcode image acquired by a camera and matched with a target device, wherein the target device is used to provide a set treatment service for the patient; A usage status acquisition module, used to acquire the usage status of the target device based on the barcode image; The remaining time display module is used to obtain and display the remaining time of the countdown task if the usage status of the target device is in use, and the remaining time is used to indicate the remaining usage time of the target device by the patient.
9. An electronic device, characterized in that: The device comprises: A camera, used to capture barcode images matching the target device; one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the time monitoring method for the medical field as described in any one of claims 1 to 7.
10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the time monitoring method for the medical field as described in any one of claims 1 to 7 is implemented.