CN112131851B - Target electronic medical record template generation method and device - Google Patents

Target electronic medical record template generation method and device Download PDF

Info

Publication number
CN112131851B
CN112131851B CN202010918377.0A CN202010918377A CN112131851B CN 112131851 B CN112131851 B CN 112131851B CN 202010918377 A CN202010918377 A CN 202010918377A CN 112131851 B CN112131851 B CN 112131851B
Authority
CN
China
Prior art keywords
medical record
electronic medical
template
standard
initial
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
CN202010918377.0A
Other languages
Chinese (zh)
Other versions
CN112131851A (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.)
Winning Health Technology Group Co Ltd
Original Assignee
Winning Health Technology Group 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 Winning Health Technology Group Co Ltd filed Critical Winning Health Technology Group Co Ltd
Priority to CN202010918377.0A priority Critical patent/CN112131851B/en
Publication of CN112131851A publication Critical patent/CN112131851A/en
Application granted granted Critical
Publication of CN112131851B publication Critical patent/CN112131851B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • G06F40/143Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • 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

Abstract

The application provides a method and a device for generating a target electronic medical record template, wherein the method for generating the target electronic medical record template comprises the following steps: receiving an electronic medical record template generation request sent by a medical institution terminal; determining an object template from a plurality of standard electronic medical record templates according to the indication information; wherein, a standard electronic medical record template is suitable for an editor, and the initial electronic medical record template is different from the editor suitable for the object template; and generating a target electronic medical record template which is suitable for the same editor as the object template according to the initial electronic medical record template and the object template. In the scheme, the initial electronic medical record template containing the non-standard medical data elements is converted into the target electronic medical record template containing the standard medical data elements, so that the universality of the electronic medical record template is improved, the standardized electronic medical record template can be shared among different medical institutions, and the sharing of data among different medical institutions is facilitated.

Description

