Medical data quality report generation method and device and storage medium

Through the automated medical data quality report generation method, template filling and materialized view technology are used to solve the inefficiency and error problems caused by manual collation, and the accurate and efficient generation of medical data quality reports are achieved.

CN119314616APending Publication Date: 2025-01-14WINNING HEALTH TECHNOLOGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411619740.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

The generation of existing medical data quality reports relies on manual sorting, which is time-consuming and labor-intensive, easy to cause errors and omissions due to human factors, inefficient, and affects the evaluation and improvement of medical quality.

Method used

Provide a method for generating medical data quality reports. By obtaining report templates, analyzing and filling the data identifiers to be filled, the report is automatically generated based on the data of the target medical institution, and using materialized view technology and preset medical agents for querying and graph generation. Implement automated report generation.

Benefits of technology

Reduce manual statistics, reduce the occurrence of human errors, ensure the accuracy and efficiency of medical data quality reporting, and improve the degree of automation of report generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119314616A_ABST
    Figure CN119314616A_ABST
Patent Text Reader

Abstract

The invention provides a medical data quality report generation method and device and a storage medium, and relates to the technical field of medical data processing. The method comprises the steps of obtaining a report template in response to a downloading request of a medical data quality report; analyzing the report template to obtain each to-be-filled data identifier in the report template; based on medical data corresponding to the target medical institution, querying and obtaining filling contents corresponding to the to-be-filled data identifiers, embedding the filling contents into preset filling positions indicated by the to-be-filled data identifiers in a report template, and generating a target medical data quality report; the target medical data quality report is downloaded to the preset position, so that the medical data quality report can be automatically generated and downloaded to the preset position according to the downloading request of the medical data quality report, manual statistics can be reduced, human errors can be reduced, and the accuracy of the medical data quality report is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of medical data processing technology, and in particular to a method, setting and storage medium for generating a medical data quality report. Background Art

[0002] Medical data quality reports play a very important role in medical institutions. They help managers, clinicians and other relevant personnel understand and improve the quality of medical data. For example, by regularly checking and analyzing medical data, errors, inconsistencies or omissions in medical data can be discovered in a timely manner. By modifying such medical data, duplication of work and additional costs caused by errors can be reduced, thereby improving overall operational efficiency.

[0003] In the prior art, the generation of medical data quality reports mainly relies on manual sorting, which involves manually collecting, sorting, and analyzing medical quality data to finally generate a medical data quality report.

[0004] It can be seen that the existing process of producing medical data quality reports is highly dependent on manual operations, which is not only time-consuming and labor-intensive, but also prone to errors and omissions due to human factors. Once the data changes, the above actions need to be repeated, which is very inefficient and thus affects the evaluation and improvement of medical quality. Summary of the invention

[0005] The purpose of this application is to provide a medical data quality report generation method, setting and storage medium to address the deficiencies in the above-mentioned prior art, which can improve the generation efficiency of medical data quality reports and reduce the error rate.

[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0007] In a first aspect, an embodiment of the present application provides a method for generating a medical data quality report, the method comprising:

[0008] In response to a download request for a medical data quality report, obtaining a report template, the report template including preset content and a plurality of to-be-filled data identifiers located at preset filling positions;

[0009] Parsing the report template to obtain each identifier of data to be filled in the report template;

[0010] Based on the medical data corresponding to the target medical institution, query and obtain the filling content corresponding to each of the data identifiers to be filled, embed each of the filling contents into the preset filling position indicated by each of the data identifiers to be filled in the report template, and generate a target medical data quality report;

[0011] Download the target medical data quality report to a preset location.

[0012] Optionally, the download request carries a target medical institution identifier and a target reporting time range, and the querying and obtaining of filling content corresponding to each of the to-be-filled data identifiers based on the medical data corresponding to the target medical institution includes:

[0013] Based on the medical data corresponding to the target medical institution, through materialized view technology and / or preset medical intelligent entities, the target medical institution indicated by the target medical institution identifier is queried for the filling content corresponding to each of the data identifiers to be filled in within the target reporting time range.

[0014] Optionally, the filling content corresponding to the data identifier to be filled includes: filling text and filling chart, and the querying of the target medical institution indicated by the target medical institution identifier through materialized view technology and / or preset medical agent based on the medical data corresponding to the target medical institution for the filling content corresponding to each of the data identifiers to be filled within the target reporting time range includes:

[0015] Based on the medical data corresponding to the target medical institution, query the target medical institution through materialized view technology and / or preset medical agent for the filling text corresponding to each of the to-be-filled data identifiers within the target reporting time range;

[0016] Based on the fill text corresponding to the data identifier to be filled, a preset chart generation component is called to generate a fill chart corresponding to the data identifier to be filled, and the fill chart includes at least one of the following: a bar chart, a line chart, a table, a pie chart, and a radar chart.

[0017] Optionally, based on the medical data corresponding to the target medical institution, querying the target medical institution indicated by the target medical institution identifier through a preset medical agent for the filling content corresponding to each of the to-be-filled data identifiers within the target reporting time range, includes:

[0018] Constructing a preset thread pool, wherein the preset thread pool includes a plurality of threads;

[0019] Based on the medical data corresponding to the target medical institution, a preset medical agent is called in each of the threads to query in parallel the filling contents corresponding to the multiple data identifiers to be filled in the target medical institution within the target reporting time range.

[0020] Optionally, before obtaining the report template in response to the download request of the medical data quality report, the method further includes:

[0021] According to the medical data corresponding to each medical institution, the scoring materialized view corresponding to each medical institution is generated through the materialized view technology based on the preset scheduled tasks. The scoring materialized view includes: the medical data quality scoring results of each medical institution on various levels of topics, the total score of each medical institution, the total score ranking of each medical institution, the year-on-year score of each medical institution, and the same-month and month-on-month score of each medical institution.

