CN117422059B - Content combination replacement method and system based on Libreoffice document - Google Patents

Content combination replacement method and system based on Libreoffice document Download PDF

Info

Publication number
CN117422059B
CN117422059B CN202311744388.1A CN202311744388A CN117422059B CN 117422059 B CN117422059 B CN 117422059B CN 202311744388 A CN202311744388 A CN 202311744388A CN 117422059 B CN117422059 B CN 117422059B
Authority
CN
China
Prior art keywords
data element
template
combination
document
content
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
CN202311744388.1A
Other languages
Chinese (zh)
Other versions
CN117422059A (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.)
XIAMEN ZHIYE SOFTWARE ENGINEERING CO LTD
Original Assignee
XIAMEN ZHIYE SOFTWARE ENGINEERING 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 XIAMEN ZHIYE SOFTWARE ENGINEERING CO LTD filed Critical XIAMEN ZHIYE SOFTWARE ENGINEERING CO LTD
Priority to CN202311744388.1A priority Critical patent/CN117422059B/en
Publication of CN117422059A publication Critical patent/CN117422059A/en
Application granted granted Critical
Publication of CN117422059B publication Critical patent/CN117422059B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • 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 invention provides a content combination replacement method and a system based on Libreoffice documents, comprising the following steps: an administrator selects a template setting data element combination; medical staff selects a template and presets contents according to a data element list in the data element combination; the system acquires a data element combination supporting the replacement of preset contents in the template after medical staff writes medical records by using the selected template; the system replaces the data element combination content written by the medical staff into the medical record document in batches according to the data element combination selected by the medical staff. Based on the Libreoffice document, the administrator can preset the multi-data element combination of the content in the configuration template, so that medical staff can preset various data element combination contents according to the configuration and maintain the multi-data element combination, and when writing, the multi-data element combination of a certain preset content is selected to replace the multi-data element content without replacing the multi-data element combination one by one, thereby not only improving the writing efficiency, but also only maintaining the data element content appointed by the administrator, limiting the degree of freedom, and simultaneously ensuring the data quality of medical records.

Description

