Data processing method and device and electronic equipment
By constructing multi-level clinical documents and generating electronic medical records, the problems of complex configuration of medical record templates and large storage space in the prior art are solved, simplified template production and flexible configuration are achieved, and the storage space occupancy of electronic medical records is reduced.
Patent Information
- Application Number
- CN202311648171.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-04
- Publication Date
- 2025-06-06
AI Technical Summary
The existing electronic medical record production method requires pre-written medical record templates, which leads to large storage space, inconvenient analysis, and complex template configuration, making it difficult to adjust.
By obtaining all data elements corresponding to the medical record template, a multi-level clinical document is constructed, and a medical record template is generated based on the clinical document, the template information is configured, and the electronic medical record is finally generated and the template information and structured data are saved in association.
It simplifies the production process of medical record templates, reduces storage space usage, facilitates the parsing of electronic medical records, and provides flexible template configuration.
Smart Images

Figure CN120108613A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data processing method, device and electronic equipment. Background Art
[0002] Electronic medical records can record patients' medical information in an electronic way, and can provide patients with complete and accurate medical records. Since electronic medical records have a certain data structure, it is usually necessary to obtain a medical record template in advance by programming language, so that the doctor's input data can be filled into the medical record template to obtain an electronic medical record. However, the electronic medical record obtained in this way usually saves the doctor's input data and the medical record template together, which takes up a large storage space and is not convenient for parsing. In addition, the configuration of the medical record template is relatively complex, and it is difficult to adjust the medical record template once it is configured. Summary of the invention
[0003] In view of this, an object of the present invention is to provide a data processing method, device and electronic device to alleviate the above-mentioned problems existing in the related art.
[0004] In the first aspect, an embodiment of the present invention provides a data processing method, the method comprising: obtaining all data elements corresponding to a medical record template; wherein each data element represents a corresponding clinical attribute; constructing a clinical document with multiple levels based on all data elements corresponding to the medical record template; wherein the multiple levels include a first level representing data elements, a second level representing clinical units composed of at least one data element, a third level representing clinical segments composed of at least one clinical unit, and a fourth level representing clinical paragraphs composed of at least one clinical segment; generating a medical record template based on the clinical document, and configuring template information for the medical record template; wherein the template information represents the medical record template and its data structure and attributes; generating an electronic medical record based on the medical record template and the structured data input into the medical record template, and saving the template information of each medical record template in association with the structured data corresponding to it.
[0005] In the second aspect, an embodiment of the present invention also provides a data processing device, which includes: an acquisition module, used to acquire all data elements corresponding to a medical record template; wherein each data element represents a corresponding clinical attribute; a construction module, used to construct a clinical document with multiple levels based on all data elements corresponding to the medical record template; wherein the multiple levels include a first level representing data elements, a second level representing clinical units composed of at least one data element, a third level representing clinical fragments composed of at least one clinical unit, and a fourth level representing clinical paragraphs composed of at least one clinical fragment; a first processing module, used to generate a medical record template based on the clinical document, and configure template information for the medical record template; wherein the template information represents the medical record template and its data structure and attributes; a second processing module, used to generate an electronic medical record based on the medical record template and the structured data input into the medical record template, and associate the template information of each medical record template with the corresponding structured data for storage.
[0006] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the data processing method described in the first aspect above.
[0007] A data processing method, device and electronic device provided by an embodiment of the present invention first obtain all data elements corresponding to a medical record template, then construct a clinical document with multiple levels based on all data elements corresponding to the medical record template, then generate a medical record template based on the clinical document, and configure template information for the medical record template, and finally generate an electronic medical record based on the medical record template and the structured data input to the medical record template, and associate and save the template information of each medical record template with the structured data corresponding to it. Using the above technology, a multi-level relationship is formed by introducing data elements, clinical units, clinical fragments and clinical paragraphs and using the hierarchical relationship to construct a clinical document, and then a medical record template is formed by introducing clinical documents and template information, so that the preparation process of the medical record template becomes very simple, and the template information can be flexibly configured for the medical record template; an electronic medical record can be formed by introducing a medical record template to input structured data, and the template information of the same medical record template and the corresponding structured data are associated and saved, which reduces the storage space occupied compared to the method of saving the doctor's input data and the medical record template together in the prior art, and is also convenient for parsing electronic medical records.
[0008] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0009] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0011] Figure 1 A schematic diagram of a data processing method according to an embodiment of the present invention;
[0012] Figure 2 This is an example diagram of a data processing method in an embodiment of the present invention;
[0013] Figure 3 An example diagram for making a clinical paragraph in an embodiment of the present invention;
[0014] Figure 4 An example diagram of making a clinical segment in an embodiment of the present invention;
[0015] Figure 5 An example diagram of making a clinical unit in an embodiment of the present invention;
[0016] Figure 6 This is an example diagram of binding clinical attributes in an embodiment of the present invention;
[0017] Figure 7 An example diagram of making clinical documents in an embodiment of the present invention;
[0018] Figure 8 This is an example diagram of making a medical record template based on clinical documents in an embodiment of the present invention;
[0019] Fig. 9 An example diagram of linkage rule settings in an embodiment of the present invention;
[0020] Fig.10 An example diagram of a medical record template in an embodiment of the present invention;
[0021] Fig.11 This is an example diagram of medical record writing in an embodiment of the present invention;
[0022] Fig.12 This is an example diagram of storing doctor input data in a database in an embodiment of the present invention;
[0023] Fig.13 is a structural schematic diagram of a data processing device in an embodiment of the present invention;
[0024] Fig.14 The figure is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described in combination with the embodiments below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] At present, the existing method of producing electronic medical records usually requires obtaining a medical record template in advance through programming language writing, so that the doctor's input data can be filled into the medical record template later to obtain an electronic medical record. However, the electronic medical record obtained in this way usually saves the doctor's input data and the medical record template together, which takes up a large storage space and is not convenient for parsing. In addition, the configuration of the medical record template is relatively complex, and once the medical record template is configured, it is difficult to adjust.
[0027] Based on this, the present invention provides a data processing method, device and electronic device, which can alleviate the above-mentioned problems existing in the related technology.
[0028] To facilitate understanding of this embodiment, a data processing method disclosed in an embodiment of the present invention is first described in detail. Figure 1 A flow chart of a data processing method is shown, and the method may include the following steps:
[0029] Step S102, obtaining all data elements corresponding to the medical record template.
[0030] Each data element represents a corresponding clinical attribute, and the value type and value range of each clinical attribute can be determined according to preset standard information.
[0031] Step S104, constructing a clinical document with multiple levels based on all data elements corresponding to the medical record template.
[0032] Among them, the above-mentioned multiple levels may include a first level representing data elements, a second level representing clinical units composed of at least one data element, a third level representing clinical fragments composed of at least one clinical unit, and a fourth level representing clinical paragraphs composed of at least one clinical fragment.
[0033] Clinical attributes are the smallest nodes that carry medical record information, and clinical units are the smallest nodes of a business. For example, "blood pressure" is a clinical unit that has two data elements representing the two clinical attributes of "systolic pressure" and "diastolic pressure". Clinical fragments are assembled from a series of clinical units of the same business. For example, "general vital signs" is a clinical fragment that consists of two clinical units, "blood pressure" and "pulse". Clinical paragraphs are a collection of a series of clinical fragments. For example, "physical examination" is a clinical paragraph that consists of two clinical fragments, "vital signs" and "general condition". Clinical documents are assembled from multiple clinical paragraphs and are used to generate medical record templates.
[0034] Step S106, generating a medical record template based on the clinical document, and configuring template information for the medical record template.
[0035] Among them, the above template information can represent the medical record template and its data structure and attributes.
[0036] Step S108, generating an electronic medical record based on the medical record template and the structured data input into the medical record template, and associating the template information of each medical record template with the corresponding structured data and saving them.
[0037] A data processing method provided by an embodiment of the present invention first obtains all data elements corresponding to a medical record template, then constructs a clinical document with multiple levels based on all data elements corresponding to the medical record template, then generates a medical record template based on the clinical document, configures template information for the medical record template, and finally generates an electronic medical record based on the medical record template and the structured data input into the medical record template, and associates and saves the template information of each medical record template with the structured data corresponding to it. By adopting the above technology, a multi-level relationship is formed by introducing data elements, clinical units, clinical fragments and clinical paragraphs, and a clinical document is constructed by using the hierarchical relationship, and then a medical record template is formed by introducing clinical documents and template information, so that the preparation process of the medical record template becomes very simple, and the template information can be flexibly configured for the medical record template; an electronic medical record can be formed by introducing a medical record template to input structured data, and the template information of the same medical record template and the corresponding structured data are associated and saved, which reduces the storage space occupied compared to the method of saving the doctor's input data and the medical record template together in the prior art, and is also convenient for parsing electronic medical records.
[0038] As a possible implementation, the above step S104 (i.e., constructing a clinical document with multiple levels based on all data elements corresponding to the medical record template) may include:
[0039] Step 1: construct multiple clinical units based on all data elements corresponding to the medical record template, and configure corresponding first attribute information for each clinical unit.
[0040] Each clinical unit includes at least one data element.
[0041] The above-mentioned first attribute information may include a clinical unit identifier, a clinical unit type, clinical unit description information, clinical attribute information, a first identifier indicating whether a clinical unit is selected multiple times, etc., and there is no limitation on this.
[0042] The clinical attribute information may include a value type of the clinical attribute, a value range of the clinical attribute, a display type of the clinical attribute, a second flag indicating whether the clinical attribute is multiple-selected, etc., which are not limited thereto.
[0043] Step 2: construct multiple clinical segments based on all clinical units, and configure corresponding second attribute information for each clinical segment.
[0044] Each clinical segment includes at least one clinical unit.
[0045] The second attribute information may include a clinical segment identifier, a clinical segment type, a clinical segment description information, etc., which is not limited.
[0046] Step 3: construct multiple clinical paragraphs based on all clinical fragments, and configure corresponding third attribute information for each clinical paragraph.
[0047] Each clinical paragraph includes at least one clinical segment.
[0048] The third attribute information may include a clinical paragraph identifier, a clinical paragraph type, a clinical paragraph description information, etc., which is not limited thereto.
[0049] When constructing multiple clinical segments based on all clinical units, the business to which each clinical unit belongs can be determined, and clinical segments with the same business can be grouped into one clinical segment to obtain multiple clinical segments. For example, two clinical units with the same business, "smoking history" and "drinking history", can be grouped into one clinical segment, "personal history".
[0050] Step 4: construct the clinical document based on all clinical paragraphs, and configure fourth attribute information for the clinical document.
[0051] Wherein, the above clinical document includes at least one clinical paragraph.
[0052] The fourth attribute information mentioned above may include a clinical document identifier, a clinical document type, a clinical document description information, a list of paragraphs contained in the clinical document, etc., and is not limited to this.
[0053] As a possible implementation, the above-mentioned template information may include a template identifier; based on this, saving the template information of each medical record template in association with its corresponding structured data in the above-mentioned step S108 may include: obtaining the corresponding template identifier from the template information of each medical record template, and saving the template identifier of each medical record template in association with its corresponding structured data in the database.
[0054] As a possible implementation, the template information may further include linkage rules for clinical sections; based on this, configuring the template information for the medical record template in step S106 may include: configuring a medical record template identifier and linkage rules for the medical record template.
[0055] Among them, the above linkage rules can be used to control the linkage display of the content of the medical record template.
[0056] As a possible implementation, the data processing method may further include: in response to a linkage trigger operation on a medical record template, controlling the linkage display of the contents of the medical record template according to the linkage rules.
[0057] For ease of understanding, the operation of the above data processing method is exemplarily described as follows.
[0058] See also Figure 2 As shown, the above data processing method can be performed in the following operation mode:
[0059] Step 201, obtaining clinical attributes required for making a medical record template, and setting the value type and value range of each clinical attribute;
[0060] Step 202, establish multiple clinical units ( Figure 2 The clinical unit is represented by “unit” in the text), and the corresponding clinical attributes are bound to each clinical unit.
[0061] Step 203, assemble a series of clinical units belonging to the same business into clinical segments ( Figure 2 “Fragment” is used in the text).
[0062] Step 204 , assemble a series of clinical segments into a clinical paragraph.
[0063] Step 205 , assembling multiple clinical paragraphs into a clinical document.
[0064] Step 206, introduce a specific type of clinical document and perform personalized settings to form a medical record template.
[0065] Among them, each medical record template has its own template identification.
[0066] Step 207, select a medical record template and fill the structured data entered by the doctor into the medical record template to form an electronic medical record ( Figure 2 “Medical record” is used in Chinese.)
[0067] Step 208: associate the template identifier of each medical record template with the corresponding structured data used to fill in it and store them in the database.
[0068] Creating a medical record template is a key step in the above data processing method. An exemplary description of the medical record template creation process is as follows:
[0069] The first step is to create a clinical paragraph.
[0070] For ease of description, the “clinical paragraphs” in this article are referred to as “paragraphs”.
[0071] For example Figure 3 As shown, a new paragraph is created, and information such as a paragraph identifier, a unique concept identifier of the paragraph (ie, a paragraph concept), a paragraph name, and a description are set for the paragraph.
[0072] The second step is to produce clinical clips.
[0073] For ease of description, the “clinical segments” in this article are referred to as “segments” for short.
[0074] For example Figure 4 As shown, under the corresponding clinical paragraph, a new segment is created, and the segment identifier, the unique concept identifier of the segment (ie, the segment concept), the segment name, the display name, the order, the description and other information are set for the segment.
[0075] The third step is to create clinical units.
[0076] For ease of description, the "clinical unit" herein will be referred to as a "unit" for short.
[0077] For example Figure 5 As shown, under the corresponding clinical fragment, create a new unit and set the unit identifier, unit name, display name, unit unique concept identifier (i.e. unit concept), order, description, unit type, attribute value type, associated value domain, whether to select multiple items, and other information for the unit.
[0078] The fourth step is to bind clinical attributes.
[0079] For example Figure 6As shown, under the corresponding clinical unit, multiple clinical attributes are set. For example, the clinical unit "blood pressure" needs to set the two clinical attributes "diastolic pressure" and "systolic pressure"; each clinical attribute can set the attribute value type, multiple selection or single selection. For example, the clinical attribute "diastolic pressure" needs to set the attribute value type to a numerical type or a drop-down type, and whether to select multiple selections can also be set to single selection or multiple selections; each clinical attribute can also set the display method, such as setting the display method for each clinical attribute of the clinical unit "blood pressure" to an enumeration type or a text type.
[0080] Step 5: Create clinical documentation.
[0081] For ease of description, the “clinical documents” in this article are referred to as “documents” for short.
[0082] For example Figure 7 As shown, a new document is created, and the document's unique concept identifier (i.e., document concept name), document type (i.e., document category), document name, display name, document version status, description and other information are set for the document, and a list of associated paragraphs is set for the document, thereby forming a specific type of clinical document.
[0083] Step 6: Create a medical record template based on clinical documents.
[0084] For example Figure 8 As shown, when creating a medical record template, you can select the corresponding clinical document to directly generate a medical record template. The maker of the medical record template can personalize the medical record template according to the needs of the hospital, such as disabling / enabling configuration nodes (such as clinical documents, clinical paragraphs, clinical fragments, clinical units, clinical attributes), configuring prefixes / suffixes, configuring linkage rules, etc.
[0085] The linkage rule is used to set the linkage display of the unit, which can be customized according to actual needs and is not limited. Fig. 9 As shown, for example, when the value of the "whether there is a medical history" unit is set to "yes", the "illness time" unit needs to be displayed in a linked manner, so it is necessary to set a linkage rule to control the linked display of these two units.
[0086] After the medical record template is prepared, since each medical record template has a corresponding template identifier, the doctor only needs to select the medical record template with a specific template identifier to write the relevant content on the medical record template, thereby forming a medical record. In addition, the doctor can also pre-set a default medical record template so that the doctor can directly write on the default medical record template when forming a medical record. Fig.10 A presentation of a medical record template is shown.
[0087] In the traditional medical record template production method, the maker of the medical record template needs to create a new blank page, select data elements one by one and insert them into the blank page to form a medical record template. Since the medical record template has no prefabricated structure layout, this method has problems such as uncontrollable operation, large workload, and easy errors. Therefore, compared with the traditional medical record template production method, the above data processing method provided by the present invention can reduce the manual operation in the medical record template production process, thereby improving the efficiency and accuracy of medical record template production.
[0088] In the above data processing method, medical records can be stored in a manner that separates medical record templates from doctor-entered data: medical records consist of medical record templates and doctor-entered data (i.e., structured data). Since each medical record only stores the doctor-entered data and the corresponding template identifier, compared to the prior art method of storing the entire medical record in a database (medical record template data often occupies more than half of the medical record content), the storage space occupied can be greatly reduced.
[0089] When a doctor is checking a medical record, he or she first queries the template identifier in the database to find the corresponding medical record template, then queries the data entered by the doctor (each data record entered by the doctor and stored in the database is set with a corresponding unique concept identifier) and finds the corresponding data according to the unique concept identifier set by the medical record template, assigns a value, and finally returns it to the front end for rendering.
[0090] For example, "name" is a concept. Since the unique concept identifier "341123" has been set for the "name" unit in the process of making the medical record template, when creating a new medical record, if the unique concept identifier "341123" is found in the medical record template, the database will be automatically queried to find the patient's name as the value assigned to the "name" unit.
[0091] Fig.11 It shows the medical record template used by doctors when writing medical records and the presentation form of the corresponding doctor-entered data. Fig.11 The middle right area shows the medical record template and the doctor's manual writing (such as "edema for 3 days", etc.). Fig.11 The middle left area presents the data in the patient's test report. The doctor can directly insert the data in the patient's test report into the medical record template. Fig.12 The figure shows the presentation form of the doctor input data stored in the database.
[0092] Compared with the prior art, the above data processing method brings the following beneficial effects:
[0093] (I) The creation of medical record templates is simple and quick. Because the four-layer structure of clinical attributes, clinical units, clinical segments, and clinical paragraphs is introduced and clinical documents are created based on this structure, a medical record template can be formed by simply introducing the corresponding clinical documents and adding some personalized configurations, making the process of creating medical record templates very simple and flexible.
[0094] (ii) The storage space occupied by medical records is greatly reduced. Since medical records only need to store the data entered by the doctor and the template identifier of the medical record template used, the storage space occupied is greatly reduced.
[0095] Based on the above data processing method, the embodiment of the present invention further provides a data processing device, see Fig.13 As shown, the device may include:
[0096] The acquisition module 1302 is used to acquire all data elements corresponding to the medical record template; wherein each data element represents a corresponding clinical attribute.
[0097] Construction module 1304 is used to construct a clinical document with multiple levels based on all data elements corresponding to the medical record template; wherein the multiple levels include a first level representing data elements, a second level representing clinical units composed of at least one data element, a third level representing clinical fragments composed of at least one clinical unit, and a fourth level representing clinical paragraphs composed of at least one clinical fragment.
[0098] The first processing module 1306 is used to generate a medical record template based on the clinical document and configure template information for the medical record template; wherein the template information represents the medical record template and its data structure and attributes.
[0099] The second processing module 1308 is used to generate an electronic medical record based on the medical record template and the structured data input into the medical record template, and associate and save the template information of each medical record template with the corresponding structured data.
[0100] A data processing device provided by an embodiment of the present invention forms a multi-level relationship by introducing data elements, clinical units, clinical fragments and clinical paragraphs and uses the hierarchical relationship to construct clinical documents, and then forms a medical record template by introducing clinical documents and template information, so that the process of making medical record templates becomes very simple, and the template information can be flexibly configured for the medical record template; an electronic medical record can be formed by introducing a medical record template to input structured data, and the template information and corresponding structured data of the same medical record template are associated and saved. Compared with the method of saving the doctor's input data and the medical record template together in the prior art, the storage space occupancy is reduced and the parsing of electronic medical records is also facilitated.
[0101] The above-mentioned construction module 1304 can also be used to: construct multiple clinical units based on all data elements corresponding to the medical record template, and configure corresponding first attribute information for each clinical unit; wherein each clinical unit each includes at least one data element; construct multiple clinical fragments based on all clinical units, and configure corresponding second attribute information for each clinical fragment; wherein each clinical fragment each includes at least one clinical unit; construct multiple clinical paragraphs based on all clinical fragments, and configure corresponding third attribute information for each clinical paragraph; wherein each clinical paragraph each includes at least one clinical fragment; construct the clinical document based on all clinical paragraphs, and configure fourth attribute information for the clinical document; wherein the clinical document includes at least one clinical paragraph.
[0102] The above template information may include a template identifier; based on this, the above second processing module 1308 may also be used to: obtain the corresponding template identifier from the template information of each medical record template, and associate the template identifier of each medical record template with its corresponding structured data and save it in the database.
[0103] The construction module 1304 may also be used to determine the business to which each clinical unit belongs, and group clinical segments with the same business into one clinical segment, thereby obtaining multiple clinical segments.
[0104] The template information may also include linkage rules for clinical paragraphs; based on this, the first processing module 1306 may be used to configure a medical record template identifier and the linkage rules for the medical record template; wherein the linkage rules are used to control the linkage display of the contents of the medical record template.
[0105] See also Fig.13 As shown, the device may include:
[0106] The third processing module 1310 is used to control the linkage display of the contents of the medical record template according to the linkage rule in response to the linkage trigger operation on the medical record template.
[0107] The data processing device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned data processing method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0108] The embodiment of the present invention further provides an electronic device, such as Fig.14 As shown, it is a schematic diagram of the structure of the electronic device, wherein the electronic device includes a processor 141 and a memory 140, the memory 140 stores computer executable instructions that can be executed by the processor 141, and the processor 141 executes the computer executable instructions to implement the above-mentioned data processing method.
[0109] exist Fig.14 In the illustrated embodiment, the electronic device further includes a bus 142 and a communication interface 143 , wherein the processor 141 , the communication interface 143 and the memory 140 are connected via the bus 142 .
[0110] Among them, the memory 140 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 143 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 142 can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus 142 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.14 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0111] The processor 141 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 141 or the instruction in the form of software. The above processor 141 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the data processing method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor 141 reads the information in the memory and completes the steps of the data processing method of the above embodiment in combination with its hardware.
[0112] Unless otherwise specifically stated, the relative steps, numerical expressions and values of the components and steps set forth in these embodiments do not limit the scope of the present invention.
[0113] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0114] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0115] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A data processing method, It is characterized in that The method comprises: Obtain all data elements corresponding to the medical record template; wherein each data element represents a corresponding clinical attribute; Constructing a clinical document with multiple levels based on all data elements corresponding to the medical record template; wherein the multiple levels include a first level representing data elements, a second level representing clinical units composed of at least one data element, a third level representing clinical segments composed of at least one clinical unit, and a fourth level representing clinical paragraphs composed of at least one clinical segment; Generate a medical record template based on the clinical document, and configure template information for the medical record template; wherein the template information represents the medical record template and its data structure and attributes; An electronic medical record is generated based on the medical record template and the structured data input into the medical record template, and the template information of each medical record template is associated with the corresponding structured data and saved.
2. The method according to claim 1, It is characterized in that Construct clinical documents with multiple levels based on all data elements corresponding to the medical record template, including: Constructing a plurality of clinical units based on all data elements corresponding to the medical record template, and configuring corresponding first attribute information for each clinical unit; wherein each clinical unit includes at least one data element; Constructing a plurality of clinical segments based on all clinical units, and configuring corresponding second attribute information for each clinical segment; wherein each clinical segment includes at least one clinical unit; Constructing a plurality of clinical paragraphs based on all clinical segments, and configuring corresponding third attribute information for each clinical paragraph; wherein each clinical paragraph includes at least one clinical segment; The clinical document is constructed based on all clinical paragraphs, and fourth attribute information is configured for the clinical document; wherein the clinical document includes at least one clinical paragraph.
3. The method according to claim 1, It is characterized in that The template information includes a template identifier; The template information of each medical record template is associated and saved with its corresponding structured data, including: The corresponding template identifier is obtained from the template information of each medical record template, and the template identifier of each medical record template is associated with the corresponding structured data and saved in the database.
4. The method according to claim 2, It is characterized in that Construct multiple clinical segments based on all clinical units, including: The business to which each clinical unit belongs is determined, and clinical segments with the same business are grouped into one clinical segment to obtain multiple clinical segments.
5. The method according to claim 2, It is characterized in that The first attribute information includes at least one of the following: a clinical unit identifier, a clinical unit type, clinical unit description information, clinical attribute information, and a first identifier indicating whether a clinical unit is selected multiple times; The second attribute information includes at least one of the following: a clinical segment identifier, a clinical segment type, and clinical segment description information; The third attribute information includes at least one of the following: clinical paragraph identification, clinical paragraph type, and clinical paragraph description information; The fourth attribute information includes at least one of the following: a clinical document identifier, a clinical document type, a clinical document description information, and a list of paragraphs contained in the clinical document.
6. The method according to claim 5, It is characterized in that The clinical attribute information includes at least one of the following: a value type of the clinical attribute, a value range of the clinical attribute, a display type of the clinical attribute, and a second flag indicating whether the clinical attribute is multiple-selected; If the first attribute information includes clinical attribute information, and the clinical attribute information includes a value type and a value range of a clinical attribute, the method further includes: The value type and value range of each clinical attribute are determined based on preset standard information.
7. The method according to claim 3, It is characterized in that The template information also includes linkage rules for clinical sections; configuring the template information for the medical record template includes: A medical record template identifier and the linkage rule are configured for the medical record template; wherein the linkage rule is used to control the linkage display of the contents of the medical record template.
8. The method according to claim 7, It is characterized in that The method further comprises: In response to the linkage trigger operation for the medical record template, the linkage display of the contents of the medical record template is controlled according to the linkage rules.
9. A data processing device, It is characterized in that The device comprises: An acquisition module is used to acquire all data elements corresponding to the medical record template; wherein each data element represents a corresponding clinical attribute; A construction module, for constructing a clinical document with multiple levels based on all data elements corresponding to the medical record template; wherein the multiple levels include a first level representing data elements, a second level representing clinical units composed of at least one data element, a third level representing clinical segments composed of at least one clinical unit, and a fourth level representing clinical paragraphs composed of at least one clinical segment; A first processing module, configured to generate a medical record template based on the clinical document and configure template information for the medical record template; wherein the template information represents the medical record template and its data structure and attributes; The second processing module is used to generate an electronic medical record based on the medical record template and the structured data input into the medical record template, and associate and save the template information of each medical record template with the corresponding structured data.
10. An electronic device, It is characterized in that The invention comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method according to any one of claims 1 to 8.