CN107273654B - Storage optimization system for electronic medical record forms - Google Patents
Storage optimization system for electronic medical record forms Download PDFInfo
- Publication number
- CN107273654B CN107273654B CN201710288718.9A CN201710288718A CN107273654B CN 107273654 B CN107273654 B CN 107273654B CN 201710288718 A CN201710288718 A CN 201710288718A CN 107273654 B CN107273654 B CN 107273654B
- Authority
- CN
- China
- Prior art keywords
- control
- attribute
- medical record
- electronic medical
- storage
- 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.)
- Expired - Fee Related
Links
- 238000005457 optimization Methods 0.000 title claims abstract description 12
- 238000013507 mapping Methods 0.000 claims abstract description 17
- 238000000034 method Methods 0.000 claims abstract description 14
- 230000009286 beneficial effect Effects 0.000 abstract description 3
- 239000003086 colorant Substances 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The invention discloses a storage optimization system of an electronic medical record form, which comprises a control initialization unit, a serialization unit and a deserialization unit, wherein the control initialization unit comprises the following steps: the method is used for initializing the attribute of the data stored in charge of each control, completing registration in a dynamic link library file, establishing a mapping relation between the control and the attribute of the stored data to generate a mapping table, and intercepting data information in the control when information data in an electronic medical record form is structurally stored through a serialization unit and an deserialization unit, discarding the content representing the attribute of the control, only storing the content representing the information of the control for serialization, discarding the homogenized attribute information of the control, and achieving the beneficial effects of optimizing, saving the storage space and reducing the storage of redundant data.
Description
Technical Field
The invention relates to the technical field of medical treatment, in particular to a storage optimization system for electronic medical record forms.
Background
When a doctor fills in various electronic medical record forms, information needs to be input in different controls. After the electronic form is filled, various information data in the control needs to be structurally stored. The contents to be stored in the control are divided into two types, one is control attributes such as character fonts, colors, background colors and the like, and the other is data contained in the control. According to the data storage method used before, the control attribute and the data contained in the control are required to be stored together during storage, and the storage method causes great redundancy of the data because the most important data in the control is actually the data instead of the control attribute.
Therefore, there is a need to design a new storage optimization system for electronic medical record forms to solve the above technical problems.
Disclosure of Invention
Aiming at the problems in the background art, the invention aims to provide a storage optimization system of an electronic medical record form, which enables a large amount of repeated redundant information to be abandoned when information data in the electronic medical record form is structurally stored, and optimizes storage space.
The technical scheme of the invention is realized as follows: the storage optimization system of the electronic medical record form comprises a control initialization unit, a serialization unit and a deserialization unit, wherein the control initialization unit: the mapping table is used for initializing the attribute of the data stored in charge of each control, completing registration in the dynamic link library file, and establishing the mapping relation between the control and the attribute of the stored data to generate the mapping table; a serialization unit: when the user finishes the input of the electronic medical record form, the content is structurally stored; firstly, calling out an attribute mapping table of a control and corresponding stored data from a dynamic link library file, then judging each control in a form one by one, judging whether the control is stipulated to store data information, and if the control is judged to be false, entering next control judgment; if the judgment result is true, entering a specific attribute list of the control; sequentially judging whether the attribute is consistent with the attribute of the stored data corresponding to the control in the mapping table, if so, serializing the data of the attribute, and writing the sequenced information into a corresponding storage file through a writer; if the judgment result is false, judging the next attribute until the last attribute is judged; an deserialization unit: when a user selects a certain electronic medical record form to read, the system firstly reads the storage address of the electronic medical record form, and then refers to the address to find the position of the storage file of the electronic medical record form to perform deserialization.
In the technical scheme, in the serialization unit, the electronic medical record form method adopts a directory storage method, and all levels of names in the directory correspond to the patient hospitalization number, the form type number and the entry date of the electronic medical record form.
In the technical scheme, the directory structure is divided into three levels, wherein the first level is the hospitalization number of the patient, the second level is the corresponding number of the electronic form, the third level is the date filled in the electronic form, and the fourth level is the serial number.
In the technical scheme, in the deserializing unit, when reading the electronic medical record form storage file, firstly reading control attributes contained in each control in a dynamic link library file, then judging the control to which the information stored in the file belongs one by one, after judging the control to which the information belongs, finding the control attribute corresponding to the control in the dynamic link library file, giving the control, then deserializing the data stored in the control in the storage file, and placing the read information in the control. Therefore, the read storage file information integrates the original attribute of the control and is restored back to the control.
The storage optimization system of the electronic medical record form comprises a control initialization unit, a serialization unit and an deserialization unit, so that when information data in the electronic medical record form is structurally stored, data information in a control is intercepted, contents representing the attributes of the control are abandoned, only the contents representing the information of the control are stored for serialization, and the homogenized attribute information of the control is abandoned, thereby achieving the beneficial effects of optimizing, saving the storage space and reducing the storage of redundant data.
Drawings
FIG. 1 is a schematic flow diagram of a serialization cell in accordance with the present invention;
FIG. 2 is a name diagram of a storage directory according to the present invention;
FIG. 3 is a schematic flow chart of the deserialization unit of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention relates to a storage optimization system of an electronic medical record form, which comprises a control initialization unit, a serialization unit and a deserialization unit, wherein the following is a detailed description of each unit:
(1) a control initialization unit:
because the attributes corresponding to the data stored in each control are different, for example, the attribute corresponding to the stored data of the Textbox is Text, and the attribute of the data stored in the RadioButton is Checked, it is first necessary to initialize the attribute of the data stored in each control, complete registration in the dynamic link library file, and establish the mapping relationship between the control and the attribute of the stored data. The mapping table is established as follows:
name of control | Key Properties |
Textbox | Text |
RadioButton | Checked |
Label | Caption |
... | ... |
(II) a serialization unit:
after the user finishes the input of the electronic medical record form, the content of the electronic medical record form needs to be stored in a structured mode, and the structured storage depends on the serialization of data. When the electronic medical record form is stored, firstly, the attribute list of the control and the corresponding stored data is called from the dynamic link library file. Subsequently, each control in the form is judged one by one, whether the control is specified to store data information is judged firstly, and if the control is judged to be false, the next control judgment is carried out; if the attribute is judged to be true, entering a specific attribute list of the control, sequentially judging whether the attribute is consistent with the attribute of the stored data corresponding to the control in the mapping table, if the attribute is judged to be true, serializing the data of the attribute, and writing the serialized information into a corresponding storage file through a writer; and if the judgment result is false, judging the next attribute until the last attribute is judged.
The electronic medical record form method adopts a directory storage method, and all levels of names in the directory correspond to the patient hospitalization number, form type number and entry date of the electronic medical record form. The directory structure is divided into three levels, the first level is the hospitalization number of the patient, the second level is the corresponding number of the electronic form, the third level is the date filled in the electronic form, and the fourth level is the serial number. For example, if a patient with a hospital number of 174513 fills out a course record in 2017 on day 3 and 22, the category of the course record is numbered 04, and the category of the course record is 174512/04/20170322/01. When the catalog storage method is adopted, in order to realize the structured storage of the electronic medical record form, when a user needs to retrieve the electronic form, the address of the form can be positioned at the fastest speed, wherein the flow is shown in fig. 1, and the name of the storage catalog is shown in fig. 2.
(III) an deserialization unit:
when a user selects a certain electronic medical record form to read, the system firstly reads the storage address of the electronic medical record form, and then refers to the address to find the position of the storage file of the electronic medical record form to perform deserialization.
When reading the electronic medical record form storage file, firstly, the control attributes contained in each control are required to be read in the dynamic link library file. And then, judging the control to which the information stored in the file belongs one by one, finding the control attribute corresponding to the control in the dynamic link library file after judging the control to which the information belongs, giving the control, performing deserialization on the data stored in the control in the storage file, and placing the read information in the control. Thus, the read information of the storage file integrates the original attribute of the control and is restored back to the control, wherein the above-mentioned process is shown in fig. 3.
The following is further described in connection with an example:
a certain user inputs an electronic medical record form, belongs to admission inspection, and comprises the following contents:
after the user selects storage, the system judges whether each control needs to be stored one by one. First, Caption is "name: "the label control, after judging, the data of the control does not need to be saved. Secondly, a Textbox control with the Text attribute of 'Zhang three', wherein after judgment, the data of the control needs to be stored.
Reading the attribute mapping table of each control and the stored data thereof in the dynamic link library as follows:
name of control | Key Properties |
Textbox | Text |
RadioButton | Checked |
Label | Caption |
... | ... |
The attribute of the stored data corresponding to the Textbox is Text. Judging the attributes of the Textbox one by one, and abandoning the attributes such as FrontColor, Font and the like which are not Text. And if the Text attribute accords with the mapping relation, serializing the information Zhang III corresponding to the Text, and storing the serialized information into a corresponding storage file through a Writer.
The patient has a hospital number of 173457, a form number corresponding to admission examination of 02, a filling date of 2017, 3, month and 22 and a serial number of 1, so that the name of the storage directory is as follows: 173457/02/20170322/1.
To sum up, the storage optimization system of the electronic medical record form has the following beneficial effects:
1. in a common storage mode, when an electronic medical record form is stored, the attributes of the controls in each control and the data in the control need to be stored in a storage file together, and the attributes of a certain control are consistent in each storage file, so that if the attribute of the certain control and the data are stored together, the same type of information is stored for multiple times, and a large amount of redundant information is caused. The storage optimization method discards the control structure during storage and only reserves corresponding data, so that storage space with considerable capacity can be saved.
2. The data information of each control is only required to be read when the storage file is read, the attribute of the control is directly endowed to the control according to the registration information in the dynamic link library file, the data information is only required to be restored to the control when the storage file is read, and the reading speed can be improved to a considerable extent. In the common storage method, the control attribute needs to be read repeatedly during reading, the attribute needs to be read in addition to the data reading, the calculation times are increased, and the reading speed is reduced.
3. The electronic medical record forms are stored in a structured storage method, a directory structure is adopted, and the naming of each electronic medical record form is based on the hospital number, the form type, the input date and the serial number, so that each electronic medical record form is allowed to be stored in a tree form in a datamation mode, and therefore the system can find the corresponding electronic medical record form according to the structured directory name when looking over the electronic medical record forms, and the query is more convenient.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (2)
1. A storage optimization system of electronic medical record forms is characterized in that: comprises a control initialization unit, a serialization unit and an deserialization unit, wherein,
a control initialization unit: the mapping table is used for initializing the attribute of the data stored in charge of each control, completing registration in the dynamic link library file, and establishing the mapping relation between the control and the attribute of the stored data to generate the mapping table;
a serialization unit: when the user finishes the input of the electronic medical record form, the content is structurally stored; firstly, calling out an attribute mapping table of a control and corresponding stored data from a dynamic link library file, then judging each control in a form one by one, judging whether the control is stipulated to store data information, and if the control is judged to be false, entering next control judgment; if the judgment result is true, entering a specific attribute list of the control; sequentially judging whether the attribute is consistent with the attribute of the stored data corresponding to the control in the mapping table, if so, serializing the data of the attribute, and writing the sequenced information into a corresponding storage file through a writer; if the judgment result is false, judging the next attribute until the last attribute is judged;
an deserialization unit: when a user selects a certain electronic medical record form to read, the system firstly reads the storage address of the electronic medical record form, and then refers to the address to find the position of the storage file of the electronic medical record form to perform deserialization;
in the serialization unit, the electronic medical record form method adopts a directory storage method, and all levels of names in the directory correspond to the patient hospitalization number, form type number and entry date of the electronic medical record form;
in the deserializing unit, when reading the electronic medical record form storage file, firstly reading control attributes contained by each control in a dynamic link library file, then judging the control to which the information stored in the file belongs one by one, after judging the control to which the information belongs, finding the control attribute corresponding to the control in the dynamic link library file, giving the control, deserializing the data stored in the control in the storage file, and placing the read information in the control, so that the read information of the storage file integrates the original attribute of the control and is restored to the control.
2. The system for optimizing storage of electronic medical record forms of claim 1, wherein: the structure of the catalog is divided into three levels, the first level is the hospitalization number of the patient, the second level is the form type number corresponding to the electronic case form, the third level is the date filled in the electronic case form, and the fourth level is the serial number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710288718.9A CN107273654B (en) | 2017-04-27 | 2017-04-27 | Storage optimization system for electronic medical record forms |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710288718.9A CN107273654B (en) | 2017-04-27 | 2017-04-27 | Storage optimization system for electronic medical record forms |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107273654A CN107273654A (en) | 2017-10-20 |
CN107273654B true CN107273654B (en) | 2021-04-09 |
Family
ID=60073621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710288718.9A Expired - Fee Related CN107273654B (en) | 2017-04-27 | 2017-04-27 | Storage optimization system for electronic medical record forms |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107273654B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108305040A (en) * | 2017-12-20 | 2018-07-20 | 山东浪潮云服务信息科技有限公司 | A kind of public service item handles method and apparatus |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101661508A (en) * | 2009-09-29 | 2010-03-03 | 金蝶软件(中国)有限公司 | Method for generating memu for multi-technology platform and device thereof |
CN106354864A (en) * | 2016-09-07 | 2017-01-25 | 深圳市友为软件有限公司 | Form saving method and system |
CN106570018A (en) * | 2015-10-10 | 2017-04-19 | 阿里巴巴集团控股有限公司 | Serialization method and apparatus, deserialization method and apparatus, serialization and deserialization system, and electronic device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8949281B2 (en) * | 2012-03-31 | 2015-02-03 | Emc Corporation | System and method of hierarchical data containers |
-
2017
- 2017-04-27 CN CN201710288718.9A patent/CN107273654B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101661508A (en) * | 2009-09-29 | 2010-03-03 | 金蝶软件(中国)有限公司 | Method for generating memu for multi-technology platform and device thereof |
CN106570018A (en) * | 2015-10-10 | 2017-04-19 | 阿里巴巴集团控股有限公司 | Serialization method and apparatus, deserialization method and apparatus, serialization and deserialization system, and electronic device |
CN106354864A (en) * | 2016-09-07 | 2017-01-25 | 深圳市友为软件有限公司 | Form saving method and system |
Non-Patent Citations (1)
Title |
---|
"jQuery.serialize() 函数详解";Ready;《https://codeplayer.vip/p/j7ssm》;20140909;第1-2页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107273654A (en) | 2017-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10706101B2 (en) | Bucketized hash tables with remap entries | |
CN102792285B (en) | For the treatment of the apparatus and method of data | |
TWI499909B (en) | Hierarchical immutable content-addressable memory processor | |
US9871727B2 (en) | Routing lookup method and device and method for constructing B-tree structure | |
WO2020125741A1 (en) | Hash collision processing method, apparatus, device, and computer readable storage medium | |
US20100332846A1 (en) | Scalable indexing | |
CN103455475B (en) | Composition method, equipment and system | |
CN111143368B (en) | Relational database data comparison method and system | |
US9292549B2 (en) | Method and system for index serialization | |
CN110147330B (en) | Word matrix data caching method, device, equipment and storage medium | |
CN109885614B (en) | Data synchronization method and device | |
CN115964002B (en) | Electric energy meter terminal archive management method, device, equipment and medium | |
CN111400306A (en) | RDMA (remote direct memory Access) -and non-volatile memory-based radix tree access system | |
CN107273654B (en) | Storage optimization system for electronic medical record forms | |
CN106951531A (en) | Data query method and device | |
US20070233958A1 (en) | Cashe Device and Method for the Same | |
CN111831587A (en) | Data writing method and device and electronic equipment | |
CN109446127B (en) | Physical BRAM matching method | |
CN111104403B (en) | LSM tree data processing method, system, equipment and computer medium | |
CN107908500A (en) | A kind of bad block identifying method and device | |
CN114238226A (en) | NVM (non volatile memory) local file management system and method based on SIMD (single instruction multiple data) instruction | |
CN209590838U (en) | A kind of SoC system | |
CN110825658A (en) | Flash memory controller and method | |
CN109634514A (en) | A kind of the reading and writing data method and system of chip memory | |
CN116126429B (en) | Method for persistence and recovery of reference of non-data type object |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210409 |
|
CF01 | Termination of patent right due to non-payment of annual fee |