Target electronic medical record template generation method and device
Technical Field
The application relates to the field of electronic medical records, in particular to a target electronic medical record template generation method and device.
Background
Because electronic medical record editor manufacturers and medical record template element definitions used by different medical institutions are not uniform, electronic medical record templates of different medical institutions cannot be shared commonly. Particularly, for different electronic medical record editor manufacturers, there is no set of document standards with unified standards, so that there is a certain defect in the aspects of service integration and interface integration. That is to say, the existing electronic medical record templates suitable for different electronic medical record editor manufacturers have poor universality, and data sharing cannot be realized.
Disclosure of Invention
An embodiment of the present application aims to provide a method and an apparatus for generating a target electronic medical record template, so as to solve the technical problems that the electronic medical record template has poor universality and data sharing cannot be realized.
In order to achieve the above purpose, the technical solutions provided in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides a method for generating a target electronic medical record template, including: receiving an electronic medical record template generation request sent by a medical institution terminal; the electronic medical record template generation request comprises an initial electronic medical record template and indication information used for appointing one standard electronic medical record template in a plurality of standard electronic medical record templates as an object template; determining the object template from a plurality of standard electronic medical record templates according to the indication information; wherein one of the standard electronic medical record templates is suitable for an editor, and the initial electronic medical record template is different from the editor suitable for the object template; and generating a target electronic medical record template which is suitable for the same editor as the object template according to the initial electronic medical record template and the object template. In the above scheme, based on the electronic medical record template generation request sent by the medical institution terminal, the initial electronic medical record template corresponding to the medical institution terminal can be converted into the format and the standard structured value domain which are the same as the object template in the standard electronic medical record template, and the format is a format suitable for the target electronic medical record editor. Therefore, the initial electronic medical record template containing the non-standard medical data elements is converted into the target electronic medical record template containing the standard medical data elements, the universality of the electronic medical record template is improved, the standardized electronic medical record template can be shared among different medical institutions, and the sharing of data among different medical institutions is facilitated.
In an optional embodiment of the present application, the standard electronic medical record template includes standard elements, and the standard elements include a standard text, a standard style, a standard structure control, a standard value field, and a standard node attribute corresponding to the standard structure control; the initial electronic medical record template comprises initial elements, wherein the initial elements comprise initial texts, initial styles, initial structure controls, initial value ranges and initial node attributes corresponding to the initial structure controls.
In an optional embodiment of the present application, when the format of the initial electronic medical record template and the format of the target electronic medical record template are both Extensible standard Language (XML) formats, generating a target electronic medical record template that is applicable to the same editor as the object template according to the initial electronic medical record template and the object template includes: converting the standard node attribute into the initial node attribute according to the corresponding relation between the standard element and the initial element to generate an intermediate electronic medical record template; converting the intermediate electronic medical record template into a target pattern according to the initial pattern and a standard pattern corresponding to the intermediate electronic medical record template, and converting a standard value domain corresponding to the intermediate electronic medical record template into a target value domain corresponding to the target pattern to obtain a target electronic medical record template; wherein the target style is the same as the initial style. In the above scheme, in the process of converting the initial electronic medical record template in the XML format into the target electronic medical record template in the same XML format, the standard node attributes may be directly converted into the initial node attributes according to the correspondence between the standard elements and the initial elements, then the standard style corresponding to the intermediate electronic medical record template is converted into the target style, and meanwhile, the standard value domain corresponding to the intermediate electronic medical record template is converted into the standard value domain data elements of the target style. Therefore, the electronic medical record template suitable for one electronic medical record editor can be converted into the electronic medical record template suitable for another electronic medical record editor under the condition that the node attributes in the electronic medical record template are not changed, so that the electronic medical record templates can be shared among different medical institutions, and the data sharing among different medical institutions is facilitated.
In an optional embodiment of the present application, when the Format of the initial electronic medical record template is Rich Text Format (RTF) and the Format of the target electronic medical record template is XML, generating a target electronic medical record template that is applicable to the same editor as the object template according to the initial electronic medical record template and the object template includes: generating an intermediate electronic medical record template according to the semantic similarity between the initial text and the standard text; converting the intermediate electronic medical record template into a target pattern according to the initial pattern and a standard pattern corresponding to the intermediate electronic medical record template, and converting a standard value domain corresponding to the intermediate electronic medical record template into a target value domain corresponding to the target pattern to obtain a target electronic medical record template; wherein the target style is the same as the initial style. In the above scheme, in the process of converting the initial electronic medical record template in the RTF format into the target electronic medical record template in the XML format, an intermediate electronic medical record template can be obtained according to semantic similarity between the initial text and the standard text, then a standard style corresponding to the intermediate electronic medical record template is converted into a target style, and meanwhile, a standard value domain corresponding to the intermediate electronic medical record template is converted into a standard value domain data element of the target style. Therefore, under the condition that the text content in the electronic medical record template is ensured to correspond, the electronic medical record template applicable to one electronic medical record editor can be converted into the electronic medical record template applicable to another electronic medical record editor, so that the electronic medical record templates can be shared among different medical institutions, and the sharing of data among different medical institutions is facilitated.
In an optional embodiment of the present application, the generating an intermediate electronic medical record template according to the semantic similarity between the initial text and the standard text includes: when the semantic similarity between the initial text and the standard text is greater than a preset similarity, determining the corresponding relation between the initial text and the standard text; and replacing the standard text and the standard value field in the object template by using the initial text and the initial value field, and replacing the standard node attribute conversion in the object template by using the initial node attribute to generate the intermediate electronic medical record template. In the above scheme, the correspondence may be determined according to semantic similarity between the initial text and the standard text, and then the standard text may be converted into the initial text, and the standard node attribute may be converted into the initial node attribute. Therefore, the electronic medical record template suitable for one electronic medical record editor can be converted into the electronic medical record template suitable for another electronic medical record editor under the condition that the text and the node attributes in the electronic medical record template are not changed, so that the electronic medical record templates can be shared among different medical institutions, and the sharing of data among different medical institutions is facilitated.
In an optional embodiment of the present application, after the generating an intermediate electronic medical record template according to the semantic similarity between the initial text and the standard text, the method further includes: judging whether other initial texts which do not correspond to the standard texts in the object template exist in the initial electronic medical record template; and if so, adding the other initial texts into the intermediate electronic medical record template to obtain a new intermediate electronic medical record template. In the scheme, redundant contents in the initial electronic medical record template can be added into the intermediate electronic medical record template, so that the integrity of text contents in the initial electronic medical record template is ensured.
In an optional embodiment of the present application, before the generating a target electronic medical record template that is applicable to the same editor as the object template according to the initial electronic medical record template and the object template, the method further includes: and converting the initial electronic medical record template into the RTF format. In the above scheme, for the electronic medical record templates of other formats, the electronic medical record template may be converted into an RTF format, and then the electronic medical record template in the RTF format is converted. Therefore, the electronic medical record template can be shared among different medical institutions, and data sharing among different medical institutions is facilitated.
In an optional embodiment of the application, the converting the intermediate electronic medical record template into a target pattern according to the initial pattern and the standard pattern corresponding to the intermediate electronic medical record template to obtain the target electronic medical record template includes: and replacing the standard style corresponding to the intermediate electronic medical record template with the initial style to form the target style. In the above scheme, after the intermediate electronic medical record template is obtained, in order to adapt to the electronic medical record template styles of different medical institutions, the style of the intermediate electronic medical record template may be converted into a target style.
In a second aspect, an embodiment of the present application provides an apparatus for generating a target electronic medical record template, including: the receiving module is used for receiving an electronic medical record template generation request sent by a medical institution terminal; the electronic medical record template generation request comprises an initial electronic medical record template and indication information used for appointing one standard electronic medical record template in a plurality of standard electronic medical record templates as an object template; the determining module is used for determining the object template from a plurality of standard electronic medical record templates according to the indication information; wherein one of the standard electronic medical record templates is suitable for an editor, and the initial electronic medical record template is different from the editor suitable for the object template; and the generating module is used for generating a target electronic medical record template which is suitable for the same editor as the object template according to the initial electronic medical record template and the object template. In the above scheme, based on the electronic medical record template generation request sent by the medical institution terminal, the initial electronic medical record template corresponding to the medical institution terminal can be converted into the format and the standard structured value domain which are the same as the object template in the standard electronic medical record template, and the format is a format suitable for the target electronic medical record editor. Therefore, the initial electronic medical record template containing the non-standard medical data elements is converted into the target electronic medical record template containing the standard medical data elements, the universality of the electronic medical record template is improved, the standardized electronic medical record template can be shared among different medical institutions, and the sharing of data among different medical institutions is facilitated.
In an optional embodiment of the present application, the standard electronic medical record template includes standard elements, and the standard elements include a standard text, a standard style, a standard structure control, a standard value field, and a standard node attribute corresponding to the standard structure control; the initial electronic medical record template comprises initial elements, wherein the initial elements comprise initial texts, initial styles, initial structure controls, initial value ranges and initial node attributes corresponding to the initial structure controls.
In an optional embodiment of the application, when the format of the initial electronic medical record template and the format of the target electronic medical record template are both Extensible standard Language (XML) formats, the generating module is further configured to: converting the standard node attribute into the initial node attribute according to the corresponding relation between the standard element and the initial element to generate an intermediate electronic medical record template; converting the intermediate electronic medical record template into a target pattern according to the initial pattern and a standard pattern corresponding to the intermediate electronic medical record template, and converting a standard value domain corresponding to the intermediate electronic medical record template into a target value domain corresponding to the target pattern to obtain a target electronic medical record template; wherein the target style is the same as the initial style. In the above scheme, in the process of converting the initial electronic medical record template in the XML format into the target electronic medical record template in the same XML format, the standard node attributes may be directly converted into the initial node attributes according to the correspondence between the standard elements and the initial elements, then the standard style corresponding to the intermediate electronic medical record template is converted into the target style, and meanwhile, the standard value domain corresponding to the intermediate electronic medical record template is converted into the standard value domain data elements of the target style. Therefore, the electronic medical record template suitable for one electronic medical record editor can be converted into the electronic medical record template suitable for another electronic medical record editor under the condition that the node attributes in the electronic medical record template are not changed, so that the electronic medical record templates can be shared among different medical institutions, and the data sharing among different medical institutions is facilitated.
In an optional embodiment of the application, when the Format of the initial electronic medical record template is a Rich Text Format (RTF) and the Format of the target electronic medical record template is an XML Format, the generating module is further configured to: generating an intermediate electronic medical record template according to the semantic similarity between the initial text and the standard text; converting the intermediate electronic medical record template into a target pattern according to the initial pattern and a standard pattern corresponding to the intermediate electronic medical record template, and converting a standard value domain corresponding to the intermediate electronic medical record template into a target value domain corresponding to the target pattern to obtain a target electronic medical record template; wherein the target style is the same as the initial style. In the above scheme, in the process of converting the initial electronic medical record template in the RTF format into the target electronic medical record template in the XML format, an intermediate electronic medical record template can be obtained according to semantic similarity between the initial text and the standard text, then a standard style corresponding to the intermediate electronic medical record template is converted into a target style, and meanwhile, a standard value domain corresponding to the intermediate electronic medical record template is converted into a standard value domain data element of the target style. Therefore, under the condition that the text content in the electronic medical record template is ensured to correspond, the electronic medical record template applicable to one electronic medical record editor can be converted into the electronic medical record template applicable to another electronic medical record editor, so that the electronic medical record templates can be shared among different medical institutions, and the sharing of data among different medical institutions is facilitated.
In an optional embodiment of the present application, the generating module is further configured to: when the semantic similarity between the initial text and the standard text is greater than a preset similarity, determining the corresponding relation between the initial text and the standard text; and replacing the standard text and the standard value field in the object template by using the initial text and the initial value field, and replacing the standard node attribute conversion in the object template by using the initial node attribute to generate the intermediate electronic medical record template. In the above scheme, the correspondence may be determined according to semantic similarity between the initial text and the standard text, and then the standard text may be converted into the initial text, and the standard node attribute may be converted into the initial node attribute. Therefore, the electronic medical record template suitable for one electronic medical record editor can be converted into the electronic medical record template suitable for another electronic medical record editor under the condition that the text and the node attributes in the electronic medical record template are not changed, so that the electronic medical record templates can be shared among different medical institutions, and the sharing of data among different medical institutions is facilitated.
In an optional embodiment of the present application, the target electronic medical record template generating apparatus further includes: the judging module is used for judging whether other initial texts which do not correspond to the standard texts in the object template exist in the initial electronic medical record template; and the adding module is used for adding the other initial texts into the intermediate electronic medical record template to obtain a new intermediate electronic medical record template if the other initial texts are the same as the intermediate electronic medical record template. In the scheme, redundant contents in the initial electronic medical record template can be added into the intermediate electronic medical record template, so that the integrity of text contents in the initial electronic medical record template is ensured.
In an optional embodiment of the present application, the target electronic medical record template generating apparatus further includes: and the conversion module is used for converting the initial electronic medical record template into the RTF format. In the above scheme, for the electronic medical record templates of other formats, the electronic medical record template may be converted into an RTF format, and then the electronic medical record template in the RTF format is converted. Therefore, the electronic medical record template can be shared among different medical institutions, and data sharing among different medical institutions is facilitated.
In an optional embodiment of the present application, the generating module is further configured to: and replacing the standard style corresponding to the intermediate electronic medical record template with the initial style to form the target style. In the above scheme, after the intermediate electronic medical record template is obtained, in order to adapt to the electronic medical record template styles of different medical institutions, the style of the intermediate electronic medical record template may be converted into a target style.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory, and a bus; the processor and the memory are communicated with each other through the bus; the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the target electronic medical record template generating method in the first aspect.
In a fourth aspect, the present application provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the target electronic medical record template generating method according to the first aspect.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a flowchart of a method for generating a target electronic medical record template according to an embodiment of the present application;
fig. 2 is a flowchart of a specific implementation of step S103 according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another specific implementation of step S103 according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a specific implementation manner of another step S103 provided in an embodiment of the present application;
fig. 5 is a block diagram illustrating a structure of a target electronic medical record template generating apparatus according to an embodiment of the present application;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a method for generating a target electronic medical record template according to an embodiment of the present application, where the method for generating the target electronic medical record template includes the following steps:
step S101: and receiving an electronic medical record template generation request sent by a medical institution terminal.
Step S102: and determining an object template from a plurality of standard electronic medical record templates according to the indication information.
Step S103: and generating a target electronic medical record template which is suitable for the same editor as the object template according to the initial electronic medical record template and the object template.
In an alternative embodiment, the medical institution may send the electronic medical record template generation request to the server according to its own requirement through a medical institution terminal (e.g., a mobile phone, a computer, a tablet computer, etc.). The electronic medical record template generation request can include an initial electronic medical record template and indication information for specifying one standard electronic medical record template in a plurality of standard electronic medical record templates as an object template.
The initial electronic medical record template refers to an electronic medical record template that the medical institution wants to convert, and the initial electronic medical record template may be an electronic medical record template currently used by the medical institution, or an electronic medical record template of other medical institutions, and the like.
Electronic Medical Records (EMRs) are also known as computerized Medical Record systems or Computer-Based Patient records (CPR), digitized Medical records that are saved, managed, transmitted, and reproduced by Electronic devices (computers, health cards, etc.) in place of handwritten paper Medical records. Its content may include all the information of the paper case history. The electronic medical record template only has a medical record frame and can be provided for doctors in medical institutions, and doctors can fill in personal information, diagnosis information and the like of patients on the basis of the electronic medical record template to form a complete electronic medical record.
The electronic medical record template request is used for designating one standard electronic medical record template in a plurality of standard electronic medical record templates as an object template, that is, after receiving the electronic medical record template generation request, the server can determine one standard electronic medical record template from the plurality of standard electronic medical record templates as the object template according to the electronic medical record template generation request. The standard electronic medical record templates are electronic medical record templates stored in the server in advance, one standard electronic medical record template is suitable for one editor, and a plurality of standard electronic medical record templates can be suitable for one electronic medical record editor and can also be suitable for a plurality of electronic medical record editors.
The object template is one of the plurality of standard electronic medical record templates, and the medical institution can select one standard electronic medical record template with a corresponding format from the plurality of standard electronic medical record templates as the object template in the conversion process according to the format of the electronic medical record template which needs to be converted by the medical institution.
It should be noted that there are various ways to determine the standard electronic medical record template, which is not specifically limited in the embodiments of the present application, and those skilled in the art can appropriately select the template according to actual situations. For example, the server may collect electronic medical record templates of a plurality of medical institutions as candidate electronic medical record templates, and then the expert may select a certain number of electronic medical record templates from the plurality of candidate electronic medical record templates as standard electronic medical record templates; or the server can collect electronic medical record templates of a plurality of medical institutions as candidate electronic medical record templates, then the expert can select a certain number of electronic medical record templates from the candidate electronic medical record templates, edit the selected electronic medical record templates, and take the edited electronic medical record templates as standard electronic medical record templates; or, the expert edits the plurality of target electronic medical record templates obtained through conversion, and the edited target electronic medical record templates are used as standard electronic medical record templates and the like.
After the standard electronic medical record templates are determined, the standard electronic medical record templates can be uploaded to a server for storage, and can be displayed to a plurality of medical structures through a system interface, so that the plurality of medical structures can select one from the plurality of standard electronic medical record templates as an object template in a conversion process.
As an implementation manner, the electronic medical record template generation request may carry an initial electronic medical record template; in another embodiment, the request for generating the electronic medical record template and the initial electronic medical record template can be sent to the server separately.
Finally, the server can generate a target electronic medical record template according to the initial electronic medical record template and the object template, wherein the target electronic medical record template is an electronic medical record template which is finally acquired by the medical institution and is the same as an electronic medical record editor applicable to the object template. It should be noted that, the detailed description of the specific implementation of generating the target electronic medical record template according to the initial electronic medical record template and the object template will be given in the following embodiments, and will not be described here.
In the above embodiments, the electronic medical record editor has various types, for example: weining 5.0 editor, Duchang editor, Jiahe editor, winning bid editor, etc., wherein different electronic medical record editors can only be used for editing electronic medical records in one format. For example: the Weining 5.0 editor can edit the electronic medical record in the XML format, the Duchang editor can edit the electronic medical record in the XML format, the Jiahe editor can edit the electronic medical record in the EMT format, the winning editor can edit the electronic medical record in the ODT format, and the other editors can edit the electronic medical record in the WORD format. Although the format of the electronic medical record in the XML format which can be edited by the dianing 5.0 editor is the same as that of the electronic medical record in the XML format which can be edited by the duochang editor, the internal architecture is completely different.
Therefore, if different electronic medical record editors are used by different medical institutions, the formats of the electronic medical record templates used by the different medical institutions are different, that is, the electronic medical record templates used by the different medical institutions cannot be shared. For example: assuming that medical institution A uses the Duchang editor to edit the electronic medical record and medical institution B uses the winning bid editor to edit the electronic medical record, the format of the electronic medical record template used by medical institution A is XML format and the format of the electronic medical record template used by medical institution B is ODT format. When the medical institution A wants to check the electronic medical record of the medical institution B, the Duchang editor cannot open the electronic medical record in the ODT format, and at the moment, the data of the medical institution A and the medical institution B cannot be intercommunicated.
Also assume that: the medical institution A uses the Duchang editor to edit the electronic medical record, and the medical institution B uses the winning bid editor to edit the electronic medical record. If the medical institution A wants to edit an initial electronic medical record template of the medical institution B, the initial electronic medical record template can be sent to the server through the medical institution terminal, and a standard electronic medical record template in an ODT format is selected from a plurality of standard electronic medical record templates to serve as an object template. The server generates a target electronic medical record template in an ODT format based on the initial electronic medical record template and the object template, and the target electronic medical record template not only reserves the content of the initial electronic medical record template, but also uses the Duchang editor of the medical institution A, so that the electronic medical record templates can be shared and used among different medical institutions.
In the above scheme, based on the electronic medical record template generation request sent by the medical institution terminal, the initial electronic medical record template corresponding to the medical institution terminal can be converted into the format and the standard structured value domain which are the same as the object template in the standard electronic medical record template, and the format is a format suitable for the target electronic medical record editor. Therefore, the initial electronic medical record template containing the non-standard medical data elements is converted into the target electronic medical record template containing the standard medical data elements, the universality of the electronic medical record template is improved, the standardized electronic medical record template can be shared among different medical institutions, and the sharing of data among different medical institutions is facilitated.
The following describes a detailed embodiment of generating a target electronic medical record template from the initial electronic medical record template and the object template (i.e., step S103).
The standard electronic medical record template comprises standard elements, wherein the standard elements comprise standard texts (namely, text contents), standard styles (comprising tables, headers, footers, font sizes and the like), standard structure controls (comprising drop-down boxes, text boxes, numerical boxes, check boxes, radio buttons, radio combination boxes, multi-check combination boxes and date time boxes), standard value fields corresponding to the standard structure controls (namely the value range of the standard structure controls, for example, the value fields corresponding to the gender drop-down boxes can comprise 0 as unknown gender, 1 as male, 2 as female and 9 as unexplained gender) and standard node attributes (namely the attributes of the standard structure controls) corresponding to the standard structure controls; the initial electronic medical record template comprises initial elements, wherein the initial elements comprise initial texts, initial styles, initial structure controls and initial node attributes corresponding to the initial structure controls.
As an embodiment, when the format of the initial electronic medical record template and the format of the target electronic medical record template are both XML formats (for example, the initial electronic medical record template is suitable for a weining 5.0 editor, and the target electronic medical record template is suitable for a domino editor), please refer to fig. 2, where fig. 2 is a flowchart of a specific implementation manner of step S103 provided in this embodiment of the present application, where the step S103 may include the following steps:
step S201: and converting the standard node attributes into initial node attributes according to the corresponding relation between the standard elements and the initial elements, and generating an intermediate electronic medical record template.
Step S202: and converting the intermediate electronic medical record template into a target pattern according to the initial pattern and the standard pattern corresponding to the intermediate electronic medical record template, and converting the standard value range corresponding to the intermediate electronic medical record template into a target value range corresponding to the target pattern to obtain the target electronic medical record template.
In an optional embodiment, since the initial electronic medical record template and the target electronic medical record template are in XML formats, the standard node attributes can be directly converted into the initial node attributes according to the correspondence between the standard elements and the initial elements, so as to generate the intermediate electronic medical record template. The conversion mode can be that the standard node attribute is replaced by the initial node attribute, at this time, compared with the initial electronic medical record template, only the node attribute is consistent, and other elements of the intermediate electronic medical record template are consistent with those of the object template. Then, the intermediate electronic medical record template can be converted into a target pattern according to the initial pattern and the standard pattern corresponding to the intermediate electronic medical record template, and the standard value domain corresponding to the intermediate electronic medical record template is converted into the target value domain corresponding to the target pattern, so as to obtain the target electronic medical record template.
For example, taking gender drop-down boxes as an example, the standard medical value field (GB/T2261.1-2003) includes: 0 is the unknown sex, 1 is male, 2 is female and 9 is the unspecified sex. In an actual scenario, it is assumed that the gender value range of the initial electronic medical record template of a certain medical institution is: if the 1 is male and the 2 is female, the standard value range corresponding to the electronic medical record template can be converted into the target value range after the conversion into the target medical record template: 0 is the unknown sex, 1 is male, 2 is female and 9 is the unspecified sex.
In the above scheme, in the process of converting the initial electronic medical record template in the XML format into the target electronic medical record template in the same XML format, the standard node attributes may be directly converted into the initial node attributes according to the correspondence between the standard elements and the initial elements, then the standard style corresponding to the intermediate electronic medical record template is converted into the target style, and meanwhile, the standard value domain corresponding to the intermediate electronic medical record template is converted into the standard value domain data elements of the target style. Therefore, the electronic medical record template suitable for one electronic medical record editor can be converted into the electronic medical record template suitable for another electronic medical record editor under the condition that the node attributes in the electronic medical record template are not changed, so that the electronic medical record templates can be shared among different medical institutions, and the data sharing among different medical institutions is facilitated.
As another embodiment, when the format of the initial electronic medical record template is an RTF format and the format of the target electronic medical record template is an XML format (for example, the initial electronic medical record template is suitable for other editors (an electronic medical record editor other than the weining 5.0 editor, the tomayang editor, the kazakh editor, and the winning bid editor), and the target electronic medical record template is suitable for the tomayang editor), please refer to fig. 3, where fig. 3 is a flowchart of another specific implementation of step S103 provided in this embodiment of the present application, where the step S103 may include the following steps:
step S301: and generating an intermediate electronic medical record template according to the semantic similarity between the initial text and the standard text.
Step S302: and converting the intermediate electronic medical record template into a target pattern according to the initial pattern and the standard pattern corresponding to the intermediate electronic medical record template, and converting the standard value range corresponding to the intermediate electronic medical record template into a target value range corresponding to the target pattern to obtain the target electronic medical record template.
In an alternative embodiment, since the initial electronic medical record template is in the RTF format and the target electronic medical record template is in the XML format, an intermediate electronic medical record template needs to be generated according to semantic similarity between the initial text and the standard text. The generation manner may be (i.e., the step S301 may include the following steps):
The method comprises the steps of firstly, determining the corresponding relation between an initial text and a standard text when the semantic similarity between the initial text and the standard text is larger than the preset similarity.
And secondly, replacing the standard text and the standard value domain in the object template by using the initial text and the initial value domain, and replacing the standard node attribute in the object template by using the initial node attribute to convert so as to generate an intermediate electronic medical record template.
The semantic similarity between the initial text and the standard text may be compared, and when the semantic similarity between a certain initial text and a certain standard text is greater than a preset similarity, the certain initial text and the certain standard text may be considered to represent the same content, that is, there is a correspondence between the certain initial text and the certain standard text. Then, based on the corresponding relationship between the initial text and the standard text, the standard text in the object template can be replaced by the initial text, and the standard node attribute in the object template can be replaced by the initial node attribute to generate an intermediate electronic medical record template. At this time, compared with the initial electronic medical record template, the text and the node attributes of the intermediate electronic medical record template are consistent, and other elements of the intermediate electronic medical record template are all consistent with those of the object template.
In addition, after the step S301, the method for generating a target electronic medical record template according to the embodiment of the present application may further include the following steps:
the method comprises the first step of judging whether other initial texts which do not correspond to standard texts in an object template exist in the initial electronic medical record template.
And secondly, if so, adding other initial texts into the intermediate electronic medical record template to obtain a new intermediate electronic medical record template.
Therefore, redundant contents in the initial electronic medical record template can be added into the intermediate electronic medical record template, and the integrity of text contents in the initial electronic medical record template is guaranteed.
And finally, converting the intermediate electronic medical record template into a target pattern according to the initial pattern and the standard pattern corresponding to the intermediate electronic medical record template to obtain the target electronic medical record template, wherein similarly, the conversion mode can be that the standard pattern is replaced by the initial pattern, and at the moment, the intermediate electronic medical record template is only inconsistent with the target electronic medical record template in style.
In the above scheme, in the process of converting the initial electronic medical record template in the RTF format into the target electronic medical record template in the XML format, an intermediate electronic medical record template can be obtained according to semantic similarity between the initial text and the standard text, then a standard style corresponding to the intermediate electronic medical record template is converted into a target style, and meanwhile, a standard value domain corresponding to the intermediate electronic medical record template is converted into a standard value domain data element of the target style. Therefore, under the condition that the text content in the electronic medical record template is ensured to correspond, the electronic medical record template applicable to one electronic medical record editor can be converted into the electronic medical record template applicable to another electronic medical record editor, so that the electronic medical record templates can be shared among different medical institutions, and the sharing of data among different medical institutions is facilitated.
As an embodiment, when the format of the initial electronic medical record template is the ODT format or the EMT format and the format of the target electronic medical record template is the XML format (for example, the initial electronic medical record template is suitable for a winning bid editor and the target electronic medical record template is suitable for an all chang editor), please refer to fig. 4, where fig. 4 is a flowchart of a specific implementation manner of another step S103 provided in this embodiment of the present application, where the step S103 may include the following steps:
step S401: and converting the initial electronic medical record template into an RTF format.
Step S402: and generating an intermediate electronic medical record template according to the semantic similarity between the initial text and the standard text.
Step S403: and converting the intermediate electronic medical record template into a target pattern according to the initial pattern and the standard pattern corresponding to the intermediate electronic medical record template to obtain the target electronic medical record template.
In an optional embodiment, when the format of the initial electronic medical record template is the ODT format or the EMT format, the initial electronic medical record template may be loaded through the control to form an initial electronic medical record template in the RTF format. The initial electronic medical record template in the ODT format can be loaded by adopting a bid-winning control element, and the initial electronic medical record template in the EMT format can be loaded by adopting a Jiahe control element.
Then, the specific implementation of steps S402 to S403 is similar to the specific implementation of steps S301 to S302, and is not described herein again.
In the above scheme, for the electronic medical record templates of other formats, the electronic medical record template may be converted into an RTF format, and then the electronic medical record template in the RTF format is converted. Therefore, the electronic medical record template can be shared among different medical institutions, and data sharing among different medical institutions is facilitated.
Further, in the method for generating the target electronic medical record template, in the process of converting the initial electronic medical record template into the target electronic medical record template, the value range of the structural control therein can be modified according to the element semantic library. Wherein, the element semantic library can be divided into: the system elements can be elements meeting relevant regulations, and the custom elements can be expanded on the basis of the system elements.
Further, the embodiment of the application also provides a template knowledge base system, which serves information systems of all medical institutions in the area and realizes the functions of unified template management and convenient resource sharing. The medical structure can realize the conversion of the electronic medical record template based on the template knowledge base system, and the specialty can realize the editing of the standard electronic medical record template based on the template knowledge base system.
The template knowledge base system can have the following functions:
1. and (3) case history authority management: the permission setting of the user on the electronic medical record template range is realized;
2. element management: the maintenance functions of system elements and custom elements are realized;
3. template editing: the design of a standard electronic medical record template is realized by utilizing a central management platform, and the electronic medical record template can be deleted;
4. and (4) template auditing: the expert can review the electronic medical record template uploaded by the medical institution and modify the electronic medical record template. And after the examination is passed, the information is incorporated into standard electronic medical record template management. Auditing the returned product, and noting the reason of the returned product;
5. template release: the standard electronic medical record template is released and displayed for a medical institution to download, and the released standard electronic medical record template can be released;
6. template knowledge base: the display function of the electronic medical record template can be realized according to three uniqueness degrees of a hospital, a department and a standard, and meanwhile, the retrieval and export of the electronic medical record template and the control of the export authority are supported;
7. detecting a template: the content of the electronic medical record template can be detected to obtain the standard degree of the electronic medical record template;
8. And (3) statistical query: the inquiry of the expert group on the electronic medical record template examination work is realized;
9. and (3) use supervision: the uploading and downloading use conditions of the electronic medical record templates of all medical institutions are counted and monitored;
10. detecting the log: recording the detection operation of the electronic medical record template;
11. and (3) log release: recording the issuing operation of the electronic medical record template;
12. downloading a template: the standard electronic medical record template is butted with a medical record system of a medical institution;
13. element comparison: the medical institution medical record elements are butted with the central standard elements.
Referring to fig. 5, fig. 5 is a block diagram illustrating a structure of a target electronic medical record template generating apparatus according to an embodiment of the present application, where the target electronic medical record template generating apparatus 500 may include: the receiving module 501 is configured to receive an electronic medical record template generation request sent by a medical institution terminal; the electronic medical record template generation request comprises an initial electronic medical record template and indication information used for appointing one standard electronic medical record template in a plurality of standard electronic medical record templates as an object template; a determining module 502, configured to determine the object template from a plurality of standard electronic medical record templates according to the indication information; wherein one of the standard electronic medical record templates is suitable for an editor, and the initial electronic medical record template is different from the editor suitable for the object template; a generating module 503, configured to generate a target electronic medical record template that is applicable to the same editor as the object template according to the initial electronic medical record template and the object template.
In the embodiment of the application, based on the electronic medical record template generation request sent by the medical institution terminal, the initial electronic medical record template corresponding to the medical institution terminal can be converted into the format and the standard structured value domain which are the same as the object template in the standard electronic medical record template, and the format is a format suitable for the target electronic medical record editor. Therefore, the initial electronic medical record template containing the non-standard medical data elements is converted into the target electronic medical record template containing the standard medical data elements, the universality of the electronic medical record template is improved, the standardized electronic medical record template can be shared among different medical institutions, and the sharing of data among different medical institutions is facilitated.
Further, the standard electronic medical record template comprises standard elements, and the standard elements comprise standard texts, standard styles, standard structure controls, standard value ranges and standard node attributes corresponding to the standard structure controls; the initial electronic medical record template comprises initial elements, wherein the initial elements comprise initial texts, initial styles, initial structure controls, initial value ranges and initial node attributes corresponding to the initial structure controls.
Further, when the format of the initial electronic medical record template and the format of the target electronic medical record template are both Extensible standard Language (XML) formats, the generating module 503 is further configured to: converting the standard node attribute into the initial node attribute according to the corresponding relation between the standard element and the initial element to generate an intermediate electronic medical record template; converting the intermediate electronic medical record template into a target pattern according to the initial pattern and a standard pattern corresponding to the intermediate electronic medical record template, and converting a standard value domain corresponding to the intermediate electronic medical record template into a target value domain corresponding to the target pattern to obtain a target electronic medical record template; wherein the target style is the same as the initial style.
In the embodiment of the application, in the process of converting the initial electronic medical record template in the XML format into the target electronic medical record template in the same XML format, the standard node attributes may be directly converted into the initial node attributes according to the correspondence between the standard elements and the initial elements, then the standard style corresponding to the intermediate electronic medical record template is converted into the target style, and meanwhile, the standard value domain corresponding to the intermediate electronic medical record template is converted into the standard value domain data elements of the target style. Therefore, the electronic medical record template suitable for one electronic medical record editor can be converted into the electronic medical record template suitable for another electronic medical record editor under the condition that the node attributes in the electronic medical record template are not changed, so that the electronic medical record templates can be shared among different medical institutions, and the data sharing among different medical institutions is facilitated.
Further, when the Format of the initial electronic medical record template is Rich Text Format (RTF) and the Format of the target electronic medical record template is XML, the generating module 503 is further configured to: generating an intermediate electronic medical record template according to the semantic similarity between the initial text and the standard text; converting the intermediate electronic medical record template into a target pattern according to the initial pattern and a standard pattern corresponding to the intermediate electronic medical record template, and converting a standard value range corresponding to the intermediate electronic medical record template into a target value range corresponding to the target pattern to obtain a target electronic medical record template; wherein the target style is the same as the initial style.
In the embodiment of the application, in the process of converting the initial electronic medical record template in the RTF format into the target electronic medical record template in the XML format, an intermediate electronic medical record template can be obtained according to semantic similarity between the initial text and the standard text, then a standard style corresponding to the intermediate electronic medical record template is converted into a target style, and meanwhile, a standard value domain corresponding to the intermediate electronic medical record template is converted into a standard value domain data element of the target style. Therefore, under the condition that the text content in the electronic medical record template is ensured to correspond, the electronic medical record template applicable to one electronic medical record editor can be converted into the electronic medical record template applicable to another electronic medical record editor, so that the electronic medical record templates can be shared among different medical institutions, and the sharing of data among different medical institutions is facilitated.
Further, the generating module 503 is further configured to: when the semantic similarity between the initial text and the standard text is greater than a preset similarity, determining the corresponding relation between the initial text and the standard text; and replacing the standard text and the standard value field in the object template by using the initial text and the initial value field, and replacing the standard node attribute conversion in the object template by using the initial node attribute to generate the intermediate electronic medical record template.
In the embodiment of the present application, the corresponding relationship may be determined according to semantic similarity between the initial text and the standard text, and then the standard text may be converted into the initial text, and the standard node attribute may be converted into the initial node attribute. Therefore, the electronic medical record template suitable for one electronic medical record editor can be converted into the electronic medical record template suitable for another electronic medical record editor under the condition that the text and the node attributes in the electronic medical record template are not changed, so that the electronic medical record templates can be shared among different medical institutions, and the sharing of data among different medical institutions is facilitated.
Further, the target electronic medical record template generating apparatus 500 further includes: the judging module is used for judging whether other initial texts which do not correspond to the standard texts in the object template exist in the initial electronic medical record template; and the adding module is used for adding the other initial texts into the intermediate electronic medical record template to obtain a new intermediate electronic medical record template if the other initial texts are the same as the intermediate electronic medical record template.
In the embodiment of the application, redundant contents in the initial electronic medical record template can be added into the intermediate electronic medical record template, so that the integrity of text contents in the initial electronic medical record template is ensured.
Further, the target electronic medical record template generating apparatus 500 further includes: and the conversion module is used for converting the initial electronic medical record template into the RTF format.
In the embodiment of the application, for the electronic medical record templates in other formats, the electronic medical record template may be converted into an RTF format, and then the electronic medical record template in the RTF format is converted. Therefore, the electronic medical record template can be shared among different medical institutions, and data sharing among different medical institutions is facilitated.
Further, the generating module 503 is further configured to: and replacing the standard style corresponding to the intermediate electronic medical record template with the initial style to form the target style.
In the embodiment of the application, after the intermediate electronic medical record template is obtained, in order to adapt to the electronic medical record template styles of different medical institutions, the style of the intermediate electronic medical record template can be converted into a target style.
Referring to fig. 6, fig. 6 is a block diagram of an electronic device according to an embodiment of the present disclosure, where the electronic device 600 includes: at least one processor 601, at least one communication interface 602, at least one memory 603, and at least one communication bus 604. Wherein, the communication bus 604 is used for implementing direct connection communication of these components, the communication interface 602 is used for communicating signaling or data with other node devices, and the memory 603 stores machine-readable instructions executable by the processor 601. When the electronic device 600 operates, the processor 601 communicates with the memory 603 through the communication bus 604, and the machine-readable instructions when called by the processor 601 execute the target electronic medical record template generating method.
For example, the processor 601 of the embodiment of the present application may implement the following method by reading the computer program from the memory 603 through the communication bus 604 and executing the computer program: step S101: and receiving an electronic medical record template generation request sent by a medical institution terminal. Step S102: and determining an object template from a plurality of standard electronic medical record templates according to the indication information. Step S103: and generating a target electronic medical record template which is suitable for the same editor as the object template according to the initial electronic medical record template and the object template.
The processor 601 may be an integrated circuit chip having signal processing capabilities. The Processor 601 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. Which may implement or perform the various methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The Memory 603 may include, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Read Only Memory (EPROM), an electrically Erasable Read Only Memory (EEPROM), and the like.
It will be appreciated that the configuration shown in FIG. 6 is merely illustrative and that electronic device 600 may include more or fewer components than shown in FIG. 6 or have a different configuration than shown in FIG. 6. The components shown in fig. 6 may be implemented in hardware, software, or a combination thereof. In this embodiment, the electronic device 600 may be, but is not limited to, an entity device such as a desktop, a laptop, a smart phone, an intelligent wearable device, and a vehicle-mounted device, and may also be a virtual device such as a virtual machine. In addition, the electronic device 600 is not necessarily a single device, but may also be a combination of multiple devices, such as a server cluster, and the like.
The present application further provides a computer program product, including a computer program stored on a non-transitory computer readable storage medium, where the computer program includes program instructions, and when the program instructions are executed by a computer, the computer can perform the steps of the target electronic medical record template generation method in the foregoing embodiments, for example, including: receiving an electronic medical record template generation request sent by a medical institution terminal; the electronic medical record template generation request comprises an initial electronic medical record template and indication information used for appointing one standard electronic medical record template in a plurality of standard electronic medical record templates as an object template; determining the object template from a plurality of standard electronic medical record templates according to the indication information; wherein one of the standard electronic medical record templates is suitable for an editor, and the initial electronic medical record template is different from the editor suitable for the object template; and generating a target electronic medical record template which is suitable for the same editor as the object template according to the initial electronic medical record template and the object template.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (8)