[0022] Optionally, the preset content includes a report directory, and the report directory includes: a first-level subject directory, a second-level subject directory, and a third-level subject directory, wherein the second-level subject directory is a parent directory of the third-level subject directory, and the first-level subject directory is a parent directory of the second-level subject directory;

[0023] The medical data quality scoring results of each medical institution on various topics are generated by materialized view technology based on the medical data corresponding to each medical institution and preset timed tasks, including:

[0024] According to the medical data quality scoring results of each medical institution on the three-level topics in each month and the corresponding weights of the topics at each level, the medical data quality scoring results of each medical institution on the three-level topics in each month and the medical data quality scoring results of each medical institution on the three-level topics in each quarter are generated based on the preset scheduled tasks through materialized view technology. Among them, the medical data quality scoring results of each medical institution on the three-level topics in each month are obtained based on multiple scoring dimensions.

[0025] Optionally, downloading the target medical data quality report to a preset location includes:

[0026] Determine a target report name according to the download request, wherein the target report name includes at least one of the following: a target medical institution identifier and a target report time range;

[0027] The target medical data quality report is downloaded to a preset location, and the target medical data quality report is named using the target report name.

[0028] Optionally, embedding each of the filling contents into a preset filling position indicated by each of the to-be-filled data identifiers in the report template to generate a target medical data quality report includes:

[0029] Based on a template engine in a preset document processing library, obtaining a preset filling position indicated by each of the to-be-filled data identifiers and a filling content corresponding to each of the to-be-filled data identifiers through a context object in the template engine;

[0030] Each of the filling contents is embedded in the preset filling position indicated by each of the to-be-filled data identifiers in the report template to generate the target medical data quality report.

[0031] In a second aspect, an embodiment of the present application provides a medical data quality report generating device, comprising:

[0032] A response module, configured to respond to a download request for a medical data quality report and obtain a report template, wherein the report template includes preset content and a plurality of to-be-filled data identifiers located at preset filling positions;

[0033] An acquisition module, used for parsing the report template and acquiring each identifier of the data to be filled in the report template;

[0034] A query module, for querying and acquiring the filling content corresponding to each of the data identifiers to be filled based on the medical data corresponding to the target medical institution, embedding each of the filling content into the preset filling position indicated by each of the data identifiers to be filled in the report template, and generating a target medical data quality report;

[0035] The download module is used to download the target medical data quality report to a preset location.

[0036] Optionally, the download request carries a target medical institution identifier and a target reporting time range, and the query module is specifically used to query the target medical institution indicated by the target medical institution identifier based on the medical data corresponding to the target medical institution, through materialized view technology and / or preset medical intelligent entities, to fill in the content corresponding to each of the data identifiers to be filled in within the target reporting time range.

[0037] Optionally, the filling content corresponding to the data identifier to be filled includes: filling text and filling chart, and the query module is specifically used to query the filling text corresponding to each data identifier to be filled of the target medical institution within the target reporting time range through materialized view technology and / or preset medical intelligent agent based on the medical data corresponding to the target medical institution;

[0038] Based on the fill text corresponding to the data identifier to be filled, a preset chart generation component is called to generate a fill chart corresponding to the data identifier to be filled, and the fill chart includes at least one of the following: a bar chart, a line chart, a table, a pie chart, and a radar chart.

[0039] Optionally, the query module is specifically used to build a preset thread pool, and the preset thread pool includes multiple threads;

[0040] Based on the medical data corresponding to the target medical institution, a preset medical agent is called in each of the threads to query in parallel the filling contents corresponding to the multiple data identifiers to be filled in the target medical institution within the target reporting time range.

[0041] Optionally, the response module is also used to generate a scoring materialized view corresponding to each medical institution through materialized view technology based on preset scheduled tasks according to the medical data corresponding to each medical institution. The scoring materialized view includes: the medical data quality scoring results of each medical institution on topics at all levels, the total score of each medical institution, the total score ranking of each medical institution, the year-on-year score of each medical institution, and the same-month and month-on-month scores of each medical institution.

[0042] Optionally, the preset content includes a report directory, and the report directory includes: a first-level subject directory, a second-level subject directory, and a third-level subject directory, wherein the second-level subject directory is a parent directory of the third-level subject directory, and the first-level subject directory is a parent directory of the second-level subject directory;

[0043] The response module is also used to generate the medical data quality scoring results of each medical institution on the three-level themes of each month and the medical data quality scoring results of each medical institution on the three-level themes of each month and the medical data quality scoring results of each medical institution on the three-level themes of each quarter based on the preset scheduled tasks through materialized view technology, according to the medical data quality scoring results of each medical institution on the three-level themes of each month and the weights corresponding to the themes at each level. Among them, the medical data quality scoring results of each medical institution on the three-level themes of each month are obtained according to multiple scoring dimensions.

[0044] Optionally, the download module is used to determine a target report name according to the download request, and the target report name includes at least one of the following: a target medical institution identifier and a target report time range;

[0045] The target medical data quality report is downloaded to a preset location, and the target medical data quality report is named using the target report name.

[0046] Optionally, the query module is used to obtain, based on a template engine in a preset document processing library, a preset filling position indicated by each of the to-be-filled data identifiers and a filling content corresponding to each of the to-be-filled data identifiers through a context object in the template engine;

[0047] Each of the filling contents is embedded in the preset filling position indicated by each of the to-be-filled data identifiers in the report template to generate the target medical data quality report.

[0048] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the above-mentioned medical data quality report generation method.

[0049] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned medical data quality report generation method are executed.

[0050] The beneficial effects of this application are:

[0051] The medical data quality report generation method, setting and storage medium provided in the embodiments of the present application include: in response to a download request for a medical data quality report, obtaining a report template, the report template including preset content and multiple data identifiers to be filled in at preset filling positions; parsing the report template to obtain each data identifier to be filled in the report template; based on the medical data corresponding to the target medical institution, querying and obtaining the filling content corresponding to each data identifier to be filled, embedding each filling content in the preset filling position indicated by each data identifier to be filled in the report template, and generating a target medical data quality report; downloading the target medical data quality report to the preset position realizes that the medical data quality report can be automatically generated and downloaded to the preset position according to the download request of the medical data quality report, which can reduce manual statistics, reduce the occurrence of human errors, and ensure the accuracy of the medical data quality report. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0053] Figure 1 A flowchart of a method for generating a medical data quality report provided in an embodiment of the present application;

