Read-only and WYSIWYG integrated medical document system

By designing data acquisition, rendering and printing page generation modules in the medical document system, the problem that traditional systems cannot realize user direct signature and multi-page printing is solved, and the WYSIWYG editing function and document protection are realized, which improves users Experience and work efficiency.

CN118982011APending Publication Date: 2024-11-19SHANGHAI MEEHEALTH INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411006179.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

Traditional medical document systems cannot enable users to sign or annotate directly in documents, and their functions and templates are single, which cannot meet the needs of diversified and personalized, especially when there is a lot of table data, it cannot realize automatic rendering or multi-page printing.

Method used

A read-only and WYSIWYG integrated medical document system is designed, including data acquisition module, table rendering module, trend chart rendering module and print page generation module. It is rendered through source data call tables and trend chart template libraries to generate tables. and trend chart printing information, implement the WYSIWYG editing function, and protect document integrity and security through storage modules.

Benefits of technology

It has achieved improvement in user experience, supported a variety of personalized needs, met a variety of application scenarios, realized automatic multi-page printing and paperless preservation of documents, and improved work efficiency and personnel work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118982011A_ABST
    Figure CN118982011A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of medical data processing, and discloses a read-only and what you see is what you get integrated medical document system which specifically comprises a data acquisition module, a table rendering module, a trend chart rendering module, a printed page generation module and a storage module, and the data acquisition module is used for acquiring source data and a document template; the table rendering module is used for rendering a target table template according to the source data and the document template to obtain table printing information, and sending the table printing information to the printing page generation module; the trend chart rendering module is used for rendering the target trend chart template according to the source data to obtain trend chart printing information, and sending the trend chart printing information to the printing page generation module; the printing page generation module generates a printing page according to the table printing information and the trend chart printing information, and sends the printing page to the storage module; the storage module is used for storing a printing page, source data and a document template. The method has the advantages that paperless forms are supported, and the read-only and WYSIWYG editing functions are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of medical data processing, and in particular to a read-only and WYSIWYG integrated medical document system. Background Art

[0002] With the widespread use of information transmission technology, the practice of using information management systems for information integration has become quite common in all walks of life. In the process of using information management systems, the use of various document systems has become more and more common. Unlike other fields, the medical document system in the hospital needs to support more paperless form documents so that users can view the document content at any time and in different locations. In order to ensure the security and integrity of the document content and prevent others from misoperating or maliciously modifying the document content, most of the documents in the above medical document system are read-only documents.

[0003] The inventors found in practice that the traditional medical document system still has the following shortcomings: (1) After the system was expanded, many users could not sign or annotate directly in the document, and the document could only be browsed, which brought inconvenience to the actual application; (2) The functions and templates are single, and when there is a lot of table data, it is impossible to automatically render the form or print multiple pages, which cannot meet the diverse and personalized needs of various application scenarios and users. Summary of the invention

[0004] In order to improve the problem that medical documents cannot be directly edited, the present application provides a read-only and WYSIWYG integrated medical document system.

[0005] The present application provides a read-only and WYSIWYG integrated medical document system, including: A data acquisition module, configured to acquire source data and document templates and send them to the storage module, the source data including bookmark data and table data, the bookmark data including trend bookmark data and input values ​​thereof, and the document templates including a table template library and a trend chart template library; A table rendering module is configured to match a corresponding target table template from the table template library according to the source data, the target table template includes a target bookmark part and a target table part, retrieve the corresponding bookmark data and table data according to the source data, fill and render the target table template according to the bookmark data and the table data to generate table printing information; a trend chart rendering module is configured to match a target trend chart template from the trend chart template library according to the source data, the target trend chart template includes a target trend bookmark mark and a target trend chart, obtain trend bookmark data and corresponding input values ​​based on the source data analysis, set the height of the target trend chart and the number of equal height divisions according to the input value combined with a fixed ratio algorithm, fill and render the target trend chart template according to the input value and the target trend bookmark data to obtain trend chart printing information; A printing page generating module is configured to generate a printing page according to the table printing information and the trend chart printing information; a storage module is configured to store printing pages, source data and document templates.

[0006] By adopting the above technical scheme, the table data and trend chart are obtained through the source data, and the table template library and trend chart template library in the document template are rendered to obtain the table printing information and the trend chart printing information, thereby realizing the WYSIWYG editable function. The print page generation module obtains the print page according to the table printing information and the trend chart printing information to realize the readable function, that is, the WYSIWYG editing function is realized, the user experience is improved, and the read-only function is realized to protect the integrity and security of the document. At the same time, wrod is used as a template and content rendering to support a variety of record data forms, which can meet a variety of personalized needs.

[0007] Optionally, the print page includes a table print page and a trend chart print page. The print page generation module performs character calculation on the table print page to obtain the number of print pages and page filling status, and generates a print page according to the number of print pages; wherein, when blank spaces are detected in the page filling status, the print page generation module automatically deletes the blank spaces.