1. A method for generating a target electronic medical record template is characterized by comprising the following steps:
receiving an electronic medical record template generation request sent by a medical institution terminal; the electronic medical record template generation request comprises an initial electronic medical record template and indication information used for appointing one standard electronic medical record template in a plurality of standard electronic medical record templates as an object template;
determining the object template from a plurality of standard electronic medical record templates according to the indication information; wherein one of the standard electronic medical record templates is suitable for an editor, and the initial electronic medical record template is different from the editor suitable for the object template;
Generating a target electronic medical record template which is suitable for the same editor as the object template according to the initial electronic medical record template and the object template;
before the receiving of the electronic medical record template generation request sent by the medical institution terminal, the method further includes:
collecting electronic medical record templates of a plurality of medical institutions as candidate electronic medical record templates;
selecting a preset number of electronic medical record templates from a plurality of candidate electronic medical record templates as the standard electronic medical record templates; or,
collecting electronic medical record templates of a plurality of medical institutions as candidate electronic medical record templates;
selecting a preset number of electronic medical record templates from a plurality of candidate electronic medical record templates;
editing the selected electronic medical record template, and taking the edited electronic medical record template as the standard electronic medical record template; or,
editing the plurality of target electronic medical record templates obtained through conversion, and taking the edited target electronic medical record templates as the standard electronic medical record templates;
the standard electronic medical record template comprises standard elements, wherein the standard elements comprise standard texts, standard styles, standard structure controls, standard value ranges and standard node attributes corresponding to the standard structure controls; the initial electronic medical record template comprises initial elements, wherein the initial elements comprise initial texts, initial styles, initial structure controls, initial value ranges and initial node attributes corresponding to the initial structure controls;
When the format of the initial electronic medical record template and the format of the target electronic medical record template are both extensible standard language formats, generating a target electronic medical record template which is applicable to the same editor as the object template according to the initial electronic medical record template and the object template includes:
converting the standard node attribute into the initial node attribute according to the corresponding relation between the standard element and the initial element to generate an intermediate electronic medical record template;
converting the intermediate electronic medical record template into a target pattern according to the initial pattern and a standard pattern corresponding to the intermediate electronic medical record template, and converting a standard value domain corresponding to the intermediate electronic medical record template into a target value domain corresponding to the target pattern to obtain a target electronic medical record template; wherein the target style is the same as the initial style;
when the format of the initial electronic medical record template is a rich text format and the format of the target electronic medical record template is an extensible standard language format, generating a target electronic medical record template which is suitable for the same editor as the object template according to the initial electronic medical record template and the object template, including:
Generating an intermediate electronic medical record template according to the semantic similarity between the initial text and the standard text;
converting the intermediate electronic medical record template into a target pattern according to the initial pattern and a standard pattern corresponding to the intermediate electronic medical record template, and converting a standard value domain corresponding to the intermediate electronic medical record template into a target value domain corresponding to the target pattern to obtain a target electronic medical record template; wherein the target style is the same as the initial style.
2. The method for generating the target electronic medical record template according to claim 1, wherein the generating an intermediate electronic medical record template according to the semantic similarity between the initial text and the standard text comprises:
when the semantic similarity between the initial text and the standard text is greater than a preset similarity, determining the corresponding relation between the initial text and the standard text;
and replacing the standard text and the standard value field in the object template by using the initial text and the initial value field, and replacing the standard node attribute conversion in the object template by using the initial node attribute to generate the intermediate electronic medical record template.
3. The method for generating the target electronic medical record template according to claim 1, wherein after generating the intermediate electronic medical record template according to the semantic similarity between the initial text and the standard text, the method further comprises:
judging whether other initial texts which do not correspond to the standard texts in the object template exist in the initial electronic medical record template;
and if so, adding the other initial texts into the intermediate electronic medical record template to obtain a new intermediate electronic medical record template.
4. The method for generating the target electronic medical record template according to any one of claims 1-3, wherein before the generating the target electronic medical record template using the same editor as the object template according to the initial electronic medical record template and the object template, the method further comprises:
and converting the initial electronic medical record template into the rich text format.
5. The method for generating the target electronic medical record template according to any one of claims 1 to 3, wherein the converting the intermediate electronic medical record template into the target pattern according to the standard pattern corresponding to the initial pattern and the intermediate electronic medical record template to obtain the target electronic medical record template comprises:
And replacing the standard style corresponding to the intermediate electronic medical record template with the initial style to form the target style.
6. An apparatus for generating a target electronic medical record template, comprising:
the receiving module is used for receiving an electronic medical record template generation request sent by a medical institution terminal; the electronic medical record template generation request comprises an initial electronic medical record template and indication information used for appointing one standard electronic medical record template in a plurality of standard electronic medical record templates as an object template;
the determining module is used for determining the object template from a plurality of standard electronic medical record templates according to the indication information; wherein one of the standard electronic medical record templates is suitable for an editor, and the initial electronic medical record template is different from the editor suitable for the object template;
the generating module is used for generating a target electronic medical record template which is suitable for the same editor as the object template according to the initial electronic medical record template and the object template;
the apparatus is further configured to:
collecting electronic medical record templates of a plurality of medical institutions as candidate electronic medical record templates;
selecting a preset number of electronic medical record templates from a plurality of candidate electronic medical record templates as the standard electronic medical record templates; or,
Collecting electronic medical record templates of a plurality of medical institutions as candidate electronic medical record templates;
selecting a preset number of electronic medical record templates from the candidate electronic medical record templates;
editing the selected electronic medical record template, and taking the edited electronic medical record template as the standard electronic medical record template; or,
editing the plurality of target electronic medical record templates obtained through conversion, and taking the edited target electronic medical record templates as the standard electronic medical record templates;
the standard electronic medical record template comprises standard elements, wherein the standard elements comprise standard texts, standard styles, standard structure controls, standard value ranges and standard node attributes corresponding to the standard structure controls; the initial electronic medical record template comprises initial elements, wherein the initial elements comprise initial texts, initial styles, initial structure controls, initial value ranges and initial node attributes corresponding to the initial structure controls;
when the format of the initial electronic medical record template and the format of the target electronic medical record template are both in the extensible standard language format, the generating module is further configured to: converting the standard node attribute into the initial node attribute according to the corresponding relation between the standard element and the initial element to generate an intermediate electronic medical record template; converting the intermediate electronic medical record template into a target pattern according to the initial pattern and a standard pattern corresponding to the intermediate electronic medical record template, and converting a standard value domain corresponding to the intermediate electronic medical record template into a target value domain corresponding to the target pattern to obtain a target electronic medical record template; wherein the target style is the same as the initial style;
Wherein, when the format of the initial electronic medical record template is a rich text format and the format of the target electronic medical record template is an extensible standard language format, the generating module is further configured to: generating an intermediate electronic medical record template according to the semantic similarity between the initial text and the standard text; converting the intermediate electronic medical record template into a target pattern according to the initial pattern and a standard pattern corresponding to the intermediate electronic medical record template, and converting a standard value domain corresponding to the intermediate electronic medical record template into a target value domain corresponding to the target pattern to obtain a target electronic medical record template; wherein the target style is the same as the initial style.
7. An electronic device, comprising: a processor, memory, and a bus;
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the target electronic medical record template generating method according to any one of claims 1-5.
8. A non-transitory computer-readable storage medium storing computer instructions which, when executed by a computer, cause the computer to perform the method for generating a target electronic medical record template according to any one of claims 1 to 5.
CN202010918377.0A 2020-09-03 2020-09-03 Target electronic medical record template generation method and device Active CN112131851B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010918377.0A CN112131851B (en) 2020-09-03 2020-09-03 Target electronic medical record template generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010918377.0A CN112131851B (en) 2020-09-03 2020-09-03 Target electronic medical record template generation method and device