[0054] Figure 2 A flowchart of another method for generating a medical data quality report provided in an embodiment of the present application;

[0055] Figure 3 A flowchart of another method for generating a medical data quality report provided in an embodiment of the present application;

[0056] Figure 4 A flowchart of another method for generating a medical data quality report provided in an embodiment of the present application;

[0057] Figure 5 A flowchart of another method for generating a medical data quality report provided in an embodiment of the present application;

[0058] Figure 6A flowchart of another method for generating a medical data quality report provided in an embodiment of the present application;

[0059] Figure 7 A schematic diagram of the functional modules of a medical data quality reporting device provided in an embodiment of the present application;

[0060] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0062] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0063] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0064] In the prior art, the generation of medical data quality reports mainly relies on manual sorting, which involves manually collecting, sorting, and analyzing medical quality data to generate medical data quality reports. Therefore, the production process of existing medical data quality reports is highly dependent on manual operations, which is not only time-consuming and labor-intensive, but also prone to errors and omissions due to human factors. The generation efficiency of medical data quality reports is very low, and the accuracy is difficult to guarantee.

[0065] In view of this, an embodiment of the present application provides a method for generating a medical data quality report. The application of this method can automatically generate a medical data quality report, thereby improving the efficiency of generating the medical data quality report. In addition, it can reduce manual statistics, reduce the occurrence of human errors, and ensure the accuracy of the medical data quality report.

[0066] Figure 1 A flowchart of a method for generating a medical data quality report provided in an embodiment of the present application is provided. The method can be applied to a quality report server, such as Figure 1 As shown, the method includes:

[0067] Step 101: In response to a download request for a medical data quality report, a report template is obtained, where the report template includes preset content and a plurality of data identifiers to be filled in at preset filling positions.

[0068] Optionally, the requester of the medical data quality report may generate a download request for the medical data quality report through a quality report client or a browser webpage, and send the download request to a quality report server. In response to the download request, the quality report server may obtain its pre-stored report template.

[0069] Among them, the report template may include preset content and multiple data identifiers to be filled in at preset fill positions, wherein the preset content may adopt a unified and standardized font size and color configuration to ensure the professionalism and readability of the document. Optionally, the preset content may include a table of contents, chapter titles, etc., which are not limited here.

[0070] Optionally, the identifier of the data to be filled in the preset filling position may be marked with a placeholder, and the placeholder may be in the format of "${field name}". Of course, the placeholder format is not limited to this.

[0071] Based on the above content, it should also be noted that, in some embodiments, the above report template may correspond to a unique version number in order to track the template's change history and version control, ensure the security and accessibility of the report template, and promote the standardization of document management.

[0072] Optionally, in some embodiments, the download request may correspond to an HTTP download link, and of course, the specific form is not limited thereto. In some embodiments, the report template may be obtained using a Java file input stream (InputStream) mechanism, thereby ensuring the integrity of the report template and the reliability of its source.

[0073] Step 102: parse the report template to obtain the identifiers of the data to be filled in the report template.

[0074] The acquired report template may be loaded into the memory of the requesting device, so as to parse out each to-be-filled data identifier in the report template and the preset filling position corresponding to each to-be-filled data identifier based on the template.

[0075] Step 103: Based on the medical data corresponding to the target medical institution, query and obtain the filling content corresponding to each data identifier to be filled, embed each filling content into the preset filling position indicated by each data identifier to be filled in the report template, and generate a target medical data quality report.

[0076] The target medical institution may be a default medical institution, or may be specified by the user, which is not limited here.

[0077] Optionally, the medical data corresponding to the target medical institution can be stored in a preset data center, and the quality report server can access the preset data center. By accessing the preset data center, the medical data corresponding to the target medical institution can be obtained; based on the medical data corresponding to the target medical institution, the filling content corresponding to each data identifier to be filled can be obtained according to the parsed data identifier to be filled, and according to the preset filling position indicated by each data identifier to be filled, the queried filling content can be embedded into the corresponding preset filling position to generate a target medical data quality report corresponding to the target medical institution.

[0078] In some embodiments, the filling content corresponding to the data identifier to be filled may include: filling text, filling chart, filling image, etc., which is not limited here and may be different according to the pre-setting of the report template.

[0079] It can be seen that compared with the existing method of generating medical data quality reports which mainly relies on manual operations, the embodiment of the present application can automatically generate medical data quality reports and download them to a preset location based on download requests for medical data quality reports, which can reduce manual statistics, reduce the occurrence of human errors, and ensure the accuracy of medical data quality reports.

[0080] Step 104: Download the target medical data quality report to a preset location.

[0081] Optionally, the preset location may be a default location, or may be specified by the downloading user, which is not limited here; the target medical data quality report may be in word format, pdf format, etc., which is not limited here.

[0082] Based on the above description, in some embodiments, the target medical data quality report may include a table of contents, chapter titles, text content under each chapter title, charts, images, etc., which are not limited here and can be flexibly set according to the actual application scenario.

[0083] In summary, an embodiment of the present application provides a method for generating a medical data quality report, the method comprising: in response to a download request for a medical data quality report, obtaining a report template, the report template comprising preset content and a plurality of data identifiers to be filled in at preset filling positions; parsing the report template to obtain each data identifier to be filled in the report template; based on the medical data corresponding to the target medical institution, querying and obtaining the filling content corresponding to each data identifier to be filled, embedding each filling content in the preset filling position indicated by each data identifier to be filled in the report template, and generating a target medical data quality report; downloading the target medical data quality report to the preset position enables the automatic generation of the medical data quality report and downloading it to the preset position according to the download request of the medical data quality report, which can reduce manual statistics, reduce the occurrence of human errors, and ensure the accuracy of the medical data quality report.

