CN111986751B - Processing method of electronic medical record logic lock - Google Patents

Processing method of electronic medical record logic lock Download PDF

Info

Publication number
CN111986751B
CN111986751B CN202010762390.1A CN202010762390A CN111986751B CN 111986751 B CN111986751 B CN 111986751B CN 202010762390 A CN202010762390 A CN 202010762390A CN 111986751 B CN111986751 B CN 111986751B
Authority
CN
China
Prior art keywords
file
electronic medical
medical record
information
unlocking
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
CN202010762390.1A
Other languages
Chinese (zh)
Other versions
CN111986751A (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.)
Beijing Tianjian Source Technology Co ltd
Original Assignee
Beijing Tianjian Source Technology 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 Beijing Tianjian Source Technology Co ltd filed Critical Beijing Tianjian Source Technology Co ltd
Priority to CN202010762390.1A priority Critical patent/CN111986751B/en
Publication of CN111986751A publication Critical patent/CN111986751A/en
Application granted granted Critical
Publication of CN111986751B publication Critical patent/CN111986751B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Theoretical Computer Science (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Public Health (AREA)
  • Primary Health Care (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Epidemiology (AREA)
  • Medical Treatment And Welfare Office Work (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention relates to a processing method of an electronic medical record logic lock, which comprises the following steps: acquiring an electronic medical record file instruction; when the instruction is an electronic medical record file editing instruction, judging whether the file is in an unlocked state by inquiring a logic lock index table, locking the file by adding a record to the index table when the file is in an unlocked state, and unlocking the file by deleting the record newly added in the table after the file is edited; when the electronic medical record file instruction is an electronic medical record file unlocking instruction, the index table is queried to locate the index record of the logic lock to be unlocked, and then the record is deleted to unlock the electronic medical record file. According to the embodiment of the invention, the logical lock index record corresponding to the electronic medical record file is added and deleted in the logical lock index table to realize the logical locking and unlocking of the file, and the data integrity and the security of the electronic medical record file can be ensured in a parallel processing mode.

Description

Processing method of electronic medical record logic lock
Technical Field
The invention relates to the technical field of data information processing, in particular to a processing method of an electronic medical record logic lock.
Background
An electronic medical record system (Electronic Medical Record System, EMRS) is one of the core information systems of medical institutions, and staff of the medical institutions can operate on electronic medical record files by using the EMRS. The electronic medical record files in the EMRS are stored in a file format, and the editing authorities of the electronic medical record files comprise single person editing types and multi-person editing types. For example, first-visit record electronic medical records are of the single person editing type, and are generally used by patients to diagnose and treat doctors; the observation care records in hospitalization are of the type compiled by multiple persons, generally the attending physician and the care attendant. For electronic medical record files of a multi-person editing type, when different staff edit the same file in the EMRS at the same time, data loss can be caused.
Disclosure of Invention
The invention aims at overcoming the defects of the prior art and provides a processing method, a computer program product and a computer readable storage medium of an electronic medical record logical lock, which realize the functions of logical locking and logical unlocking of the electronic medical record file by setting a logical lock index record corresponding to deletion and the electronic medical record file in a logical lock index table and ensure the data integrity and the safety of the electronic medical record in a parallel processing mode.
To achieve the above object, a first aspect of an embodiment of the present invention provides a method for processing an electronic medical record logical lock, where the method includes:
acquiring instruction data of an electronic medical record file;
identifying the electronic medical record file instruction data as electronic medical record file editing instruction data; the electronic medical record file editing instruction data comprises patient identification information, hospitalization sequence number information, file name information and file editing type information;
acquiring a logic lock index table; the logical lock index table comprises a plurality of logical lock index records; the logic lock index record comprises patient identification data, hospitalization serial number data and file name data;
according to the electronic medical record file editing instruction data, querying all the logic lock index records of the logic lock index table, and when the patient identification data of all the logic lock index records are not matched with the patient identification information, or the hospitalization serial number data are not matched with the hospitalization serial number information, or the file name data are not matched with the file name information, modifying the file logic lock state data into unlocked state information;
when the file logical lock state data is the unlocking state information, forming a new logical lock index record by the patient identification information, the hospitalization sequence number information and the file name information of the electronic medical record file editing instruction data, and adding the new logical lock index record to the logical lock index table;
according to the file editing type information of the electronic medical record file editing instruction data, electronic medical record file editing processing is carried out;
and deleting the logical lock index record from the newly-built logical lock index record in the logical lock index table.
Preferably, the method further comprises:
when the patient identification data of the logical lock index record in the logical lock index table is matched with the patient identification information, the hospitalization serial number data is matched with the hospitalization serial number information, and the file name data is matched with the file name information, the file logical lock state data is modified into locked state information.
Preferably, the method further comprises generating the locked error information of the edited file when the logical lock state data of the file is the locked state information, and performing locked error processing of the edited file.
Preferably, the electronic medical record file editing processing is performed according to the file editing type information of the electronic medical record file editing instruction data, and specifically includes:
the file editing type information comprises new type information and modification type information;
when the file editing type information is the newly-built type information, carrying out newly-built processing on the electronic medical record file according to the patient identification information, the hospitalization sequence number information and the file name information of the electronic medical record file editing instruction data;
when the file editing type information is the modification type information, modifying the electronic medical record file according to the patient identification information, the hospitalization sequence number information and the file name information of the electronic medical record file editing instruction data.
Preferably, the method further comprises:
identifying the electronic medical record file instruction data as electronic medical record file unlocking instruction data; the electronic medical record file unlocking instruction data comprise unlocking patient identification information, unlocking hospitalization serial number information and unlocking file name information;
acquiring the logic lock index table;
according to the unlocking instruction data of the electronic medical record file, carrying out unlocking record positioning processing on the logic lock index table to obtain the logic lock index record corresponding to the unlocking instruction data of the electronic medical record file as a logic lock index record to be unlocked;
and deleting the logical lock index record to be unlocked in the logical lock index table.
Further, the unlocking record positioning processing is performed on the logical lock index table according to the electronic medical record file unlocking instruction data to obtain the logical lock index record corresponding to the electronic medical record file unlocking instruction data, which is used as the logical lock index record to be unlocked, and specifically includes:
and polling all the logic lock index records included in the logic lock index table, and taking the polled logic lock index record as the logic lock index record to be unlocked when the patient identification data of the polled logic lock index record is matched with the unlocking patient identification information, the hospitalization serial number data is matched with the unlocking hospitalization serial number information, and the file name data is matched with the unlocking file name information.
Further, the method further comprises the steps of generating unlocking file unlocking error information when the logical lock index record to be unlocked cannot be obtained from the logical lock index table, and conducting unlocking file unlocking error processing.
A second aspect of an embodiment of the present invention provides a computer program product comprising computer program code which, when executed by a computer, causes the computer to perform the method of the first aspect described above.
A third aspect of the embodiments of the present invention provides a computer-readable storage medium storing computer instructions that, when executed by a computer, cause the computer to perform the instructions of the method of the first aspect.
The embodiment of the invention provides a processing method of an electronic medical record logical lock, a computer program product and a computer readable storage medium, which realize the functions of logical locking and logical unlocking of the electronic medical record file by setting a logical lock index record corresponding to deletion and the electronic medical record file in a logical lock index table, and the locked electronic medical record file does not allow a plurality of people to process simultaneously, thereby ensuring the data integrity and the safety of the electronic medical record in a parallel processing mode.
Drawings
Fig. 1 is a schematic diagram of a processing method of an electronic medical record logic lock according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
When a doctor uses an EMRS to edit an electronic medical record, the EMRS generates electronic medical record file instruction data which is specifically electronic medical record file editing instruction data. If the electronic medical record file is locked, prompting relevant locking information to a doctor and exiting editing operation of the electronic medical record file; if the electronic medical record file is not locked, the locking operation of the electronic medical record file is completed by adding a logic lock index record to a logic lock index table, the electronic medical record file is subjected to corresponding editing operation, and after the editing operation is completed, the unlocking operation of the electronic medical record file is realized by deleting the corresponding logic lock index record in the logic lock index table. Because the electronic medical record is edited every time, the inquiry of the locking state is required, thereby realizing a unique authorization mode of editing authority of the electronic medical record file and ensuring the data integrity and the safety of the electronic medical record even in a parallel processing mode.
In addition, when the EMRS exits abnormally or a doctor mismanipulates (forgets to confirm that the editing operation of the electronic medical record file is finished, or does not edit an electronic medical record file that has been opened and locked for a long time), the electronic medical record file may always remain in a locked state because the unlocking process of the file is not normally performed. When a doctor wants to recall the electronic medical record for editing, the system prompts the doctor that the file is locked and cannot be edited, and the user experience effect of the EMRS is affected. The processing method of the electronic medical record logical lock provided by the embodiment of the invention can also be used for forcedly unlocking the logical lock of the electronic medical record file, and the method can help EMRS provide an unlocking function for the electronic medical record file for a user. When a doctor or a system maintainer uses an electronic medical record unlocking function, the EMRS generates electronic medical record file instruction data which is specifically electronic medical record file unlocking instruction data.
As shown in fig. 1, which is a schematic diagram of a processing method of an electronic medical record logic lock provided by an embodiment of the present invention, the method mainly includes the following steps:
step 1, acquiring instruction data of an electronic medical record file;
the electronic medical record file instruction data comprises electronic medical record file editing instruction data and electronic medical record file unlocking instruction data; the electronic medical record file editing instruction data comprises patient identification information, hospitalization serial number information, file name information and file editing type information; the file editing type information comprises new type information and modification type information; the electronic medical record file unlocking instruction data comprise unlocking patient identification information, unlocking hospitalization serial number information and unlocking file name information.
Here, when the doctor uses the EMRS to perform electronic medical record editing processing, the EMRS generates electronic medical record file instruction data, which is specifically electronic medical record file editing instruction data; when a doctor selects the electronic medical record forced unlocking function by using the EMRS, the EMRS generates electronic medical record file instruction data which is specific to the electronic medical record file unlocking instruction data.
The patient identification information included in the electronic medical record file instruction data is unique identification information (e.g., an identification card number, a social security account number, a passport number, etc.) for identifying the patient; the hospitalization serial number information is unique identification information (such as an outpatient department serial number, a hospitalization department serial number, other detection and treatment department serial numbers and the like) for identifying a patient in a consultation institution; the file name information is the name of the electronic medical record file used for identifying the current operation; the file editing type information comprises new type information and modification type information, when the file editing type information is specifically new type information which indicates that the currently operated electronic medical record file is a newly created electronic medical record file, and when the file editing type information is specifically modification type information which indicates that the currently operated electronic medical record file is a stock electronic medical record file.
The unlocking patient identification information included in the unlocking instruction data of the electronic medical record file is unique identification information (for example, an identity card number, a social security account number, a passport number and the like) of a patient corresponding to the electronic medical record file to be currently subjected to unlocking operation; the unlock hospitalization serial number information is the unique identification information (such as the serial number of an outpatient department, the serial number of a hospitalization department, the serial number of other detection treatment departments and the like) of the doctor of the patient corresponding to the electronic medical record file to be subjected to the unlock operation at present; the unlocking file name information is the name of the currently operated electronic medical record file.
Step 2, carrying out instruction data identification processing on the electronic medical record file instruction data, when the electronic medical record file instruction data is the electronic medical record file editing instruction data, turning to step 3, and when the electronic medical record file instruction data is the electronic medical record file unlocking instruction data, turning to step 9.
When the doctor uses the EMRS to edit the electronic medical record, the electronic medical record file instruction data are specifically the electronic medical record file editing instruction data, and the next step is to jump to the step 3 to execute the logic lock operation processing flow related to the electronic medical record editing processing through the instruction identification of the step 2; when the doctor selects the electronic medical record forced unlocking function by using the EMRS, the electronic medical record file instruction data are specifically the electronic medical record file unlocking instruction data, and the next step is to jump to step 9 to execute the logic lock operation processing flow related to the electronic medical record unlocking processing through the instruction identification of step 2.
Step 3, obtaining a logic lock index table;
the logic lock index table comprises a plurality of logic lock index records; the logical lock index record includes patient identification data, hospital stay number data, and file name data.
Here, the logical lock index table is acquired from a local storage medium of the EMRS or a storage medium of another system or device connected to the EMRS. The logic lock index table is a core table item for realizing the logic lock function of the electronic medical record in the method provided by the embodiment of the invention, and comprises a plurality of logic lock index records, wherein each logic lock index record corresponds to one locked electronic medical record file (patient identification data in the logic lock index record is matched with patient identification information of the corresponding locked electronic medical record file, hospitalization serial number data is matched with hospitalization serial number information of the corresponding locked electronic medical record file, and file name data is matched with file name information of the corresponding locked electronic medical record file). The corresponding logical lock index record can be queried in the logical lock index table, so that the corresponding electronic medical record file is in a locking state, and otherwise, the electronic medical record file belongs to an unlocking state (or an unlocking state).
Step 4, according to the electronic medical record file editing instruction data, inquiring all the logical lock index records of the logical lock index table to obtain file logical lock state data;
the method specifically comprises the following steps: according to the electronic medical record file editing instruction data, inquiring all logic lock index records of the logic lock index table, and when patient identification data of all logic lock index records are not matched with patient identification information, or hospitalization serial number data are not matched with hospitalization serial number information, or file name data are not matched with file name information, modifying the file logic lock state data into unlocked state information; when the patient identification data of the logical lock index record in the logical lock index table is matched with the patient identification information, the hospitalization serial number data is matched with the hospitalization serial number information, and the file name data is matched with the file name information, the file logical lock state data is modified into locked state information.
For example, the logical lock index table is shown in table one, and the patient identification information, the hospitalization number information, and the file name information of the electronic medical record file editing instruction data are shown in table two. In the logic lock index table, the logic index record completely matched with the three information of the electronic medical record file editing instruction data is not available, and the file logic lock state data is the unlocking state information.
List one
Watch II
For example, the logical lock index table is shown in table one, and the patient identification information, the hospitalization number information, and the file name information of the electronic medical record file editing instruction data are shown in table three. In the logic lock index table, the logic index record completely matched with the three information items of the electronic medical record file editing instruction data is the logic lock index record 2, and the file logic lock state data is the locked state information.
Watch III
Step 5, identifying and processing the file logical lock state data, and when the file logical lock state data is unlocking state information, turning to step 6; when the file logical lock status data is lock status information, the process proceeds to step 410.
Here, when the file logical lock status data is unlocking status information, it is indicated that the currently processed electronic medical record file is in an unlocking status (or unlocking status), and the process should go to step 6 to continue to execute the electronic medical record editing process; when the file logical lock status data is the lock status information, it indicates that the currently processed electronic medical record file is in a locked status, and editing cannot be continuously performed on the currently processed electronic medical record file, and the process should be shifted to step 410 to perform corresponding error processing.
And 6, forming a new logic lock index record by the patient identification information, the hospitalization serial number information and the file name information of the electronic medical record file editing instruction data, and adding the new logic lock index record to the logic lock index table for logic lock index record adding processing.
Here, before the currently processed electronic medical record file is further edited, the electronic medical record file needs to be locked in advance, so as to prevent other users or other file parallel processing flows from initiating editing operations on the file. The locking processing method is to add a logical lock index record corresponding to the electronic medical record file in the logical lock index table.
For example, the logical lock index table is shown in table one, the patient identification information, the hospitalization serial number information and the file name information of the electronic medical record file editing instruction data are shown in table two, the new logical lock index record is shown in table four, and the logical lock index table for completing the new logical lock index record is shown in table five.
Table four
TABLE five
Step 7, according to the file editing type information of the electronic medical record file editing instruction data, electronic medical record file editing processing is carried out;
the method specifically comprises the following steps: step 71, when the file editing type information is newly built type information, carrying out newly built processing on the electronic medical record file according to the patient identification information, the hospitalization sequence number information and the file name information of the electronic medical record file editing instruction data;
the electronic medical record editing operation comprises two modes of newly-built electronic medical record file and electronic medical record file modification, when a doctor uses EMRS to carry out newly-built electronic medical record file operation, file editing type information is newly-built type information, and the newly-built electronic medical record file is specifically created by using patient identification information, hospitalization sequence number information and file name information of electronic medical record file editing instruction data in a storage area of the EMRS, and content editing is carried out on the newly-built and opened electronic medical record file;
and step 72, when the file editing type information is modification type information, modifying the electronic medical record file according to the patient identification information, the hospitalization sequence number information and the file name information of the electronic medical record file editing instruction data.
Here, when a doctor uses the EMRS to perform an operation of modifying an electronic medical record file, the file editing type information should be modification type information, and the electronic medical record file modification process specifically opens an electronic medical record file specified by patient identification information, hospitalization number information, and file name information of electronic medical record file editing instruction data, and performs content editing on the file.
And 8, deleting the new logical lock index record in the logical lock index table. Go to step 13.
Here, after completing the electronic medical record file editing (new creation or modification), the doctor notifies the EMRS that the electronic medical record file editing process has been completed by confirming that the content editing is completed (e.g., saving the electronic medical record through the electronic medical record editor and exiting the electronic medical record editor, or clicking a confirmation button of the electronic medical record editor, etc.). Here, after the electronic medical record file editing process is completed, the electronic medical record file needs to be unlocked, so that other users or other file parallel processing flows can operate on the file. The unlocking processing method is to delete the logical lock index record corresponding to the electronic medical record file in the logical lock index table.
For example, the logical lock index table is shown in table five, and the patient identification information, the hospitalization serial number information and the file name information of the electronic medical record file editing instruction data are shown in table two, and after the electronic medical record file editing processing is completed, the logical lock index record 4 (newly created logical lock index record) corresponding to the electronic medical record file editing instruction data in table five is deleted, so that the unlocking operation of the corresponding electronic medical record file is completed. Here, the record entry and the content of the logical lock index table after unlocking are changed from table five to table one.
After unlocking is completed, if the electronic medical record editing process initiated by the doctor on the electronic medical record file is finished, the next step is to go to step 13, and the corresponding execution state is returned to the EMRS.
And 9, obtaining a logic lock index table.
Here, the operation process is consistent with the operation process in step 3, and further description is omitted.
Step 10, according to the unlocking instruction data of the electronic medical record file, carrying out unlocking record positioning processing on the logic lock index table to obtain a logic lock index record corresponding to the unlocking instruction data of the electronic medical record file, wherein the logic lock index record is used as a logic lock index record to be unlocked;
the method specifically comprises the following steps: and according to the unlocking instruction data of the electronic medical record file, all the logic lock index records included in the logic lock index table are polled, and when the patient identification data of the polled logic lock index records are matched with unlocking patient identification information, the hospitalization serial number data are matched with unlocking hospitalization serial number information, and the file name data are matched with unlocking file name information, the polled logic lock index records are used as logic lock index records needing unlocking.
Here, the matched logical lock index record can be found in the logical lock index table, which indicates that the unlocking record positioning process is successful, and the logical lock index record to be unlocked is effective data; the failure to find the matching logical lock index record in the logical lock index table indicates that the unlock record positioning process fails, and the logical lock index record to be unlocked is invalid data.
For example, if the logical lock index table is shown in table one, and the unlocking patient identification information, the unlocking hospitalization serial number information and the unlocking file name information of the electronic medical record file unlocking instruction data are shown in table six, the unlocking record positioning processing is successful, and the logical lock index record to be unlocked is specifically the logical lock index record 2.
TABLE six
For example, if the logical lock index table is shown in table one and the electronic medical record file unlocking instruction data is shown in table seven, the unlocking record positioning processing fails, and the logical lock index record to be unlocked is specifically invalid data, where the invalid data can be represented by setting to be null.
Watch seven
Step 11, judging whether the positioning of the unlocking record is successful, and when the logical lock index record to be unlocked obtained from the logical lock index table is not invalid data, indicating that the positioning of the unlocking record is successful, and turning to step 12; when the logical lock index record to be unlocked obtained from the logical lock index table is invalid data, the unlock record fails to be located, and the process goes to step 420.
Here, whether the unlocking record positioning is successful is completed by judging whether the logical lock index record to be unlocked is invalid data, when the logical lock index record to be unlocked is valid data, the unlocking record positioning is successful, and the next step is to go to step 12 to continue the subsequent processing; when the logical lock index record to be unlocked is invalid data, indicating that the unlocking record fails to be positioned, the next step should go to step 420 to perform corresponding error processing.
And step 12, deleting the logical lock index record to be unlocked in the logical lock index table.
Here, the unlocking operation of the corresponding electronic medical record file is completed by deleting the logical lock index record corresponding to the electronic medical record file in the logical lock index table.
For example, the logical lock index table is shown in table one, the unlocking patient identification information, the unlocking hospitalization serial number information and the unlocking file name information of the electronic medical record file unlocking instruction data are shown in table six, and the logical lock index record to be unlocked is specifically the logical lock index record 2, so that the logical lock index record 2 should be deleted, and the logical lock index table after the deletion processing of the logical lock index record is completed is shown in table eight.
Table eight
And 13, generating instruction execution success information and performing instruction execution success sending processing.
The instruction execution success sending process specifically sends the instruction execution success information back to the EMRS calling the method provided by the embodiment of the invention, and after the EMRS obtains the instruction execution success information, the EMRS prompts the doctor of information such as successful editing of the electronic medical record file.
Step 410, generate the error information of the locked editing file, and process the error processing of the locked editing file.
Here, the cause of the error may be that the electronic medical record file to be edited by the doctor is currently occupied and locked by other users, and when the error occurs, the EMRS may prompt the doctor that the electronic medical record file is occupied (locked) and the like, and exit the electronic medical record editing process flow initiated by the current doctor.
Step 420, unlock file unlock error information is generated, and unlock file unlock error processing is performed.
Here, the cause of the error may be that the electronic medical record file to be unlocked by the doctor is not in a locked state at present, and when the error occurs, the EMRS may prompt the doctor that the electronic medical record file is unlocked, fail in unlocking, and the like, and exit the electronic medical record unlocking process initiated by the current doctor.
It should be noted that, the present embodiment further provides a computer readable storage medium, where instructions are stored, when the instructions are executed on a computer, to cause the computer to perform the steps and the processing procedures of the method provided by the embodiment of the present invention.
The embodiment of the present invention also provides a computer program product, which includes a computer program, where the computer program is stored in a storage medium, and at least one processor may read the computer program from the storage medium, where the at least one processor performs the steps and processes of the method provided by the embodiment of the present invention.
The embodiment of the invention provides a processing method of an electronic medical record logical lock, a computer program product and a computer readable storage medium, which realize the functions of logical locking and logical unlocking of the electronic medical record file by setting a logical lock index record corresponding to deletion and the electronic medical record file in a logical lock index table, and the locked electronic medical record file does not allow a plurality of people to process simultaneously, thereby ensuring the data integrity and the safety of the electronic medical record in a parallel processing mode.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of function in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (8)

1. A method for processing an electronic medical record logical lock, the method comprising:
acquiring instruction data of an electronic medical record file;
identifying the electronic medical record file instruction data as electronic medical record file editing instruction data; the electronic medical record file editing instruction data comprises patient identification information, hospitalization sequence number information, file name information and file editing type information;
acquiring a logic lock index table; the logical lock index table comprises a plurality of logical lock index records; the logic lock index record comprises patient identification data, hospitalization serial number data and file name data;
according to the electronic medical record file editing instruction data, querying all the logic lock index records of the logic lock index table, and when the patient identification data of all the logic lock index records are not matched with the patient identification information, or the hospitalization serial number data are not matched with the hospitalization serial number information, or the file name data are not matched with the file name information, modifying the file logic lock state data into unlocked state information;
when the file logical lock state data is the unlocking state information, forming a new logical lock index record by the patient identification information, the hospitalization sequence number information and the file name information of the electronic medical record file editing instruction data, and adding the new logical lock index record to the logical lock index table;
according to the file editing type information of the electronic medical record file editing instruction data, electronic medical record file editing processing is carried out;
and deleting the logical lock index record from the newly-built logical lock index record in the logical lock index table.
2. The method for processing the electronic medical record logical lock according to claim 1, further comprising:
when the patient identification data of the logical lock index record in the logical lock index table is matched with the patient identification information, the hospitalization serial number data is matched with the hospitalization serial number information, and the file name data is matched with the file name information, the file logical lock state data is modified into locked state information.
3. The method for processing the electronic medical record logical lock according to claim 2, further comprising:
and when the file logical lock state data is the locked state information, generating the locked error information of the edited file, and carrying out locked error processing on the edited file.
4. The method for processing the electronic medical record logical lock according to claim 1, wherein the electronic medical record file editing processing is performed according to the file editing type information of the electronic medical record file editing instruction data, specifically comprising:
the file editing type information comprises new type information and modification type information;
when the file editing type information is the newly-built type information, carrying out newly-built processing on the electronic medical record file according to the patient identification information, the hospitalization sequence number information and the file name information of the electronic medical record file editing instruction data;
when the file editing type information is the modification type information, modifying the electronic medical record file according to the patient identification information, the hospitalization sequence number information and the file name information of the electronic medical record file editing instruction data.
5. The method for processing the electronic medical record logical lock according to claim 1, further comprising:
identifying the electronic medical record file instruction data as electronic medical record file unlocking instruction data; the electronic medical record file unlocking instruction data comprise unlocking patient identification information, unlocking hospitalization serial number information and unlocking file name information;
acquiring the logic lock index table;
according to the unlocking instruction data of the electronic medical record file, carrying out unlocking record positioning processing on the logic lock index table to obtain the logic lock index record corresponding to the unlocking instruction data of the electronic medical record file as a logic lock index record to be unlocked;
and deleting the logical lock index record to be unlocked in the logical lock index table.
6. The method for processing the electronic medical record logical lock according to claim 5, wherein the performing, according to the electronic medical record file unlocking instruction data, an unlocking record positioning process on the logical lock index table to obtain the logical lock index record corresponding to the electronic medical record file unlocking instruction data as the logical lock index record to be unlocked, specifically includes:
and polling all the logic lock index records included in the logic lock index table, and taking the polled logic lock index record as the logic lock index record to be unlocked when the patient identification data of the polled logic lock index record is matched with the unlocking patient identification information, the hospitalization serial number data is matched with the unlocking hospitalization serial number information, and the file name data is matched with the unlocking file name information.
7. The method for processing the electronic medical record logical lock according to claim 5, further comprising:
and when the logic lock index record to be unlocked cannot be obtained from the logic lock index table, unlocking file unlocking error information is generated, and unlocking file unlocking error processing is carried out.
8. A computer readable storage medium storing computer instructions which, when executed by a computer, cause the computer to perform the instructions of the method of any one of claims 1-7.
CN202010762390.1A 2020-07-31 2020-07-31 Processing method of electronic medical record logic lock Active CN111986751B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010762390.1A CN111986751B (en) 2020-07-31 2020-07-31 Processing method of electronic medical record logic lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010762390.1A CN111986751B (en) 2020-07-31 2020-07-31 Processing method of electronic medical record logic lock

Publications (2)

Publication Number Publication Date
CN111986751A CN111986751A (en) 2020-11-24
CN111986751B true CN111986751B (en) 2023-11-07

Family

ID=73445505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010762390.1A Active CN111986751B (en) 2020-07-31 2020-07-31 Processing method of electronic medical record logic lock

Country Status (1)

Country Link
CN (1) CN111986751B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115828868A (en) * 2023-02-09 2023-03-21 成都字节流科技有限公司 Single-visit data editing response method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012247831A (en) * 2011-05-25 2012-12-13 Shinkichi Himeno Data processing system
CN103544189A (en) * 2012-07-17 2014-01-29 珠海金山办公软件有限公司 Method and system for locking currently-edited file
CN105678107A (en) * 2016-04-15 2016-06-15 江苏曼荼罗软件股份有限公司 Post-structured knowledge discovery method and device for electronic medical record
CN109697191A (en) * 2018-12-04 2019-04-30 深圳供电局有限公司 A kind of edit methods based on network shared files, apparatus and system
CN111971676A (en) * 2018-02-08 2020-11-20 松永力 Personal data application and personal data application control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9043295B2 (en) * 2013-03-15 2015-05-26 International Business Machines Corporation Providing record-level alternate-index upgrade locking

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012247831A (en) * 2011-05-25 2012-12-13 Shinkichi Himeno Data processing system
CN103544189A (en) * 2012-07-17 2014-01-29 珠海金山办公软件有限公司 Method and system for locking currently-edited file
CN105678107A (en) * 2016-04-15 2016-06-15 江苏曼荼罗软件股份有限公司 Post-structured knowledge discovery method and device for electronic medical record
CN111971676A (en) * 2018-02-08 2020-11-20 松永力 Personal data application and personal data application control method
CN109697191A (en) * 2018-12-04 2019-04-30 深圳供电局有限公司 A kind of edit methods based on network shared files, apparatus and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Easy Lock-Free Indexing in Non-Volatile Memory;Tianzheng Wang,等;《34th International Conference on Data Engineering》;第461-472页 *
协同编辑器CoEditor的设计与实现;孟广魁,等;《计算机工程》;第26卷(第7期);第100-101页、第118页 *

Also Published As

Publication number Publication date
CN111986751A (en) 2020-11-24

Similar Documents

Publication Publication Date Title
US9442466B2 (en) System, method and apparatus for creating and maintaining biometric secure safe deposit boxes, and similar containers and facilities
US20050209892A1 (en) [Automated system and method for providing accurate, non-invasive insurance status verification]
EP1544768A1 (en) Medical information management system
JPS61202280A (en) Starting system for ic card terminal equipment
JPS629470A (en) Identity collation system for individual identification card
CN108665953A (en) A kind of prescription executes method, apparatus, equipment and storage medium
CN111986751B (en) Processing method of electronic medical record logic lock
JP6569143B1 (en) Personal data application and method for controlling personal data application
US10304266B1 (en) System, method and apparatus for creating and maintaining biometric secure safe deposit boxes, and similar containers and facilities
US20050154613A1 (en) System and method for creation of operative notes for use in surgical facilities
JPS6243773A (en) Password system
CN116504348A (en) Case storage method, device and equipment based on blockchain
US20110251854A1 (en) Pc-based access method between electronic medical record system and internet-based personal health record account
JP2005276109A (en) Data detecting system using inherent information recording device
CN116776389B (en) Medical industry data security supervision system based on block chain
CN110442566A (en) A kind of management method of the financial data of power supply bureau
JP2001344345A (en) System and method for medical nursing care
CN116092622B (en) Electronic medical record quality control system based on Neo4j atlas and AI algorithm
CN108491712A (en) A kind of method and apparatus for hospital's classified papers safe read-write
JP4810240B2 (en) Authentication management method and system
Grijpink Criminal Records in the European Union, the challenge of large-scale information exchange
JPH0685158B2 (en) IC card
JP2000172499A (en) Method for controlling access to program
JPH02213972A (en) Illegal use preventing method for computer
CN114155965A (en) Intelligent hypertension and chronic disease management service system based on human-computer interaction

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