Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a method for managing acupuncture queue data of intestinal obstruction after abdominal tumor operation, which comprises the steps of obtaining patient data to be acupuncture, submitting the patient data to be acupuncture to a RedCap database, determining queue data recording time according to the patient data to be acupuncture, prompting the acupuncture time according to the queue data recording time, performing acupuncture operation according to the acupuncture time, recording an operation image of the acupuncture operation, identifying acupuncture points of the acupuncture operation according to the operation image, and submitting the acupuncture points and corresponding acupuncture operation time to the RedCap database.
Further, the submitting the needled patient data to RedCap database includes analyzing HTML structure and form fields of a data submitting page of the RedCap webpage, writing a crawler program to simulate the operation of submitting the data by a user according to the webpage structure, including login credentials or Cook ie in an HTTP request before submitting the data, submitting the data by simulating the way of filling the form fields on the webpage by the user by using the crawler program, responding by a processing server to check whether the data is successfully submitted and to process any error or abnormal conditions, setting the crawler program to be executed regularly, and automatically submitting the data to RedCap database when the data is updated.
Further, the acupuncture points of the needling operation are identified according to the operation images, the acupuncture points comprise a standard virtual three-dimensional human body model with human body acupuncture points, before needling, a fluorescent pen is used for marking the human body acupuncture points, needling treatment operation is carried out at the fluorescent marking positions, operation process images are obtained from at least two angles, a human body three-dimensional model comprising the fluorescent marking is established according to the images of at least two angles, the standard virtual three-dimensional human body model is scaled to be consistent with the human body three-dimensional model in size, the scaled quasi-virtual three-dimensional human body model is enabled to coincide with the human body three-dimensional model, the distance between a fluorescent point and the acupuncture point on the virtual three-dimensional human body model is calculated, and the acupuncture point with the smallest distance from the fluorescent point is determined to be the needling point.
Further, the establishment of the three-dimensional model of the human body comprising fluorescent marks according to the images of at least two angles comprises the steps of compiling a program to collect photos or videos of the human body of a patient, selecting one cloud-based three-dimensional reconstruction service, determining an API (application program interface) provided by the cloud-based three-dimensional reconstruction service according to an API document or a developer document of the selected service, compiling the program to upload the collected photos or videos to the selected three-dimensional reconstruction service platform, using the API or SDK provided by the service to operate according to instructions in the document, using the API or SDK provided by the service to start a three-dimensional reconstruction process, and compiling the program to obtain the generated three-dimensional model after the three-dimensional reconstruction process is completed.
Further, scaling the standard virtual three-dimensional mannequin to be consistent with the human three-dimensional model in size, and enabling the scaled quasi virtual three-dimensional mannequin to be overlapped with the human three-dimensional model comprises loading the standard virtual three-dimensional mannequin and the human three-dimensional model by using three-dimensional modeling software or a library, determining one point of the two models as a reference point by using a feature detection algorithm or a pattern matching algorithm, calculating scaling and translation vectors between the two models according to the position of the reference point, and applying the calculated scaling and translation vectors to one model so as to align the scaling and translation vectors with the other model.
The invention also discloses a data management system for the intestinal obstruction needling queue after abdominal tumor operation, which comprises:
the data management module is used for acquiring patient data to be needled and submitting the needled patient data to a RedCap database;
the prompting module is used for determining queue data recording time according to the patient data to be needled, prompting needling time according to the queue data recording time, and performing needling operation according to the needling time;
The recording module is used for recording the operation image of the needling operation;
the identification module is used for identifying acupuncture points subjected to needling operation according to the operation image;
and the submitting module is used for submitting the acupoints and the corresponding needling operation time to a RedCap database.
Further, the submitting the needled patient data to RedCap database includes analyzing HTML structure and form fields of a data submitting page of the RedCap webpage, writing a crawler program to simulate the operation of submitting the data by a user according to the webpage structure, including login credentials or Cook ie in an HTTP request before submitting the data, submitting the data by simulating the way of filling the form fields on the webpage by the user by using the crawler program, responding by a processing server to check whether the data is successfully submitted and to process any error or abnormal conditions, setting the crawler program to be executed regularly, and automatically submitting the data to RedCap database when the data is updated.
Further, the acupuncture points of the needling operation are identified according to the operation images, the acupuncture points comprise a standard virtual three-dimensional human body model with human body acupuncture points, before needling, a fluorescent pen is used for marking the human body acupuncture points, needling treatment operation is carried out at the fluorescent marking positions, operation process images are obtained from at least two angles, a human body three-dimensional model comprising the fluorescent marking is established according to the images of at least two angles, the standard virtual three-dimensional human body model is scaled to be consistent with the human body three-dimensional model in size, the scaled quasi-virtual three-dimensional human body model is enabled to coincide with the human body three-dimensional model, the distance between a fluorescent point and the acupuncture point on the virtual three-dimensional human body model is calculated, and the acupuncture point with the smallest distance from the fluorescent point is determined to be the needling point.
Further, the establishment of the three-dimensional model of the human body comprising fluorescent marks according to the images of at least two angles comprises the steps of compiling a program to collect photos or videos of the human body of a patient, selecting one cloud-based three-dimensional reconstruction service, determining an API (application program interface) provided by the cloud-based three-dimensional reconstruction service according to an API document or a developer document of the selected service, compiling the program to upload the collected photos or videos to the selected three-dimensional reconstruction service platform, using the API or SDK provided by the service to operate according to instructions in the document, using the API or SDK provided by the service to start a three-dimensional reconstruction process, and compiling the program to obtain the generated three-dimensional model after the three-dimensional reconstruction process is completed.
Further, scaling the standard virtual three-dimensional mannequin to be consistent with the human three-dimensional model in size, and enabling the scaled quasi virtual three-dimensional mannequin to be overlapped with the human three-dimensional model comprises loading the standard virtual three-dimensional mannequin and the human three-dimensional model by using three-dimensional modeling software or a library, determining one point of the two models as a reference point by using a feature detection algorithm or a pattern matching algorithm, calculating scaling and translation vectors between the two models according to the position of the reference point, and applying the calculated scaling and translation vectors to one model so as to align the scaling and translation vectors with the other model.
Through the technical scheme, the invention can produce the following beneficial effects:
The automatic process can reduce the time of manual operation and manual input, thereby improving the working efficiency. Medical personnel can be more focused on patient care and treatment without spending excessive time on data entry and management.
The automation flow can reduce the occurrence of human errors and improve the accuracy and consistency of data. By automated data transmission and recording, data errors due to human negligence or errors can be avoided.
The automated process may ensure that the data is recorded and managed according to predefined criteria, thereby improving the quality and reliability of the data. Consistency and accuracy of the data is critical to subsequent analysis and decision making. .
Detailed Description
The invention will be described with reference to the drawings and detailed description.
The present embodiment solves the above problem by:
In one embodiment, referring to fig. 1, the present invention provides a method of abdominal oncology post-operative ileus needle stick queue data management.
Abdominal tumor surgery is a surgical procedure performed on tumors located in the abdomen. Abdominal tumors may include various types, such as liver cancer, stomach cancer, colon cancer, intestinal tumors, ovarian cancer, and the like.
Abdominal tumor postoperative ileus is a postoperative complication, and refers to the condition of intestinal obstruction after abdominal tumor surgery. Ileus refers to the inability of intestinal contents to pass through normal intestinal passages, resulting in increased intestinal pressure, causing symptoms. The abdominal tumor surgery may lead to adhesion, stenosis, postoperative bleeding, damage to the intestinal wall, etc. of the intestinal tract, thereby increasing the risk of intestinal obstruction.
In the embodiment, the abdominal tumor postoperative ileus patient is taken as a study object, the abdominal tumor postoperative ileus optimizing needling treatment scheme is applied through prospective, random and control design, the optimized needling treatment scheme and the conventional treatment (accelerated rehabilitation surgery) control are carried out, a needling-abdominal tumor postoperative ileus patient special disease queue is established, index collection is carried out based on a patient report ending, an intelligent clinical study implementation platform is used for managing the patient, and the clinical curative effect of the needling treatment of the abdominal tumor postoperative ileus is evaluated by collecting related indexes, so that high-quality evidence is generated.
To achieve the above object, the present implementation first obtains patient data to be needled, and submits the needled patient data to RedCap database.
To obtain detailed queue data, a patient needs to be documented first to obtain data of a surgical patient, and the patient data may be obtained from a hospital's IS (Hosp ita l I nformat ion System ) system, and specific data information may include:
Personal information including basic information such as name, age, sex, contact information, etc. to identify and contact the patient.
Medical history including past medical history, family medical history, allergy history, operation history and the like, which are important for the evaluation of needling effect.
Physical examination, including physical indexes such as height, weight, body temperature, blood pressure, pulse, respiration, etc., and detailed examination results of specific parts or systems, such as cardiopulmonary auscultation, abdominal palpation, etc.
Laboratory tests include blood tests (blood routine, biochemical index, clotting function, etc.), urine tests, imaging tests (X-ray, CT scan, MRI, etc.), electrocardiography (ECG), etc.
Surgical related information including surgical type, date of surgery, surgical site, detailed record during surgery, etc. for performing a needling analysis after performing needling.
RedCap (RESEARCH E L ectron ic Data Capture) is a Web-based electronic data capture tool for supporting management of clinical research and survey data. It provides a user-friendly interface that allows researchers to design, build and manage custom electronic questionnaires and databases.
Researchers can use RedCap's interface to design custom data collection forms, including various types of fields (text, numbers, dates, selection boxes, etc.), to meet the needs of a particular study. The data can be manually input through a Web interface, and can be imported in a mode of uploading data files in batches. RedCap provide a data verification function that ensures the integrity and accuracy of the data. It can automatically check the format, scope and logical relationship of the data and provide error cues. RedCap may also be used to manage data, including adding, editing, deleting, and looking up data.
The data queues in this embodiment are managed by RedCap, firstly, a queue database needs to be built in the RedCap database, a specific building method can refer to the "how to build a prospective queue research database by REDCap" disclosed by david, etc., an entry of the database can refer to the above-mentioned reference file and the above-mentioned patient information, and specific entries and contents of the forms are not the focus of the discussion of this embodiment, and can be designed according to specific situations when the present embodiment is implemented by a person skilled in the art.
RedCap is a Web-based electronic data capture tool, and further, to facilitate automated management of data, the present embodiment automatically submits information within the system via a computer program. Specifically:
First, the web page structure of RedCap, particularly the HTML structure and form fields of the data submission page, are analyzed.
According to the webpage structure, a crawler program is written to simulate the operation of submitting data by a user. The HTTP Requests, parsing web page content, and filling out form fields may be sent using a programming language such as Python, in conjunction with third party libraries (e.g., beaut ifu l Soup and Requests).
Authentication is also required before submitting the data. A login credential or Cook i e may be included in the HTTP request.
Patient data is submitted using a crawler program and the data is submitted by simulating the way the user fills in form fields on a web page.
The processing server responds to check whether the data was successfully submitted and to handle any errors or anomalies.
The crawler is configured to execute periodically to automatically commit the data to RedCap databases when the data is updated.
By the method, the patient data is established and automatically submitted to the RedCap database, so that the operation process of medical staff can be reduced, and the usability is improved.
The study procedure of this embodiment is required to follow a preset time schedule, such as multiple acupuncture treatments from 0 to 3 days, and follow-up on day 10, and in order to prevent forgetfulness, the embodiment is required to determine the time for recording the queue data according to the patient data to be needled.
Specifically, firstly, determining the operation time point of a patient from the data of the patient to be needled, and calculating the time of needling treatment and the follow-up time according to the operation time of the patient. Illustratively, if the patient performs a 9-point operation at 2024, 1-month, 4-day, and if the needle punching treatment needs to be performed at 12 hours, 24 hours, 48 hours, and 72 hours after the operation, the needle punching time is estimated to be 2024, 1-month, 4-day, 21-day, 2024, 1-month, 5-day, 21-day, 2024, 1-month, 6-day, 21-day, 2024, 1-month, 7-day.
The above estimation can be automatically performed by using a computer program, and the automatic estimation is performed by the operation time after the time of the needlestick treatment is set in the system in advance. The method can improve the reckoning efficiency and reduce the manual workload.
In order to prompt treatment for medical care, the implementation further prompts the needling time according to the queue data record time.
In implementing the hint, integrated development environments such as Andro i d Stud i o (applicable to Andro i d application development) or Xcode (applicable to ios application development) can be selected for use. An application program based on Andro i d or IOS is developed, and the application program is connected with a RedCap database to acquire basic information of a patient and acupuncture treatment time.
The reminding function is realized in the application program, and comprises the steps of setting reminding time, reminding modes (such as sound, vibration, notification and the like), reminding contents and the like. The alert function may be implemented using a system-provided alert function (e.g., A L ARMMANAGER of Andro i d or U I Loca l Not i f i cat i on of iOS) or using a third party library.
Through the reminding scheme, medical staff can be reminded to timely perform acupuncture treatment, forgetting is prevented, queue data is lost, and analysis of the queue data is affected.
And after the reminding is received, performing needling operation according to the needling time.
During the needling treatment, an operation image of the needling operation is recorded. In order to facilitate the subsequent operations, the present embodiment preferably acquires operation videos from at least two viewpoints.
Identifying acupuncture points subjected to needling operation according to the operation video, and specifically comprising the following steps:
first, a standard virtual three-dimensional manikin with points of the human body is created.
Human anatomy data is collected, including information on the names, locations, depths, etc. of acupoints. Such data may be from authoritative sources such as anatomical textbooks, academic papers, clinical guidelines, and the like.
The present embodiment may use commonly used three-dimensional modeling software such as B l ender, maya, 3ds Max, etc. Medical image processing software such as chemicals, 3D S l icer, etc. may also be used. A standard manikin is created, which can also be modified and adapted using off-the-shelf manikin as a basis. And determining the accurate position of each acupoint on the human body model according to the collected human anatomy data. The positions of the acupoints are marked on the phantom using a marking or marking system.
Before needling, a fluorescent pen is used for marking acupuncture points of a human body.
Prior to marking, an acupuncturist or doctor can determine the acupoints to be needled according to the condition of the patient and the treatment scheme. The acupuncture points to be needled are marked on the skin of the patient using a highlighter. The marking should ensure that the marking is accurately and clearly visible and does not cause discomfort or pain to the patient. A bright highlighter, preferably a vivid color such as red, green or orange, is selected to ensure clarity and ease of identification of the indicia. The color of the fluorescent pen should be clearly contrasted with the background, and is not easily disturbed or confused.
By using the fluorescent pen to mark points on the human body, on one hand, an acupuncture operator or a doctor can accurately find the acupoints, and on the other hand, software can be helped to identify and position the marked points more easily, so that automatic image processing and analysis are realized.
A needle stick treatment procedure is performed at the fluorescent marker. According to the illness state and the treatment requirement of the patient, proper needling technique is selected. The commonly used needling techniques include direct needling, rotary needling, wave compass needle, etc., and the most suitable needling technique can be selected as required.
Further, to facilitate the subsequent modeling process, the patient needs to receive treatment in the same pose as the standard virtual three-dimensional manikin.
The process images are acquired from at least two angles. A three-dimensional model of the human body including fluorescent markers is built from at least two angles of video.
By integrating the information of the plurality of angles, the shape, structure and texture of the object can be more accurately captured. This helps to improve the accuracy and authenticity of the modeling, making the generated three-dimensional model more accurate. Thus, the present embodiment acquires the operation process images from at least two angles.
The image can be acquired by an image pickup device fixed on an operating table or a sickbed, and when the medical care starts to perform acupuncture treatment, an image pickup switch is started to acquire the image. The device may also be obtained by a handheld device, such as a mobile phone, a video camera, etc., and the specific obtaining means is not limited in this embodiment.
In performing the three-dimensional modeling, any means in the prior art may be selected.
In one embodiment, a cloud-based three-dimensional reconstruction service is used, such as Photoscan, rea l ityCapture, meshroom, and the like. These services allow uploading photos or videos and automatically processing them to generate a three-dimensional model.
A program is first written to collect photographs or videos of the patient's anatomy. This may be done by invoking a camera or reading an image or video file from a local file system.
A suitable cloud-based three-dimensional reconstruction service, such as one of Photoscan, rea l ityCapture, meshroom, is selected. The API it provides is determined from the API document or developer document of the selected service.
A program is written to upload the collected photos or videos to the selected three-dimensional reconstruction service platform. Using the API or SDK provided by the service, the operation is performed as instructed in its document.
Using the API or SDK of the service, a program is written to initiate the three-dimensional reconstruction process. Once the three-dimensional reconstruction process is complete, a program is written to obtain the generated three-dimensional model. And downloading the result file from the website of the service.
In the step, the cloud three-dimensional model generating service API is called by the computer program to automatically generate the three-dimensional model, so that manual intervention can be reduced, and the generating efficiency is improved.
Since the needled points of the patient are marked with a special fluorescent color, the fluorescent points can be easily preserved in the three-dimensional model.
Scaling the standard virtual three-dimensional human body model to be consistent with the human body three-dimensional model in size, and enabling the scaled quasi virtual three-dimensional human body model to coincide with the human body three-dimensional model. The method comprises the following specific steps:
Loading the standard virtual three-dimensional mannequin and the mannequin using three-dimensional modeling software or library.
One point of the two models is determined as a reference point. Feature detection algorithms, such as harris corner detection, S FT, SURF, etc., may be used to detect some significant feature points in the model image. The detected feature points are screened, and some representative points are selected as candidate reference points. In addition, pattern matching algorithms, such as template matching, hough transform, etc., may also be used to match regions from the model image that are similar to the predefined pattern, such as head, hand, etc. A pattern representing the reference point is designed and matched with the model image to find the region that best matches the expected feature.
And calculating the scaling and translation vectors between the two models according to the positions of the reference points. This step may be implemented using mathematical calculations or computer vision techniques.
The calculated scaling and translation vectors are applied to one of the models to align it with the other model. This step may be implemented using three-dimensional transformation operations, such as scaling, panning, and the like.
After the two models are overlapped, the acupuncture points of the patient correspond to the acupuncture points of the standard model, so that the distance between the fluorescent points and the acupuncture points on the virtual three-dimensional human body model can be calculated, and the acupuncture point with the smallest distance from the fluorescent points is determined as the acupuncture point. Specifically:
and extracting coordinate information of the fluorescent points and the acupoint points from the model data. Each point may be represented as one coordinate in three-dimensional space.
For each point, the distance between it and each point is calculated. The distance between two points can be calculated using the euclidean distance formula.
The nearest hole site to the spot was found. Traversing all the hole sites, and finding out the hole site with the smallest distance, namely the hole site corresponding to the fluorescent point.
Submitting the acupoints and the corresponding needling operation time to a RedCap database.
In the foregoing steps, needling points are identified, needling operations are automatically recorded by a program during the identification process, and then the corresponding needling points and operation time are submitted to a RedCap database, and specific submitting methods can refer to the foregoing submitting methods automatically by a computer program.
Through the technical means, the automatic process can reduce the time of manual operation and manual input, thereby improving the working efficiency. Medical personnel can be more focused on patient care and treatment without spending excessive time on data entry and management.
The automation flow can reduce the occurrence of human errors and improve the accuracy and consistency of data. By automated data transmission and recording, data errors due to human negligence or errors can be avoided.
The automated process may ensure that the data is recorded and managed according to predefined criteria, thereby improving the quality and reliability of the data. Consistency and accuracy of the data is critical to subsequent analysis and decision making.
On the other hand, the invention also provides a data management system for the intestinal obstruction needling queue after abdominal tumor operation, which comprises the following steps:
the data management module is used for acquiring patient data to be needled and submitting the needled patient data to a RedCap database;
the prompting module is used for determining queue data recording time according to the patient data to be needled, prompting needling time according to the queue data recording time, and performing needling operation according to the needling time;
The recording module is used for recording the operation image of the needling operation;
the identification module is used for identifying acupuncture points subjected to needling operation according to the operation image;
and the submitting module is used for submitting the acupoints and the corresponding needling operation time to a RedCap database.
Further, the specific implementation method of the abdominal tumor postoperative ileus needling queue data management system is the same as that of the abdominal tumor postoperative ileus needling queue data management method, and all further technical schemes in the abdominal tumor postoperative ileus needling queue data management method are completely introduced into the abdominal tumor postoperative ileus needling queue data management system.
Finally, it should be noted that the above embodiments are only for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the specific embodiments of the present invention without departing from the spirit and scope of the present invention, and any modifications and equivalents are intended to be included in the scope of the claims of the present invention.
The present invention is not limited to the specific partial module structure described in the prior art. The prior art to which this invention refers in the preceding background section as well as in the detailed description section can be used as part of the invention for understanding the meaning of some technical features or parameters. The protection scope of the present invention is subject to what is actually described in the claims.