Content combination replacement method and system based on Libreoffice document
Technical Field
The invention relates to the field of medical service technology and medical informatization, in particular to a content combination replacement method and system based on LibreOffice documents.
Background
At present, the contents of the medical record document are written in corresponding data elements to meet the structural requirement, and in the prior art, two modes for improving the writing efficiency of the medical record document generally exist: the first mode is that the medical record content is described in a preset document, when the medical record content is written, the preset content can be selected to be inserted into a data element corresponding to the medical record document, and a user can complete writing of a certain content by only modifying a small part of the content; the second mode is to enable the user to preset the content of the whole medical record template, and the user can quickly and directly use the whole medical record template and apply the preset content after completing the preset content.
The existing two technical modes have a certain limit, a user in the first mode needs to manufacture a large amount of preset contents to meet the requirements of medical record writing, the maintenance workload is large, the data element contents can be replaced one by one, the use process of the user is complicated, a large amount of time is consumed, and the efficiency is low; in the second way, although the degree of freedom is higher, the key data elements may be deleted when the user uses the key data elements, so that the data quality cannot be ensured.
In addition, in the prior art, the problem that the user can only passively accept the relation between the keywords maintained by the administrator and the preset content, and the medical record can be generated according to the keywords of the questionnaire only by maintaining the questionnaire first, and the medical record is regenerated after the questionnaire is filled in once the error is caused; the modification of the electronic medical record content is still inconvenient and quick, and the flexibility is still not high enough.
Disclosure of Invention
The present invention proposes the following technical solution to one or more of the above technical drawbacks of the prior art.
The first aspect of the present invention provides a content combination replacement method based on a LibreOffice document, including:
s1, a system opens an ODT document containing templates so that an administrator can select and set data element combinations, wherein the templates in the ODT document correspond to one or more data element combinations with preset contents;
s2, the system acquires a data element combination set by an administrator, and after a medical staff selects a template and presets contents according to a data element list in the data element combination, the data element combination with the preset contents and the preset contents are stored in a database;
s3, the system acquires a data element combination supporting the replacement of preset content in the template after medical staff writes medical records by using the selected template;
the method specifically comprises the following steps:
s301, the system opens an ODT document based on LiberOoffice after medical staff selects a template and creates a medical record;
s302, the system acquires the data element combination of all preset contents set by the template through a GetDECT () interface;
s303: the system traverses a data element list in a data element combination which is selected by medical staff and is suitable for the current patient condition, and acquires a corresponding data element ID and preset content of the data element;
s304, the system takes the data element ID as a parameter to be transmitted into a GetTextFie ld () method of a Doc object in an ODT document of the template, obtains the Json attribute of the data element and analyzes the Json attribute to further obtain the content attribute of the data element;
s305, the system replaces the value of the content attribute with the preset content of the data element;
s306, repeating S304 until all the data elements in the combination are traversed;
and S4, the system replaces the data element combination content written by the medical staff into the medical record document in batches according to the data element combination selected by the medical staff in the S2.
Further, the step S1 specifically includes:
s101, a system opens an ODT document, an administrator selects a template in the ODT document, the template is a medical record document in an ODT format, and the template contains a plurality of data elements;
s102, a system acquires a Doc object in the ODT document, and obtains a data element list of the template by using a GetTextFi les () method of the Doc object;
s103, the system stores a plurality of data elements selected by an administrator from the data element list;
and S104, the system stores the template ID corresponding to the data element list and the data element ID into a database through a SaveDeli st () interface.
The administrator selects and sets the data element combination, so that the degree of freedom of medical personnel in medical record writing is limited to a certain extent, and the quality of medical record writing can be guaranteed to a certain extent.
Further, the step S2 specifically includes:
s201, the system acquires the template ID of the template after the medical staff selects the template;
s202: the system acquires a data element list preset by an administrator in a template selected by medical staff through a GetDELI st () method;
s203, displaying the data element list by a system, and recording the contents of a plurality of data element combinations in the data element list by medical staff and naming the data element combinations;
s204, the system stores the data element ID corresponding to the data element combination and the content of the plurality of data element combinations in a database through a SaveDECT () interface.
The medical staff can freely combine the data elements in the medical record template and name each combination to distinguish different data element combinations, and preset the content of the data element combinations, so that the medical record writing time is shortened, and the medical record writing efficiency and flexibility are greatly improved.
Still further, the relationship among the template, the data element combination and the data element list is:
the template is a medical record document in an ODT format, the template contains data elements, and the data element combination is obtained by selecting a plurality of data elements with preset contents from a data element list formed by the data elements by an administrator.
Further, in step S304, if the healthcare worker makes an error in selecting the combination of data elements, steps S303-S306 are repeated to directly select the combination of data elements for replacement.
Medical staff actively selects the preset content of the maintained data elements to replace the medical record when writing the illness, and can actively match and combine various data elements, the preset content is repeatedly used for a plurality of times, other data element combinations can be directly selected to replace when the selection error occurs, and the medical record writing efficiency and the degree of freedom are greatly improved while the medical staff is convenient and fast.
Based on the second aspect of the present invention, there is also provided a content combination substitution system based on a LibreOffice document, including:
an administrator setting unit that opens an ODT document containing a template corresponding to one or more data element combinations of presettable contents so that an administrator selects and sets the data element combinations;
the medical staff presetting unit comprises a system for acquiring a data element combination set by an administrator, and storing the data element combination with preset content and the preset content into a database after the medical staff selects a template and presets the content according to a data element list in the data element combination;
the medical staff uses the selected template to write the medical record, and then the system acquires a data element combination supporting the replacement of preset contents in the template;
the method specifically comprises the following steps:
the system opens the ODT document based on the L iberOff after medical staff selects a template and creates a medical record;
the system acquires the data element combination of all preset contents set by the template through a GetDECT () interface;
the system traverses a data element list in a data element combination which is selected by medical staff and is suitable for the current patient condition, and acquires a corresponding data element ID and preset content of the data element;
the system takes the data element ID as a parameter to be transmitted into a GetTextFie ld () method of a Doc object in an ODT document of the template, obtains the Json attribute of the data element and analyzes the Json attribute to further obtain the content attribute of the data element;
the system replaces the value of the content attribute with the preset content of the data element;
repeatedly transmitting the data element ID as a parameter into a GetTextFie ld () method of a Doc object in an ODT document of the template to obtain Json attributes of the data elements and analyzing the Json attributes to further obtain content attributes of the data elements until all the data elements in the combination are traversed;
and the combination replacement unit is used for replacing the data element combination contents written by the medical staff in batches into the medical record document according to the data element combination in the medical staff preset unit selected by the medical staff.
Still further, the administrator setting unit specifically includes:
the method comprises the steps that a system opens an ODT document, an administrator selects a template in the ODT document, the template is a medical record document in an ODT format, and the template contains a plurality of data elements;
the system acquires the Doc object in the ODT document and obtains a data element list of the template by using a GetTextFi les () method of the Doc object;
the system stores a plurality of data elements selected by an administrator in the data element list;
the system stores the template ID corresponding to the data element list and the data element ID into a database through a SaveDELI st () interface.
Still further, the healthcare worker setting unit specifically includes:
the system acquires a template ID of a template after a medical staff selects the template;
the system acquires a data element list preset by an administrator in a template selected by medical staff through a GetDELI st () method;
the system displays the data element list, and medical staff records the contents of a plurality of data element combinations in the data element list and names the data element combinations;
the system stores the data element ID corresponding to the data element combination and the content of the plurality of data element combinations in a database through a SaveDECT () interface.
According to a third aspect of the present invention, there is also provided a computer readable storage medium having stored thereon one or more computer programs, characterized in that the one or more computer programs, when executed by a computer processor, implement a method as described in any of the preceding claims.
The invention has the technical effects that: based on the Libreoffice document, the administrator can preset the multi-data element combination of the contents in the configuration template, so that the user can preset various data element combination contents according to the configuration and maintain the multi-data element combination, when writing, the data element combination of a certain preset content is selected to replace the multi-data element content without replacing one by one, the writing efficiency is further improved, medical staff actively selects the maintained preset content to replace the actual medical record during writing diseases, the user can freely modify, repeatedly use and freely combine the data element combination, but only the data element content appointed by the administrator can be maintained, and the degree of freedom is limited and the data quality of the medical record is ensured.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings.
Fig. 1 is a general flow chart of a content combination replacement method based on a LibreOffice document according to an embodiment of the present invention.
Fig. 2 is a block diagram of a content combination replacement system unit based on a LibreOffice document according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a computer system suitable for use in implementing embodiments of the present application.
Fig. 4 is a timing diagram of a content combination replacement method based on a library office document according to an embodiment of the present invention.
Fig. 5 is an application diagram of a content combination replacement method based on a library office document according to an embodiment of the present invention.
Detailed Description
The present application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a general flow chart of a content combination replacement method based on a LibreOffice document, according to an embodiment of the invention, including:
s1, the system opens an ODT document containing a template to enable an administrator to select and set a data element combination, wherein the template corresponds to one or more data element combinations with preset contents;
s2, the system acquires a data element combination set by an administrator, and after a medical staff selects a template and presets contents according to a data element list in the data element combination, the data element combination with the preset contents and the preset contents are stored in a database;
s3, the system acquires a data element combination supporting the replacement of preset content in the template after medical staff writes medical records by using the selected template;
the method specifically comprises the following steps:
s301, the system opens an ODT document based on LiberOoffice after medical staff selects a template and creates a medical record;
s302, the system acquires the data element combination of all preset contents set by the template through a GetDECT () interface;
s303: the system traverses a data element list in a data element combination which is selected by medical staff and is suitable for the current patient condition, and acquires a corresponding data element ID and preset content of the data element;
s304, the system takes the data element ID as a parameter to be transmitted into a GetTextFie ld () method of a Doc object in an ODT document of the template, obtains the Json attribute of the data element and analyzes the Json attribute to further obtain the content attribute of the data element;
s305, the system replaces the value of the content attribute with the preset content of the data element;
s306, repeating S304 until all the data elements in the combination are traversed;
and S4, the system replaces the data element combination content written by the medical staff into the medical record document in batches according to the data element combination selected by the medical staff in the S2.
It should be noted that, step S1 specifically includes:
s101, a system opens an ODT document, an administrator selects a template in the ODT document, the template is a medical record document in an ODT format, and the template contains a plurality of data elements;
s102, a system acquires a Doc object in the ODT document, and obtains a data element list of the template by using a GetTextFi les () method of the Doc object;
s103, the system stores a plurality of data elements selected by an administrator in the data element list;
and S104, the system stores the template ID corresponding to the data element list and the data element ID into a database through a SaveDeli st () interface.
In a specific embodiment, an administrator sets the data elements in the selected template, for example, sets the data elements in the selected template, the system acquires a data element list in the medical record template, the administrator selects the data element 2, the data element 4 and the data element 5 with presettable contents in the data element list, relevant information of the data elements is stored in a database, and the rest of data element medical staff has no authority to perform combination presetting, as shown in fig. 5.
It should be noted that step S2 specifically includes:
s201, the system acquires the template ID of the template after the medical staff selects the template;
s202: the system acquires a data element list preset by an administrator in a template selected by medical staff through a GetDELI st () method;
s203, displaying the data element list by a system, and recording the contents of a plurality of data element combinations in the data element list by medical staff and naming the data element combinations;
s204, the system stores the data element ID corresponding to the data element combination and the content of the plurality of data element combinations in a database through a SaveDECT () interface.
In a specific embodiment, a medical staff member is used as a system user to select a template and obtain a data element list, the content of the data element is recorded for the data element combination set by an administrator, the data element combination of the selected preset content is named, for example, different contents are preset in the data element 2, the data element 4 and the data element 5 according to requirements, and are named as an upper respiratory infection description, a digestive tract bleeding description and a myocardial infarction description respectively, as shown in fig. 5, and in addition, the medical staff member can newly create different data element combination contents according to requirements.
It should be noted that, the naming of the data element combination of the preset content may be named according to the symptoms of the disease, and the data element combination is placed under the category of the department, so that when the patient encounters the medical record writing of the patient with the same symptoms, the data element combination of the preset content is quickly found to write the medical record.
It should be noted that, the relationship among the template, the data element combination and the data element list is:
the template is a medical record document in an ODT format, the template contains data elements, and the data element combination is obtained by selecting a plurality of data elements with preset contents from a data element list formed by the data elements by an administrator.
It should be noted that, in step S304, if an error occurs in selecting a data element combination, the steps S303-S306 are repeated to directly select the data element combination for replacement.
In a specific embodiment, a medical staff is used as a system user to newly build and open a template to write a medical record, the system obtains all the data element combinations of the preset contents of the medical record to obtain the corresponding data element IDs and the preset contents, for example, the medical staff selects the data element combinations of the myocardial infarction description in the template, the system obtains the data element IDs and the preset contents of the data element 2, the data element 4 and the data element 5, and the preset contents of the data element 2, the data element 4 and the data element 5 in the template are quickly replaced, as shown in fig. 5.
Referring now to fig. 2, fig. 2 is a block diagram of a content combination replacement system unit based on a LibreOffice document, provided in accordance with an embodiment of the present invention.
An administrator setting unit 201 that opens an ODT document containing templates corresponding to data element combinations of one or more presettable contents so that an administrator selects and sets the data element combinations;
a medical staff presetting unit 202, wherein a system acquires a data element combination set by an administrator, and after the medical staff selects a template and presets contents according to a data element list in the data element combination, the data element combination with the preset contents and the preset contents are stored in a database;
a writing medical record unit 203, wherein the system acquires a data element combination supporting the replacement of preset contents in a template after medical staff writes medical records by using the selected template;
the method specifically comprises the following steps:
the system opens the ODT document based on the L iberOff after medical staff selects a template and creates a medical record;
the system acquires the data element combination of all preset contents set by the template through a GetDECT () interface;
the system traverses a data element list in a data element combination which is selected by medical staff and is suitable for the current patient condition, and acquires a corresponding data element ID and preset content of the data element;
the system takes the data element ID as a parameter to be transmitted into a GetTextFie ld () method of a Doc object in an ODT document of the template, obtains the Json attribute of the data element and analyzes the Json attribute to further obtain the content attribute of the data element;
the system replaces the value of the content attribute with the preset content of the data element;
repeatedly transmitting the data element ID as a parameter into a GetTextFie ld () method of a Doc object in an ODT document of the template to obtain Json attributes of the data elements and analyzing the Json attributes to further obtain content attributes of the data elements until all the data elements in the combination are traversed;
and the combination replacement unit 204 is used for replacing the data element combination contents written by the medical staff into the medical record document in batches according to the data element combination in the medical staff preset unit selected by the medical staff.
The administrator setting unit specifically includes:
the method comprises the steps that a system opens an ODT document, an administrator selects a template in the ODT document, the template is a medical record document in an ODT format, and the template contains a plurality of data elements;
the system acquires the Doc object in the ODT document and obtains a data element list of the template by using a GetTextFi les () method of the Doc object;
the system stores a plurality of data elements selected by an administrator in the data element list;
the system stores the template ID corresponding to the data element list and the data element ID into a database through a SaveDELI st () interface.
It should be noted that the medical staff setting unit specifically includes:
the system acquires a template ID of a template after a medical staff selects the template;
the system acquires a data element list preset by an administrator in a template selected by medical staff through a GetDELI st () method;
the system displays the data element list, and medical staff records the contents of a plurality of data element combinations in the data element list and names the data element combinations;
the system stores the data element ID corresponding to the data element combination and the content of the plurality of data element combinations in a database through a SaveDECT () interface.
It should be noted that, the relationship among the template, the data element combination and the data element list is:
the template is a medical record document in an ODT format, the template contains data elements, and the data element combination is obtained by selecting a plurality of data elements with preset contents from a data element list formed by the data elements by an administrator.
It should be noted that if a medical staff is wrong when selecting the data element combination, the step of writing the medical record unit can be repeated to directly select the data element combination for replacement.
In a specific embodiment, the number of the data element combinations is large, a medical staff can perform misoperation when selecting, misplacement of the data element combinations is possible, or preset contents of the data element combinations are similar, which data element combination is not selected is uncertain, and only the step of repeatedly writing a medical record unit is needed to directly select the data element combinations for replacement, for example, the medical staff selects an upper gastrointestinal bleeding combination, finds that description is wrong, and only the description of a lower gastrointestinal bleeding combination is needed to be selected for writing.
Referring now to FIG. 3, a schematic diagram of a computer system suitable for use in implementing embodiments of the present application is shown. The electronic device shown in fig. 3 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments herein.
As shown in fig. 3, the computer system includes a Central Processing Unit (CPU) 301 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage section 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data required for the system operation are also stored. The CPU 301, ROM 302, and RAM 303 are connected to each other through a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
The following components are connected to the I/O interface 305: an input section 306 including a keyboard, a mouse, and the like; an output portion 307 including a Liquid Crystal Display (LCD) or the like, a speaker or the like; a storage section 308 including a hard disk or the like; and a communication section 309 including a network interface card such as a LAN card, a modem, or the like. The communication section 309 performs communication processing via a network such as the internet. The drive 310 is also connected to the I/O interface 305 as needed. A removable medium 311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed on the drive 310 as needed, so that a computer program read therefrom is installed into the storage section 308 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 309, and/or installed from the removable medium 311. The above-described functions defined in the method of the present application are performed when the computer program is executed by a Central Processing Unit (CPU) 301. It should be noted that the computer readable storage medium of the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments described in the present application may be implemented by software, or may be implemented by hardware.
As another aspect, the present application also provides a computer-readable storage medium that may be included in the electronic device described in the above embodiments; or may exist alone without being incorporated into the electronic device. The computer-readable storage medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: the system opens the ODT document containing the templates to enable the administrator to select and set the data element combinations; the system acquires a data element combination set by an administrator, and after medical staff selects a template and presets content according to a data element list in the data element combination, the preset content is stored in an ODT document; the system acquires a data element combination supporting the replacement of preset contents in a template after medical staff writes medical records by using the selected template; the system replaces the data element combination content written by the medical staff into the medical record document in batches according to the data element combination selected by the medical staff.
Referring now to fig. 4, fig. 4 is a timing diagram of a content combination replacement method based on a LibreOffice document, according to an embodiment of the invention, including:
an administrator opens an ODT document and selects a template in the ODT document, a plurality of data elements with preset contents are selected in a data element list of the template, and the system stores the data element ID and the template ID selected by the administrator into a database;
a user (medical staff) opens a template in the ODT document selection document, combines, presets content and names data elements in the template, and the system stores the content of the preset data element combination and the data element ID into a database;
a user (medical staff) opens a certain data element combination in the ODT document to write the medical record, and the system acquires the data element combination and displays the combined content to the ODT document to be displayed to the user (medical staff);
the system replaces the selected combined data element content in batches into the medical record document.
Finally, what should be said is: the foregoing description is only of the preferred embodiments of the present application and is presented as a description of the principles of the technology being utilized. It will be appreciated by persons skilled in the art that the scope of the invention referred to in this application is not limited to the specific combinations of features described above, but it is intended to cover other embodiments in which any combination of features described above or equivalents thereof is possible without departing from the spirit of the invention. Such as the above-described features and technical features having similar functions (but not limited to) disclosed in the present application are replaced with each other.