[0084] In an optional implementation, the download request carries the target medical institution identifier and the target reporting time range. The above querying and obtaining the filling content corresponding to each data identifier to be filled based on the medical data corresponding to the target medical institution includes:

[0085] Based on the medical data corresponding to the target medical institution, through materialized view technology and / or preset medical intelligent entities, the filling content corresponding to each data identifier to be filled in the target medical institution indicated by the target medical institution identifier within the target reporting time range is queried.

[0086] Optionally, when conducting a specific query, the quality report server can capture and parse the key information embedded in the download request, namely, the target medical institution identifier and the target reporting time range, wherein the target medical institution identifier can be the institution name of the target medical institution, the institution code of the target medical institution, etc., which is not limited here; the target reporting time range can indicate the request time of the report, which can include the start time and the end time. Optionally, in some embodiments, it can be marked by year plus month, or it can be marked by year plus quarter, which is not limited here.

[0087] In some embodiments, the medical data corresponding to the target medical institution may include all medical data and medical management data during the target medical institution's reception process. For example, it may include medical data in the following scenarios: clinical diagnosis and treatment, emergency first aid, electronic medical records, medical record homepage, digital convenience, Internet medical care, human resources, logistics and maintenance, medical equipment, risk prevention and control, etc., without limitation here.

[0088] Optionally, the quality report server can be deployed with materialized view technology and / or preset medical agents, wherein the materialized view technology can pre-calculate and store the filling content corresponding to each data identifier to be filled, so that the query progress can be accelerated when performing a query; the preset medical agent, that is, the artificial intelligence system applied in the medical and health field, can be used, for example, to associate electronic medical record data (for example, it can include outpatient, hospitalization, examination and testing, imaging, surgery and other medical data) and medical record data (for example, it can include hospitalization, surgery, diagnosis, infant and young children's medical data) according to the consultation serial number, identify abnormal data through association, calculate the association rate, and generate text analysis results of the abnormal data.

[0089] Based on the above description, it can be understood that by querying the filling content corresponding to each data identifier to be filled in the target medical institution within the target reporting time range through materialized view technology, the query effect can be improved, and then the report generation efficiency can be improved; when querying the filling content corresponding to each data identifier to be filled in the target medical institution within the target reporting time range through the preset medical intelligent agent, its powerful artificial intelligence capabilities can be utilized to meet various reporting requirements in the target medical data quality report. For example, improvement suggestions for certain medical data can be generated through the preset medical intelligent agent. Of course, the specific application scenarios are not limited to this.

[0090] Figure 2 A flow chart of another method for generating a medical data quality report provided in an embodiment of the present application. In an optional implementation, the filling content corresponding to the data identifier to be filled includes: filling text and filling chart, that is, the present application can be applied not only to filling text, but also to filling icons.

[0091] Alternatively, if Figure 2 As shown, based on the medical data corresponding to the target medical institution, through materialized view technology and / or preset medical agents, the target medical institution indicated by the target medical institution identifier queries the filling content corresponding to each data identifier to be filled in within the target reporting time range, including:

[0092] Step 201: Based on the medical data corresponding to the target medical institution, query the target medical institution through materialized view technology and / or preset medical intelligent entities to find out the filling text corresponding to each data identifier to be filled in within the target reporting time range.

[0093] Among them, if the type of filling content indicated by the data identifier to be filled is filled text, the filling text corresponding to each data identifier to be filled in the target medical institution within the target reporting time range can be queried through materialized view technology and / or preset medical intelligent entities based on the medical data corresponding to the target medical institution.

[0094] Optionally, when conducting a specific query, a query model object can be constructed based on Java. The query model object can determine the fill-in text corresponding to each data identifier to be filled in the target medical institution within the target reporting time range according to the values ​​of the key parameter and the statisticPeriod parameter through materialized view technology and / or preset medical agents, wherein the key parameter can indicate the target medical institution identifier, and the statisticPeriod parameter can indicate the target reporting time range.

[0095] Among them, if statisticPeriod = month, that is, monthly query, the query model object efficiently retrieves and obtains the latest monthly data through the database interface for subsequent further queries through materialized view technology and / or preset medical agents. This process ensures the timeliness and accuracy of the data and provides a solid foundation for subsequent scoring calculations.

[0096] If statisticPeriod = season, that is, quarterly query, the query model object first performs an existence check to verify whether the finalized data of the corresponding quarter already exists in the preset data center. If so, the data export mechanism is directly triggered to export the finalized data for further analysis or report generation for subsequent further queries through materialized view technology and / or preset medical intelligent entities. This strategy effectively avoids repeated calculations and improves data processing efficiency.

[0097] If statisticPeriod=year, that is, annual query, the query model object first verifies whether the finalized data of the four quarters are complete. If all quarters have been finalized, the annual score or summary report is obtained by calculating the average of the finalized data of the four quarters. If it is found that some quarters have not been finalized, the query model object will first trigger the finalization process to ensure that all quarterly data are in the final state, and then calculate the average value for subsequent further queries through materialized view technology and / or preset medical intelligent entities. This step ensures the integrity and accuracy of the annual data and provides a reliable decision-making basis for management.

[0098] Step 202: Based on the filling text corresponding to the to-be-filled data identifier, call a preset chart generation component to generate a filling chart corresponding to the to-be-filled data identifier.

[0099] Among them, the filled chart includes at least one of the following: a bar chart, a line chart, a table, a pie chart, and a radar chart.

[0100] Optionally, the preset chart generation component can be obtained based on the Echarts framework, wherein, when specifically called, the chart service API can be called through the JOSN data format, and the preset chart generation component can be called based on the Echarts framework inside it, and the filled chart corresponding to the data identifier to be filled is produced according to the filling text corresponding to the data identifier to be filled, and optionally, the produced filled chart can be returned in the form of a data stream and stored in a specified path of the quality report server. Of course, in some embodiments, UUID (universally unique identifier) ​​technology can also be used to generate a unique name for each filled chart, and a corresponding file save path is created accordingly to ensure the uniqueness and orderly management of the image file.

[0101] It should be noted that the types of filled charts are not limited to this, for example, they may also include: tree charts, scatter charts, etc., which are not limited here.

[0102] In addition, it should be noted that during the query process, each data identifier to be filled can be queried in parallel according to each data identifier to be filled, wherein the queried fill-in text and the fill-in text can be stored in the specified path of the quality report server in correspondence with the corresponding data identifier to be filled. After the query is completed, the corresponding fill-in content can be queried from the specified path according to the data identifier to be filled, and a backfill operation can be performed.

[0103] In summary, the embodiments of the present application can not only be used to automatically generate medical data quality reports including text, but also automatically generate charts and insert them into medical data quality reports. Compared with the existing process of manually analyzing data and generating charts, the efficiency of report generation can be effectively improved. In addition, by embedding charts in medical data quality reports, key indicators, trend changes and abnormal fluctuations of medical data quality can be intuitively displayed, thereby improving the applicability of the method of the present application.

[0104] Figure 3 A flowchart of another method for generating a medical data quality report provided in an embodiment of the present application. In an optional implementation, Figure 3 As shown, the above-mentioned medical data corresponding to the target medical institution is queried through the preset medical intelligent body to query the filling content corresponding to each data identifier to be filled in the target medical institution indicated by the target medical institution identifier within the target reporting time range, including:

[0105] Step 301: construct a preset thread pool, which includes multiple threads.

[0106] Step 302: Based on the medical data corresponding to the target medical institution, the preset medical agent is called in each thread to query in parallel the filling contents corresponding to multiple data identifiers to be filled in the target medical institution within the target reporting time range.

[0107] Optionally, taking into account that there may be a need to query the filling content corresponding to multiple data identifiers to be filled in through a preset medical agent, in order to improve the query efficiency, a preset thread pool can be constructed. For example, a preset thread pool can be constructed through ExecutorService, and multiple threads can be created in the preset thread pool. For example, multiple threads can be created through the Callable interface, and based on the medical data corresponding to the target medical institution, the preset medical agent is called concurrently in each thread to realize parallel query of the filling content corresponding to multiple data identifiers to be filled in the target medical institution within the target reporting time range.

[0108] For example, by concurrently calling the preset medical agent, the correlation rate of electronic medical record data (for example, including hospitalization data, medical treatment data, surgical data, etc.) and medical record data (for example, including outpatient data, emergency data, hospitalization data, etc.) of each medical institution within the target reporting time range can be queried. Furthermore, for the correlation rate returned by the preset medical agent, the correlation rate of each medical institution can be sorted by a bubbling algorithm and assembled into a JSON format specific to the image service for standby use, so that a filled chart can be quickly generated based on it later.

[0109] Figure 4 A flowchart of another method for generating a medical data quality report provided in an embodiment of the present application. In an optional implementation, Figure 4 As shown, in response to the download request of the medical data quality report, before obtaining the report template, the method further includes:

[0110] Step 401: Generate a scoring materialized view corresponding to each medical institution through materialized view technology based on the preset scheduled tasks according to the medical data corresponding to each medical institution.

[0111] Among them, the scoring materialized view includes at least one of the following: the medical data quality scoring results of each medical institution on topics at all levels, the total score of each medical institution, the total score ranking of each medical institution, the year-on-year score of each medical institution, and the same-month and month-on-month score of each medical institution.

[0112] Optionally, the medical data quality scoring results of each medical institution on various levels of topics may include: the medical data quality scoring results of each medical institution on various levels of topics in each month, the medical data quality scoring results of each medical institution on various levels of topics in each quarter, etc., which are not limited here.

[0113] In some embodiments, if the quality report server can obtain medical data corresponding to multiple medical institutions, optionally, the quality report server can analyze the total score of each medical institution to obtain the total score ranking of each medical institution, the year-on-year score of each medical institution, and the same-month and month-on-month score of each medical institution, and store them in the format of a score materialized view.

[0114] Among them, the total score ranking of each medical institution can reflect the order of the total score ranking of each medical institution. The total score of each medical institution can include: monthly total score of each medical institution, quarterly total score of each medical institution, annual total score of each medical institution and other scoring methods, which are not limited here.

[0115] Taking the month as the statistical unit, the year-on-year score of each medical institution can reflect the score change of the medical institution's target month this year compared with the same month last year, such as a decrease, an increase, or the same. The same-month-on-month score of each medical institution can reflect the score change of the medical institution's target month this year compared with the previous month of this year, such as a decrease, an increase, or the same. It can be understood that, depending on the statistical unit, the corresponding total score ranking, year-on-year score, and same-month-on-month score parameters can be used. Of course, it should be noted that in some scenarios, the score materialized view can also include: the name of the medical institution corresponding to the median ranking, etc., which is not limited here.

[0116] Optionally, the quality report server can be deployed with the XXL-JOB distributed task scheduling platform, and the preset scheduled task can be constructed based on the XXL-JOB distributed task scheduling platform. Optionally, the timing period of the preset scheduled task can be 24 hours, 48 ​​hours, etc., which is not limited here; based on the preset scheduled task, the scoring materialized view corresponding to each medical institution can be updated regularly through the materialized view technology, so that the filling content corresponding to each data identifier to be filled can be queried based on the scoring materialized view subsequently, which can improve the query effect and thus improve the efficiency of report generation.

[0117] Optionally, the generated scoring materialized view can be stored in a PostgreSQL database. When querying later, the Spring Data JPA framework and its built-in EntityManager are used to query the filling content corresponding to each data identifier to be filled. Among them, EntityManager is a core interface in the JPA framework, which is used to manage the status of entity objects and perform database operations.

[0118] Furthermore, when performing specific queries, you can take advantage of Spring Data JPA's advantages in simplifying data access layer development and enhancing code readability and maintainability. Through Spring Data JPA's flexible query capabilities, you can dynamically generate and execute SQL statements for different query requirements to retrieve data from the PostgreSQL database in an efficient and secure manner. Optionally, according to the actual application scenario, you can also perform necessary cleaning and verification on the initial retrieval data of the query to ensure the consistency and accuracy of the filled content based on the initial retrieval data.

[0119] Of course, it should be noted that the present application does not limit the storage method and the corresponding query method of the scoring materialized view, and can be flexibly set according to the actual application scenario.

[0120] In an optional implementation, the preset content includes a report directory, which includes: a first-level subject directory, a second-level subject directory, and a third-level subject directory, wherein the second-level subject directory is the parent directory of the third-level subject directory, and the first-level subject directory is the parent directory of the second-level subject directory.

[0121] Among them, the report directory can reflect the main part and sub-parts of the target medical data quality report. Optionally, the main part can be reflected through the first-level subject directory, and the sub-part can be reflected through the second-level subject directory and the third-level subject directory.

[0122] To give an example, for example, referring to Table 1, Table 1 shows a partial report catalog. As shown in Table 1, the first-level subject catalog includes: service provision, operation management, and technological innovation; among them, taking service provision as an example, the second-level subject catalog of service provision includes: clinical information, medical quality, digital convenience, and Internet medical care; the third-level subject catalog of clinical information includes: clinical diagnosis and treatment, emergency first aid, and critical and severe diseases; the third-level subject catalog of medical quality includes: medical record homepage, electronic medical record, and tumor COC; the third-level subject catalog of digital convenience includes: convenience services, and the third-level subject catalog of Internet medical care includes: Internet anti-epidemic implementation business.

[0123] Table 1

[0124]

[0125] It should be noted that the present application does not limit the number of levels of the directory, which can be flexibly set according to the actual application scenario.

[0126] Optionally, the above generates the medical data quality score results of each medical institution on each level of subject through materialized view technology based on the medical data corresponding to each medical institution and preset timed tasks, including:

[0127] According to the medical data quality scoring results of each medical institution on the three-level topics in each month and the corresponding weights of the topics at each level, the medical data quality scoring results of each medical institution on the three-level topics in each month and the medical data quality scoring results of each medical institution on the three-level topics in each quarter are generated based on the preset scheduled tasks through materialized view technology. Among them, the medical data quality scoring results of each medical institution on the three-level topics in each month are obtained based on multiple scoring dimensions.

[0128] The medical data quality scoring results of each medical institution on each level of theme in each month can reflect the quality of the medical data corresponding to each medical institution on each level of theme in each month.

[0129] Optionally, the data center can store medical data corresponding to multiple medical institutions. When scoring the medical data corresponding to each medical institution, the medical data of each medical institution on the three-level theme of each month can be scored from multiple scoring dimensions such as consistency, completeness, timeliness, standardization, and special projects according to the preset data quality control rules. Through scoring, the medical data quality scoring results of each medical institution on the three-level theme of each month, the details of medical data that do not meet the preset data quality control rules, etc. can be generated. It should be noted that if the medical data of a medical institution is not obtained during the evaluation process, that is, the medical institution participates in the assessment but does not transmit data, the medical data quality score of the medical institution on the three-level theme of each month is recorded as 0.

[0130] Optionally, the medical data quality score of each medical institution in the third-level topic in each month can be calculated according to the following formula: The medical data quality score of each medical institution in each secondary topic in each month can be calculated according to the following formula: The medical data quality score of each medical institution in each month's first-level topic can be calculated according to the following formula: The medical data quality score of each medical institution in each month can be calculated according to the following formula:

[0131]

[0132] It should be noted that, since the calculation is for a single month, the value of the monthly number in the above formula is 1; of course, in some embodiments, the medical data quality score results of the third-level theme, second-level theme, and first-level theme of each medical institution in each quarter can also be calculated according to the above formula, and the corresponding score materialized view is generated accordingly. It can be understood that the value of the monthly number is 3 at this time. Taking the first quarter as an example, the medical data quality score results of the third-level theme of each medical institution in the first quarter are Among them, the medical data quality score of each third-level theme in the first quarter = the medical data quality score of each third-level theme in January + the medical data quality score of each third-level theme in February + the medical data quality score of each third-level theme in March.

[0133] In summary, it can be understood that the materialized view technology effectively reduces the execution overhead of complex calculations and data aggregation during queries, significantly shortens the time cycle for generating medical data quality reports, and provides more timely and accurate data support for subsequent business decisions.

[0134] Figure 5 A flowchart of another method for generating a medical data quality report provided in an embodiment of the present application. In an optional implementation, Figure 5As shown, the above-mentioned embedding each filling content into the preset filling position indicated by each to-be-filled data identifier in the report template generates a target medical data quality report, including:

[0135] Step 501: Based on a template engine in a preset document processing library, a preset filling position indicated by each to-be-filled data identifier and a filling content corresponding to each to-be-filled data identifier are obtained through a context object in the template engine.

[0136] Step 502: embed each filling content into the preset filling position indicated by each to-be-filled data identifier in the report template to generate a target medical data quality report.

[0137] Optionally, the quality report server may also be deployed with a preset document processing library, which may also integrate a template engine. The template engine may be constructed with a context object, which may serve as a bridge between the filled content and the report template, and is used to store and transfer all filled content that needs to be filled into the report template. The filled content may include filled text and filled charts. Through the context object, these filled contents can be accurately inserted into the specified position of the report template during the generation process of the target medical data quality report, thereby realizing personalized customization of the document.

[0138] In some embodiments, the preset document processing library may be an xdocreport document processing library, wherein the xdocreport document processing library may support the generation and editing of multiple document formats (such as Word, Excel, etc.), and the xdocreport document processing library may integrate a FreeMarker template engine, and the context object may be an IContext in the FreeMarker template engine. Of course, the specific implementation is not limited thereto.

[0139] It should be noted that if the filling content corresponding to the data identifier to be filled is a filling chart, the image file stream reading technology can be used to load the corresponding filling chart from the storage path of the filling chart to ensure that each filling chart can be correctly presented in its corresponding position.

[0140] Figure 6 A flowchart of another method for generating a medical data quality report provided in an embodiment of the present application. In an optional implementation, Figure 6 As shown, the above-mentioned downloading of the target medical data quality report to the preset location includes:

[0141] Step 601: determine the target report name according to the download request, where the target report name includes at least one of the following: target medical institution identification, target report time range.

[0142] Step 602: Download the target medical data quality report to a preset location, and name the target medical data quality report using the target report name.

[0143] Optionally, when the download request carries the target medical institution ID and the target report time range, the target report name can carry the target medical institution ID and / or the target report time range, ensuring that the target report name can intuitively reflect the institution name and report type (monthly report, quarterly report, annual report), facilitating subsequent document management, storage and retrieval. For example, a target report name can be in the format of the xth quarter of xxxx year, and currently, the specific setting method is not limited to this.

[0144] Among them, based on the determined target report name, the target medical data quality report can be downloaded to a preset location and named with the target report name.

[0145] It should be noted that if the target medical data quality report is downloaded via HTTP, the data quality server can also flexibly configure the HTTP request header parameters according to the actual application scenario, including but not limited to the configuration of the Cross-Origin Resource Sharing (CORS) policy to ensure secure cross-domain transmission of data; in addition, the content type can also be specified according to the actual application scenario.

[0146] In summary, the embodiment of the present application provides a method for generating a medical data quality report, which adopts a chart generation library and combines it with an automated document processing tool to achieve full automation from data analysis to chart generation and then to automatic filling of document formats. Users only need to set the data source and report template of the medical data, and apply this application to automatically complete the drawing of analysis charts, filling of data, and adjustment of document formats, which greatly simplifies the steps of manual participation and improves the efficiency and quality of document production.

[0147] In addition, this application can also support an instant response mechanism for data changes. When the data source of medical data changes, the user only needs to perform a one-click export operation to automatically update the report content based on the latest medical data without human intervention, ensuring the timeliness and accuracy of the report content, and improving the ability to respond to data changes, so that medical managers can quickly grasp the latest situation and make timely and accurate decisions.

[0148] Figure 7 A functional module diagram of a medical data quality reporting device provided in an embodiment of the present application. The basic principles of the device and the technical effects produced are the same as those of the corresponding method embodiments described above. For the sake of brief description, parts not mentioned in this embodiment may refer to the corresponding contents in the method embodiments.

[0149] like Figure 7As shown, the medical data quality reporting device 100 includes:

[0150] A response module 110, configured to obtain a report template in response to a download request for a medical data quality report, wherein the report template includes preset content and a plurality of to-be-filled data identifiers located at preset filling positions;

[0151] The acquisition module 120 is used to parse the report template and obtain each identifier of the data to be filled in the report template;

[0152] A query module 130, configured to query and obtain the filling content corresponding to each of the to-be-filled data identifiers based on the medical data corresponding to the target medical institution, embed each of the filling content into the preset filling position indicated by each of the to-be-filled data identifiers in the report template, and generate a target medical data quality report;

[0153] The download module 140 is used to download the target medical data quality report to a preset location.

[0154] Optionally, the download request carries a target medical institution identifier and a target reporting time range, and the query module 130 is specifically used to query the target medical institution indicated by the target medical institution identifier based on the medical data corresponding to the target medical institution, through materialized view technology and / or preset medical intelligent entities, to fill in the content corresponding to each of the data identifiers to be filled in within the target reporting time range.

[0155] Optionally, the filling content corresponding to the data identifier to be filled includes: filling text and filling chart, and the query module 130 is specifically used to query the filling text corresponding to each data identifier to be filled of the target medical institution within the target reporting time range through materialized view technology and / or preset medical agent based on the medical data corresponding to the target medical institution;

[0156] Based on the fill text corresponding to the data identifier to be filled, a preset chart generation component is called to generate a fill chart corresponding to the data identifier to be filled, and the fill chart includes at least one of the following: a bar chart, a line chart, a table, a pie chart, and a radar chart.

[0157] Optionally, the query module 130 is specifically used to build a preset thread pool, and the preset thread pool includes multiple threads;

[0158] Based on the medical data corresponding to the target medical institution, a preset medical agent is called in each of the threads to query in parallel the filling contents corresponding to the multiple data identifiers to be filled in the target medical institution within the target reporting time range.

[0159] Optionally, the response module 110 is also used to generate a scoring materialized view corresponding to each medical institution through materialized view technology based on preset scheduled tasks according to the medical data corresponding to each medical institution. The scoring materialized view includes: the medical data quality scoring results of each medical institution on topics at all levels, the total score of each medical institution, the total score ranking of each medical institution, the year-on-year score of each medical institution, and the same-month and month-on-month scores of each medical institution.

[0160] Optionally, the preset content includes a report directory, and the report directory includes: a first-level subject directory, a second-level subject directory, and a third-level subject directory, wherein the second-level subject directory is a parent directory of the third-level subject directory, and the first-level subject directory is a parent directory of the second-level subject directory;

[0161] The response module 110 is also used to generate the medical data quality scoring results of each medical institution on the three-level themes of each month and the medical data quality scoring results of each medical institution on the three-level themes of each month and the medical data quality scoring results of each medical institution on the three-level themes of each quarter based on the preset scheduled tasks through materialized view technology, according to the medical data quality scoring results of each medical institution on the three-level themes of each month and the weights corresponding to the themes of each level. Among them, the medical data quality scoring results of each medical institution on the three-level themes of each month are obtained according to multiple scoring dimensions.

[0162] Optionally, the download module 140 is used to determine a target report name according to the download request, and the target report name includes at least one of the following: a target medical institution identifier and a target report time range;

[0163] The target medical data quality report is downloaded to a preset location, and the target medical data quality report is named using the target report name.

[0164] Optionally, the query module 130 is used to obtain, based on a template engine in a preset document processing library, a preset filling position indicated by each of the to-be-filled data identifiers and a filling content corresponding to each of the to-be-filled data identifiers through a context object in the template engine;

[0165] Each of the filling contents is embedded in the preset filling position indicated by each of the to-be-filled data identifiers in the report template to generate the target medical data quality report.

[0166] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0167] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0168] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, which can be integrated into the above-mentioned medical data quality reporting device. Figure 8 As shown, the electronic device may include: a processor 210, a storage medium 220 and a bus 230, the storage medium 220 stores machine-readable instructions executable by the processor 210, when the electronic device is running, the processor 210 and the storage medium 220 communicate through the bus 230, and the processor 210 executes the machine-readable instructions to perform the steps of the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here.

