Hospital paperless medical record electronic signature method and system based on file header

By dividing the hospital paperless medical record electronic signature data into a file header and a file body, and using the file header to manage the signature process, the problem of complexity of signature processing in the existing technology is solved, and a simpler signature process and a more efficient signature are achieved. Information management.

CN118607015APending Publication Date: 2024-09-06杭州祉医科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410787561.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing electronic signature technology has the problem of complicated signature processing in the hospital medical record management system. It is necessary to separate and identify the annotative information of the file and the information that actually needs to be signed, resulting in increased processing complexity.

Method used

Using a file header-based method, the data to be signed is divided into a file header and a file body. The file header contains the signature and explanation information, which is used to define and manage the signature process. The file body records the electronic signature entity, and only the file body is signed. Generate signature values ​​and store relevant annotation information, such as treatment type and signature content type, in the file header to avoid the need for file splitting and annotation information separation.

Benefits of technology

It simplifies the signature processing process, avoids the need to split files, reduces the complexity of the signature process, and stores the file header in the database in plain text to facilitate statistical query and analysis of signature information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118607015A
    Figure CN118607015A
Patent Text Reader

Abstract

The invention discloses a hospital paperless medical record electronic signature method based on a file header. The method comprises the steps that S1, a to-be-signed request of a file body containing to-be-signed file data and a file header of a user terminal application program is received; the file header comprises a signature person; the file body records an entity of the electronic signature, and the file header is used as a parameter file for defining an execution mode of an electronic signature process and is also used as a control file for managing and monitoring the electronic signature process; s2, analyzing a file header in the to-be-signed request, and only signing a file body to generate a signature value; returning the signature value to the user terminal; and S3, judging whether the signature persons contained in the file header are signed or not, if so, calculating the HASH value of the file body, adding the signature certificates of all the user terminals and the signature timestamps for generating the signature values to generate final signature information, and sending the final signature information to all the user terminals. According to the invention, the signature processing process becomes simpler.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic signatures, and in particular to a method and system for electronic signature of paperless hospital medical records based on file headers. Background Art

[0002] In the existing hospital medical record management system, the application of electronic signature technology is gradually becoming popular to improve the efficiency, security and legality of medical document processing. However, these systems usually have some limitations and shortcomings, which affect the widespread implementation of paperless medical record generation.

[0003] In the existing electronic signature process, the file's annotation information is usually placed together with the file that actually needs to be signed. Usually, the signature annotation information and the actual information that needs to be signed are placed in a signature call function as input parameters and sent to the signature service. Therefore, the signature server needs to identify and separate the file's annotation information and the data part that actually needs to be signed one by one, which makes the signature processing process complicated. Summary of the invention

[0004] Based on this, in order to solve the above technical problems, a hospital paperless medical record electronic signature method and system based on file header is provided to solve the problem of complex signature processing in the prior art.

[0005] In a first aspect, a method for electronically signing paperless medical records in a hospital based on a file header, the method comprising:

[0006] Step S1: receiving a request for signature from a user terminal application, the request for signature including a file body and a file header of the file data to be signed; the file body and the file header are generated by the user terminal application after receiving the file data to be signed input by the user; the file header includes the name of the signatory; the file body records the entity of the electronic signature, and the file header records the interpretation information of the electronic signature. The file header is used as a parameter file to define the execution mode of the electronic signature process, and is also used as a control file to manage and supervise the electronic signature process;

[0007] Step S2: parsing the file header in the request to be signed, and signing only the file body to generate a signature value; and returning the signature value to the user terminal;

[0008] Step S3: Determine whether all the signatories included in the file header have completed the signature. If so, calculate the HASH value of the file body, add the signature certificates of all user terminals and the signature timestamp of the generated signature value to generate the final signature information, and send the final signature information to all user terminals.

[0009] In the above solution, the file header is also stored in plain text in the database of the signature server to facilitate statistical query and analysis of the signature information.

[0010] In the above solution, optionally, the file header also includes the consultation type, signature content type, project name, and file format of the file body.

