Medical data multi-dimensional search and viewing method, system and terminal
By adjusting the combination and sequence of conditions, the problem of complexity of data screening in hospital scientific research is solved, the accurate and rapid retrieval and display of medical data is achieved, and the data support required by scientific researchers is provided.
Patent Information
- Application Number
- CN202410586644.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-05-13
AI Technical Summary
Data screening in hospital scientific research is complex, changes in the order and combination of conditions lead to inconsistent results, and medical records and diagnosis names are not unified, making it difficult to accurately search and display medical data.
By setting condition groups and adjusting the order of conditions based on connectors and PVE fields, an adjusted condition group is formed for data query and aggregation display, and supports multi-dimensional condition combinations and observation indicator selection.
It achieves accurate and fast retrieval of medical data, meets the needs of scientific research, and provides accurate data basic support.
Smart Images

Figure CN118170793B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method, system and terminal for multi-dimensional search and viewing of medical data. Background Art
[0002] Data screening in hospital research is indeed a complex and delicate process involving multiple steps and considerations. When screening research data, it is often necessary to determine the scope of the research population through a series of limiting conditions. Therefore, it is necessary to combine the conditions for searching. Often, a slight change in the order of conditions and the combination method will lead to different final results. In addition, to confirm the population, it is necessary to judge whether the research conditions are met by the changes in other indicators when certain indicators of the population occur. For example, after a certain operation, whether the corresponding indicator is greater than a certain value can accurately retrieve whether the patient meets the research population; and when using it, medical records, diagnosis names, and test indicators are often not unified. Two different doctors may write the same diagnosis differently. When searching, these values need to be normalized, and then matched with standard terms to process natural language unstructured data in the search. For the search results, researchers also need to aggregate data for one or more indicators to determine whether the person meets the population range. Therefore, a solution for accurate search and display of medical data is needed to meet the relevant needs of hospital research. Summary of the invention
[0003] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a method, system and terminal for multi-dimensional search and viewing of medical data, so as to solve the above technical problems of the prior art.
[0004] To achieve the above-mentioned purpose and other related purposes, the present invention provides a multi-dimensional search and viewing method for medical data, the method comprising: preliminarily forming a plurality of condition groups according to different set conditions; wherein the conditions of each condition group are connected by connectors, and the conditions of each condition group use the same association key; based on the connectors between the conditions in each condition group preliminarily formed and the PVE domain of the conditions, the conditions in each condition group are grouped and the order is adjusted to form an adjusted condition group; the adjusted condition groups are combined, and data is queried based on the combined condition groups, and the queried data is combined; based on the selected observation indicators, the aggregation results are calculated according to the combined data, and the corresponding result display method is used for display.
[0005] In one embodiment of the present invention, the preliminary formation of multiple condition groups according to the different set conditions includes: preliminary formation of multiple condition groups by setting the arrangement order of different conditions in each condition group, connectors between the conditions of each condition group, association keys used for the conditions of each condition group, event time offsets of each condition group, and connectors between the condition groups; wherein the types of connectors include AND connectors and non-AND connectors; the non-AND connectors include OR and NOT; the types of association keys include patient id, visit id, and report id.
[0006] In one embodiment of the present invention, the conditions in each condition group are grouped and adjusted in order based on the connectors between the conditions in each condition group and the PVE domain of the conditions to form an adjusted condition group, which includes: grouping the conditions in each condition group initially formed from front to back in the order of arrangement with non-AND connectors to obtain one or more AND connection groups; wherein the conditions in each AND connection group containing multiple conditions are connected by an AND connector; based on the PVE domain of the conditions, the conditions of each AND connection group in each condition group are grouped and adjusted in order to obtain adjusted AND connection groups of each condition group; based on the non-AND connectors of each condition group initially formed, the adjusted AND connection groups are combined to obtain an adjusted condition group.
[0007] In one embodiment of the present invention, the condition-based PVE domain groups and sequentially adjusts the conditions of each AND connection group in each condition group to obtain the adjusted AND connection groups of each condition group, including: sorting the conditions of each AND connection group according to the PVE domain, and grouping the conditions of the PV domain and the E domain conditions with the smallest number of hits into a group to form an adjusted AND connection group.
[0008] In one embodiment of the present invention, the step of combining the adjusted condition groups, performing data query based on the combined condition groups, and combining the queried data includes: combining the adjusted condition groups, and performing data query based on the combined condition groups; combining the queried data in the order of the combined condition groups from front to back and from inside to outside, and in combination with the connectors and association keys of the combined condition groups.
[0009] In one embodiment of the present invention, the aggregation results are calculated based on the combined data based on the selected observation indicators, and displayed in a corresponding result display method, including: obtaining the selected observation indicators and the aggregation methods corresponding to the observation indicators; obtaining the data corresponding to the observation indicators from the combined data based on the selected observation indicators, and aggregating the data of each observation indicator using the corresponding aggregation method to obtain the aggregation result of each observation indicator; based on the selected result display method, splicing the aggregation results of each observation indicator to display them in the corresponding result display method.
[0010] In one embodiment of the present invention, the aggregation results of each observation indicator are spliced based on the selected result display method to display them in a corresponding result display method, including: if the selected result display method is the patient mode, the aggregation results of each observation indicator are spliced by row according to the patient id, so that each patient has a row of data displayed; if the selected result display method is the consultation mode, the aggregation results of each observation indicator are spliced by row according to the consultation id, so that each consultation has a row of data displayed.
[0011] In one embodiment of the present invention, if the multiple condition groups initially formed include subsets, the subsets are placed at the last position of the corresponding grouping during adjustment, and data is searched hierarchically according to the cascade method corresponding to the subsets during search.
[0012] To achieve the above-mentioned purpose and other related purposes, the present invention provides a medical data multi-dimensional search and viewing system, the system comprising: a condition group preliminary composition module, used to preliminarily form a plurality of condition groups according to different set conditions; wherein the conditions of each condition group are connected by connectors, and the conditions of each condition group use the same association key; a grouping and sequence adjustment module, connected to the condition group preliminary composition module, used to group and sequence-adjust the conditions in each condition group based on the connectors between the conditions in each preliminarily formed condition group and the PVE domain of the conditions, to form an adjusted condition group; a data query module, connected to the grouping and sequence adjustment module, used to combine the adjusted condition groups, perform data query based on the combined condition groups, and combine the queried data; a data display module, connected to the data query module, used to calculate the aggregation result according to the combined data based on the selected observation indicators, and display it in a corresponding result display method.
[0013] To achieve the above-mentioned objectives and other related objectives, the present invention provides a medical data multi-dimensional search and viewing terminal, comprising: one or more memories and one or more processors; the one or more memories are used to store computer programs; the one or more processors are connected to the memories and are used to run the computer program to execute the medical data multi-dimensional search and viewing method.
[0014] As described above, the present invention is a multi-dimensional search and viewing method, system and terminal for medical data, which has the following beneficial effects: the present invention preliminarily forms a plurality of condition groups according to different set conditions, and based on the connectors between the conditions in each preliminarily formed condition group and the PVE domain of the conditions, groups the conditions in each condition group and adjusts the order to form an adjusted condition group, then combines the adjusted condition groups, and performs data query based on the combined condition groups, and combines the queried data, calculates the aggregation results based on the combined data based on the selected observation indicators, and displays them in the corresponding result display mode. The present invention can arbitrarily combine conditions in multiple dimensions, and these combined conditions can accurately and quickly retrieve the corresponding data, and the user can select and pay attention to the desired indicators, and can select the aggregation method for the selected variables, which can accurately hit the data range required by the scientific researchers, and provide accurate data foundation support for the scientific researchers to do subsequent research. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 Shown is a flowchart of a method for multi-dimensional search and viewing of medical data in one embodiment of the present invention.
[0016] Figure 2 Shown is a schematic diagram of selecting search variables in one embodiment of the present invention.
[0017] Figure 3 Shown is a schematic diagram of combination conditions in one embodiment of the present invention.
[0018] Figure 4 Shown is a schematic diagram of selecting observation indicators in one embodiment of the present invention.
[0019] Figure 5 Shown is a schematic diagram of a selection index aggregation method in one embodiment of the present invention.
[0020] Figure 6 Shown is a schematic diagram showing patient pattern aggregation results in one embodiment of the present invention.
[0021] Figure 7 Shown is a schematic diagram of displaying the aggregation results of medical consultation patterns in one embodiment of the present invention.
[0022] Figure 8 Shown is a schematic diagram of event editing in an embodiment of the present invention.
[0023] Fig. 9 Shown is a structural diagram of a medical data multi-dimensional search and viewing system in one embodiment of the present invention.
[0024] Fig.10Shown is a schematic diagram of the structure of a terminal for multi-dimensional search and viewing of medical data in one embodiment of the present invention. DETAILED DESCRIPTION
[0025] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0026] It should be noted that in the following description, reference is made to the accompanying drawings, which describe several embodiments of the present invention. It should be understood that other embodiments may also be used, and that mechanical composition, structural, electrical and operational changes may be made without departing from the spirit and scope of the present invention. The following detailed description should not be considered restrictive, and the scope of the embodiments of the present invention is limited only by the claims of the published patents. The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. Spatially related terms, such as "upper", "lower", "left", "right", "below", "below", "lower", "above", "upper", etc., may be used in the text to facilitate the description of the relationship between an element or feature shown in the figure and another element or feature.
[0027] Throughout the specification, when a part is said to be "connected" to another part, this includes not only the case of "direct connection" but also the case of "indirect connection" by placing other elements therebetween. In addition, when a part is said to "include" a certain constituent element, unless otherwise stated, it does not exclude other constituent elements, but means that other constituent elements may be included.
[0028] The terms first, second and third mentioned herein are used to describe various parts, components, regions, layers and / or segments, but are not limited thereto. These terms are only used to distinguish a certain part, component, region, layer or segment from other parts, components, regions, layers or segments. Therefore, the first part, component, region, layer or segment described below may refer to the second part, component, region, layer or segment within the scope of the present invention.
[0029] Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless there is an indication to the contrary in the context. It should be further understood that the terms "comprise", "include" indicate the presence of the described features, operations, elements, components, items, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, operations, elements, components, items, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Exceptions to this definition will only occur when the combination of elements, functions or operations is inherently mutually exclusive in some way.
[0030] The present invention provides a multi-dimensional search and viewing method for medical data, which preliminarily forms a plurality of condition groups according to different set conditions, and based on the connectors between the conditions in each preliminarily formed condition group and the PVE domain of the condition, groups the conditions in each condition group and adjusts the order to form an adjusted condition group, then combines the adjusted condition groups, performs data query based on the combined condition groups, combines the queried data, calculates the aggregation results based on the combined data based on the selected observation indicators, and displays them in a corresponding result display mode. The present invention can arbitrarily combine conditions in multiple dimensions, and these combined conditions can accurately and quickly retrieve the corresponding data, and the user can select and pay attention to the desired indicators, and can select the aggregation method for the selected variables, which can accurately hit the data range required by the scientific researchers, and provide accurate data basic support for the scientific researchers to do subsequent research.
[0031] The following is a detailed description of the embodiments of the present invention with reference to the accompanying drawings so that those skilled in the art can easily implement the present invention. The present invention can be embodied in many different forms and is not limited to the embodiments described herein.
[0032] like Figure 1 A flowchart showing a method for multi-dimensional search and viewing of medical data in an embodiment of the present invention is shown.
[0033] The method comprises:
[0034] Step S1: Preliminarily form multiple condition groups according to different set conditions.
[0035] Specifically, the conditions of each condition group are connected by a connector, and the conditions of each condition group use the same association key.
[0036] In one embodiment, step S1 includes:
[0037] By setting the order of different conditions in each condition group, the connectors between the conditions in each condition group, the association keys used by the conditions in each condition group, the event time offset of each condition group, and the connectors between the condition groups, multiple condition groups are initially formed;
[0038] Specifically, first set multiple conditions; Specifically, first select variables on the variable selection interface as the basis for setting multiple different conditions, such as Figure 2 shown.
[0039] Next, we need to combine the condition groups, which can be achieved through the following steps:
[0040] Each condition group sets multiple different conditions and sets the order of the conditions. The order of the different conditions in each condition group is crucial to the screening results. Because some conditions may have priority or need to be applied in a specific logical order. By adjusting the order of the conditions, you can ensure that the screening process meets scientific research needs and avoid unnecessary duplication or omissions. Specifically, you can select variables on the interface.
[0041] Set the connectors between the conditions of each condition group. The connectors between the conditions determine how these conditions are combined together. AND connectors require that all listed conditions must be met, which is very useful for filtering that requires multiple criteria to be met at the same time. Non-AND connectors (such as OR, NOT, etc.) provide more flexibility, allowing certain conditions to be included or excluded during the filtering process.
[0042] Set the association key used by the conditions of each condition group. The association key establishes a connection between different data tables or fields to ensure that the filter conditions can be accurately applied to related data records. The types of association keys include: patient ID, visit ID, and report ID; if the condition is a condition with a cascading relationship, the association key is other types except patient ID, visit ID, and report ID.
[0043] Set the event time offset for each condition group. Event time offset is an important parameter, especially when the research involves time series analysis. By setting the time offset, you can filter out other events that occurred within a certain period of time before and after a specific event (such as surgery, diagnosis, etc.) or records that meet specific conditions. This is very helpful for analyzing the correlation and timing between events.
[0044] The above setting steps can be implemented through the combined condition interface, where each condition group can be combined, such as Figure 3 By setting the above content, you can initially form multiple condition groups, each of which represents a set of specific filtering conditions.
[0045] After the initial combination of condition groups is completed, set the connectors between each condition group, which is similar to the connectors between conditions. This can be an AND connector or a non-AND connector, depending on the research needs and screening strategy.
[0046] Step S2: Based on the connectors between the conditions in each condition group initially formed and the PVE domain of the conditions, the conditions in each condition group are grouped and the order is adjusted to form an adjusted condition group.
[0047] In one embodiment, the concept of the PVE domain is first described:
[0048] P: indicates that the domain is the patient dimension, such as the patient's basic information. There will be only one piece of data to identify a patient, and it will not be repeated and will not increase with the number of visits.
[0049] V: indicates that the domain is the medical consultation dimension, such as basic medical consultation information. It indicates that there will be only one piece of data for a patient's medical consultation, which will not be repeated and will not increase with the increase of the number of examinations and tests in a single medical consultation.
[0050] E: indicates that the domain is the event dimension. Except for P, V belongs to the event dimension, such as diagnosis information and examination and testing information. These data may occur multiple times in one visit.
[0051] Variable / Indicator: It is an indicator in the PVE domain. For example, the P basic patient information domain, the patient's name is a variable or indicator in this domain.
[0052] The relationship between PVE is: P to many V, for example, a patient (P) may have multiple medical records (V), but each medical record corresponds to the same patient. V to many E, for example, a medical visit (V) may include multiple medical events (E), such as multiple examinations, multiple diagnosis results, etc. E to many E, some medical events may have a many-to-many relationship, such as surgical treatment and its related surgical details. One surgical treatment may involve multiple surgical details, and one surgical detail may also be associated with multiple surgical treatments.
[0053] Wherein, the step S2 comprises:
[0054] Step S21: grouping the conditions in each condition group initially formed from front to back according to the arrangement order using non-AND connectors to obtain one or more AND connection groups;
[0055] Specifically, for the conditions in each condition group initially formed, the conditions that meet the conditions (such as OR, NOT) are grouped as separators according to the arrangement order from front to back, so that the conditions in the condition group are divided into several logically relatively independent subgroups, and the conditions in the AND connection group containing multiple conditions are connected by AND connectors. It should be noted that when grouping, all non-AND connectors in the condition group must be identified first. Then, it is determined whether the adjacent connectors of these non-AND connectors are AND connectors. If the connector immediately adjacent to the left side of a non-AND connector is an AND connector, then the non-AND connector naturally becomes the key point of grouping. If this condition is not met, it is necessary to further determine whether there are AND connectors following the non-AND connector. If so, the adjacent AND connectors serve as the separation mark of the grouping.
[0056] For example, if the initial condition group is: A and B and C or D not E and F and G; after grouping from front to back in the order of arrangement with non-AND connectors, it forms: (A and B and C) or D not E and (F and G);
[0057] Step S22: based on the PVE domain of the condition, grouping and sequentially adjusting the conditions of each AND connection group in each condition group to obtain the adjusted AND connection groups of each condition group.
[0058] Specifically, for each AND-connected group within each condition group, further grouping is performed according to the PVE domain attributes of the condition. Since P, V, and E represent the three dimensions of patients, visits, and events, respectively, conditions with different domain attributes may logically belong to different levels or stages, so the conditions need to be grouped according to these attributes. The specific order of conditions is the order of the P, V, and E domains; generally speaking, an AND-connected group contains one P domain condition, one V domain condition, and multiple E domain conditions.
[0059] Step S23: Based on the non-AND connectors of the initially formed condition groups, the adjusted AND connection groups are combined to obtain an adjusted condition group.
[0060] In one embodiment, step S2: sorting the conditions of each AND connection group according to the PVE domain, and grouping the conditions of the PV domain and the E domain conditions with the smallest number of hits into one group to form an adjusted AND connection group.
[0061] Specifically, first reorder the conditions in each AND connection group. The ordering rules include:
[0062] Place the conditions with subsets at the end and process them independently to avoid interfering with the logical analysis of other conditions.
[0063] Sort by P, V, and E domain levels, that is, put the conditions of the P domain before the conditions of the V domain, and then put the conditions of the E domain after the conditions of the V domain;
[0064] Since the conditions of the P domain and V domain can only be grouped with one E domain condition, we adopted the method of comparing the number of hits of each E domain condition in the database to ensure that the conditions of the P domain and V domain match the E domain condition with the least number of hits, that is, the E domain condition with the least number of hits is selected and arranged after the conditions of the P domain and V domain to form a group. Through such pairing, we can not only ensure the accuracy of logic, but also effectively reduce the scope of search data and improve processing efficiency.
[0065] For example, if the initially formed condition group is: A and B and C and D and E and F andG or X not Y or Z; after grouping in step S21, it forms: (A and B and C and D and E and Fand G) or X not Y or Z; AND connection group: (A and B and C and D and E and F and G); wherein A contains a subset; B is P level, C is V level, E and D are E level dg, G and F are E level Ib (BDS structure), wherein D is the E dimension data that hits the minimum data, therefore (B and C and D) are put into the same group, and A is put at the end of the group, the adjusted AND connection group is (B and C and D) and E and F and G and A, therefore the adjusted condition group is ((B and C and D) and E and F and G and A) or X not Y or Z.
[0066] Step S3: Combine the adjusted condition groups, perform data query based on the combined condition groups, and combine the queried data.
[0067] In one embodiment, step S3 includes:
[0068] Combine the adjusted condition groups, and perform data query based on the combined condition groups;
[0069] The queried data is combined according to the order of the combined condition groups from front to back and from inside to outside, and combined with the connector and association key of the combined condition groups.
[0070] Specifically, based on the condition groups initially constructed, we accurately combine the adjusted condition groups according to the connectors between the groups. Subsequently, based on these combined condition groups, we construct the corresponding SQL query statements to efficiently execute data queries. After the query is completed, we orderly integrate the queried data according to the connectors of the combined condition groups and the order of condition arrangement to ensure that the data with the same association key can be correctly associated. In particular, when the condition group is limited to the same association key as patient id, we will ensure that the data is accurately associated according to patient id; when the association key limited to the same visit is visit id, the data will be associated according to visit id. In addition, if the condition group is limited to the association key of the same report, and the E domain condition mainly points to the same report, we will associate according to the report id; if the E domain condition does not point to the same report, we will associate according to the visit id to ensure the accuracy and completeness of the data. Through this processing method, we can effectively associate the query results according to actual needs, which facilitates subsequent data analysis and application.
[0071] In a specific embodiment, if the condition group contains a subset, the data is searched hierarchically according to the cascade method corresponding to the subset during the search, that is, the final data is calculated by combining the child from the bottom layer to the parent layer by layer. Specifically, if the condition group contains a subset, we will give special consideration to the cascade method corresponding to the subset when performing the search. Specifically, we will start from the bottom-level subset according to the hierarchical structure and combine it with the parent condition layer by layer. This hierarchical search method from the bottom to the outside can ensure that we gradually accumulate data during the search process and finally calculate the accurate combination result. Through such a cascade search, we can process the condition group containing subsets more efficiently and ensure the completeness and accuracy of the search results.
[0072] In one embodiment, we provide a series of natural language processing functions for data query results, including variable normalization, term matching, and hospital code comparison. These functions are designed to optimize the readability and accuracy of data and help users better understand and apply query results. In terms of variable normalization, we can standardize the variables in the query results to ensure that data from different sources and different formats can be uniformly represented. For example, for different age representation methods (such as full age, virtual age, etc.), we can normalize them into a unified age unit to facilitate subsequent data analysis and comparison. The term matching function can identify and replace non-standard terms in the query results and convert them into standard medical terms. This helps to eliminate term ambiguity and improve the accuracy and consistency of data. For example, for "congenital heart disease" that appears in the query results, we can automatically match it to "congenital heart disease" to ensure the standardization of the data. In addition, we also provide a hospital code comparison function, which can show the comparison between the original nouns in the hospital and the normalized nouns. This helps users understand the process and basis of noun conversion and increase the transparency and credibility of the data. By comparing the original nouns with the normalized nouns, users can more clearly understand the ins and outs of the data and better use the query results for subsequent work.
[0073] Step S4: Based on the selected observation indicators, the aggregation results are calculated according to the combined data, and displayed using the corresponding result display method.
[0074] In one embodiment, step S4 includes:
[0075] Get the selected observation indicators and the corresponding aggregation methods for each observation indicator; specifically, users can select the indicators of interest involved in the searched data. It is also necessary to select an aggregation method for each observation indicator, such as sum, average, maximum, minimum, count, etc. The specific implementation method can be: provide a user interface to list all available observation indicators for users to choose, such as Figure 4 For each observed indicator, a drop-down list or selection box is provided, listing the available aggregation methods for users to choose, such as Figure 5 .
[0076] Based on the selected observation indicators, the data corresponding to each observation indicator is obtained from the combined data, and the data of each observation indicator is aggregated using the corresponding aggregation method to obtain the aggregation result of each observation indicator.
[0077] Based on the selected result display method, the aggregation results of each observation indicator are spliced and displayed using the corresponding result display method; specifically, according to the result display method selected by the user, the aggregation results of each observation indicator are spliced and displayed in the way the user expects.
[0078] In one embodiment, the step of splicing the aggregated results of each observation indicator based on the selected result display mode to display the results in the corresponding result display mode includes:
[0079] If the selected result display mode is patient mode, the aggregation results of each observation indicator are spliced row by row according to the patient ID, so that each patient corresponds to a row of data, such as Figure 6 ;
[0080] If the selected result display mode is the medical consultation mode, the aggregation results of each observation indicator are spliced row by row according to the medical consultation id, so that each medical consultation corresponds to a row of data, such as Figure 7 .
[0081] In one embodiment, events can be edited in advance as specially set conditions for searching, thereby supporting the retrieval of term variables and term value ranges. Non-event searches can also be performed for term variables and term value ranges, such as searching for data on diagnostic standard terms, congenital heart disease, or directly searching for blood white blood cell counts greater than 5, such as Figure 8 Here, congenital heart disease is used as the search value domain, and white blood cell count is used as an indicator of the test index to become a variable for search.
[0082] Similar to the principle of the above embodiment, the present invention provides a multi-dimensional search and viewing system for medical data.
[0083] The following provides specific embodiments in conjunction with the accompanying drawings:
[0084] like Fig. 9 A structural schematic diagram of a medical data multi-dimensional search and viewing system in an embodiment of the present invention is shown.
[0085] The system comprises:
[0086] The condition group preliminary composition module 1 is used to preliminarily compose a plurality of condition groups according to different set conditions; wherein the conditions of each condition group are connected by a connector, and the conditions of each condition group use the same association key;
[0087] A grouping and sequence adjustment module 2, connected to the condition group preliminary composition module 1, is used to group and sequence-adjust the conditions in each condition group based on the connectors between the conditions in each condition group and the PVE domain of the conditions to form an adjusted condition group;
[0088] A data query module 3, connected to the grouping and sequence adjustment module 2, is used to combine the adjusted condition groups, perform data query based on the combined condition groups, and combine the queried data;
[0089] The data display module 4 is connected to the data query module 3 and is used to calculate the aggregation result according to the combined data based on the selected observation indicators and display it in a corresponding result display mode.
[0090] It should be understood that Figure 8 The division of each module in the system embodiment is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or physically separated. And these units can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some units can also be implemented in the form of processing elements calling software, and some units can be implemented in the form of hardware.
[0091] Since the implementation principle of the medical data multi-dimensional search and viewing system has been described in the aforementioned embodiments, it will not be repeated here.
[0092] The medical data multi-dimensional search and viewing method provided in the embodiment of the present invention can be implemented on the terminal side or the server side. As for the hardware structure of the medical data multi-dimensional search and viewing terminal, please refer to Fig.10 , which is an optional hardware structure diagram of a terminal 1000 for multi-dimensional search and viewing of medical data provided in an embodiment of the present invention. The terminal 1000 may be a mobile phone, a computer device, a tablet device, a personal digital processing device, a factory background processing device, etc. The terminal 1000 includes: at least one processor 1001, a memory 1002, at least one network interface 10010 and a user interface 1009. The various components in the device are coupled together through a bus system 1005. It can be understood that the bus system 1005 is used to realize connection and communication between these components. In addition to the data bus, the bus system 1005 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, in Fig.10 In the specification, various buses are labeled as bus systems.
[0093] The user interface 1009 may include a display, a keyboard, a mouse, a trackball, a click gun, keys, buttons, a touch pad or a touch screen.
[0094] It is understood that the memory 1002 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), which is used as an external cache. By way of exemplary but not limiting explanation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM). The memory described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable categories of memory.
[0095] The memory 1002 in the embodiment of the present invention is used to store various categories of data to support the operation of the terminal 1000. Examples of these data include: any executable program for operating on the terminal 1000, such as an operating system 10021 and an application 10022; the operating system 10021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 10022 may include various applications, such as a media player (MediaPlayer), a browser (Browser), etc., for implementing various application services. The multi-dimensional search and viewing method for medical data provided in the embodiment of the present invention may be included in the application 10022.
[0096] The method disclosed in the above embodiment of the present invention can be applied to the processor 1001, or implemented by the processor 1001. The processor 1001 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 1001 or the instruction in the form of software. The above processor 1001 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 1001 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor 1001 can be a microprocessor or any conventional processor, etc. In combination with the steps of the accessory optimization method provided in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0097] In an exemplary embodiment, the terminal 1000 may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD) to execute the aforementioned method.
[0098] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
[0099] In the embodiments provided in the present application, the computer readable and writable storage medium may include a read-only memory, a random access memory, an EEPROM, a CD-ROM or other optical disk storage device, a disk storage device or other magnetic storage device, a flash memory, a USB flash drive, a mobile hard disk, or any other medium that can be used to store the desired program code in the form of an instruction or data structure and can be accessed by a computer. In addition, any connection can be appropriately referred to as a computer-readable medium. For example, if the instruction is sent from a website, a server or other remote source using a coaxial cable, an optical fiber cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves, the coaxial cable, optical fiber cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the definition of the medium. However, it should be understood that computer readable and writable storage media and data storage media do not include connections, carriers, signals, or other temporary media, but are intended to be non-temporary, tangible storage media. Disk and disc, as used in this application, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
[0100] In summary, the multi-dimensional search and viewing method, system and terminal of the medical data of the present invention preliminarily form a plurality of condition groups according to different set conditions, and based on the connectors between the conditions in each condition group preliminarily formed and the PVE domain of the conditions, the conditions in each condition group are grouped and adjusted in order to form an adjusted condition group, and then the adjusted condition groups are combined, and data query is performed based on the combined condition groups, and the queried data is combined, based on the selected observation indicators, the aggregation results are calculated according to the combined data, and the corresponding result display method is used for display. The present invention can arbitrarily combine conditions in multiple dimensions, and these combined conditions can accurately and quickly retrieve the corresponding data, and the user can select and pay attention to the desired indicators, and can select the aggregation method for the selected variables to pay attention to, which can accurately hit the data range required by the scientific researchers, and provide accurate data basis support for the scientific researchers to do subsequent research. Therefore, the present invention effectively overcomes the various shortcomings in the prior art and has a high industrial utilization value.
[0101] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A multi-dimensional search and viewing method for medical data, characterized in that: The method comprises: According to the different conditions set, multiple condition groups are initially formed; wherein the conditions of each condition group are connected by connectors, and the conditions of each condition group use the same association key; Based on the connectors between the conditions in each condition group initially formed and the PVE domain of the conditions, the conditions in each condition group are grouped and the order is adjusted to form an adjusted condition group; wherein the PVE domain includes: a P domain representing the patient dimension, a V domain representing the medical consultation dimension, and an E domain representing the event dimension; The adjusted condition groups are combined, and data is queried based on the combined condition groups, and the queried data is combined; Based on the selected observation indicators, the aggregate results are calculated according to the combined data and displayed in the corresponding result display method; Wherein, the preliminarily forming a plurality of condition groups according to the different conditions set includes: preliminarily forming a plurality of condition groups by setting the arrangement order of different conditions in each condition group, the connectors between the conditions of each condition group, the association keys used by the conditions of each condition group, the event time offset of each condition group and the connectors between the condition groups; wherein the types of the connectors include: AND connectors and non-AND connectors; the non-AND connectors include: OR and NOT; the types of the association keys include: patient id, visit id and report id; The method of grouping and sequentially adjusting the conditions in each condition group based on the connectors between the conditions in each condition group and the PVE domain of the conditions to form an adjusted condition group includes: grouping the conditions in each condition group initially formed from front to back according to the arrangement order using non-AND connectors to obtain one or more AND connection groups; wherein the conditions in each AND connection group containing multiple conditions are connected by AND connectors; based on the PVE domain of the conditions, grouping and sequentially adjusting the conditions of each AND connection group in each condition group to obtain adjusted AND connection groups of each condition group; and combining the adjusted AND connection groups based on the non-AND connectors of each condition group initially formed to obtain an adjusted condition group.
2. The multi-dimensional search and viewing method for medical data according to claim 1, characterized in that: The condition-based PVE domain groups and sequentially adjusts the conditions of each AND connection group in each condition group to obtain the adjusted AND connection groups of each condition group, including: For each AND connection group, the conditions are sorted according to the PVE domain, and the conditions in the PV domain are grouped together with the E domain conditions with the smallest number of hits to form an adjusted AND connection group.
3. The multi-dimensional search and viewing method for medical data according to claim 1, characterized in that: The step of combining the adjusted condition groups, performing data query based on the combined condition groups, and combining the queried data includes: Combine the adjusted condition groups, and perform data query based on the combined condition groups; The queried data is combined according to the order of the combined condition groups from front to back and from inside to outside, and combined with the connector and association key of the combined condition groups.
4. The multi-dimensional search and viewing method for medical data according to claim 1, characterized in that: The calculation of the aggregated result based on the selected observation index and the display in the corresponding result display mode includes: Get the selected observation indicators and the aggregation methods corresponding to each observation indicator; Based on the selected observation indicators, the data corresponding to each observation indicator is obtained from the combined data, and the data of each observation indicator is aggregated using the corresponding aggregation method to obtain the aggregation result of each observation indicator; Based on the selected result display method, the aggregation results of each observation indicator are spliced and displayed using the corresponding result display method.
5. The method for multi-dimensional search and viewing of medical data according to claim 4, characterized in that: The selected result display method is based on which the aggregation results of each observation indicator are spliced to display the corresponding result display method, including: If the selected result display mode is patient mode, the aggregation results of each observation indicator will be spliced row by row according to the patient ID, so that each patient corresponds to a row of data; If the selected result display mode is the medical consultation mode, the aggregation results of each observation indicator will be spliced row by row according to the medical consultation id, so that each medical consultation corresponds to a row of data.
6. The multi-dimensional search and viewing method for medical data according to claim 1, characterized in that: If multiple condition groups are initially formed to include subsets, the subsets are placed at the last position of the corresponding grouping during adjustment, and data is searched hierarchically according to the cascade method corresponding to the subsets during search.
7. A multi-dimensional search and viewing system for medical data, characterized in that: The system comprises: The condition group preliminary composition module is used to preliminarily form multiple condition groups according to different set conditions; wherein the conditions of each condition group are connected by connectors, and the conditions of each condition group use the same association key; A grouping and sequence adjustment module, connected to the condition group preliminary composition module, is used to group and sequence-adjust the conditions in each condition group based on the connectors between the conditions in each condition group and the PVE domain of the conditions to form an adjusted condition group; wherein the PVE domain includes: a P domain representing the patient dimension, a V domain representing the medical consultation dimension, and an E domain representing the event dimension; A data query module, connected to the grouping and sequence adjustment module, is used to combine the adjusted condition groups, perform data query based on the combined condition groups, and combine the queried data; A data display module, connected to the data query module, is used to calculate the aggregation result based on the selected observation indicators and the combined data, and display it in a corresponding result display mode; Wherein, the preliminarily forming a plurality of condition groups according to the different conditions set includes: preliminarily forming a plurality of condition groups by setting the arrangement order of different conditions in each condition group, the connectors between the conditions of each condition group, the association keys used by the conditions of each condition group, the event time offset of each condition group and the connectors between the condition groups; wherein the types of the connectors include: AND connectors and non-AND connectors; the non-AND connectors include: OR and NOT; the types of the association keys include: patient id, visit id and report id; The method of grouping and sequentially adjusting the conditions in each condition group based on the connectors between the conditions in each condition group and the PVE domain of the conditions to form an adjusted condition group includes: grouping the conditions in each condition group initially formed from front to back according to the arrangement order using non-AND connectors to obtain one or more AND connection groups; wherein the conditions in each AND connection group containing multiple conditions are connected by AND connectors; based on the PVE domain of the conditions, grouping and sequentially adjusting the conditions of each AND connection group in each condition group to obtain adjusted AND connection groups of each condition group; and combining the adjusted AND connection groups based on the non-AND connectors of each condition group initially formed to obtain an adjusted condition group.
8. A multi-dimensional search and viewing terminal for medical data, characterized in that: include: one or more memories and one or more processors; The one or more memories are used to store computer programs; The one or more processors, connected to the memory, are configured to run the computer program to perform the method according to any one of claims 1 to 6.