Publications (2)

Publication Number Publication Date
CN112131851A CN112131851A (en) 2020-12-25
CN112131851B true CN112131851B (en) 2022-07-29

Family

ID=73847306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010918377.0A Active CN112131851B (en) 2020-09-03 2020-09-03 Target electronic medical record template generation method and device

Country Status (1)

Country Link
CN (1) CN112131851B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114255840B (en) * 2022-02-25 2022-06-24 广州科犁医学研究有限公司 Intelligent data processing system based on clinical research data
CN117422059B (en) * 2023-12-19 2024-03-26 智业软件股份有限公司 Content combination replacement method and system based on Libreoffice document

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678671A (en) * 2015-12-29 2016-06-15 北京嘉和美康信息技术有限公司 Method and apparatus for generation of electronic medical record, mobile terminal and electronic medical record system
CN108182965A (en) * 2017-12-29 2018-06-19 南京卫坤特信息技术有限公司 A kind of electronic health record generates system and method
CN110335653A (en) * 2019-06-30 2019-10-15 浙江大学 Non-standard case history analytic method based on openEHR case history format

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7721195B2 (en) * 2004-08-24 2010-05-18 Oracle International Corporation RTF template and XSL/FO conversion: a new way to create computer reports

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678671A (en) * 2015-12-29 2016-06-15 北京嘉和美康信息技术有限公司 Method and apparatus for generation of electronic medical record, mobile terminal and electronic medical record system
CN108182965A (en) * 2017-12-29 2018-06-19 南京卫坤特信息技术有限公司 A kind of electronic health record generates system and method
CN110335653A (en) * 2019-06-30 2019-10-15 浙江大学 Non-standard case history analytic method based on openEHR case history format

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于文档树的XML文件转换;蒋悦,吴壮志,赵旭林,怀进鹏;《计算机工程》;20031231;第29卷(第21期);第97-99页 *