[0011] In the above scheme, optionally, it is determined whether all the signatories included in the file header have completed signing. If not, steps S1 to S2 are repeated until it is determined that all the signatories included in the file header have completed signing.

[0012] In the above scheme, further optionally, before step S2, the method further includes: determining whether the received file header information is identical to the plurality of file header information in the storage unit, and if so, calling the file body corresponding to the file header information identical to the received file header information in the storage unit, recording it as the first file body, and calculating the HASH value of the first file body;

[0013] The corresponding file body is called according to the calling function of the file body sent by the received user, which is recorded as the second file body, and the HAH value of the second file body is calculated. If they are not the same, the subsequent operation is not performed.

[0014] In the above solution, optionally, the file body supports multiple file formats, including PDF format, XML format or JSON format.

[0015] In a second aspect, a hospital paperless medical record electronic signature system based on a file header, the system comprising:

[0016] Information on receiving a request to be signed: used to receive a request to be signed from a user terminal application, the request to be signed includes a file body and a file header of the file data to be signed; the file body and the file header are generated by the user terminal application after receiving the file data to be signed input by the user; the file header includes the name of the signatory; the file body records the entity of the electronic signature, and the file header records the interpretation information of the electronic signature. The file header is used as a parameter file to define the execution mode of the electronic signature process, and is also used as a control file to manage and supervise the electronic signature process;

[0017] Signature module: used for parsing the file header in the request to be signed, and signing only the file body to generate a signature value; and returning the signature value to the user terminal;

[0018] Final signature information generation module: used to determine whether the signatories contained in the file header have completed the signature. If so, the HASH value of the file body is calculated, and the signature timestamp of the signature value generated by the signature certificates of all user terminals is added to generate the final signature information, and the final signature information is sent to all user terminals.

[0019] In the above solution, optionally, the file header is also stored in plain text in the database of the signature server to facilitate statistical query and analysis of the signature information.

[0020] In a third aspect, a computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the electronic signature method for paperless hospital medical records based on file headers described in the first aspect are implemented.

[0021] In a fourth aspect, a computer program product includes a computer program / instruction, which, when executed by a processor, performs the steps of the electronic signature method for paperless hospital medical records based on file headers as described in the first aspect.

[0022] This application has at least the following beneficial effects:

[0023] This application divides the data to be signed into a file header and a file body, and sets relevant annotation information of the file body in the file header, such as the type of medical consultation, the type of signature content, the project name, the file format of the file body, etc., to avoid the need to split the file during the signing process, so the processing flow is simpler. Since there is no need to develop additional algorithms to identify and separate the annotation information and data parts, the signing process is made simpler. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A flowchart of a hospital paperless medical record electronic signature method based on a file header is provided for an embodiment of the present application;

[0025] Figure 2 A schematic diagram of the data format of an electronic signature file is provided for one embodiment of the present application;

[0026] Figure 3 A schematic diagram of a method for organizing electronic data of paperless medical information of a hospital generated by electronic signature information in one embodiment of the present application;

[0027] Figure 4 A schematic diagram of a single person's signature provided for an embodiment of the present application;

[0028] Figure 5 A schematic diagram of a file header provided for one embodiment of the present application;

[0029] Figure 6 A schematic diagram of multiple signatures provided for one embodiment of the present application. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0031] The Chinese patent "CN115910265A A method and system for generating paperless medical records in a hospital" discloses a method and system for generating paperless medical records in a hospital. The method realizes the paperless nature of medical information by utilizing the electronic signature process. Standardized electronic signature data is pre-generated in various hospital systems. After the signature server generates the electronic signature information, the standardized electronic signature data and the electronic signature information are sent to the paperless server to realize the paperless nature of medical documents. The signature server transmits medical data while completing the electronic signature. The paperless server parses and organizes the data, classifies and stores it in a database, and also records the signature information to become legal electronic medical data. This method is used to make the hospital paperless, with zero or little interaction with other hospital application systems. The invention realizes the paperless nature of medical documents by utilizing the electronic signature process, and does not need to interface with other hospital application systems to achieve paperless nature of various medical documents.