Claims (9)

1. A content combination replacement method based on a LibreOffice document, comprising:
s1, a system opens an ODT document containing templates so that an administrator can select and set data element combinations, wherein the templates in the ODT document correspond to one or more data element combinations with preset contents;
s2, the system acquires a data element combination set by an administrator, and after medical staff selects a template and presets contents according to a data element list in the data element combination, the data element combination with the preset contents and the preset contents are stored in a database;
s3, the system acquires a data element combination supporting the replacement of preset content in the template after medical staff writes medical records by using the selected template;
the method specifically comprises the following steps:
s301, the system opens an ODT document based on LiberOoffice after medical staff selects a template and creates a medical record;
s302, the system acquires the data element combination of all preset contents set by the template through a GetDECT () interface;
s303: the system traverses a data element list in a data element combination which is selected by medical staff and is suitable for the current patient condition, and acquires a corresponding data element ID and preset content of the data element;
s304, the system takes the data element ID as a parameter to be transmitted into a GetTextField () method of a Doc object in an ODT document of the template, obtains the Json attribute of the data element and analyzes the Json attribute to further obtain the content attribute of the data element;
s305, the system replaces the value of the content attribute with the preset content of the data element;
s306, repeating S304 until all the data elements in the combination are traversed;
and S4, the system replaces the data element combination content written by the medical staff into the medical record document in batches according to the data element combination selected by the medical staff in the S2.
2. The method according to claim 1, wherein step S1 specifically comprises:
s101, a system opens an ODT document, an administrator selects a template in the ODT document, the template is a medical record document in an ODT format, and the template contains a plurality of data elements;
s102, the system acquires the Doc object in the ODT document and obtains a data element list of the template by using a GetTextFiles () method of the Doc object;
s103, the system stores the data elements of a plurality of presettable contents selected by an administrator in the data element list;
and S104, the system stores the template ID corresponding to the data element list and the data element ID into a database through a SaveDelist () interface.
3. The method according to claim 1, wherein step S2 specifically comprises:
s201, the system acquires the template ID of the template after the medical staff selects the template;
s202: the system acquires a data element list preset by an administrator in a template selected by medical staff through a GetDelist () method;
s203, displaying the data element list by a system, and recording the contents of a plurality of data element combinations in the data element list by medical staff and naming the data element combinations;
s204, the system stores the data element ID corresponding to the data element combination and the content of the plurality of data element combinations in a database through a SaveDECT () interface.
4. The method of claim 1, wherein the relationship of the template, the combination of data elements, and the list of data elements is:
the template is a medical record document in an ODT format, the template contains data elements, and the data element combination is obtained by selecting a plurality of data elements with preset contents from a data element list formed by the data elements by an administrator.
5. The method according to claim 1, wherein in step S304, if a medical staff member makes an error in selecting a combination of data elements, steps S303-S306 are repeated to directly select the combination of data elements for replacement.
6. A library office document-based content combination replacement system, comprising:
an administrator setting unit that opens an ODT document containing templates corresponding to one or more data element combinations of presettable contents by the system to enable an administrator to select and set the data element combinations;
the medical staff presetting unit comprises a system for acquiring a data element combination set by an administrator, and storing the data element combination with preset content and the preset content into a database after the medical staff selects a template and presets the content according to a data element list in the data element combination;
the medical staff uses the selected template to write the medical record, and then the system acquires a data element combination supporting the replacement of preset contents in the template;
the method specifically comprises the following steps:
the system opens the ODT document based on LiberOoffice after medical staff selects a template and creates a medical record;
the system acquires the data element combination of all preset contents set by the template through a GetDECT () interface;
the system traverses a data element list in a data element combination which is selected by medical staff and is suitable for the current patient condition, and acquires a corresponding data element ID and preset content of the data element;
the system takes the data element ID as a parameter to be transmitted into a GetTextField () method of a Doc object in an ODT document of the template, obtains the Json attribute of the data element and analyzes the Json attribute to further obtain the content attribute of the data element;
the system replaces the value of the content attribute with the preset content of the data element;
repeatedly transmitting the data element ID as a parameter into a GetTextField () method of a Doc object in an ODT document of the template to obtain Json attributes of the data elements and analyzing the Json attributes to further obtain content attributes of the data elements until all the data elements in the combination are traversed;
and the combination replacement unit is used for replacing the data element combination contents written by the medical staff in batches into the medical record document according to the data element combination in the medical staff preset unit selected by the medical staff.
7. The system according to claim 6, wherein the administrator setting unit specifically includes:
the method comprises the steps that a system opens an ODT document, an administrator selects a template in the ODT document, the template is a medical record document in an ODT format, and the template contains a plurality of data elements;
the system acquires the Doc object in the ODT document and obtains a data element list of the template by using a GetTextFiles () method of the Doc object;
the system stores a plurality of data elements of the presettable content selected by the administrator in the data element list;
the system stores the template ID corresponding to the data element list and the data element ID into a database through a SaveDelist () interface.
8. The system according to claim 6, wherein the healthcare worker setting unit specifically comprises:
the system acquires a template ID of a template after a medical staff selects the template;
the system acquires a data element list preset by an administrator in a template selected by medical staff through a GetDelist () method;
the system displays the data element list, and medical staff records the contents of a plurality of data element combinations in the data element list and names the data element combinations;
the system stores the data element ID corresponding to the data element combination and the content of the plurality of data element combinations in a database through a SaveDECT () interface.
9. A computer readable storage medium having stored thereon one or more computer programs, which when executed by a computer processor implement the method of any of claims 1 to 5.
CN202311744388.1A 2023-12-19 2023-12-19 Content combination replacement method and system based on Libreoffice document Active CN117422059B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311744388.1A CN117422059B (en) 2023-12-19 2023-12-19 Content combination replacement method and system based on Libreoffice document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311744388.1A CN117422059B (en) 2023-12-19 2023-12-19 Content combination replacement method and system based on Libreoffice document