[0169] Optionally, the present application further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method embodiment are executed. The specific implementation method and technical effect are similar and will not be repeated here.

[0170] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0171] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0172] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0173] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.

[0174] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0175] The above description is only the preferred embodiment of the present application, and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application. It should be noted that similar numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. The above description is only the preferred embodiment of the present application, and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for generating a medical data quality report, characterized in that: The method comprises: In response to a download request for a medical data quality report, obtaining a report template, the report template including preset content and a plurality of to-be-filled data identifiers located at preset filling positions; Parsing the report template to obtain each identifier of data to be filled in the report template; Based on the medical data corresponding to the target medical institution, query and obtain the filling content corresponding to each of the data identifiers to be filled, embed each of the filling contents into the preset filling position indicated by each of the data identifiers to be filled in the report template, and generate a target medical data quality report; Download the target medical data quality report to a preset location.

2. The method according to claim 1, characterized in that The download request carries a target medical institution identifier and a target reporting time range, and the querying and obtaining of filling content corresponding to each of the to-be-filled data identifiers based on the medical data corresponding to the target medical institution includes: Based on the medical data corresponding to the target medical institution, through materialized view technology and / or preset medical intelligent entities, the target medical institution indicated by the target medical institution identifier is queried for the filling content corresponding to each of the data identifiers to be filled in within the target reporting time range.

3. The method according to claim 2, characterized in that The filling content corresponding to the data identifier to be filled includes: filling text and filling chart, Based on the medical data corresponding to the target medical institution, querying the target medical institution indicated by the target medical institution identifier for the filling content corresponding to each of the to-be-filled data identifiers within the target reporting time range through materialized view technology and / or preset medical agents, includes: Based on the medical data corresponding to the target medical institution, query the target medical institution through materialized view technology and / or preset medical agent for the filling text corresponding to each of the to-be-filled data identifiers within the target reporting time range; Based on the fill text corresponding to the data identifier to be filled, a preset chart generation component is called to generate a fill chart corresponding to the data identifier to be filled, and the fill chart includes at least one of the following: a bar chart, a line chart, a table, a pie chart, and a radar chart.

4. The method according to claim 2, characterized in that: Based on the medical data corresponding to the target medical institution, querying the target medical institution indicated by the target medical institution identifier through the preset medical agent for the filling content corresponding to each of the to-be-filled data identifiers within the target reporting time range, including: Constructing a preset thread pool, wherein the preset thread pool includes a plurality of threads; Based on the medical data corresponding to the target medical institution, a preset medical agent is called in each of the threads to query in parallel the filling contents corresponding to the multiple data identifiers to be filled in the target medical institution within the target reporting time range.

