Medical data processing method and device, storage medium and electronic equipment
By providing users with a visual rule setting interface, allowing them to customize medical data processing rules, the complexity and redundancy of data processing in medical research are solved, achieving efficient and simplified data processing and improved data availability.
Patent Information
- Application Number
- CN202211188851.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-27
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2042-09-27
AI Technical Summary
Existing technologies cannot meet the customized data type requirements of different disease areas and research directions in medical research, resulting in high data processing complexity, a lot of redundant data, large user misunderstandings, and a lack of intuitive data processing logic transparency.
This paper provides a medical data processing method that allows users to customize data processing rules, generate target rules, and process medical data through a visual rule setting interface, thereby simplifying the data processing process and reducing redundancy.
It simplifies the complexity of medical data processing, improves data production efficiency, reduces redundant data, enhances data availability, and avoids the use of complex programming languages.
Smart Images

Figure CN115602275B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of data preprocessing, in particular, to a medical data processing method, a medical data processing device, a computer readable storage medium and an electronic device. BACKGROUND
[0002] Data preprocessing defines that the data extracted from the database is processed again by the rules set by the user to meet the needs of statistics or other data analysis. In recent years, medical research has more customized processing needs for hospital raw data. According to different disease fields and research directions, different requirements are required for the data type of the index.
[0003] Existing big data processing manufacturers meet most of the data needs of users by depositing data. After data access, a unified data processing rule is used to process data to obtain data common to all users. However, data in the medical field has different research focuses in different disciplines, and even the same data has different requirements for data use. Therefore, conventional data production cannot meet the different needs of different users in different scenarios, and users also need to process the data twice. In addition, the background data processing logic is not directly transparent to the user, and the user may have understanding bias when using it. Users will prefer to use raw data, which will result in wasted processing when producing data.
[0004] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present disclosure, and therefore can include information that does not constitute prior art known to those of ordinary skill in the art. SUMMARY
[0005] The purpose of the present disclosure is to provide a medical data processing method, a medical data processing device, a computer readable storage medium and an electronic device, which can at least to some extent customize data processing rules, simplify data processing complexity, reduce the need for a large amount of data processing logic when producing data, and reduce redundant data.
[0006] According to one aspect of the present disclosure, a medical data processing method is provided, comprising:
[0007] In response to a trigger operation of adding a control to a rule corresponding to a target field, a rule setting template is displayed in a display interface;
[0008] Receiving custom rule information, adding the custom rule information to the rule setting template to generate a target rule corresponding to the target field;
[0009] In response to a triggering operation on the data processing control, display updated data generated by processing medical data corresponding to the target field according to the target rule.
[0010] According to an aspect of the present disclosure, a medical data processing apparatus is provided, comprising:
[0011] A template display module is configured to display a rule setting template in a display interface in response to a triggering operation on a rule adding control corresponding to a target field.
[0012] A rule generation module is configured to receive custom rule information and add the custom rule information to the rule setting template to generate a target rule corresponding to the target field.
[0013] A data update module is configured to display updated data generated by processing medical data corresponding to the target field according to the target rule in response to a triggering operation on a data processing control.
[0014] In exemplary embodiments of the present disclosure, the medical data processing apparatus is further configured to:
[0015] Before displaying the rule setting template in the display interface, obtain a data type corresponding to the target field and a data processing type corresponding to the data type.
[0016] Display a template selection interface generated according to the data processing type, wherein the template selection interface includes a rule setting template corresponding to the data processing type.
[0017] In exemplary embodiments of the present disclosure, when the data type is a continuous variable, the data processing type includes value range replacement and value range segmentation; when the data type is a discrete variable, the data processing type includes value range replacement and value range coding.
[0018] In exemplary embodiments of the present disclosure, the template display module is configured to:
[0019] In response to a triggering operation on an activation control corresponding to a target data processing type in the template selection interface, display a rule setting template corresponding to the target data processing type.
[0020] In exemplary embodiments of the present disclosure, the target data processing type is the value range replacement; and the rule generation module is configured to:
[0021] Receive a custom replacement condition and replacement content and add the replacement condition and the replacement content to the rule setting template to generate the target rule.
[0022] The replacement content includes first replacement content when the replacement condition is met and second replacement content when the replacement condition is not met, and the first replacement content is different from the second replacement content.
[0023] The replacement condition corresponding to the missing data is received and added to the rule setting template.
[0024] In response to a trigger operation on the target operation type control, replacement content corresponding to the replacement condition is generated and added to the rule setting template to generate the target rule.
[0025] In the example embodiments of the present application, the second replacement content includes a reserved original value and a uniform replacement value.
[0026] In the example embodiments of the present application, the target data processing type is the value range encoding, and the rule generation module is configured to:
[0027] The encoding condition and the encoding content are received and added to the rule setting template to generate the target rule.
[0028] In the example embodiments of the present application, the target data processing type is the value range segmentation, and the rule generation module is configured to:
[0029] The number of segments and the segment conditions corresponding to each segment are received and added to the rule setting template to generate the target rule.
[0030] In the example embodiments of the present application, the medical data processing device is further configured to:
[0031] After the target rule is generated, in response to a trigger operation on a rule confirmation control, an information display page containing the target rule is displayed in the display interface.
[0032] In the example embodiments of the present application, the medical data processing device is further configured to:
[0033] After the update data generated by processing the medical data corresponding to the target field according to the target rule is displayed, in response to a trigger operation on a post-processing control, the update data is post-processed.
[0034] According to one aspect of the present disclosure, a computer readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the medical data processing method described above is implemented.
[0035] According to one aspect of the present disclosure, an electronic device is provided, comprising:
[0036] a processor; and
[0037] a memory for storing executable instructions of the processor;
[0038] wherein the processor is configured to perform the medical data processing method according to any one of the above by executing the executable instructions.
[0039] The medical data processing method in the present disclosure displays a rule setting template in a display interface in response to a triggering operation of adding a control for a target field corresponding rule; adds custom rule information to the rule setting template to generate a target rule corresponding to the target field after receiving the custom rule information; and displays updated data generated by processing medical data corresponding to the target field according to the target rule in response to a triggering operation of a data processing control. On one hand, the present disclosure provides a visual rule setting interface for users, so that users can set data processing rules related to medical data according to research needs, even if it is the same medical data, different processing rules can be set, which simplifies the complexity of medical data processing and improves the efficiency of medical data production. On the other hand, the present disclosure can reduce a large amount of data processing logic required when producing medical data, reduce redundant data, and improve the usability of medical data. On the other hand, the present disclosure can avoid setting rules by using complex programming languages, and only needs to perform simple rule editing on the visual rule setting interface, which greatly simplifies the complexity of medical data processing.
[0040] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and are not limiting to the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0041] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.
[0042] Figure 1 The structure schematic diagram of the system architecture applying the data processing method in the embodiments of the present application is schematically shown.
[0043] Figure 2 The flowchart example diagram of the data processing method in the embodiments of the present application is schematically shown.
[0044] Figures 3A-3BThe diagram illustrates the interface of medical data in an embodiment of this application.
[0045] Figure 4 The diagram illustrates the template selection interface in an embodiment of this application.
[0046] Figure 5 The diagram illustrates the interface of the rule setting template corresponding to the value range encoding in the embodiments of this application.
[0047] Figure 6 The diagram illustrates the interface of the rule setting template corresponding to the value range segmentation in this embodiment of the application.
[0048] Figure 7 The illustration shows a schematic diagram of the interface of the rule setting template corresponding to the value domain replacement in an embodiment of this application.
[0049] Figure 8 The illustration shows a schematic diagram of the interface of another rule setting template for value domain replacement in an embodiment of this application.
[0050] Figure 9 This illustration schematically shows an embodiment based on... Figure 5 The diagram shows the interface for generating rules from the rule setting template.
[0051] Figure 10 This illustration schematically shows an embodiment based on... Figure 6 The diagram shows the interface for generating rules from the rule setting template.
[0052] Figure 11 This illustration schematically shows an embodiment based on... Figure 7 The diagram shows the interface for generating rules from the rule setting template.
[0053] Figure 12 This illustration schematically shows an embodiment based on... Figure 8 The diagram shows the interface for generating rules from the rule setting template.
[0054] Figure 13 The illustration shows a schematic diagram of an interface containing updated medical data in an embodiment of this application.
[0055] Figure 14 The schematic diagram illustrates the structure of the data processing apparatus in an embodiment of this application.
[0056] Figure 15 A schematic diagram of a computer system architecture suitable for implementing the embodiments of this application is shown. Detailed Implementation
[0057] Example implementations will now be described more fully with reference to the accompanying drawings. Example implementations can be implemented in any number of manners, and are not limited to the examples described herein; rather, examples are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example implementations to those skilled in the art. Described features, structures, or characteristics can be combined in any suitable manner in one or more implementations. In the following description, numerous specific details are provided to give a thorough understanding of implementations of the disclosure. One skilled in the relevant art will recognize, however, that the aspects of the disclosure can be practiced without one or more of the specific details, or with other methods, components, materials, and so forth. In other instances, well-known structures have not been described in detail so as not to obscure aspects of the disclosure.
[0058] Furthermore, the accompanying drawings are merely schematic and are not necessarily drawn to scale. Like reference numerals in the drawings designate like parts, and thus repeated description thereof will be omitted. Some of the block diagrams in the drawings are functional entities that do not necessarily have to correspond to physically or logically independent entities. These functional entities can be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0059] In the related art of the field, data preprocessing is basically through a big data processing manufacturer to deposit most of the user's data needs, after data access, using unified data processing rules to process data, and obtaining data that is common to all users. However, in the field of medical research, users have more customized processing needs for raw medical data, and different requirements for data types of indicators according to different disease fields and research directions. For data that has been processed, some users still cannot use it directly and need to process it again. In addition, the existing data processing is carried out by the data processing manufacturer according to the established rules, and the user does not know the specific data processing rules, which may cause understanding deviation when using the data, and the actual situation is different from the expected situation, thereby causing the user to prefer to use the original data, so that there is too much redundant data in data processing.
[0060] To solve the problems in the related art, a medical data processing method is provided in the example implementation. Before the medical data processing method of the present application is described in detail, the system architecture applying the medical data processing method of the present application is first described.
[0061] Figure 1 An example system architecture block diagram applying the technical solution of the present application is schematically shown.
[0062] AsFigure 1 As shown in the figure, the system architecture 100 can include a terminal device 101, a server 102 and a network 103. Among them, the terminal device 101 can include various electronic devices with display screens such as smart phones, tablets, notebooks, desktop computers, smart televisions, smart vehicle terminals, etc. The server 102 can be a standalone physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The network 103 can be various connection types of communication media capable of providing communication links between the terminal device 101 and the server 102, such as wired communication links or wireless communication links.
[0063] In the exemplary embodiments of the present application, the terminal device 101 can send the original medical data extracted by the user to the server 102 through the network 103, and the user can interact with the terminal device 101 to set the corresponding data processing rules for the medical data that needs to be processed, and send the data processing rules to the server 102 through the network 103. After receiving the data processing rules, the server 102 can process the original medical data that needs to be processed according to the data processing rules, generate the medical data required by the user, and feed back the processed medical data to the terminal device 101 for display, so that the user can use the processed medical data to carry out related business.
[0064] Of course, the medical data processing method in the embodiments of the present application can also be executed by the terminal device 101, which receives the user-defined data processing rules after receiving the user-selected medical data that needs to be processed, and processes the medical data that needs to be processed according to the data processing rules to obtain the medical data required by the user.
[0065] According to the implementation needs, the system architecture in the embodiments of the present application can have any number of terminal devices, networks and servers. For example, the server can be a server group composed of multiple server devices.
[0066] The technical solutions of the medical data processing method, medical data processing device, computer readable medium and electronic device provided by the present application will be described in detail below in conjunction with the specific embodiments.
[0067] Figure 2 The flowchart of the medical data processing method is schematically shown as Figure 2 As shown in the figure, the medical data processing method can include the following steps:
[0068] Step S210. In response to the triggering operation of adding a control to the rule corresponding to the target field, display the rule setting template in the display interface;
[0069] Step S220. Receiving custom rule information, adding the custom rule information into the rule setting template to generate a target rule corresponding to the target field;
[0070] Step S230. In response to a triggering operation of performing a data processing control, displaying updated data generated by processing medical data corresponding to the target field according to the target rule.
[0071] The present disclosure, on one hand, provides a visual rule setting interface for users, so that users can set processing rules of medical data according to research needs, i.e., even the same medical data can be set with different processing rules, which simplifies the complexity of medical data processing and improves the efficiency of medical data production; on the other hand, it can reduce a large amount of data processing logic required for producing medical data, reduce redundant data, and improve the availability of medical data; and on the other hand, it can avoid setting rules by using complex programming languages, but only needs to perform simple rule editing on the visual rule setting interface, which greatly simplifies the complexity of medical data processing.
[0072] Next, each step of the medical data processing method of the present disclosure will be described:
[0073] In step S210, in response to a triggering operation of a rule adding control corresponding to a target field, a rule setting template is displayed in a display interface.
[0074] In the exemplary embodiments of the present disclosure, a user extracts required medical data from a data source according to actual needs, and then can customize rules for the extracted medical data and process the extracted medical data according to the custom rules to generate medical data meeting user needs, and uses the medical data for corresponding data analysis and scientific research.
[0075] In the exemplary embodiments of the present disclosure, medical data refers to data information in medical records generated in the process of patients seeking medical treatment, which can specifically include outpatient medical data, examination and testing medical data, surgical medical data, etc. Since the symptoms of each patient are different, the examinations and tests performed are also different, so the volume of medical data stored in the database is quite large, and there are different emphases in medical scientific research. Therefore, when extracting medical data, part or all of the medical data of patients can be extracted according to disease types for scientific research, and medical data can also be extracted according to patient identification information, such as extracting all medical data of patient A, patient B and patient C, and of course data extraction can also be performed according to other dimensions, which is not limited in the embodiments of the present disclosure.
[0076] In the example embodiments of the present disclosure, since the extracted medical data covers different fields, such as patient gender, patient hospitalization number, patient examination name, patient examination result, and the like, after the required medical data is extracted, all the medical data can be displayed in the display interface, and the medical data is grouped and displayed according to the corresponding fields. Figures 3A-3B An interface diagram of medical data is schematically shown, as shown in Figure 3A As shown, in response to the triggering operation of the "research object" control by the user, all the medical data extracted by the user is displayed in the display interface, including patient gender, birth date, hospitalization number, examination name, pathological findings, and the like, and the filling rate corresponding to each index is also displayed, that is, the ratio of the assigned index quantity to the total number of the index, and the filling rate can be used to determine whether to use the corresponding index, when the filling rate is lower than the preset value, the specific index of the corresponding category can be abandoned, or all the data of the patient corresponding to the index of the category can be abandoned, wherein the preset value can be set according to actual needs, and the embodiments of the present application do not make specific limitations thereto; in order to process the selected medical data, the triggering operation of the "data processing" control by the user can be responded to, so as to display the interface generated after the data is classified according to the field in the display interface, as shown in Figure 3B As shown, the total number of indexes, the number of continuous indexes, the number of discrete indexes, the number of date indexes, the update time, the names of various indexes, the index data overview corresponding to various indexes, the filling rate of various indexes, and the rule adding control corresponding to various indexes are displayed in the interface.
[0077] In the example embodiments of the present disclosure, in response to the triggering operation of the rule adding control corresponding to the target field by the user, the corresponding rule setting template can be displayed in the display interface, and the self-defined rule setting can be realized based on the rule setting template, and then the update data processed according to the self-defined rule can be obtained. Before the corresponding rule setting template is displayed in the display interface, the data type corresponding to the target field and the data processing type corresponding to the data type can be obtained, and then the template selection interface generated according to the data processing type is displayed, and the rule setting template corresponding to the data processing type is included in the template selection interface.
[0078] In the example embodiments of the present application, the data types corresponding to different index fields are classified into two categories, continuous type and discrete type, for example, gender, age, hospitalization number, etc. are discrete indexes, and tumor diameter is a continuous index. For discrete indexes and continuous indexes, the corresponding data processing types are different. When the index is a discrete index, the data processing types include value domain replacement and value domain coding. When the index is a continuous index, the data processing types include value domain segmentation and value domain replacement. The value domain replacement is to replace the missing data with average number, standard deviation, etc., and to replace the text that does not meet the research standard. The value domain segmentation is to convert the continuous variable into a discrete variable. The value domain coding is to code the classification variable, for example, coding gender male as 1 and coding gender female as 0, etc.
[0079] In the example embodiments of the present application, the rule setting templates are different corresponding to different data processing types. When the target field is selected, the rule adding control corresponding to the target field can be triggered to display the template selection interface corresponding to the data type of the target field in the display interface, as shown in Figure 4 The selected target field is "pathological conclusion", which is a discrete field. The corresponding data processing types include value domain coding and value domain replacement. Accordingly, the value domain coding and value domain replacement are displayed in the template selection interface. The user can trigger the activation control corresponding to the value domain coding or value domain replacement to activate the corresponding rule setting template and display in the display interface. When the selected target field is a continuous field, the value domain replacement and value domain segmentation are displayed in the template selection interface. The user can trigger the activation control corresponding to any one of the two options to activate the corresponding rule setting template and display in the display interface.
[0080] Figures 5-8 The interface diagrams of the rule setting templates corresponding to different data processing types are respectively shown. Specifically:
[0081] Figure 5 The interface diagram of the rule setting template corresponding to the value domain coding is schematically shown, as shown in Figure 5 The rule setting template corresponding to the value domain coding includes a condition setting area 501 and a coding setting area 502. The coding setting area 502 is divided into two parts 502-1 and 502-2. The area 502-1 is an area for setting the coding corresponding to the condition being met, and the area 502-2 is an area for setting the coding corresponding to the condition not being met. The rule setting template corresponding to the value domain coding can include multiple condition setting areas and coding setting areas, as shown in Figure 5As shown in the figure, the rule setting template further includes a condition setting area 503 and an encoding setting area 504, the encoding setting area 504 including an encoding setting area 504-1 when the condition is met and an encoding setting area 504-2 when the condition is not met.
[0082] Figure 6 An interface diagram of a rule setting template corresponding to value range segmentation is shown schematically as follows: Figure 6 As shown in the figure, the rule setting template corresponding to value range segmentation includes a segmentation number setting area 601 and a segmentation condition setting area 602, wherein the segmentation number setting area 601 can be adjusted by a numerical adjustment control 604 provided to the right of a segmentation number setting box 603, and of course the desired segmentation number can also be input by an input device, and the segmentation condition setting area 602 is used to set the segment name and index value interval of each value range segment after segmentation.
[0083] Figure 7 An interface diagram of a rule setting template corresponding to value range replacement is shown schematically as follows: Figure 7 As shown in the figure, the rule setting template corresponding to value range replacement includes a condition setting area 701 and a replacement value setting area 702, wherein the replacement value setting area 702 includes a replacement value setting area 702-1 corresponding to the condition set in the condition setting area 701 and a replacement value setting area 702-2 corresponding to the condition not set in the condition setting area 701.
[0084] Figure 8 An interface diagram of another rule setting template corresponding to value range replacement is shown schematically as follows: Figure 8 As shown in the figure, the rule setting template corresponding to value range replacement includes a condition setting area 801 and a replacement value setting area 802, wherein the replacement value setting area 802 includes a replacement value setting area 802-1 corresponding to the replacement condition set in the condition setting area 801 and a replacement value setting area 802-2 corresponding to the replacement condition not set in the condition setting area 801, and the replacement value setting area 802-1 is provided with a method option for generating replacement values, such as average, standard deviation, etc., and after the specific method for generating replacement values is selected and the replacement value setting for the replacement condition not met is completed in the replacement value setting area 802, the replacement values can be generated according to the set method for generating replacement values and the missing data can be replaced. For example, when the average is used to replace the missing data, the average of all data corresponding to the target field can be calculated and the average is used to replace the missing data, when the standard deviation is used to replace the missing data, the standard deviation of all data corresponding to the target field can be calculated and the standard deviation is used to replace the missing data, etc.
[0085] In the example embodiments of the present disclosure, in order to ensure high availability of medical data, the medical data can be preprocessed after being acquired, for example, the medical data can be cleaned to remove outliers, repeated values and the like, and other preprocessing operations can also be performed, which will not be described herein.
[0086] In step S220, custom rule information is received, and the custom rule information is added to the rule setting template to generate a target rule corresponding to the target field.
[0087] In the example embodiments of the present disclosure, after displaying the rule setting template in the display interface, custom rule information submitted by a user according to the rule setting template can be received, and then the custom rule information is added to the rule setting template to generate a target rule corresponding to the target field. For different data processing types, the custom rule information is different, and accordingly, the logic of generating the target rule is also different.
[0088] When the data processing type is value range coding, the custom coding condition and coding content can be received, and the coding condition and coding content are added to the rule setting template to generate the target rule.
[0089] Continuing with the rule setting template of Figure 5 , Figure 9 schematically shows the interface diagram of generating a rule based on the rule setting template shown in Figure 5 , as shown in Figure 9 , the target field is gender, the user can set the coding condition as gender containing male in the condition setting area 501, set the coding content as 1 in the coding setting area 502-1 for the data satisfying the coding condition, and set the coding content as "keep original value" in the coding setting area 502-2 for the data not satisfying the coding condition. Meanwhile, the user can set the coding condition as gender containing female in the condition setting area 503, set the coding content as 0 in the coding setting area 504-1 for the data satisfying the coding condition, and set the coding content as "keep original value" in the coding setting area 504-2 for the data not satisfying the coding condition.
[0090] It is worth noting that when the coding condition only contains two cases, only the condition setting area 501 and the coding setting area 502 can be set, and the rule as described above can also be implemented. Specifically, the data not satisfying the condition in the coding setting area 502 can be uniformly replaced with "0", so that when the gender is female, the value is 0, and the setting of the condition setting area 503 and the coding setting area 504 can be omitted.
[0091] When the data processing type is value range segmentation, it can receive a custom number of segments and segmentation conditions corresponding to each segment, and then add the number of segments and segmentation conditions to the rule setting template to generate the target rule.
[0092] Figure 10 Schematic illustration based on Figure 6 The diagram shown illustrates the interface for generating rules from a rule setting template. Figure 10 As shown, users can input the number of segments (2) in the segment number setting area 601 using a numerical adjustment control or input device, and input the segment name and index value range corresponding to each segment in the segment condition setting area 602. For example, if the target field is "maximum tumor diameter", the continuous index can be converted into a discrete index with a diameter of 2cm. Accordingly, the segment name of the interval between the minimum value and 2cm of the maximum tumor diameter is set to "low value", and the segment name of the interval between the maximum tumor diameter and the maximum value is set to "high value".
[0093] It is worth noting that the number of condition setting rows consisting of segment names and index value ranges contained in the segment condition setting area 602 is the same as the number of segments set by the user. When the number of segments set by the user is 5, the segment condition setting area 602 contains 5 condition setting rows, and so on.
[0094] When the data processing type is value domain replacement, it can receive custom replacement conditions and replacement content, and then add the replacement conditions and replacement content to the rule setting template to generate the target rule; wherein, the replacement content includes the first replacement content when the replacement conditions are met and the second replacement content when the replacement conditions are not met, and the first replacement content is different from the second replacement content.
[0095] Figure 11 Schematic illustration based on Figure 7 The diagram shown illustrates the interface for generating rules from a rule setting template. Figure 11 As shown, users can set the replacement condition to "pathological conclusion contains 'gland'" in the condition setting area 701, and set the first replacement content in the replacement value setting area 702-1 that meets the replacement condition as follows: when the pathological conclusion contains "gland", replace "gland" with "adenocarcinoma". In the replacement value setting area 702-2 that does not meet the condition, set the second replacement content as follows: when the pathological conclusion does not contain "gland", uniformly replace "gland" with "non-adenocarcinoma".
[0096] In the example embodiments of the present disclosure, the value range replacement can replace not only text but also numerical values, for example, replacing missing data with an average, a standard deviation, or other types of numerical replacement, which are not specifically limited in the embodiments of the present disclosure. When generating a rule for replacing missing data by value range, first, a custom replacement condition corresponding to the missing data is received, and the replacement condition is added to the rule setting template; then, in response to a triggering operation on the target operation type control, replacement content corresponding to the replacement condition is generated, and the replacement content is added to the rule setting template to generate the target rule.
[0097] Taking an example of replacing missing data with an average, Figure 12 Fig. 4 schematically shows an interface diagram for generating a rule based on Figure 8 Fig. 5 schematically shows an interface diagram for generating a rule based on Figure 12 As shown in Fig. 5, in the condition setting area 801 of the rule setting template, the replacement condition is set as “blood pressure value contains NA”, in the replacement value setting area 802-1, the replacement value generation method when the replacement condition is met is set as “average”, and in the replacement value setting area 802-2, the replacement value generation method when the replacement condition is not met is set as “keep original value”. According to the replacement condition and the replacement value generation method defined by the user, a rule corresponding to the blood pressure value is formed, and then the missing data is replaced by calculating the average of all blood pressure values to achieve the supplement of the missing data.
[0098] In the example embodiments of the present disclosure, after the custom setting of the rule is completed, a triggering operation can be performed on the rule confirmation control in the rule setting interface. In response to the triggering operation, an information display page containing the target rule can be displayed in the display interface. Taking the interface diagram shown in Figure 12 as an example, the rule confirmation control is the “confirm” control set in the lower right corner of the rule setting interface, and of course the rule confirmation control can also be set at other positions of the rule setting interface, which is not specifically limited in the embodiments of the present disclosure. The information display page is similar to the interface diagram shown in Figure 3B The difference is that the rule content defined by the user is displayed above or below or at any other position of the rule addition control in Figure 3B , so that the user of the custom rule or other users using the data can clearly understand the processing rule corresponding to the processed data. Further, the information display page is also provided with a modification control, and the set rule can be modified by triggering the modification control.
[0099] In step S230, in response to the triggering operation on the data processing control, the updated data generated by processing the medical data corresponding to the target field according to the target rule is displayed.
[0100] In the example embodiments of the present disclosure, after the setting of the custom rule for the target field is completed, the "execute data processing" control in the information display page is switched from an inoperable state to an operable state, for example, the color of the control is changed from gray to blue, or the font is changed, etc. The user can trigger the "execute data processing" control to switch the interface to the "study object" interface, in which the updated data generated by processing the data corresponding to the target field according to the target rule is displayed, Figure 13 An interface diagram of medical data containing updated data is schematically shown, as shown in Figure 13 An updated gender column is added to the right of the gender column, in which the data of male is replaced by 1, and the data of female is not replaced.
[0101] In the example embodiments of the present disclosure, after the processing of the medical data corresponding to the target field according to the custom rule is completed, the generated updated data can be post-processed. Specifically, the updated data can be post-processed in response to the triggering operation of the post-processing control, and the post-processing can be exporting, storing, forwarding, etc.
[0102] In the example embodiments of the present disclosure, after the medical data is updated according to the data processing rule customized by the user, the updated data and the data processing rule corresponding to the updated data can be stored. When other users call the updated data, the corresponding data processing rule can be exposed to other users, which facilitates other users to understand the processing logic of the generated updated data. If the processing logic of the updated data is the same as the expected processing logic of other users, the updated data can be directly used or further processed to obtain the required data, which can improve the availability of medical data and avoid excessive processing when generating medical data.
[0103] In the above embodiments, the rule making and data processing method of medical data is described. It is worth noting that the medical data processing method in the embodiments of the present disclosure can also be applied to data processing in other fields. After extracting the original data, the user can customize the corresponding data processing rule according to actual needs, so that the system can process the original data according to the custom data processing rule to obtain the updated data required by the user.
[0104] The data processing method in the present disclosure displays a rule setting template in a display interface in response to a trigger operation of adding a control to a rule corresponding to a target field; adds custom rule information to the rule setting template to generate a target rule corresponding to the target field after receiving the custom rule information; and displays updated data generated by processing medical data corresponding to the target field according to the target rule in response to a trigger operation of a data processing control. The present disclosure provides a visual rule setting interface for users to set data processing rules related to medical data according to research needs, which simplifies the complexity of medical data processing and improves the efficiency of medical data production. Different processing rules can be set for the same medical data, which improves the usability of medical data. The present disclosure also avoids using complex programming languages for rule setting and only needs simple rule editing in the visual rule setting interface, which greatly simplifies the complexity of medical data processing.
[0105] The present disclosure also provides a medical data processing device. Figure 14 A structural schematic diagram of the medical data processing device is shown, as Figure 14 The medical data processing device can include a template display module 1410, a rule generation module 1420, and a data update module 1430. Wherein:
[0106] The template display module 1410 is configured to display a rule setting template in a display interface in response to a trigger operation of adding a control to a rule corresponding to a target field.
[0107] The rule generation module 1420 is configured to receive custom rule information and add the custom rule information to the rule setting template to generate a target rule corresponding to the target field.
[0108] The data update module 1430 is configured to display updated data generated by processing medical data corresponding to the target field according to the target rule in response to a trigger operation of a data processing control.
[0109] In the exemplary embodiments of the present application, the medical data processing device 1400 is further configured to:
[0110] Before displaying the rule setting template in the display interface, the data type corresponding to the target field and the data processing type corresponding to the data type are obtained.
[0111] A template selection interface generated according to the data processing type is displayed, and the template selection interface includes a rule setting template corresponding to the data processing type.
[0112] In an example embodiment of the present application, when the data type is a continuous variable, the data processing type includes value range replacement and value range segmentation; when the data type is a discrete variable, the data processing type includes value range replacement and value range coding.
[0113] In an example embodiment of the present application, the template display module 1410 is configured to:
[0114] In response to a triggering operation on an active control in the template selection interface corresponding to a target data processing type, a rule setting template corresponding to the target data processing type is displayed.
[0115] In an example embodiment of the present application, the target data processing type is the value range replacement; the rule generation module 1420 is configured to:
[0116] receive a custom replacement condition and replacement content, and add the replacement condition and the replacement content to the rule setting template to generate the target rule;
[0117] wherein the replacement content includes a first replacement content when the replacement condition is met and a second replacement content when the replacement condition is not met, and the first replacement content is different from the second replacement content; or
[0118] receive a custom replacement condition corresponding to missing data, and add the replacement condition to the rule setting template;
[0119] In response to a triggering operation on a target operation type control, replacement content corresponding to the replacement condition is generated and added to the rule setting template to generate the target rule.
[0120] In an example embodiment of the present application, the second replacement content includes a reserved original value and a uniform replacement value.
[0121] In an example embodiment of the present application, the target data processing type is the value range coding; the rule generation module 1420 is configured to:
[0122] receive a custom coding condition and coding content, and add the coding condition and the coding content to the rule setting template to generate the target rule.
[0123] In an example embodiment of the present application, the target data processing type is the value range segmentation; the rule generation module 1420 is configured to:
[0124] receive a customized number of segments and segment conditions corresponding to each segment, and add the number of segments and the segment conditions to the rule setting template to generate the target rule.
[0125] In the example embodiment of the present application, the data processing apparatus 1400 is further configured to:
[0126] After the target rule is generated, in response to a triggering operation on a rule confirmation control, an information display page containing the target rule is displayed in the display interface.
[0127] In the example embodiment of the present application, the data processing apparatus 1400 is further configured to:
[0128] After the update data generated by processing the medical data corresponding to the target field according to the target rule is displayed, in response to a triggering operation on a post-processing control, the update data is post-processed.
[0129] The specific details of each module in the above medical data processing apparatus have been described in detail in the corresponding medical data processing method, and thus will not be described here again.
[0130] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, such division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into several modules or units embodied.
[0131] In addition, although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired result. In addition or alternatively, some steps can be omitted, several steps can be combined into one step, and / or one step can be divided into several steps, etc.
[0132] From the above description of the embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solutions according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a U disk, a mobile hard disk, etc.) or a network, and includes several instructions to make a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) execute the method according to the embodiments of the present application.
[0133] Figure 15 A computer system structure block diagram of an electronic device for implementing embodiments of the present application is shown schematically, which can be disposed in a terminal device or a server.
[0134] It should be noted that, Figure 15 The computer system 1500 of the electronic device shown is only an example and should not impose any limitation on the functions and use range of embodiments of the present application.
[0135] As Figure 15 shown, the computer system 1500 includes a central processing unit 1501 (CPU) which can perform various appropriate actions and processes according to programs stored in a read-only memory 1502 (ROM) or loaded from a storage portion 1508 into a random access memory 1503 (RAM). Various programs and data required for system operation are also stored in the random access memory 1503. The central processing unit 1501, the read-only memory 1502, and the random access memory 1503 are connected to each other through a bus 1504. An input / output interface 1505 (I / O interface) is also connected to the bus 1504.
[0136] In some embodiments, the following components are connected to the input / output interface 1505: an input portion 1506 including a keyboard, a mouse, and the like; an output portion 1507 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a speaker, and the like; a storage portion 1508 including a hard disk, and the like; and a communication portion 1509 including a network interface card such as a local area network card, a modem, and the like. The communication portion 1509 performs communication processing via a network such as the Internet. A drive 1510 is also connected to the input / output interface 1505 as necessary. A removable recording medium 1511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like is attached to the drive 1510 as necessary, so that a computer program read therefrom is installed in the storage portion 1508 as necessary.
[0137] In particular, according to embodiments of the present application, the processes described in the various method flowcharts can be implemented as a computer software program. For example, embodiments of the present application include a computer program product that includes a computer program tangibly embodied on a computer readable medium, the computer program containing program code for executing the methods illustrated in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication section 1509, and / or installed from the removable media 1511. When the computer program is executed by the central processing unit 1501, various functions defined in the system of the present application are executed.
[0138] It should be noted that the computer readable medium shown in the embodiments of the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable medium may, for example, be but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any suitable combination of the above. More specific examples of the computer readable medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer readable medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus or device. In the present application, the computer readable signal medium can include a data signal propagated in a baseband or as a carrier wave in a propagated data signal, in which the computer readable program code is embodied. Such a propagated data signal can take many forms, including but not limited to an electromagnetic signal, an optical signal or any suitable combination of the above. The computer readable signal medium can also be any computer readable medium that can send, propagate or transfer a program for use by or in connection with an instruction execution system, apparatus or device. The program code contained on the computer readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, optical, or any suitable combination of the above.
[0139] The computer program product of the present application can be a computer program including a plurality of program instructions that control at least one processing unit of a computer to implement the method according to the embodiments of the present application. Generally, computer program instructions include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types. Computer program instructions can be implemented in hardware language, machine code, assembly code, instruction set architecture (ISA), or in any suitable programming language, including an object-oriented programming language such as C++, or a procedural programming language such as the "C" programming language. The embodiments of the present application can be implemented in a variety of programming languages such as C++ or "C" by those skilled in the art to which the present application pertains, after the teachings of the present application have been understood.
[0140] It should be noted that although several modules or units of the device for action execution are mentioned in the foregoing detailed description, such a division is not mandatory. Indeed, according to the embodiments of the present application, the features and functionalities of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functionalities of one module or unit described above can be further divided into embodied by a plurality of modules or units.
[0141] From the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solutions according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or network, and includes a plurality of instructions to make an electronic device execute the method according to the embodiments of the present application.
[0142] It should be understood that the present application is not limited to the precise construction that has been described above and illustrated in the accompanying drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the application should only be limited by the appended claims.
Claims
1. A medical data processing method, characterized by, The method comprises the following steps: In response to a triggering operation of adding a control to a rule corresponding to a target field, a rule setting template is displayed in a display interface; wherein, before the rule setting template is displayed in the display interface, the method further comprises: obtaining a data type corresponding to the target field, and a data processing type corresponding to the data type; wherein, when the data type is a continuous variable, a template selection interface generated according to the data processing type corresponding to the continuous variable is displayed; when the data type is a discrete variable, a template selection interface generated according to the data processing type corresponding to the discrete variable is displayed; the template selection interface contains a rule setting template corresponding to the data processing type; Custom rule information is received, and the custom rule information is added to the rule setting template to generate a target rule corresponding to the target field; In response to a triggering operation of an execution data processing control, updated data generated by processing medical data corresponding to the target field according to the target rule and the data processing type corresponding to the data type is displayed.
2. The method of claim 1, wherein, The method of displaying a rule setting template in a display interface comprises: In response to a triggering operation of an activation control corresponding to a target data processing type in the template selection interface, a rule setting template corresponding to the target data processing type is displayed.
3. The method of claim 2, wherein, The target data processing type is value range replacement. The method of receiving custom rule information and adding the custom rule information to the rule setting template to generate a target rule corresponding to the target field comprises: A custom replacement condition and replacement content are received, and the replacement condition and the replacement content are added to the rule setting template to generate the target rule. The replacement content comprises a first replacement content when the replacement condition is met and a second replacement content when the replacement condition is not met, and the first replacement content is different from the second replacement content; or A custom replacement condition corresponding to missing data is received, and the replacement condition is added to the rule setting template; In response to a triggering operation of a target operation type control, replacement content corresponding to the replacement condition is generated, and the replacement content is added to the rule setting template to generate the target rule.
4. The method of claim 3, wherein, The second replacement content comprises a reserved original value and a uniform replacement value.
5. The method of claim 2, wherein, The target data processing type is value range coding. The method of receiving custom rule information and adding the custom rule information to the rule setting template to generate a target rule corresponding to the target field comprises: A custom coding condition and coding content are received, and the coding condition and the coding content are added to the rule setting template to generate the target rule.
6. The method of claim 2, wherein, The target data processing type is value range segmentation. The method of receiving custom rule information and adding the custom rule information to the rule setting template to generate a target rule corresponding to the target field comprises: Receiving a custom number of segments and segment conditions corresponding to each segment, adding the number of segments and the segment conditions into the rule setting template to generate the target rule.
7. A medical data processing apparatus characterized by comprising: Comprise: A template display module, configured to display a rule setting template in a display interface in response to a trigger operation of adding a control corresponding to a target field rule; A rule generation module, configured to receive custom rule information and add the custom rule information into the rule setting template to generate a target rule corresponding to the target field; A data update module, configured to display update data generated by processing medical data corresponding to the target field according to a data processing type corresponding to the target rule and a data type in response to a trigger operation of executing a data processing control; The medical data processing device is further configured to: Before displaying a rule setting template in a display interface, obtain a data type corresponding to the target field and a data processing type corresponding to the data type; wherein when the data type is a continuous variable, display a template selection interface generated according to a data processing type corresponding to the continuous variable; when the data type is a discrete variable, display a template selection interface generated according to a data processing type corresponding to the discrete variable; the template selection interface contains a rule setting template corresponding to the data processing type.
8. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by a processor, implements the method of any one of claims 1-6.
9. An electronic device, comprising: Comprise: A processor; And A memory for storing executable instructions of the processor; Wherein the processor is configured to execute the executable instructions to perform the method of any one of claims 1-6.
Citation Information
Patent Citations
Data processing method and device, electronic equipment and storage medium
CN111090641A
Data import method and device and computer readable storage medium
CN113971191A