CN115146584B - Full-structured Web version electronic medical record editor system - Google Patents

Full-structured Web version electronic medical record editor system Download PDF

Info

Publication number
CN115146584B
CN115146584B CN202210787439.8A CN202210787439A CN115146584B CN 115146584 B CN115146584 B CN 115146584B CN 202210787439 A CN202210787439 A CN 202210787439A CN 115146584 B CN115146584 B CN 115146584B
Authority
CN
China
Prior art keywords
document
data
medical record
unit
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210787439.8A
Other languages
Chinese (zh)
Other versions
CN115146584A (en
Inventor
胡跃文
刘辉
高雪峰
牟登悦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Chengdian Yixing Digital Health Software Co ltd
Original Assignee
Chengdu Chengdian Yixing Digital Health Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Chengdian Yixing Digital Health Software Co ltd filed Critical Chengdu Chengdian Yixing Digital Health Software Co ltd
Priority to CN202210787439.8A priority Critical patent/CN115146584B/en
Publication of CN115146584A publication Critical patent/CN115146584A/en
Application granted granted Critical
Publication of CN115146584B publication Critical patent/CN115146584B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/169Annotation, e.g. comment data or footnotes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/60ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Epidemiology (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

A fully structured Web version electronic medical record editor system comprising: the document analyzer module is used for realizing the document structure, document style, document rendering and document functions of the electronic medical record document; the data renderer module is used as a bridge for processing, managing and circulating the whole electronic medical record document data, and extracting, analyzing, integrating and sharing the data; the rule renderer module is used as a guarantee system architecture of the electronic medical record editor, determines specific actions through events, configures corresponding conditions to determine specific ranges, and executes corresponding specified actions to ensure standardization, integrity and logic of data during writing of the document; and the multi-mode converter module is used for realizing multi-terminal and multi-writing modes of the electronic medical record editor. The method realizes the overall design of high cohesion, low coupling, reusability and high expansion, performs document rendering processing by data driving, and enables the case document to be in a multi-layer structure by a multi-level document architecture.

Description

Full-structured Web version electronic medical record editor system
Technical Field
The application relates to the technical field of electronic medical records in medical information, in particular to a full-structured Web version electronic medical record editor system.
Background
With the development of computer information technology, improvement of medical informatization, aggravation of industry competition, and the start of internet manufacturers to enter the medical industry and the requirement of extremely experience of users, the mode that the traditional medical manufacturers rely on desktop systems is outdated. Today, the market of C/S electronic medical records is increasingly saturated, and the electronic medical record industry is urgently required to have an electronic medical record editor which is comprehensive in function, extremely convenient to experience, stable in operation and cross-platform. However, due to the limitations of technical capability and innovation capability, no mature web edition electronic medical record editor exists at present.
The web version electronic medical record can realize cross-platform by means of a browser, and is a mainstream development direction. However, when facing a complex tool product such as an electronic medical record editor, the open source web editor does not support the basic functions of documents such as content paging, form splitting, page hierarchical structure setting, data full structuring and the like because the front-end technology is not stored sufficiently and is not tightly combined with the electronic medical record industry, and the web pages have no document structure concept, so that the availability of most products is not high. When facing the related complex functions of the electronic medical record editor, the general front-end computing method cannot support the computing processing and the data processing of the electronic medical record editor, so that a series of efficiency and use problems are caused.
The B/S architecture mode electronic medical record editor in the current market mainly has the following defects:
1. instead of body architecture according to standardized document structures, the entire document structure and data structure are unordered;
2. the data of the operation is an HTML/DOM tree, the data and the view are not separated, the data are all the same memory data, the data content is redundant, and the medical record is overlarge;
3. the page has no hierarchical structure, and can not process data, extract data and share data conveniently and flexibly;
4. the expansibility is poor.
Disclosure of Invention
In order to solve the defects in the prior art, the application provides a full-structured Web version electronic medical record editor system which realizes the modes of full-structured data, intelligent quality control and multi-terminal integration of the structure documentation (page display, form split and the like) of Web version electronic medical record documents and meets the requirements of relevant standards for the medical record document editor.
In order to achieve the above object, the present invention adopts the following technique:
a fully structured Web version electronic medical record editor system comprising:
the document analyzer module is used for realizing the document structure, document style, document rendering and document functions of the electronic medical record overall document of the electronic medical record editor;
the data renderer module is used as a bridge for processing, managing and circulating the whole electronic medical record document data, and extracting, analyzing, integrating and sharing the data;
the rule renderer module is used as a guarantee system architecture of the electronic medical record editor, determines specific actions through events, configures corresponding conditions to determine specific ranges, and executes corresponding specified actions to ensure standardization, integrity and logic of data during writing of the document;
the multi-mode converter module is used for realizing multi-terminal and multi-writing modes of the electronic medical record editor as middleware.
Further, the document parser module comprises a document structure unit, a document style unit, a nursing document unit, a document rendering unit and a functional module unit.
Still further, the functional module unit includes a medical formula drawing component, a picture drawing component, a medical picture editor, a medical record control, a right key menu component, and a copy and paste component.
Further, the data renderer module includes a document data structure unit, a structured data unit, and a data sharing unit.
Further, the rule renderer module comprises a real-time quality control unit and an intelligent expansion component unit.
Further, the intelligent extension component unit comprises a hierarchical authority control block, a rule linkage configuration block, a fragment configuration block and a header fragment block.
The integrated view module is used for forming closed-loop data display by summarizing various data of a patient in the electronic medical record in multiple dimensions and multiple layers by taking time as an axis, and comprises a three-unit, a partograph unit and a time axis unit.
The beneficial effects of this application lie in:
1. based on canvas drawing and multiple algorithms, a data-driven and multi-level document architecture is used as a core, an integrated view system is expanded by taking a document analyzer, a data renderer, a rule renderer and a multi-mode converter as centers, a set of complete electronic medical record editor system is formed, the whole architecture is functionally constructed by using engineering, modularization and componentization ideas, and the high-cohesion, low-coupling, reusable and high-expansion whole design of the system is realized;
2. compared with the traditional H5 editor, the system provided by the invention has the advantages of high functional rendering speed, small storage data quantity, high running speed and clear structural hierarchy, realizes the full-structured data mode of the web version electronic medical record, provides convenience for medical record data extraction, analysis, integration and sharing, and realizes the modes of multi-terminal use and multi-platform use of one editor tool.
Drawings
Fig. 1 is a block diagram of an electronic medical record editor system according to an embodiment of the present application.
FIG. 2 is a block diagram of a document parser module in an embodiment of the present application.
Fig. 3 is a block diagram of a functional module unit according to an embodiment of the present application.
Fig. 4 is a block diagram of a data renderer module according to an embodiment of the present application.
Fig. 5 is a block diagram of a rule renderer module according to an embodiment of the present application.
Fig. 6 is a block diagram of an intelligent expansion assembly unit according to an embodiment of the present application.
Fig. 7 is a multi-port and multi-writing mode schematic diagram of a multi-mode converter module according to an embodiment of the present application.
FIG. 8 is a block diagram of a preferred embodiment of an electronic medical records editor system.
Fig. 9 is a block diagram of an integrated view module according to an embodiment of the present application.
Fig. 10 is an integrated view functional presentation example diagram of an embodiment of the present application.
FIG. 11 is a diagram illustrating a functional presentation of an electronic medical record editor according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the following detailed description of the embodiments of the present invention will be given with reference to the accompanying drawings, but the described embodiments of the present invention are some, but not all embodiments of the present invention.
The embodiment of the application provides a full-structured Web version electronic medical record editor system, which is based on canvas drawing and multiple algorithms, takes a data-driven and multi-level document architecture as a core, is built around a document analyzer, a data renderer, a rule renderer and a multi-mode converter as a center, expands an integrated view system to form a set of complete electronic medical record editor system, and the whole architecture is functionally built by using engineering, modularization and componentization ideas to realize the high-cohesion, low-coupling, reusable and high-expansion integral design of the system.
As shown in fig. 1, the electronic medical record editor system of the present example includes a document parser module, a data renderer module, a rule renderer module, and a multimodal converter module.
The document analyzer module is used for realizing the document structure, document style, document rendering and document functions of the electronic medical record document, and is a core architecture module of the electronic medical record, which penetrates through the whole technical system.
The data renderer module is used as a bridge for processing, managing and circulating the whole electronic medical record document data, so that the extraction, analysis, integration and sharing of the data are realized, and the web version electronic medical record full-structure mode is realized.
The rule renderer module is used as a guarantee system architecture of the electronic medical record editor, determines specific actions through events, configures corresponding conditions to determine specific ranges, and executes corresponding specified actions to ensure standardization, integrity and logic of data during writing of the document.
The multi-mode converter module is used for realizing multi-terminal and multi-writing modes of the electronic medical record editor as middleware.
In this example, as shown in fig. 2, the document parser module includes a document structure unit, a document style unit, a care document unit, a document rendering unit, and a function module unit.
The document structure unit mainly standardizes the structure system of the electronic medical record document, the document structure is an internal carrier of the electronic medical record document, and various medical record documents are displayed. The method comprises the steps that an overall document structure of an electronic medical record is realized through an OOXML document standard object tree, the OOXML document standard object tree comprises a header, a footer and a main body object tree, all elements in the overall document are collectively called as nodes of the object tree, the nodes comprise a father node and a child node, the child node is collected in a collection mode, the child node points to the father node in a pointer mode, and therefore a complete set of document object tree structure is realized; nodes include paragraphs, forms, fields, input boxes, text, pictures, graphics, medical formulas, and the like.
The document object tree extends through all modules of the entire electronic medical record document. As almost all module operation objects, such as position calculation, cursor jump, element node addition, deletion and verification, etc., the width and height of each occupied node are calculated in an integral mode from father to son and from front to back through an object tree of a document structure, the node principle is sequentially arranged, the position information of each node is calculated and stored on the corresponding node object, and a complete document node position calculation algorithm is formed. The document data is extracted based on a document object tree, which is created based on the document data, and the document object tree complement each other.
The document structured data is extracted based on a document object tree. Document rendering is based on the sequential rendering of the document object tree from parent to child, from front to back. The document directory structure is based on the document directory index extracted from the document object tree. The document authority control is based on complete control of authority of the document object tree. The data mark is based on the corresponding node mark made by the document object tree, and mark data is generated.
The document style unit is used for realizing the document style of the whole document based on the document structure, and the document style comprises margin style, table style, paragraph style and text style for the final structure and style effect.
The nursing document unit is used as a special structure in a document structure, and a nursing table is contained in a page body of a common document structure, so that the whole nursing document business logic is realized. The difference from the general document structure is that the main body has only one nursing form and characteristic of the nursing document.
Both the nursing form of the nursing document and the common form of the common document structure follow the basic form algorithm:
table creation algorithm: through the row and column parameters, firstly, an integral table object is created, then a table row object is created, then a table column set is created, and finally, a cell object is created. When each table node is created, the required attributes are mounted at the same time.
Combining algorithm: the selected cells are determined through a selection algorithm, then the attribute related to the combination is generated, if the combination involves the combination of the whole row or the whole column, the number of the row or the column set of the table is correspondingly reduced, and finally the combination effect is realized through rendering.
Splitting algorithm: the target cell is split into the required rows and columns according to the split row-column parameters. There is a limitation in that the row of the target cell split must be an integer multiple of the row occupied or a row. An increase in the number of columns split triggers a corresponding increase in the set of table columns.
The nursing document is a table with a preset area divided in a page body of a document structure on the basis of realizing a document style, the contents of each row are separated by a frame line in nursing table cells, all data in the nursing table are independently extracted, complete structuring is realized, templates and data separation are realized, and the functions of the style, the summary, the data verification, the data limitation, the signature, the synchronous vital signs, the night shift and the like of the nursing document are controlled by setting the attribute of the nursing table through an attribute column.
The document rendering unit is used for completing whole document rendering based on a document structure, node units can be thinned to one character based on a node set of an object tree, document data are sequentially extracted from a father node to a child node from a former node to a latter node, and the document structure is based on a document object tree principle, and the nodes of the document tree can be thinned to a single character, so that the node set to be rendered of each page can be accurately controlled based on a node position calculation algorithm, document paging is achieved, and a document paging algorithm is realized. By means of structured data extraction, document generation in XML format, JSON format, PDF format, HTML format, picture format, TXT format and the like is achieved.
Based on the document object tree, document data is internally extracted, and when rendering, the document data is rendered into the document object tree.
The document node can be a data element node, the carrier of the data element node is a control node, and the document data can be structured by the data element node. The document node is an independent body, so that authority control of the document node, document mark and a series of operation control of the document node are realized. And setting the attribute of the document node in the attribute column, so that all operations of the document node can be completely controlled.
The function module unit is used for expanding the document function of the electronic medical record according to the document structure, and realizing the functions of medical formula drawing, picture drawing, medical picture editing, medical record control, right key menu, copy and paste and the like. And according to the document structure algorithm, further expanding specific functional points to complete the whole medical record function.
In this example, as shown in fig. 3, the functional module unit includes: the medical formula drawing component, the picture drawing component, the medical picture editor, the medical record control, the right key menu component and the copy and paste component.
The medical formula drawing component is used for inserting a medical expression at a designated position of the whole document, drawing input contents by monitoring key events and utilizing canvas objects of a browser, inputting the input contents into the document to modify the contents of the medical formula, and synchronizing the input contents into the medical formula of the electronic medical record editor.
The picture drawing mode component is used for judging the display mode/surrounding type of the picture, wherein the display mode comprises an embedded type, a surrounding type, an up-down type, a floating-up type and a floating-down type of the picture, and the picture drawing mode component is realized through drawing priority. Specifically, firstly, starting from a picture node element, and enabling the attribute of the picture node element to contain the characteristics of the size, the position, the surrounding type and the like of a picture through a document node calculation algorithm; when the document is rendered, the document nodes are sequentially rendered from father to son and from front to back, when the image surrounding needs and characters are laid out, the document nodes are rendered according to the layout sequence from bottom to top, the effects that the images are embedded into the characters, the characters surround the periphery of the images, the images are located up and down, the images are suspended above the characters or the images are sunk down are finally achieved, and the image scaling and the image rotation are achieved through the scaling matrix and the rotation matrix.
The medical picture editor is used for realizing a picture drawing function through a canvas algorithm, realizing a function of drawing a closed shape or an open shape on a picture through displacement transformation of a displacement matrix, providing a filling pattern for filling the closed shape, realizing a function of drawing a local picture through a picture cutting algorithm of the canvas, and realizing a picture local scaling function through a scaling matrix. The closed forms comprise rectangle, ellipse, polygon, triangle, free curve closed area, arrow shape, etc.; the open shape includes straight line segments, curved line segments, free curve segments, etc.
The medical record control unit is used for providing control functions, wherein the controls comprise a single-selection control, a drop-down control, a check control, a drop-down table, a date, a domain and the like. Specifically, the option data storage of the single-selection control and the drop-down control is realized by adding attribute data to the object; for the single-choice control, drawing a selection state of the single-choice control by drawing pictures, drawing a selection item word of the single-choice control by drawing a common word, and realizing that clicking the single-choice control changes the selection state and modifies stored option data by monitoring clicking events; for a drop-down control, a drop-down popup window is created by monitoring click events to provide a function for a user to select drop-down; wherein the control may control the read-only, write-or-not and other states of the control by attributes. The full keyboard operation function of the control is realized by monitoring the keyboard event.
The right-key menu unit is used for creating a menu node by monitoring right-key menu events of the browser and distributing events of menu items selected by the right-key menu through a subscription mode and a publisher mode.
The copy and paste unit realizes content range selection through a document selection algorithm: the node position covered by the rectangular area is calculated by the rectangular area formed by the starting point and the ending point of the cursor, and the covered node is highlighted by the virtual background. If the end position is on the merged cell, then the end position is the merge target cell position. Processing the data content copied to the clipboard by monitoring the copy event to enable sharing of the copied data content; the copy data includes binary data of plain text, html, and word, so that other software can recognize the data to achieve sharing of the copy content.
In the example, the data renderer module is used for processing, managing and circulating the whole document data, and based on a document multi-layer architecture system, the data extraction, analysis, integration and sharing are realized, and the data renderer module plays a role of a bridge in the whole electronic medical record editor system. As shown in fig. 4, the data renderer module includes a document data structure unit, a structured data unit, and a data sharing unit.
Wherein the document data structure unit is used for providing a data storage structure based on tree, and the root node of the data storage structure stores main body attributes including the paper size, page direction and the like of the document; the next level is paragraphs, which store paragraph attributes including line height, center, etc.; the next level is a table and a domain, the domain stores data sources, coding information and the like, and the table stores table attributes of rows, cells, merging cell information, nursing tables and the like; the lowest level stores words, pictures and controls, and the controls store data information, links, remarks, marks and message data structures of the binding data sources.
The document data structure unit adopts a caching algorithm: because the document structure is based on the principle of a document object tree, the nodes of the object tree are controllable, the internal rendering according to the calculation algorithm and the paging algorithm can be realized, and the time and the space are greatly optimized, so that the rendering of oversized documents, such as disease course records, nursing records and common paperwork in super-multiple pages, is supported.
The structured data unit is used for forming standardized document data according to national standard document architecture by adopting a document-paragraph-table-element-character multi-level architecture mode, storing according to national standard shared document requirements, supporting document formats including json, xml and the like, supporting document-level, paragraph-level, block-level and element-level data sharing, and realizing a web electronic medical record full-structured mode by the data renderer.
The data sharing unit is used for carrying out data exchange sharing through element unique identifiers according to preset data mapping rules, realizing internal and external intercommunication through a pipeline mode and providing visual operation configuration.
The rule renderer is a complete system architecture, determines a specific range through an event, configures corresponding conditions to determine a specific range, and finally executes a specified action, so that comprehensive content quality control is realized, and the standardization, the integrity and the logic of data during writing of a document are ensured. As shown in fig. 5, the rule renderer module includes a real-time quality control unit and an intelligent extension component unit.
The real-time quality control unit is used for performing value range verification, input limitation, format verification, text error correction and automatic prompt on the content of the document according to the quality control rule predetermined by the rule renderer by adopting a mode of regular verification and built-in verification rule, and displaying hiding, desensitizing and watermarking according to conditions.
The intelligent expansion assembly unit is used for adopting an interface setting mode, and is configured in a linkage mode among a plurality of elements, data groups and other structures in the same document, so that the expandability and the intelligent capability of the editor are improved.
In this example, as shown in fig. 6, the intelligent extension component unit includes a hierarchical authority control block, a rule linkage configuration block, a segment configuration block, and a header segment block.
The medical record document classifying authority control module is used for controlling the medical record document classifying authority, controlling the read-only state of the medical record through an external input parameter isReadOnly, and controlling the writing state of the medical record through an external input parameter isWrite, wherein the parameters can be sequentially controlled to the states of a document, a paragraph, a table and an element, so that the medical record document classifying authority control is realized.
And the rule linkage configuration block is used for outputting a specified result according to specified events and conditions, so that different structural contents of the document are intelligently displayed. And selecting any element node in medical records through a rule linkage configuration page, configuring a designated trigger event (onClick, onChange and the like), configuring designated execution conditions (value equal to, value greater than or equal to, value less than or equal to, value interval) and finally selecting any element node to realize designated operation results (display, hiding, filling and the like).
The segment configuration block is used for quickly constructing a template, and adopts a document selection algorithm mode to extract the text, style, elements and the like of the appointed paragraphs in the medical record document to form a complete segment structure, such as common current medical history, past history and the like, so that a mode of constructing a plurality of places for use is finally realized, the writing quantity of template construction is reduced, and the efficiency and quality of module construction are improved.
The header fragment block is used for quickly constructing a header and modifying the header, adopts the concept of a mother and child template, independently constructs the header, integrates the header by adopting a quotation mode, and finally realizes a mode of constructing multiple uses at one place and modifying all modifications at one place.
The intelligent extension assembly unit is internally provided with an external integration unit, can be directly connected with a quality control system, uses a rule engine to control the rear end quality, can also be connected with any intelligent auxiliary diagnosis system in the prior art, and truly realizes the intellectualization of the electronic medical record.
The multi-terminal implementation of the multi-mode converter module means that the multi-terminal renders the document effect of the corresponding terminal through one set of data. As shown in fig. 7, the multi-terminal includes a PC side, a mobile side, and the like.
The PC end is the base end, and is implemented in the manner described in the foregoing description of this embodiment.
Rendering of the mobile terminal is realized through browser styles, and input-capable and storable mobile terminal functions are provided; the method achieves the inputtable function of the mobile terminal by being compatible with css style, and can save the function; the positions of different objects are calculated according to internally defined paragraph objects, style objects, document objects, domain objects, control objects and the like through a document node position calculation algorithm, a table creation algorithm and the like, and the data content of the mobile terminal is drawn through a canvas.
The multiple writing modes are modes of writing from left to right, from top to bottom, from left to right, from top to bottom and from right to left, and the multiple writing modes are modes of writing from top to bottom and from right to left, wherein the multiple writing modes are modes of calculating different document node positions according to different character directions, and achieving the effect of rendering different character directions.
Specifically, for the left-to-right and top-to-bottom writing modes, the width is calculated with the width of the content area as a limit, and the height is calculated with the height of the content area as a limit; for the top-down, left-to-right writing mode and the top-down, right-to-left writing mode, the width is calculated with the height of the content area as a boundary and the height is calculated with the width of the content area as a boundary. For the top-down and right-to-left writing modes, the lateral position needs to be subjected to a difference operation with the width of the content area to obtain the actual position during rendering. In general, according to different character directions, different document node positions are calculated, and the effect of rendering different character directions is achieved.
As a preferred manner of this example, as shown in fig. 8, the system further includes an integrated view module, configured to form a closed-loop data display by summarizing each item of data of the patient in the electronic medical record in multiple dimensions and multiple levels with time as an axis.
The whole architecture mode of the integrated view module conforms to a data driving, graph drawing and data separation management mode, has obvious responsibility, and comprises a three-unit measurement list, a labor diagram unit and a time axis unit as shown in fig. 9;
the three-unit is used for recording vital signs and related conditions of the patient, and recording the changes of the body temperature, pulse, respiration, blood pressure and the like of the patient by using different marks and colors. The purpose of realizing the electronic three-measurement list is to reduce the daily curve drawing of nurses, and the system automatically changes the curve as long as the recorded value of each time is recorded, thereby reducing the workload of the nurses; the information sharing of the three measurement orders is realized, and the work efficiency of nurses is directly improved.
The partograph unit is used for dynamically expressing the progress of the partograph and can be used as an important basis for correctly judging and timely processing the difficult partograph of the head. The graph can show that the ordinate is divided into cervical (cervical dilation degree, unit CM) and fetal presenting (fetal presenting height degree, unit CM), and the abscissa time is 0-24 hours, one hour and one cell.
The time axis unit is used for forming a relatively complete record system by various information such as medical record documents, physical sign data, medical advice, medication, inspection, examination and the like of a patient according to the time sequence, and then displaying the record system to a user in a picture and text form so as to realize the full-flow closed-loop management of the patient.
Specifically, architecture of the integrated view module:
the method comprises the steps that a view technology system of canvas and a two-dimensional drawing engine Zrender is adopted, an integral page is generated in a canvas mode, rendering of the integral page is completed according to a coordinate algorithm and a document rendering algorithm, an object-oriented MVC mode is adopted in graphic rendering, a view layer is responsible for rendering, a control layer is responsible for user input interaction, and a data layer is responsible for arrangement and storage of a data model.
Specifically, as shown in fig. 10, the document structure of the integrated view module includes a head region, a body graphic region, and a bottom region.
Wherein the head region is: the title, the header label and the header data line are used for realizing time scale display, date display and data display.
The main body graph area is: the left scale area and the right graph drawing area are used for realizing scale data setting, out-of-range data alarm prompt, arrhythmia display, physical temperature rise and reduction, pain assessment scale and visual attribute configuration.
The bottom area is: the page foot data line, the bottom description column, the page number and the right description column are used for realizing data display, special characters and text following unit cell increasing and decreasing.
Specifically, as shown in fig. 11, the embodiment adopts a brand new technical system and architecture system to construct an electronic medical record editor example.
Compared with the traditional H5 editor, the system provided by the embodiment has the advantages of high functional rendering speed, small storage data quantity, high running speed and clear structural hierarchy, realizes the full-structured data mode of the web version electronic medical record, provides convenience for medical record data extraction, analysis, integration and sharing, can promote the improvement of the level of the whole web version electronic medical record, and enables the electronic medical record editor to be mature in the B/S mode, thereby realizing the modes of multi-end use and multi-platform use of one editor tool.
The foregoing is merely a preferred embodiment of the present application and is not intended to limit the present application, and it will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit and scope of the present application.

Claims (3)

1. A fully structured Web version electronic medical record editor system comprising:
the document analyzer module is used for realizing the document structure, document style, document rendering and document functions of the electronic medical record document, and comprises a document structure unit, a document rendering unit, a document style unit, a nursing document unit and a functional module unit, wherein the document structure unit is used for realizing the integral document structure of the electronic medical record as an internal carrier of the electronic medical record document through an OOXML document standard object tree, the OOXML document standard object tree comprises a header, a footer and a page main body three-part object tree, all elements in the integral document are collectively called as nodes of the object tree, each node comprises a father node and a child node, the child nodes are collected in an aggregation mode, and the child nodes point to the father node in a pointer mode; the nodes comprise paragraphs, tables, domains, input boxes, texts, pictures, graphics and medical formulas; the document rendering unit is used for completing overall document rendering based on a document structure, sequentially extracting document data from a parent node to a child node from a former node to a latter node based on a node set of an object tree, and realizing document generation in XML format, JSON format, PDF format, HTML format, picture format and TXT format; the document style unit is used for realizing document styles of the whole document on the basis of the document structure, wherein the document styles comprise margin styles, table styles, paragraph styles and text styles; the nursing document unit is used for dividing a table of a preset area in a page body of a document structure to serve as a nursing table on the basis of document style realization, and the contents of each row are separated by border lines in the nursing table unit cells, so that all data in the nursing table are independently extracted; the function module unit is used for expanding the document function of the electronic medical record according to the document structure, and realizing the functions of medical formula drawing, picture drawing, medical picture editing, medical record control, right-key menu and copy-paste, and comprises: the medical formula drawing component is used for inserting a medical expression at a designated position of the integral document, drawing input contents by monitoring key events and utilizing canvas objects of a browser, and synchronizing the input contents into a medical formula of the electronic medical record editor; the picture drawing mode component is used for realizing a display mode of pictures through drawing priority, wherein the display mode comprises an embedded type, a peripheral type, an up-down type, a floating-up type and a floating-down type of characters, and realizes picture scaling and picture rotation through a scaling matrix and a rotation matrix; the medical picture editor is used for realizing a picture drawing function through a canvas algorithm, realizing a function of drawing a closed shape or an open shape on a picture through displacement transformation of a displacement matrix, providing a filling pattern for filling the closed shape, realizing a function of drawing a local picture through a picture cutting algorithm of the canvas, and realizing a picture local scaling function through a scaling matrix; the medical record control unit is used for providing control functions, wherein the control comprises a single-selection control, a drop-down control, a check control, a drop-down form, a date and a domain; the method comprises the steps that option data storage of a single-selection control and a drop-down control is achieved by adding attribute data to an object; for the single-choice control, drawing a selection state of the single-choice control by drawing pictures, drawing a selection item word of the single-choice control by drawing a common word, and realizing that clicking the single-choice control changes the selection state and modifies stored option data by monitoring clicking events; for a drop-down control, a drop-down popup window is created by monitoring click events to provide a function for a user to select drop-down; the right-key menu unit is used for creating a menu node by monitoring right-key menu events of the browser and distributing events of menu items selected by the right-key menu through a subscription mode and a publisher mode; the copy and paste unit is used for realizing content range selection through a document selection algorithm: calculating the node position covered by the rectangular area through the rectangular area formed by the starting point and the ending position of the cursor, wherein the covered node is highlighted by a virtual background, and if the ending position is on the combined cell, the ending position is the position of the combined target cell; and is used for processing the data content copied to the clipboard by monitoring the copying event to realize the sharing of the copied data content; the copy data comprises binary data of plain text, html and word;
the data renderer module is used as a bridge for processing, managing and circulating the whole electronic medical record document data to realize extraction, analysis, integration and sharing of the data, and comprises a document data structure unit, a data storage structure based on a tree form, and a root node of the data storage structure stores main body attributes including the paper size and the page direction of the document; the next level is paragraphs, which store paragraph attributes including line height and center; the next level is a table and a domain, the domain stores data sources and coding information, and the table stores row information, cell information, merging cell information and table attributes of whether the table is a nursing table or not; the lowest level stores characters, pictures and controls, and the controls store data information, links, remarks, marks and message data structures of binding data sources;
the rule renderer module is used as a guarantee system architecture of the electronic medical record editor, determines specific actions through events, configures corresponding conditions to determine specific ranges, and executes corresponding specified actions to ensure standardization, integrity and logic of data during writing of the document; the rule renderer module comprises a real-time quality control unit and an intelligent expansion assembly unit, wherein the real-time quality control unit is used for performing value range verification, input restriction, format verification, text error correction and automatic prompt on the document content according to the quality control rule predetermined by the rule renderer by adopting a mode of regular verification and built-in verification rules, and hiding, desensitizing and watermarking are displayed according to conditions; the intelligent expansion assembly unit is used for adopting an interface setting mode, and is configured in a linkage mode between a plurality of elements and data group structures in the same document so as to improve the expandability and the intelligent ability of the editor, and comprises: the hierarchical authority control block is used for controlling the hierarchical authority of the medical record document; the rule linkage configuration block is used for realizing intelligent display of different structural contents according to specified events and conditions; the segment configuration block is used for quickly constructing a template, and extracting characters, styles and elements of specified paragraphs in the medical record document by adopting a document selection algorithm mode to form a complete segment structure; the header fragment block is used for quickly constructing a header and modifying the header, adopts the concept of a mother and child template, independently constructs the header and integrates the header in a quoted mode; the intelligent expansion assembly unit is internally provided with an external integration unit which is used for directly butting a quality control system, performing back-end quality control by using a rule engine and butting an integrated intelligent auxiliary diagnosis system;
the multi-mode converter module is used for realizing multi-terminal and multi-writing modes of the electronic medical record editor as middleware, wherein multi-terminal means that the multi-terminal renders the document effect of the corresponding terminal through one set of data; rendering of the mobile terminal is realized through browser styles, and input-capable and storable mobile terminal functions are provided; the method achieves the inputtable function of the mobile terminal by being compatible with css style, and can save the function; according to the internally defined paragraph object, style object, document object, domain object and control object, calculating the positions of different objects so as to draw the data content of the mobile terminal through canvas; the multi-writing mode is to calculate different document node positions according to different character directions, so as to achieve the effect of rendering different character directions, and comprises a left-to-right and top-to-bottom writing mode, a top-to-bottom and left-to-right writing mode and a top-to-bottom and right-to-left writing mode; for a left-to-right and top-to-bottom writing mode, calculating a width with the width of the content area as a limit and calculating a height with the height of the content area as a limit; for the top-down, left-to-right writing mode and the top-down, right-to-left writing mode, the width is calculated with the height of the content area as a boundary, and the height is calculated with the width of the content area as a boundary; for the top-down and right-to-left writing modes, the transverse position needs to be subjected to a difference operation with the width of the content area to obtain an actual position during rendering;
the integrated view module is used for forming closed-loop data display by summarizing various data of patients in the electronic medical record in multiple dimensions and multiple layers by taking time as an axis, adopting a view technology system of canvas and a two-dimensional drawing engine ZRender, generating an integral page in a canvas mode, completing rendering of the whole page according to a coordinate algorithm and a document rendering algorithm, adopting an object-oriented MVC mode in graphic rendering, and enabling a view layer to be responsible for rendering and a control layer to be responsible for user input interaction and enabling a data layer to be responsible for arranging and storing a data model.
2. The fully structured Web version electronic medical record editor system of claim 1 wherein: the data renderer module further includes:
the structured data unit is used for forming standardized document data by adopting a multi-level architecture mode of document-paragraph-table-element-character according to national standard document architecture, storing according to the requirements of national standard shared documents, supporting document formats comprising json and xml, and supporting data sharing at document level, paragraph level, block level and element level;
and the data sharing unit is used for carrying out data exchange sharing through the unique element identifiers according to the preset data mapping rule, realizing internal and external intercommunication through a pipeline mode and providing visual operation configuration.
3. The fully structured Web version electronic medical record editor system of claim 1 wherein: the document structure adopted by the integrated view module comprises a head area, a main body graph area and a bottom area;
the head region is: the title, the header label and the header data line are used for realizing time scale display, date display and data display;
the main body graph area is: the left scale area and the right graph drawing area are used for realizing scale data setting, out-of-range data alarm prompt, arrhythmia display, physical temperature rise and reduction, pain assessment scale and visual attribute configuration;
the bottom area is: the page foot data line, the bottom description column, the page number and the right description column are used for realizing data display, special characters and text following unit cell increasing and decreasing.
CN202210787439.8A 2022-07-06 2022-07-06 Full-structured Web version electronic medical record editor system Active CN115146584B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210787439.8A CN115146584B (en) 2022-07-06 2022-07-06 Full-structured Web version electronic medical record editor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210787439.8A CN115146584B (en) 2022-07-06 2022-07-06 Full-structured Web version electronic medical record editor system

Publications (2)

Publication Number Publication Date
CN115146584A CN115146584A (en) 2022-10-04
CN115146584B true CN115146584B (en) 2023-07-25

Family

ID=83411237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210787439.8A Active CN115146584B (en) 2022-07-06 2022-07-06 Full-structured Web version electronic medical record editor system

Country Status (1)

Country Link
CN (1) CN115146584B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116011408A (en) * 2022-12-12 2023-04-25 北京华宇九品科技有限公司 Online editable document generation system and method
CN116883548B (en) * 2023-09-08 2023-12-19 福昕鲲鹏(北京)信息科技有限公司 Method and device for conveniently adding and modifying electronic image in electronic document
CN117093316B (en) * 2023-10-18 2023-12-29 北京纷扬科技有限责任公司 Cross-platform page rendering system, electronic equipment and storage medium
CN117577259B (en) * 2024-01-16 2024-04-09 智业软件股份有限公司 Method for generating lightweight document suite based on Libreoffice
CN117594178B (en) * 2024-01-17 2024-03-29 江苏曼荼罗软件股份有限公司 Method, system, storage medium and equipment for processing vital sign information
CN118152523B (en) * 2024-05-13 2024-08-23 中控技术股份有限公司 Fault detection method, system, electronic equipment and readable storage medium
CN118378598B (en) * 2024-06-24 2024-09-06 江西曼荼罗软件有限公司 Medical record data extraction method and system based on regular expression

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202027A (en) * 2016-08-12 2016-12-07 南京都昌信息科技有限公司 A kind of Tibetan language electronic medical record system text editor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425465A (en) * 2012-05-16 2013-12-04 深圳市蓝韵网络有限公司 Electronic medical record document editor
CN113887175B (en) * 2021-09-15 2023-05-12 南京海泰医疗信息系统有限公司 Electronic medical record editor and calling method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202027A (en) * 2016-08-12 2016-12-07 南京都昌信息科技有限公司 A kind of Tibetan language electronic medical record system text editor

Also Published As

Publication number Publication date
CN115146584A (en) 2022-10-04

Similar Documents

Publication Publication Date Title
CN115146584B (en) Full-structured Web version electronic medical record editor system
KR101686691B1 (en) Hierarchically-organized control galleries
AU2006284908B2 (en) Markup based extensibility for user interfaces
CN102651055B (en) Method and system for generating file based on medical image
EP1835434A1 (en) Data processing device and data processing method
Davis HIPO (hierarchy plus input-process-output)
JPWO2006085455A1 (en) Document processing apparatus and document processing method
EP1350180A2 (en) Authoring arbitrary xml documents using dhtml and xslt
CN110968294B (en) Business domain model establishing system and method
JP6866551B2 (en) Computer algebra methods, devices, devices and programs
JP4521408B2 (en) Document processing apparatus and document processing method
JP2008234370A (en) Document processor and document processing method
US20150161079A1 (en) File formats and methods for representing documents
CN111833981A (en) Structured report making and compiling method
JPWO2007081017A1 (en) Document processing device
JP4566196B2 (en) Document processing method and apparatus
US20140215297A1 (en) File formats and methods for representing documents
JPWO2006051974A1 (en) Document processing apparatus and document processing method
JP2000330989A (en) Method for creating structured document and computer- readable recording medium where structured document is stored
JPH07271708A (en) Data processing system and display method of system configuration
JPWO2006001393A1 (en) Document processing method and apparatus
JP2009238215A (en) Data processing device and data processing method
CN112732643B (en) Method for interconversion of flow chart graphic file data and S1000D standard XML format data
CN111768823B (en) SVG element-based medical expression editing method, device, equipment and medium
JP7349263B2 (en) Data editing device, data editing method, computer program, and electronic medical record system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant