A configuration type custom query form code creating method and system
Patent Information
- Application Number
- CN202610876097.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-17
- Publication Date
- 2026-09-25
AI Technical Summary
[0004]然而,在建立患者诊疗档案并开展科研工作中,随着项目的逐渐成熟,需要开发的页面也随之变多,目前,系统中每个页面都需要写一遍查询的表单,这导致代码维护不便
(1)包含生存信息更新的肿瘤患者数据集成与管理
Smart Images

Figure CN122822191A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent information technology for medical information recording, and in particular to a method and system for creating configurable custom query form code. Background Technology
[0002] Diagnosis Related Groups (DRGs) are an important tool for measuring the quality and efficiency of healthcare services and for health insurance reimbursement. DRGs are essentially a case-mixing classification scheme, a system that groups patients into several diagnostic groups for management based on factors such as age, diagnosis, comorbidities, complications, treatment methods, disease severity and outcome, and resource consumption.
[0003] Furthermore, accurate completion of the primary diagnosis on the medical record cover sheet means that physicians and coders follow regulations, with physicians accurately selecting and correctly filling in the primary diagnosis on the inpatient medical record cover sheet, and coders accurately coding according to the nationally unified disease classification codes. The physician's primary diagnosis accuracy rate = number of discharged patients with correctly entered primary diagnoses on the medical record cover sheet / total number of discharged patients in the same period; the coder's primary diagnosis coding accuracy rate = number of discharged patients with correctly coded primary diagnoses on the medical record cover sheet / total number of discharged patients in the same period. Medical records reflect a wealth of diagnostic information about patients, and with the construction of regional medical data platforms, establishing comprehensive patient medical records is urgently needed.
[0004] However, in establishing patient medical records and conducting scientific research, as the project matures, the number of pages requiring development increases. Currently, each page in the system requires a custom query form, leading to inconvenient code maintenance. Furthermore, each page needs to develop a custom query form based on different business needs, but the query components are identical across pages, increasing the amount of code and hindering the efficiency of extracting specific medical information for specific patients. This also impedes progress in clinical epidemiology and social health research. Therefore, based on this need, a configurable custom query form code creation method and system are developed to facilitate the creation of custom query forms, accurately manage patient medical records or health records, and facilitate the tracking of the treatment process and clinical research. Summary of the Invention
[0005] The purpose of this invention is to provide a method and system for creating configurable custom query form code, and to develop a set of tools for creating configurable custom query form code, thereby improving the standardization and scalability of the code, reducing the amount of code and increasing the compilation speed, and facilitating the subsequent development of precise diagnosis and treatment processes for tumors.
[0006] This invention provides a method for creating configurable custom query form code, including: S1 acquires case data through the diagnostic information output circuit and extracts all tumor data of cancer patients according to the case dimension; S2, code is created based on the multiple function options of the custom query form, the multiple function options corresponding to different configurations of the tumor data.
[0007] Preferably, S2 includes: S21, Based on the Vue framework, determine the basic framework for developing the code of the custom query form; S22, after encapsulating the multiple components used, a complete set of multiple functional options is formed; S23, upload the multiple function options to the first option package. When the corresponding function option needs to be called, download the corresponding function option to the local machine to create a custom query form, and display the corresponding tumor data according to the custom query form.
[0008] Preferably, the encapsulation of the multiple components used to form the complete set of multiple functional options includes: Configure the relevant plugins, and have the developers reference them to incorporate them into the code.
[0009] Preferably, the relevant plugins include: `:dataSource = “configInfo”` is the component's configuration information, used to create the relevant query component by writing the relevant configuration information of the `configInfo` component to the `dataSource`.
[0010] `:defaultValues="defaultValue"` contains the default value information for the component, which is used to display relevant information after the component is created. @onAsyncData="handleFunction" is the function that receives data after the user selects a component.
[0011] Preferably, the configuration information of the plurality of components is as follows: configInfo=[{label:'xxx', value:xxx, type:'Input',clearable:true,maxLen: 50, placeholder:'xxx'}].
[0012] Preferably, the first option package is deployed and processed using the Git distributed version control system, thereby processing first option packages ranging from small to very large in a fast and efficient manner.
[0013] Preferably, the step of downloading the corresponding function options to the local machine to create a custom query form includes: After downloading the corresponding feature options to your local machine using the `npm install` command, you can create a custom query form.
[0014] A second aspect of the present invention is to provide a configurable custom query form code creation system for implementing the method of the first aspect, comprising: The case acquisition module (101) is used to acquire cases through the diagnostic information output circuit and extract all tumor data of tumor patients according to the case dimension; A custom query form code creation module (102) is used to create code based on multiple function options of the custom query form, wherein the multiple function options correspond to different configurations of the tumor data.
[0015] A third aspect of the present invention provides an electronic device including a processor and a memory, the memory storing a plurality of instructions, the processor being configured to read the instructions and execute the method as described in the first aspect.
[0016] A fourth aspect of the present invention provides a computer-readable storage medium storing a plurality of instructions which can be read by a processor and executed as described in the first aspect.
[0017] The method, system, electronic device, and computer-readable storage medium provided by this invention have the following beneficial technical effects: (1) Integration and management of cancer patient data including survival information updates By integrating multiple data sources, including basic information of cancer patients, admission records, discharge records, test results, and treatment plans, comprehensive integration and management of inpatient data of cancer patients can be achieved, which greatly improves the efficiency and accuracy of data management and helps to analyze the relationship between patients' real-time updated survival information and cancer incidence.
[0018] (2) Improve the accuracy of judging the time of new tumor onset. By integrating multiple diagnostic and data analysis algorithms, this approach improves the ability to identify key time points in tumor development and enhances the accuracy of predicting the onset time of tumors. It also helps to integrate expertise from different fields to improve the understanding and assessment of tumor development timing.
[0019] (3) Research data analysis and pattern recognition Utilizing advanced data analysis techniques and pattern recognition algorithms, tumor development patterns, including characteristics of single and multiple primary tumors, were extracted and analyzed from a large number of hospitalized cases. This analysis contributes to a deeper understanding of the biological characteristics and pathological mechanisms of tumors.
[0020] (4) Promotion of basic science and big data analysis This research will contribute to advancements in basic scientific research, such as studies on the mechanisms of tumor development and the differences between different types, as well as in the fields of tumor epidemiology and geographic distribution. These findings are of great significance for future epidemiological predictions and health policy development.
[0021] (5) Epidemiological and social health impact studies We will use residential data extracted from hospitalized cases to conduct epidemiological studies on cancer. This data can reveal differences in cancer incidence and related factors across different geographical regions, contributing to the development of public health policies and resource allocation strategies.
[0022] (6) Improve scientific research efficiency This involves developing personalized data query and analysis tools, allowing researchers to customize queries for cancer patient data based on specific research needs. Such tools help improve data mining efficiency and the depth of data-driven research. Researchers can quickly retrieve and access the necessary case data, supporting various data analysis tools, significantly reducing data processing and analysis time, improving research efficiency, and enhancing the effective utilization of research resources, thereby promoting progress in cancer research. Furthermore, the system's data visualization capabilities help researchers more intuitively understand data trends and results.
[0023] (7) Improve data security Multiple encryption technologies and strict access control mechanisms are employed to ensure the security and privacy of patient data, prevent unauthorized access and data leakage, and comply with relevant laws and regulations.
[0024] (8) Identification of the survival status of cancer patients By analyzing patient hospitalization records and follow-up information, key factors influencing patient survival can be identified. These models can help researchers understand the potential factors affecting survival outcomes, thereby promoting progress in medical research. This includes methods for monitoring and assessing long-term survival, providing a scientific basis for disease management strategies through the continuous collection and analysis of patient hospitalization data and the evaluation of patient treatment and survival outcomes.
[0025] (9) The advancement of scientific research methods This will help promote the development of customized query methods for tumor data, including improvements in data privacy protection and query efficiency, and provide technical support for future big data-driven medical research. Attached Figure Description
[0026] Figure 1 This is a flowchart illustrating a method for creating configurable custom query form code according to a preferred embodiment of the present invention; Figure 2 This is a schematic diagram of the interface after the reference-related plugin is placed into the code, according to a preferred embodiment of the present invention; Figure 3 A schematic diagram of the system architecture for creating a configurable custom query form code according to a preferred embodiment of the present invention; Figure 4 This is a schematic diagram of the interface of each form according to a preferred embodiment of the present invention, showing that each form can add or delete query items according to the query needs; Figure 5 This is a schematic diagram of an interface showing that, in a form query condition according to a preferred embodiment of the present invention, mutually exclusive conditions can be set as needed, that is, two query conditions, and if one is selected, the other condition cannot be added through the add button. Figure 6 This is a schematic diagram of an interface for selecting the nature of permanent residence and registered residence according to a preferred embodiment of the present invention. Figure 7 This is a schematic diagram illustrating the customization of disease diagnosis screening content according to needs, based on a preferred embodiment of the present invention. Figure 8 This is a schematic diagram of the structure of an embodiment of the electronic device provided by the present invention. Detailed Implementation
[0027] The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and examples. The following examples are for illustrative purposes only and are not intended to limit the scope of the invention.
[0028] Example 1 like Figure 1 As shown, this embodiment provides a method for creating configurable custom query form code, including: S1 acquires case data through the diagnostic information output circuit and extracts all tumor data of cancer patients according to the case dimension; S2, code is created based on the multiple function options of the custom query form, the multiple function options corresponding to different configurations of the tumor data.
[0029] In a preferred embodiment, S2 includes: S21, Based on the Vue framework, determine the basic framework for developing the code of the custom query form; S22, after encapsulating the multiple components used, a complete set of multiple functional options is formed; S23, upload the multiple function options to the first option package. When the corresponding function option needs to be called, download the corresponding function option to the local machine to create a custom query form, and display the corresponding tumor data according to the custom query form.
[0030] In a preferred embodiment, the encapsulation of the multiple components to form the complete set of multiple functional options includes: Configure the relevant plugins, and have the developers reference them to incorporate them into the code.
[0031] In a preferred embodiment, the relevant plugins include: `:dataSource = “configInfo”` is the component's configuration information, used to create the relevant query component by writing the relevant configuration information of the `configInfo` component to the `dataSource`.
[0032] `:defaultValues="defaultValue"` contains the default value information for the component, which is used to display relevant information after the component is created. @onAsyncData="handleFunction" is the function that receives data after the user selects a component.
[0033] In this embodiment, in actual use, developers need to reference the relevant plugins and incorporate them into the code, such as... Figure 2 As shown.
[0034] In a preferred embodiment, the configuration information of the plurality of components is as follows: configInfo=[{label:'xxx', value:xxx, type:'Input',clearable:true,maxLen: 50, placeholder:'xxx'}].
[0035] As a preferred implementation, the first option package is deployed and processed using the Git distributed version control system, thereby processing first option packages ranging from small to very large in a fast and efficient manner.
[0036] In a preferred embodiment, the step of downloading the corresponding function options to the local machine to create a custom query form includes: After downloading the corresponding feature options to your local machine using the `npm install` command, you can create a custom query form.
[0037] Example 2 like Figure 3As shown, this embodiment provides a configurable custom query form code creation system for implementing the method of Embodiment 1, including: The case acquisition module 101 is used to acquire cases through the diagnostic information output circuit and extract all tumor data of tumor patients according to the case dimension; The custom query form code creation module 102 is used to create code based on multiple function options of the custom query form, wherein the multiple function options correspond to different configurations of the tumor data.
[0038] Application Examples (I) Introduction to the features of the query form: 1. Each form allows for the addition or deletion of query items as needed, such as... Figure 4 As shown; 2. In the form search criteria, you can set mutually exclusive conditions as needed. That is, if two search criteria are selected, the other criteria cannot be added via the "Add" button. Figure 5 As shown.
[0039] 3. The query form is configured with common components such as date pickers, multi-level cascading selectors, input fields, and remote search boxes. If these are insufficient to meet business needs, we can customize the query components according to the relevant configurations.
[0040] (II) Example 1. Customizable filtering methods are available to select factors such as place of residence, registered residence type, etc. Figure 6 As shown.
[0041] 2. Disease diagnosis screening content can be customized according to needs (National Clinical 2.0, by ICD-10, by ICD-O-3, and by ICCC-3), such as... Figure 7 As shown.
[0042] The present invention also provides a memory that stores a plurality of instructions for implementing the method as described in Embodiment 1.
[0043] like Figure 8 As shown, the present invention also provides an electronic device, including a processor 301 and a memory 302 connected to the processor 301. The memory 302 stores a plurality of instructions, which can be loaded and executed by the processor to enable the processor to perform the method as described in Embodiment 1.
[0044] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention. Clearly, those skilled in the art can make various alterations and modifications to the invention without departing from its spirit and scope. Thus, if these modifications and modifications of the invention fall within the scope of the claims and their equivalents, the invention is also intended to include these modifications and modifications.
Claims
1. A method for creating configurable custom query form code, characterized in that, include: S1 acquires case data through the diagnostic information output circuit and extracts all tumor data of cancer patients according to the case dimension; S2, code is created based on the multiple function options of the custom query form, the multiple function options corresponding to different configurations of the tumor data.
2. The method for creating a configurable custom query form code according to claim 1, characterized in that, S2 includes: S21, Based on the Vue framework, determine the basic framework for developing the code of the custom query form; S22, after encapsulating the multiple components used, a complete set of multiple functional options is formed; S23, upload the multiple function options to the first option package. When the corresponding function option needs to be called, download the corresponding function option to the local machine to create a custom query form, and display the corresponding tumor data according to the custom query form.
3. The method for creating a configurable custom query form code according to claim 2, characterized in that, The encapsulation of the multiple components used to form the complete set of multiple functional options includes: Configure the relevant plugins, and have the developers reference them to incorporate them into the code.
4. The method for creating a configurable custom query form code according to claim 3, characterized in that, The relevant plugins include: :dataSource = "configInfo" is the component's configuration information, used to create the relevant query component by writing the relevant configuration information of the configInfo component to the dataSource; `:defaultValues="defaultValue"` contains the default value information for the component, which is used to display relevant information after the component is created. @onAsyncData="handleFunction" is the function that receives data after the user selects a component.
5. The method for creating a configurable custom query form code according to claim 4, characterized in that, The configuration information of the multiple components is as follows: configInfo=[{label:'xxx', value:xxx, type:'Input', clearable:true, maxLen:50, placeholder:'xxx'}].
6. The method for creating a configurable custom query form code according to claim 5, characterized in that, The first option package is deployed and processed using the Git distributed version control system, thereby processing first option packages ranging from small to very large in a fast and efficient manner.
7. The method for creating a configurable custom query form code according to claim 6, characterized in that, The step of downloading the corresponding function options to the local machine to create a custom query form includes: After downloading the corresponding feature options to your local machine using the `npm install` command, you can create a custom query form.
8. A configurable custom query form code creation system, used to implement the method described in any one of claims 1-7, characterized in that, include: The case acquisition module (101) is used to acquire cases through the diagnostic information output circuit and extract all tumor data of tumor patients according to the case dimension; A custom query form code creation module (102) is used to create code based on multiple function options of the custom query form, wherein the multiple function options correspond to different configurations of the tumor data.
9. An electronic device comprising a processor and a memory, the memory storing a plurality of instructions, the processor being configured to read the instructions and execute the method as described in any one of claims 1-7.
10. A computer-readable storage medium storing a plurality of instructions that can be read by a processor and executed according to any one of claims 1-7.