[0032] The Chinese patent "CN115910265A A Hospital Paperless Medical Record Generation Method and System" provides a method for achieving paperless hospital medical record information through electronic signatures. This method proposes data requirements from electronic signatures to paperless medical records, but in actual use, due to the different systems of various electronic signature manufacturers, there is no unified format for data transmission.

[0033] Currently, the electronic signature product for the medical industry provided by Merchant A on the market only signs the Hash value provided by the application. According to this practice, the application must save the original signature file.

[0034] Currently, the signature products of merchant B in the medical industry on the market have no problems from the signature perspective, but it is difficult to generate paperless medical records due to the lack of some necessary data support.

[0035] In one embodiment, Figure 1 As shown, a method for electronic signature of paperless medical records in a hospital is provided, characterized in that the method comprises:

[0036] A method for electronic signature of paperless medical records in a hospital, characterized in that the method comprises:

[0037] Step S1: receiving a request for signature from a user terminal application, the request for signature including a file body and a file header of the file data to be signed; the file body and the file header are generated by the user terminal application after receiving the file data to be signed input by the user; the file header includes the name of the signatory; the file body records the entity of the electronic signature, and the file header records the interpretation information of the electronic signature. The file header is used as a parameter file to define the execution mode of the electronic signature process, and is also used as a control file to manage and supervise the electronic signature process;

[0038] Step S2: parsing the file header in the request to be signed, and signing only the file body to generate a signature value; and returning the signature value to the user terminal;

[0039] Step S3: Determine whether all the signatories included in the file header have completed the signature. If so, calculate the HASH value of the file body, add the signature certificates of all user terminals and the signature timestamp of the generated signature value to generate the final signature information, and send the final signature information to all user terminals.

[0040] Specifically, when organizing electronic signature data, the electronic signature data consists of two parts: file header and file body: signature data = file header + file body. The file header records the explanation and annotation information of the electronic signature and does not participate in the signing process; the file body records the entity of the electronic signature, indicating the part that needs to be truly electronically signed. Only this part of the electronic data participates in the electronic signature process. The file header can be stored in the database of the signature server in plain text, which is convenient for statistical query and analysis of signature information. The file body can be stored in the signature server in the form of a file with lossless compression. Figure 2 This is the data format of the electronic signature file of this application. Figure 3 As shown, this is a method for organizing electronic data of paperless medical information of a hospital generated by electronic signature information of this application.

[0041] Specifically, Figure 4 Represents a digital file, which can be an instance of a contract, with a file header such as Figure 5 The XML file represented by the document body is a RAR format file that is encrypted and compressed. The electronic signature only signs this RAR file, and this RAR file is returned during the signature verification. Since this encrypted RAR file cannot be read by anyone except the party involved during the transmission process, the security of the signature content is guaranteed. In addition, this RAR file has been legally electronically signed, which also guarantees the legitimacy of the electronic document of the signature content.

[0042] In the above-mentioned electronic signature method for paperless medical records in a hospital, by dividing the data to be signed into a file header and a file body, and setting relevant annotation information of the file body in the file header, such as the type of medical consultation, the type of signature content, the project name, the file format of the file body, etc., the need to split the file is avoided during the signing process, so the processing flow is simpler. Since there is no need to develop additional algorithms to identify and separate the annotation information and the data part, the signing process is made simpler.

[0043] In one embodiment, the file header is also stored in plain text in the database of the signature server to facilitate statistical query and analysis of the signature information.

[0044] In one embodiment, the file header also includes the visit type, signature content type, project name, and file format of the file body.

[0045] Specifically, the file header information is the annotation information of the signature content, which may vary according to the industry characteristics of the signature content. For example, in the medical industry, the file header may include: (1) Type: Outpatient (providing outpatient number, consultation number), Emergency (providing outpatient number, consultation number), Hospitalization (providing hospitalization number, medical record number), Physical examination (providing physical examination number, consultation number), (2) Signature content classification, (3) Project name, (4) Signature body file type, etc. The file header records the annotation content of the electronic signature, which can be a file in any format that is convenient for computers to process. The content of the file header is agreed upon according to the industry characteristics. For example, in the medical industry, the electronic signature file header content of a test report should include: the type of consultation (outpatient, emergency, hospitalization, physical examination), if it is hospitalization, there must be a hospitalization number and medical record number, the type of signature content is the test report, the examination item, the file format information of the file body, etc. The file header is processed by the signature interface function and stored in the signature server in an appropriate manner.