Publications (2)

Publication Number Publication Date
CN117422059A CN117422059A (en) 2024-01-19
CN117422059B true CN117422059B (en) 2024-03-26

Family

ID=89532924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311744388.1A Active CN117422059B (en) 2023-12-19 2023-12-19 Content combination replacement method and system based on Libreoffice document

Country Status (1)

Country Link
CN (1) CN117422059B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017063389A1 (en) * 2015-10-14 2017-04-20 中兴通讯股份有限公司 Document generation method and device
CN107918537A (en) * 2016-10-10 2018-04-17 心医国际数字医疗系统(大连)有限公司 Electronic health record manufacturing system and method
CN112131851A (en) * 2020-09-03 2020-12-25 卫宁健康科技集团股份有限公司 Target electronic medical record template generation method and device
CN115620857A (en) * 2021-07-14 2023-01-17 卫宁健康科技集团股份有限公司 Electronic medical record generation method and system, computer equipment and storage medium
CN117238433A (en) * 2023-11-10 2023-12-15 智业软件股份有限公司 Method for automatically isolating document data based on Libreoffice

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017063389A1 (en) * 2015-10-14 2017-04-20 中兴通讯股份有限公司 Document generation method and device
CN107918537A (en) * 2016-10-10 2018-04-17 心医国际数字医疗系统(大连)有限公司 Electronic health record manufacturing system and method
CN112131851A (en) * 2020-09-03 2020-12-25 卫宁健康科技集团股份有限公司 Target electronic medical record template generation method and device
CN115620857A (en) * 2021-07-14 2023-01-17 卫宁健康科技集团股份有限公司 Electronic medical record generation method and system, computer equipment and storage medium
CN117238433A (en) * 2023-11-10 2023-12-15 智业软件股份有限公司 Method for automatically isolating document data based on Libreoffice

