Intelligent health medical data structured processing systemTechnical Field
The invention belongs to the field of data structured processing systems, relates to intelligent health medical data, and particularly relates to an intelligent health medical data structured processing system.
Background
The data described in the present invention is an electronic document of clinical medical data. Under the current technical conditions, an electronic document editing system is a common application system, and document editing is performed through a computing terminal.
With the advancement of science and technology, the application based on the browser generally becomes the mainstream application in daily work of people, and the method has considerable flexibility and convenience.
Disclosure of Invention
The invention aims to provide an intelligent health medical data structured processing system.
The purpose of the invention can be realized by the following technical scheme:
an intelligent health medical data structured processing system comprises a terminal, a document server, a document template management module, a document template editing module and a document management module;
the document template management module is used for defining a template model, and the template model comprises the code, the name and the creation time of the template, so that the template is conveniently managed; the template management module is used for creating, deleting and inquiring templates;
the document template editing module is used for editing the template content, and inserts and deletes data groups and data elements into the document content;
the document template editing module is used for defining the unique code, the dependent data element code and the data element value of the data group in the document when the data group is inserted; the document template editing module defines the unique code, the type, the selectable value and the associated data element code of the data element in the document when the data element is inserted; in order to ensure the readability of the data group and the data element codes, the codes are restricted by the codes of the data groups, the codes are defined in a mode of adding hierarchy, and a new copy is created when the document is modified and stored each time;
the document management module is used for defining a document model, the document model comprises an ID, a name, a code, a type, a label, a creation time, an original template document ID, a creator ID and an attribution ID of a document, and a new document is created through a specified template document;
the specific steps of the complete document creation are as follows:
the method comprises the following steps: combining a terminal and a document server for document creation;
step two: modifications are made to the created document.
Further, the data group is a combination of a plurality of data groups or data elements; the data elements are independent data units, and the data elements comprise a guide language class, a text class, a date class, an address class, a single selection class and a multiple selection class.
Further, the document creation includes the steps of:
the method comprises the following steps: establishing a document through terminal operation, and submitting data to a document server;
step two: the document server receives the request and firstly queries the template content, acquires a default data element value according to the request identifier, and automatically fills the data element value into the document to generate new document content;
step three: and saving the document and the content to complete document creation.
Further, the document modification process is as follows:
the method comprises the following steps: opening a document by terminal operation;
step two: the document server receives the request, firstly inquires the latest copy of the document content, and returns a result terminal to obtain the document content;
step three: the terminal analyzes the document data, initializes a data element control in the browser, and adds monitoring data element value change and updating data element value to the control;
step four: after the document editing is finished, the terminal can submit the change data to the document server;
step five: the document server updates the data element attribute of the document change on the original document content in a mode of automatically filling the content;
step six: and then checking the document content to ensure that the document is correct XML format text, further saving a new document copy, and saving a document modification log so as to facilitate document record tracking.
Further, the data elements in the process of initializing the data element control in the third step include the following categories: a leading language type data element, a text type data element, a date type data element, an address type data element, a unit type data element and a multiple choice type data element;
the method for rendering various types of data elements in the initialized data element editing control comprises the following steps:
when the data elements are guide languages, the control can be split, and when new data elements are introduced during document editing, splitting and recombination are carried out, so that the aim that the document data elements can be dynamically increased is fulfilled;
when the data element is of a text type, the control provides direct content entry;
when the data element is of a date type, the control provides selection of date and time, controls the precision of selectable dates according to the attribute of the data element, and supports selection of dates with different precisions of year, month, day, year, month, day and time;
when the data element is an address type, the control is convenient for address information input, and a combined mode of provincial and city selectable and detailed address input is adopted;
when the data element is of a single-selection type, the control can display the single-selection type in a single line or multiple lines, and the entry is completed by conveniently clicking in a direct listing mode;
when the data element is a multi-selection type, the control can display the single-selection type in a single line or multiple lines, and the entry is completed by conveniently clicking in a direct listing mode;
the single-selection type and the multi-selection type can cascade display the data groups or data elements associated with the single-selection type and the multi-selection type after selection, and the data groups or data elements associated with the single-selection type and the multi-selection type are not displayed when the single-selection type and the multi-selection type are not selected, so that the readability of the document editing is improved.
Further, the process of automatically filling the content in the fifth step is as follows:
s1: when a document is loaded, recording the original value of each data element during rendering, updating and recording the value of the data element if the automatic filling value of the data element exists, and adopting a new value when a control is generated to achieve the purpose of automatic filling;
s2: finishing the editing of the document by independently editing each data element, and simultaneously recording the corresponding value of the data element during editing;
s3: and submitting the recorded values of the existing data elements to a document server, and refreshing document contents in the document server, namely refreshing the text information in the XML format.
Further, the step of checking the document content in the sixth step is as follows:
format verification is carried out on the generated XML format text, and the correctness and readability of the content format are guaranteed;
and storing document data, storing a new copy of the successfully verified text, and using the copy for further retrieval, editing and analysis.
The invention has the beneficial effects that: the method comprises the steps of analyzing a document template and types, creating the document template and mechanically applying the document template, then creating a new document, and modifying the document according to contents; the invention has great flexibility and convenience by adopting the steps, and the invention is a good solution for meeting the requirement of large-space structuring on data processing based on browser application in the processing of medical data.
Drawings
In order to facilitate understanding for those skilled in the art, the present invention will be further described with reference to the accompanying drawings.
FIG. 1 is a document creation flow diagram of the present invention;
FIG. 2 is a document modification flow diagram of the present invention.
Detailed Description
As shown in fig. 1-2, an intelligent health medical data structured processing system includes a terminal, a document server, a document template management module, a document template editing module and a document management module;
the document template management module is used for defining a template model, and the template model comprises the code, the name and the creation time of the template, so that the template is conveniently managed; the template management module is used for creating, deleting and inquiring templates;
the document template editing module is used for editing the template content, and inserts and deletes data groups and data elements into the document content;
the document template editing module is used for defining the unique code, the dependent data element code and the data element value of the data group in the document when the data group is inserted; the document template editing module defines the unique code, the type, the selectable value and the associated data element code of the data element in the document when the data element is inserted; in order to ensure the readability of the data group and the data element codes, the codes are restricted by the codes of the data groups, the codes are defined in a mode of adding hierarchy, and a new copy is created when the document is modified and stored each time;
the document management module is used for defining a document model, the document model comprises an ID, a name, a code, a type, a label, a creation time, an original template document ID, a creator ID and an attribution ID of a document, and a new document is created through a specified template document;
the specific steps of the complete document creation are as follows:
the method comprises the following steps: combining a terminal and a document server for document creation;
step two: modifications are made to the created document.
Further, the data group is a combination of a plurality of data groups or data elements; the data elements are independent data units, and the data elements comprise a guide language class, a text class, a date class, an address class, a single selection class and a multiple selection class.
Further, the document creation includes the steps of:
the method comprises the following steps: establishing a document through terminal operation, and submitting data to a document server;
step two: the document server receives the request and firstly queries the template content, acquires a default data element value according to the request identifier, and automatically fills the data element value into the document to generate new document content;
step three: and saving the document and the content to complete document creation.
Further, the document modification process is as follows:
the method comprises the following steps: opening a document by terminal operation;
step two: the document server receives the request, firstly inquires the latest copy of the document content, and returns a result terminal to obtain the document content;
step three: the terminal analyzes the document data, initializes a data element control in the browser, and adds monitoring data element value change and updating data element value to the control;
step four: after the document editing is finished, the terminal can submit the change data to the document server;
step five: the document server updates the data element attribute of the document change on the original document content in a mode of automatically filling the content;
step six: and then checking the document content to ensure that the document is correct XML format text, further saving a new document copy, and saving a document modification log so as to facilitate document record tracking.
Further, the data elements in the process of initializing the data element control in the third step include the following categories: a leading language type data element, a text type data element, a date type data element, an address type data element, a unit type data element and a multiple choice type data element;
the method for rendering various types of data elements in the initialized data element editing control comprises the following steps:
when the data elements are guide languages, the control can be split, and when new data elements are introduced during document editing, splitting and recombination are carried out, so that the aim that the document data elements can be dynamically increased is fulfilled;
when the data element is of a text type, the control provides direct content entry;
when the data element is of a date type, the control provides selection of date and time, controls the precision of selectable dates according to the attribute of the data element, and supports selection of dates with different precisions of year, month, day, year, month, day and time;
when the data element is an address type, the control is convenient for address information input, and a combined mode of provincial and city selectable and detailed address input is adopted;
when the data element is of a single-selection type, the control can display the single-selection type in a single line or multiple lines, and the entry is completed by conveniently clicking in a direct listing mode;
when the data element is a multi-selection type, the control can display the single-selection type in a single line or multiple lines, and the entry is completed by conveniently clicking in a direct listing mode;
the single-selection type and the multi-selection type can cascade display the data groups or data elements associated with the single-selection type and the multi-selection type after selection, and the data groups or data elements associated with the single-selection type and the multi-selection type are not displayed when the single-selection type and the multi-selection type are not selected, so that the readability of the document editing is improved.
Further, the process of automatically filling the content in the fifth step is as follows:
s1: when a document is loaded, recording the original value of each data element during rendering, updating and recording the value of the data element if the automatic filling value of the data element exists, and adopting a new value when a control is generated to achieve the purpose of automatic filling;
s2: finishing the editing of the document by independently editing each data element, and simultaneously recording the corresponding value of the data element during editing;
s3: and submitting the recorded values of the existing data elements to a document server, and refreshing document contents in the document server, namely refreshing the text information in the XML format.
Further, the step of checking the document content in the sixth step is as follows:
format verification is carried out on the generated XML format text, and the correctness and readability of the content format are guaranteed;
and storing document data, storing a new copy of the successfully verified text, and using the copy for further retrieval, editing and analysis.
When the intelligent health medical data structured processing system works, a document template is created and applied mechanically by analyzing the document template and the type, then a document is created, and the document is modified according to the content; the invention has great flexibility and convenience by adopting the steps, and the invention is a good solution for meeting the requirement of large-space structuring on data processing based on browser application in the processing of medical data.
The foregoing is merely exemplary and illustrative of the present invention and various modifications, additions and substitutions may be made by those skilled in the art to the specific embodiments described without departing from the scope of the invention as defined in the following claims.