[0008] By adopting the above technical solution, the number of printing pages is obtained by calculating the characters of the table data, and printing is performed according to the number of printing pages to realize automatic multi-page printing of the table data. When there are blank spaces in the page filling situation, the print page generation module automatically deletes the blank spaces to realize the full-page printing function.

[0009] Optionally, the bookmark data includes data in a one-row-multiple-column format.

[0010] Optionally, the document template generates corresponding HTML controls according to different bookmark data and is configured with a source data query drop-down box for querying source data corresponding to the bookmark data, while supporting data interaction and javascript injection.

[0011] By adopting the above technical solution, the interactive function of the document is realized by generating HTML controls with different tags and injecting javascript.

[0012] Optionally, the fixed ratio algorithm is configured as 1cm=360000emus=1px=9525emus; Among them, cm represents the unit of length, emus is the conversion unit, and px represents pixels.

[0013] By adopting the above technical solution, the source data value can be converted into a trend chart suitable for the size of the printing page through a fixed ratio algorithm.

[0014] Optionally, the target trend chart template is a single Y-axis trend chart template or a dual Y-axis trend chart template.

[0015] Optionally, the rendering process of the dual Y-axis trend chart template is: obtaining a first input value and a first bookmark data according to the source data, calculating a first entry height of the first Y-axis according to the upper limit of the first entry value, the lower limit of the first entry value and a fixed ratio algorithm, obtaining a second entry value of the second Y-axis according to the source data, performing a formula conversion on the second Y-axis entry value to obtain a target second entry height, and rendering the dual Y-axis trend chart template according to the first entry height, the first bookmark data, the second entry height and the second bookmark data.

[0016] By adopting the above technical solution, the second input value is converted into the target second input value according to the height of the first Y-axis and the number of equal divisions through a formula to obtain a correct trend chart.

[0017] In summary, the present application includes at least one of the following beneficial technical effects: 1. The table data and trend chart are obtained through the source data, and the table template library and trend chart template library in the document template are rendered to obtain the table printing information and trend chart printing information, realizing the WYSIWYG editable function. The print page generation module obtains the print page according to the table printing information and trend chart printing information to realize the readable function, that is, the WYSIWYG editing function is realized, which improves the user experience, and realizes the protection of document integrity and security by the read-only function, which improves the work efficiency of personnel. One template supports multiple business scenarios and saves workload; 2. The storage module tracks and reports source data, table templates, and trend chart templates to achieve paperless storage of data and document templates; 3. Use Word for template creation and content rendering to support a variety of record data forms, meet a variety of personalized needs, and realize customized interaction methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a read-only and WYSIWYG integrated medical document system of this application.

[0019] Figure 2 It is a trend chart template of a read-only and WYSIWYG integrated medical document system in this application. DETAILED DESCRIPTION

[0020] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0021] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.

[0022] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0023] The present application embodiment discloses a read-only and WYSIWYG integrated medical document system. Figure 1 , mainly including: data acquisition module, table rendering module, trend chart rendering module, print page generation module and storage module.

[0024] The data acquisition module is configured to acquire source data and document templates. The document templates include a table template library and a trend chart template library, and send the source data and the document templates to the storage module; Table rendering module: used for acquiring the table template library, matching the table template library with the source data to obtain a target table template, wherein the target table template includes a target bookmark part and a target table part, acquiring bookmark data and table data according to the source data, rendering the target table template according to the bookmark data and the table data to generate table printing information, and sending the table printing information to the printing page generation module; A trend chart rendering module: obtaining a trend chart template library, matching a target trend chart template according to source data, wherein the target trend chart template contains a target trend bookmark mark and a target trend chart, obtaining trend bookmark data and an input value according to the source data, setting a height and a number of equal height divisions of the target trend chart according to the input value and a fixed ratio algorithm, rendering the target trend chart template according to the input value and the target trend bookmark data to obtain trend chart printing information, and sending the trend chart printing information to a printing page generation module; Printing page generating module: generating a printing page according to the table printing information and the trend chart printing information, and sending the printing page to the storage module; Storage module: used to store print pages, source data and document templates.

[0025] Specifically, the printing page includes a table printing page and a trend chart printing page. The printing page generation module performs character calculation on the table printing page to obtain the number of printing pages and the page filling status, and generates the printing page according to the number of printing pages. When there are blank spaces in the page filling status, the printing page generation module automatically deletes the blank spaces.

[0026] Specifically, the bookmark data is data in a one-row-multiple-column mode.

[0027] Specifically, the document template generates corresponding HTML controls according to different modules, supports data interaction, and supports JavaScript injection.

[0028] Specifically, the fixed ratio algorithm is 1 cm = 360000 emus = 1 px = 9525 emus, wherein cm represents a length unit, emus is used as a conversion unit, and px represents a pixel.

[0029] Specifically, the trend chart template is a single Y-axis trend chart or a dual Y-axis trend chart template. The dual Y-axis trend chart template preferably includes a first Y-axis and a second Y-axis.

[0030] Specifically, the rendering process of the dual Y-axis trend chart template is: obtaining the first input value and the first bookmark data according to the source data, calculating the first entry height of the first Y-axis according to the upper limit of the first entry value, the lower limit of the first entry value and a fixed ratio algorithm, obtaining the second entry value of the second Y-axis according to the source data, performing a formula conversion on the second Y-axis entry value to obtain the target second entry height, and rendering the dual Y-axis trend chart template according to the first entry height, the first bookmark data, the second entry height and the second bookmark data.

[0031] like Figure 2 As shown in the trend chart template, the rendering process of the dual Y-axis trend chart template is: obtaining a first input value and a first bookmark data according to the source data, calculating a first input height of the first Y-axis according to an upper limit of the first input value, a lower limit of the first input value and a fixed ratio algorithm, obtaining a second input value of the second Y-axis according to the source data, performing a formula conversion on the second Y-axis input value to obtain a target second input height, and rendering the dual Y-axis trend chart template according to the first input height, the first bookmark data, the second input height and the second bookmark data; For example: The conversion formula for the first input height y1 of a point A(x, y1) on the Y axis is: Among them, y1 represents the first input value, y1′ is the first input height; The second input height y2 of a point A(x, y2) on the Y axis is converted by a formula, and the processing formula is: Among them, y2 represents the second input value, and y2 represents the second height.

[0032] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, it will be easy for those skilled in the art to think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A read-only and WYSIWYG integrated medical document system, characterized in that: include: A data acquisition module, configured to acquire source data and document templates and send them to the storage module, the source data including bookmark data and table data, the bookmark data including trend bookmark data and input values ​​thereof, and the document templates including a table template library and a trend chart template library; a table rendering module, configured to obtain a corresponding target table template from the table template library according to the source data, the target table template comprising a target bookmark part and a target table part, retrieve corresponding bookmark data and table data according to the source data, fill and render the target table template according to the bookmark data and the table data to generate table printing information; A trend chart rendering module is configured to match a target trend chart template from a trend chart template library according to source data, the target trend chart template including a target trend bookmark mark and a target trend chart, obtain trend bookmark data and a corresponding input value based on the source data analysis, set the height of the target trend chart and the number of equal height divisions according to the input value combined with a fixed ratio algorithm, fill the target trend chart template with data and render it according to the input value and the target trend bookmark data to obtain trend chart printing information; A printing page generating module, configured to generate a printing page according to the table printing information and the trend chart printing information; The storage module is configured to store print pages, source data and document templates.

2. A read-only and WYSIWYG integrated medical document system according to claim 1, characterized in that: The printing page includes a table printing page and a trend chart printing page, and the printing page generation module performs character calculation on the table printing page to obtain the number of printing pages and the page filling status, and generates the printing page according to the number of printing pages; When it is detected that there is a blank space in the page filling situation, the print page generation module automatically deletes the blank space.

3. The read-only and WYSIWYG integrated medical document system according to claim 1, characterized in that: The bookmark data includes data in a row-and-multiple-column format.

4. A read-only and WYSIWYG integrated medical document system according to claim 3, characterized in that: The document template generates corresponding HTML controls according to different bookmark data and is configured with a source data query drop-down box for querying the source data corresponding to the bookmark data. It also supports data interaction and javascript injection.

5. The read-only and WYSIWYG integrated medical document system according to claim 1, characterized in that: The fixed ratio algorithm is configured as 1cm=360000emus=1px=9525emus; Among them, cm represents the unit of length, emus is the conversion unit, and px represents pixels.

6. The read-only and WYSIWYG integrated medical document system according to claim 1, characterized in that: The target trend chart template is a single Y-axis trend chart template or a dual Y-axis trend chart template.

7. The read-only and WYSIWYG integrated medical document system according to claim 6, characterized in that: The dual Y-axis trend chart template includes a first Y-axis and a second Y-axis, and the second Y-axis is an uneven Y-axis.

8. The read-only and WYSIWYG integrated medical document system according to claim 7, characterized in that: The rendering process of the dual Y-axis trend chart template is as follows: obtaining a first input value and a first bookmark data according to the source data, calculating a first input height of the first Y-axis according to an upper limit of the first input value, a lower limit of the first input value and a fixed ratio algorithm, obtaining a second input value of the second Y-axis according to the source data, performing a formula conversion on the second Y-axis input value to obtain a target second input height, and rendering the dual Y-axis trend chart template according to the first input height, the first bookmark data, the second input height and the second bookmark data.