[0046] The file body contains the substantive content of the electronic signature, and can also be a file in any format that is convenient for computers to process. The file body participates in the electronic signature and verification process. The file body is signed, and the "signature information" is generated and returned to the application that calls the signature to complete the electronic signature of the file. During the signature verification, the HASH value generated when the signature is obtained through the "signature information" and compared with the HASH value generated by the file body to determine whether the signature content has been tampered with. During the signature verification, if it is found that the HASH value generated when the signature is inconsistent with the HASH value generated by the file body, it means that the party that saves the signature source file has tampered with the electronic data, and the responsibility lies with the party that saves the signature source file. If the HASH value generated when the signature is consistent with the HASH value generated by the file body, the file body source file shall prevail. Any electronic data that is different from the file body has been tampered with.

[0047] The file body is the actual content of the signature. It can be any type of file, or it can be encrypted and losslessly compressed to enhance the security of information transmission. In the medical industry, it can be a PDF file of a report, or a file in XML or JSON format that records structured data.

[0048] In one embodiment, it is determined whether all the signatories included in the file header have completed signing. If not, steps S1 to S2 are repeated until it is determined that all the signatories included in the file header have completed signing.

[0049] Specifically, the signature data adopts the method of separating the file header and the file body, which solves the problem of multi-party signatures very well. The file header can be used as a parameter file to pass parameters, and can also be used as a control file to control the signing process. Figure 6 This is an example of a three-person electronic signature. The file header may include: signature type, name of the first signer, name of the second signer, name of the third signer, etc. The signed file body is the actual file to be signed. The first signing party provides the file header and file body to call the signature function. The signature service organization handles the signature process and returns a signature value. The second signing party also calls the signature function that provides the file header and file body. The signature service organization handles the signature process and returns a signature value again. If the signature service finds that the file body has been tampered with, it terminates the signature process. When all the people participating in the signature have completed the signature, the signature service performs the final signing process, calculates the HASH value of the file body, and adds the certificates of the signing parties and the signature timestamps of the signing parties. When verifying the signature, provide the signature value returned by any party, obtain the final signature information from the signature server for processing, and send the final signature information to each signing user.

[0050] In one embodiment, before step S2, the method further includes: determining whether the received file header information is identical to multiple file header information in the storage unit, and if so, calling a file body corresponding to the file header information identical to the received file header information in the storage unit, recording it as a first file body, and calculating a HASH value of the first file body;

[0051] The corresponding file body is called according to the calling function of the file body sent by the received user, which is recorded as the second file body, and the HAH value of the second file body is calculated. If they are not the same, the subsequent operation is not performed.

[0052] In one embodiment, the file body supports multiple file formats, including PDF format, XML format or JSON format.

[0053] In one embodiment, a hospital paperless medical record electronic signature system based on a file header comprises:

[0054] Information on receiving a request to be signed: used to receive a request to be signed from a user terminal application, the request to be signed includes a file body and a file header of the file data to be signed; the file body and the file header are generated by the user terminal application after receiving the file data to be signed input by the user; the file header includes the name of the signatory; the file body records the entity of the electronic signature, and the file header records the interpretation information of the electronic signature. The file header is used as a parameter file to define the execution mode of the electronic signature process, and is also used as a control file to manage and supervise the electronic signature process;

[0055] Signature module: used for parsing the file header in the request to be signed, and signing only the file body to generate a signature value; and returning the signature value to the user terminal;

[0056] Final signature information generation module: used to determine whether the signatories contained in the file header have completed the signature. If so, the HASH value of the file body is calculated, and the signature timestamp of the signature value generated by the signature certificates of all user terminals is added to generate the final signature information, and the final signature information is sent to all user terminals.

[0057] In one embodiment, the file header is also stored in plain text in the database of the signature server to facilitate statistical query and analysis of the signature information.

[0058] For the specific definition of a hospital paperless medical record electronic signature system based on file headers, please refer to the definition of a hospital paperless medical record electronic signature method based on file headers above, which will not be repeated here. Each module in the above-mentioned hospital paperless medical record electronic signature system based on file headers can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0059] In one embodiment, a computer device is provided, which may be a server. The computer device includes a processor, a memory, and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, the above-mentioned hospital paperless medical record electronic signature method based on the file header is implemented.

[0060] In one embodiment, a computer program product is also provided, including a computer program / instruction, which involves all or part of the process in the above-mentioned embodiment method.

[0061] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0062] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0063] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A paperless medical record electronic signature method for hospitals based on file headers, characterized in that: The method comprises: Step S1: receiving a request for signature from a user terminal application, the request for signature including a file body and a file header of the file data to be signed; the file body and the file header are generated by the user terminal application after receiving the file data to be signed input by the user; the file header includes the name of the signatory; the file body records the entity of the electronic signature, and the file header records the interpretation information of the electronic signature. The file header is used as a parameter file to define the execution mode of the electronic signature process, and is also used as a control file to manage and supervise the electronic signature process; Step S2: parsing the file header in the request to be signed, and signing only the file body to generate a signature value; and returning the signature value to the user terminal; Step S3: Determine whether all the signatories included in the file header have completed the signature. If so, calculate the HASH value of the file body, add the signature certificates of all user terminals and the signature timestamp of the generated signature value to generate the final signature information, and send the final signature information to all user terminals.

2. The electronic signature method for paperless medical records in hospitals based on file headers according to claim 1 is characterized in that: The file header is also stored in plain text in the database of the signature server to facilitate statistical query and analysis of the signature information.

3. The electronic signature method for paperless medical records in hospitals based on file headers according to claim 1 is characterized in that: The file header also includes the consultation type, signature content type, project name, and file format of the file body.

4. The electronic signature method for paperless medical records in hospitals based on file headers according to claim 1 is characterized in that: It is determined whether all the signatories included in the file header have completed signing. If not, steps S1 to S2 are repeated until it is determined that all the signatories included in the file header have completed signing.

5. The electronic signature method for paperless medical records in a hospital based on file header according to claim 4 is characterized in that: Before step S2, the step further includes: determining whether the received file header information is identical to the plurality of file header information in the storage unit, and if so, calling the file body corresponding to the file header information identical to the received file header information in the storage unit, recording it as the first file body, and calculating the HASH value of the first file body; The corresponding file body is called according to the calling function of the file body sent by the received user, which is recorded as the second file body, and the HAH value of the second file body is calculated. If they are not the same, the subsequent operation is not performed.

6. The electronic signature method for paperless medical records in hospitals based on file headers according to claim 1 is characterized in that: The file body supports multiple file formats, including PDF format, XML format or JSON format.

7. A paperless medical record electronic signature system for hospitals based on file headers, characterized in that: The system comprises: Information on receiving a request to be signed: used to receive a request to be signed from a user terminal application, the request to be signed includes a file body and a file header of the file data to be signed; the file body and the file header are generated by the user terminal application after receiving the file data to be signed input by the user; the file header includes the name of the signatory; the file body records the entity of the electronic signature, and the file header records the interpretation information of the electronic signature. The file header is used as a parameter file to define the execution mode of the electronic signature process, and is also used as a control file to manage and supervise the electronic signature process; Signature module: used for parsing the file header in the request to be signed, and signing only the file body to generate a signature value; and returning the signature value to the user terminal; Final signature information generation module: used to determine whether the signatories contained in the file header have completed the signature. If so, the HASH value of the file body is calculated, and the signature timestamp of the signature value generated by the signature certificates of all user terminals is added to generate the final signature information, and the final signature information is sent to all user terminals.

8. The hospital paperless medical record electronic signature system based on file header according to claim 7 is characterized in that: The file header is also stored in plain text in the database of the signature server to facilitate statistical query and analysis of the signature information.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.