Also Published As

Publication number Publication date
CN117422059A (en) 2024-01-19

Similar Documents

Publication Publication Date Title
US20210026613A1 (en) Data model api for live applications in a cloud collaboration platform
Sendak et al. Real-world integration of a sepsis deep learning technology into routine clinical care: implementation study
US10665334B2 (en) Method and system for automated healthcare care coordination and care transitions
US20140019162A1 (en) Methods, systems, and devices for online triage
US20110301996A1 (en) Automating workflow participation
US11422795B2 (en) System and method for predicting the impact of source code modification based on historical source code modifications
US20170308378A1 (en) Application server and computer readable storage medium for generating project specific configuration data
CN111143422B (en) Data retrieval method, data retrieval device, storage medium and electronic equipment
US20220164184A1 (en) System and method for identifying source code defect introduction during source code modification
CN113963770A (en) Report file generation method and device, computer equipment and storage medium thereof
US20140033165A1 (en) Method and system to determine component deprecation
CN114003473B (en) Page operation behavior backtracking method and device and electronic equipment
JP5808191B2 (en) Method, apparatus and program for managing properties in dialog
CN117422059B (en) Content combination replacement method and system based on Libreoffice document
US9424238B2 (en) Methods and systems for order set processing and validation
Idnay et al. Clinical research staff perceptions on a natural language processing-driven tool for eligibility prescreening: An iterative usability assessment
KR102494757B1 (en) A system, a device and a method of medical questionnaire for a patient
US7730105B2 (en) Time sharing managing apparatus, document creating apparatus, document reading apparatus, time sharing managing method, document creating method, and document reading method
US9087127B1 (en) Method for providing an integrated video module
US20190303182A1 (en) System and method for providing advice and assistance through task-tracking systems
CN113779952B (en) Text processing method and device and electronic equipment
CN114566244B (en) Electronic medical record quality evaluation method, device and computer readable storage medium
US20220254482A1 (en) System and method for managing medical device inventory
US20210407662A1 (en) System and method for managing medical device inventory
CN113793674A (en) Information filtering method and device

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