Also Published As

Publication number Publication date
CN112131851A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN112131851B (en) Target electronic medical record template generation method and device
CN112114787A (en) Report generation method and device and storage medium
CN111737246A (en) Data fusion method and device, electronic equipment and storage medium
CN112506486A (en) Search system establishing method and device, electronic equipment and readable storage medium
CN111949420A (en) Business operation flow control method, terminal equipment and storage medium
CN110765750B (en) Report data input method and terminal equipment
CN112612794A (en) Auxiliary generation method and device of relational database, computer equipment and storage medium
CN114564930A (en) Document information integration method, apparatus, device, medium, and program product
CN112416710A (en) User operation recording method and device, electronic equipment and storage medium
CN115357590A (en) Recording method and device for data change, electronic device and storage medium
US20180374047A1 (en) Computing framework for compliance report generation
CN111046085A (en) Data source tracing processing method and device, medium and equipment
CN115759040A (en) Electronic medical record analysis method, device, equipment and storage medium
CN115910265A (en) Paperless medical record generation method and system for hospital
CN111916164B (en) Method and device for realizing center-started investigation system in clinical research
CN114882965A (en) Single disease type data reporting method, terminal equipment and storage medium
CN114005498A (en) Clinical test data logic checking method and device, equipment and storage medium
CN114254609A (en) Generation method and device of clinical care form, electronic equipment and readable medium
CN111506543A (en) M file generation method and device
CN113900755B (en) Alarm page processing method and device, computer equipment and readable storage medium
CN114328551A (en) Method and device for expanding metadata model
CN115063109A (en) Data processing method, device, equipment and medium
CN115269502A (en) Bid document processing method, device and storage medium
CN111914008A (en) Method and device for batch export of work order data, electronic equipment and medium
CN114547021A (en) Method for processing decimal place

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