5. The method according to claim 1, characterized in that Before obtaining the report template in response to the download request of the medical data quality report, the method further includes: According to the medical data corresponding to each medical institution, the scoring materialized view corresponding to each medical institution is generated through the materialized view technology based on the preset scheduled tasks. The scoring materialized view includes: the medical data quality scoring results of each medical institution on various levels of topics, the total score of each medical institution, the total score ranking of each medical institution, the year-on-year score of each medical institution, and the same-month and month-on-month score of each medical institution.

6. The method according to claim 5, characterized in that The preset content includes a report directory, which includes: a primary subject directory, a secondary subject directory, and a tertiary subject directory, wherein the secondary subject directory is the parent directory of the tertiary subject directory, and the primary subject directory is the parent directory of the secondary subject directory; The medical data quality scoring results of each medical institution on various topics are generated by materialized view technology based on the medical data corresponding to each medical institution and preset timed tasks, including: According to the medical data quality scoring results of each medical institution on the three-level topics in each month and the corresponding weights of the topics at each level, the medical data quality scoring results of each medical institution on the three-level topics in each month and the medical data quality scoring results of each medical institution on the three-level topics in each quarter are generated based on the preset scheduled tasks through materialized view technology. Among them, the medical data quality scoring results of each medical institution on the three-level topics in each month are obtained based on multiple scoring dimensions.

7. The method according to claim 2, characterized in that The downloading of the target medical data quality report to a preset location includes: Determine a target report name according to the download request, wherein the target report name includes at least one of the following: a target medical institution identifier and a target report time range; The target medical data quality report is downloaded to a preset location, and the target medical data quality report is named using the target report name.

8. The method according to any one of claims 1 to 7, characterized in that: The step of embedding each of the filling contents into the preset filling positions indicated by each of the to-be-filled data identifiers in the report template to generate a target medical data quality report includes: Based on a template engine in a preset document processing library, obtaining a preset filling position indicated by each of the to-be-filled data identifiers and a filling content corresponding to each of the to-be-filled data identifiers through a context object in the template engine; Each of the filling contents is embedded in the preset filling position indicated by each of the to-be-filled data identifiers in the report template to generate the target medical data quality report.

9. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the medical data quality report generation method as described in any one of claims 1-8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the medical data quality report generation method according to any one of claims 1 to 8 are executed.