CN110379476A - A kind of method and device of electronic health record progress note PDF Electronic Signature - Google Patents

A kind of method and device of electronic health record progress note PDF Electronic Signature Download PDF

Info

Publication number
CN110379476A
CN110379476A CN201910578300.0A CN201910578300A CN110379476A CN 110379476 A CN110379476 A CN 110379476A CN 201910578300 A CN201910578300 A CN 201910578300A CN 110379476 A CN110379476 A CN 110379476A
Authority
CN
China
Prior art keywords
signature
pdf
content
electronic
document
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.)
Pending
Application number
CN201910578300.0A
Other languages
Chinese (zh)
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.)
Hangzhou Maixun Technology Co Ltd
Hangzhou Normal University
Original Assignee
Hangzhou Maixun Technology Co Ltd
Hangzhou Normal University
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 Hangzhou Maixun Technology Co Ltd, Hangzhou Normal University filed Critical Hangzhou Maixun Technology Co Ltd
Priority to CN201910578300.0A priority Critical patent/CN110379476A/en
Publication of CN110379476A publication Critical patent/CN110379476A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/60ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records

Abstract

The invention discloses a kind of method and devices of electronic health record progress note PDF Electronic Signature, and wherein method includes: the PDF electronic document that case history is generated according to medical record data;Existing document is edited by the mechanism realization of incremental update in PDF;Electronic document stamped signature is carried out to PDF electronic document according to stamped signature semanteme.Device includes operation system and PDF Electronic Signature server-side.The present invention can generate the PDF electronic document of case history according to medical record data.The present invention can continue content to the PDF document containing multiple Electronic Signatures, and Electronic Signatures other in the document and its content will not be impacted by continuing operation.Some any Electronic Signature and its content that the present invention can be directed in the PDF document containing multiple Electronic Signatures are freely edited, including are continued, modify and deleted, which will not impact Electronic Signatures other in the document and its content.The present invention realizes the Electronic Signature of multi-semantic meaning to electronic document content.

Description

A kind of method and device of electronic health record progress note PDF Electronic Signature
Technical field
The invention belongs to field of computer technology, and in particular to a kind of side of electronic health record progress note PDF Electronic Signature Method and device.
Background technique
Hospital Electronic Medical Record includes a plurality of types of texts such as record, progress note, consultation of doctors list, operation record of being admitted to hospital/leave hospital Shelves, in order to play the advantage of electronic health record to the maximum extent, need to carry out most of document the digital signature of doctor or patient/ Electronic Signature, to realize data visualization under the premise of guaranteeing that data are authentic and valid.
In all documents, the course of disease is the most complicated, realizes that difficulty is maximum.It is hospitalized period because the document needs to record patient All chemical examinations check, checkup item that the content that need to be recorded is most;And it may need to repair the data for having signed name The edit operations such as change, delete.This brings huge challenge to the realization of the electronic document.
Currently, since electronic health record is still in the initial stage of popularization, to realizing the solution of progress note Electronic Signature very It is few.Some schemes are in the content of database purchase progress note, and in filing, inquiry assembling data, it is literary finally to print to papery Then shelves are signed and seal by hand.It such as encounters data to be changed, needs to print and sign and seal again.This scheme did not both have The visualization for realizing data, cannot guarantee that the legal validity of data.
Some schemes are digitally signed the content of progress note and signature value are also saved in the database, look into every time It requires to grab data from database when seeing data and assemble, be not carried out the legal validity of visible document file.
Then signature picture is attached to electronics text using the signature picture of the tools such as handwriting pad acquisition signer by some schemes On shelves, this way only realizes the visualization of data, but because the electronic document generated does not meet law of electronic signature, Bu Nengbao Demonstrate,prove the legal validity of visible document.
Implementation based on layout files such as PDF is to solve one of the field question optimal path at present, this kind of at present Scheme is primarily present the problem of following two aspect:
Firstly, it is mostly external cryptographic algorithm that the algorithm used for the Electronic Signature scheme of PDF electronic document, which is, such as RSA with SHA-1, and using PKCS#7 data structure organization and storage Electronic Signature data, it is rare to national secret algorithm (such as SM2 with SM3) support, it is rare support state's Data Encryption Standard Electronic Signature.
Secondly, the progress note content in hospital's practical application scene is more, process and complicated for operation not only needs to realize pair Digital signature/Electronic Signature of the single contents of a project, it is also necessary to support to signed/stamped signature content non-sequential continues and edits Operation.The original design intention of the latter and layout files has very big discrepancy, is guaranteeing not influence the feelings for having other Electronic Signatures Under condition, modifies some progress note content in document and be difficult.
Summary of the invention
To solve the above-mentioned problems, the present invention provides a kind of electronic health record progress note PDF electronic seal signing equipments, solve Progress note dynamic editable scene under Electronic Signature problem.
The technical solution of the present invention is as follows: a kind of electronic health record progress note PDF electronic seal signing equipment, including operation system and PDF Electronic Signature server-side, the PDF Electronic Signature server-side include:
PDF document generation module, operation system send document structure tree instruct and carries document structure tree needs data with Template Information, the document structure tree instruction that the PDF document generation module is sent according to operation system generate PDF electronics, and raw After PDF electronics, operation system will be responded back after operating result and document id and incremental update data information sequence;
PDF document editor module, operation system send documents editing instruction, and the PDF document editor module is according to business The documents editing instruction that system is sent carries out edit operation to PDF electronic document, and more by operating result and the increment of generation Operation system is responded back after new data information sequence;
Electronic Signature module carries out electronic document stamped signature to PDF electronic document according to the type of stamped signature semanteme.
Preferably, the stamped signature semanteme includes that the semanteme signed in the program has 3 seed types, 3 seed types are respectively pair Content stamped signature itself examines type stamped signature to stamped signature content auditing stamped signature and hybrid mode content;
It is described to content stamped signature itself are as follows: the content of stamped signature is exactly content stamped signature itself, without other additional informations and interior Hold, and Electronic Signature can be carried out to same content itself by multiple entities;
It is described to stamped signature content auditing stamped signature are as follows: a content that stamped signature has been crossed is signed after audit is checked Chapter, using stamped signature content itself and the Electronic Signature data of stamped signature as this stamped signature content carry out Electronic Signature;
The hybrid mode content examines type stamped signature are as follows: before to stamped signature content auditing stamped signature, is written first Suggestions made after examination, then stamped signature, continues content in the document of stamped signature, and and then the content of specified range carries out stamped signature, label Chapter content includes continuing content and content and its stamped signature that specified needs are examined.
Which kind of mode no matter is used to carry out Electronic Signature, stamped signature process and PDF electronic signature mechanism are consistent (with PDF Incremental update mechanism as support), wherein finally signature the completion stage, filling signature dictionary CONTENT value be electricity 16 hex values of the binary coded data for the Electronic Signature data that sub- stamped signature process generates, rather than in PDF signature mechanism 16 hex values of the binary coded data of PKSC#7 data structure.Above mentioned Electronic Signature data are paid attention to, according to " GMT 0031-2014 safe electronic stamped signature cryptographic technique specification " it generates.Preferably, the electronic document stamped signature uses PDF state cipher telegram Sub- stamped signature, the operation system or PDF Electronic Signature server-side are stamped signature caller.
Preferably, the PDF Electronic Signature server-side is stamped signature caller, the PDF Electronic Signature server-side will be produced Response to operation system stores after raw incremental update data information sequence.
Preferably, the close Electronic Signature of PDF state includes that the close Electronic Signature of full text PDF state and specified range PDF state are close Electronic Signature.Full text Electronic Signature is special specified range Electronic Signature, and range specified by full text Electronic Signature is i.e. all Document content byte.The close Electronic Signature of PDF document full text state, can be by service system apparatus forwarding country according to business scenario difference Close Electronic Signature instruction or PDF Electronic Signature server device itself call the close Electronic Signature interface of state to realize.Above two side Formula requires to provide such as: stamped signature placeholder information necessary information.Realize that the close Electronic Signature of full text PDF state needs PDF Electronic Signature Service terminal device is according to the following steps: 1, obtaining the PDF document file for needing stamped signature.2, according to the provided occupy-place of stamped signature caller Information is accorded with, signature placeholder preset in PDF document is parsed, determines that stamped signature visualizes the position of placement in a document.3, according to The signature process incremental update document of PDF standard: 1) construction signature dictionary.2) the stamped signature picture in stamped signature people E-seal is extracted (2) the appearance field to stamped signature construction signature dictionary in.3) it is reserved in signature dictionary and places Electronic Signature data enough CONTENT field.4) original text shelves are written in incremental update.4, the ByteRange in signature dictionary is reset are as follows: complete before stamped signature Text, in addition sequence of data segments that PDF Electronic Signature generates after incremental update and outer.5, in ByteRange in dictionary of signing Original text of the described bytes range as the close Electronic Signature of state, according to " GMT 0031-2014 safe electronic stamped signature cryptographic technique Specification " Electronic Signature is carried out, generate Electronic Signature data.6, the binary value sequence that (5) generate Electronic Signature data is turned to 16 system character strings are written in document in the CONTENT item for dictionary of signing.7, Electronic Signature is obtained from document function context It generates " incremental update data information ".
The close Electronic Signature of the state of PDF document specified range can be sent according to business scenario difference by service system apparatus The close Electronic Signature instruction of state or PDF Electronic Signature server device itself call the close Electronic Signature interface of state to realize.It is above two Mode requires to provide such as: stamped signature placeholder information, incremental update data information sequence necessary information.
It realizes that the close Electronic Signature of specified range PDF state needs PDF Electronic Signature service terminal device according to the following steps: 1, obtaining Need the PDF document file of stamped signature.2, according to the provided placeholder information of stamped signature caller, label preset in PDF document are parsed Name placeholder, determines that stamped signature visualizes the position of placement in a document.3, the incoming incremental update data of parsing stamped signature caller Information sequence obtains " specified stamped signature range information sequence ".4, according to the signature process incremental update document of PDF standard: 1) constructing Signature dictionary.2) the stamped signature picture in stamped signature people E-seal and the appearance word to stamped signature construction signature dictionary in (2) are extracted Section.3) the CONTENT field for placing Electronic Signature data enough is reserved in signature dictionary.4) original text shelves are written in incremental update. 5, the ByteRange in signature dictionary is reset are as follows: the content of specified stamped signature range information sequence, in addition PDF Electronic Signature Sequence of data segments generated after incremental update and outer.6, with the work of bytes range described in ByteRange in dictionary of signing For the original text of the close Electronic Signature of state, Electronic Signature is carried out according to " GMT 0031-2014 safe electronic stamped signature cryptographic technique specification ", Generate Electronic Signature data.7, the binary value sequence that (5) generate Electronic Signature data is turned into 16 system character strings, write-in text In shelves in the CONTENT item of signature dictionary.8, Electronic Signature is obtained from document function context generates " incremental update data letter Breath ".
Preferably, the documents editing instruction includes that document continues instruction, document modification instruction and document deletion instruction.
When progress document is continued, PDF Electronic Signature service terminal device starts execution document according to the following steps and continues operation: 1, according to template type, content mapper is selected.2, document files is obtained.3, document function context: 1) antitone sequence is initialized Change document object data.2) renderer is initialized.4, it is loaded into PDF document file.5, renderer draws content: 1) being loaded into work Area.2) the document object data obtained with (3.1) unserializing, the mode of incremental update is used according to template content, and rendering is drawn PDF document content processed.3) preset signature placeholder.6, workspace, close document is written to document.7, from document function context Middle acquisition " incremental update data information ".
PDF Electronic Signature service terminal device needs this operating result after document is continued and continues generation " incremental update data information " serializing after respond back service system apparatus, service system apparatus should be stored properly and continue generation " incremental update data information ".
When carrying out document modification, PDF Electronic Signature service terminal device starts to execute document modification operation according to the following steps: 1, according to template type, content mapper is selected.2, document files is obtained.3, document function context: 1) antitone sequence is initialized Change document object data.2) " the incremental update data information " to be modified of unserializing.3) renderer is initialized.4) setting needs The data information of refreshing is " the incremental update data information " that (3.2) unserializing obtains.5, it is loaded into PDF document file.It draws Device draws content: 1) being loaded into workspace.2) the document object data obtained with (3.1) unserializing, use according to template content The mode of incremental update, color applying drawing PDF document content.3) preset signature placeholder.6, it needs to brush according to what is be arranged in (3.4) New data information refreshes document content.7, workspace, close document is written to document.8, it is obtained from document function context Take " incremental update data information ".
PDF Electronic Signature service terminal device after document is continued needs this operating result and modification to generate " incremental update data information " serializing after respond back service system apparatus, service system apparatus, which should be stored properly, modifies generation " incremental update data information ".
When carrying out document deletion, PDF Electronic Signature service terminal device starts to execute document content deletion according to the following steps Operation: 1, " incremental update data information " sequence that parsing needs to delete, which is established, deletes workspace.2, document files is obtained.3, just Beginningization document function context: 1) renderer is initialized.4, renderer draws content: 1) obtaining using intensive oblique line covering (1) The deletion workspace arrived.5, close document.
PDF Electronic Signature service terminal device needs this operating result to be responded go back to business system after document is continued Bulk cargo is set.
The present invention also provides a kind of methods of electronic health record progress note PDF Electronic Signature, comprising:
The PDF electronic document of case history is generated according to medical record data;
Existing document is edited by the mechanism realization of incremental update in PDF;
Electronic document stamped signature is carried out to PDF electronic document according to stamped signature semanteme.
Preferably, the electronic document stamped signature uses the close Electronic Signature of PDF state, the close Electronic Signature of PDF state includes The close Electronic Signature of the close Electronic Signature of full text PDF state and specified range PDF state.
Preferably, the stamped signature semanteme includes that the semanteme signed in the program has 3 seed types, 3 seed types are respectively pair Content stamped signature itself examines type stamped signature to stamped signature content auditing stamped signature and hybrid mode content;
The process to content stamped signature itself includes: that PDF content generates;Incremental update data information is obtained, label are provided Chapter placeholder information;It specifies content to carry out Electronic Signature this, if stamped signature need to be continued, continues to provide the progress of stamped signature placeholder information Stamped signature;The content of stamped signature is exactly content stamped signature itself, is free of other additional informations and content, and can be by multiple entities to same A content itself carries out Electronic Signature;
The process to stamped signature content auditing stamped signature includes: to obtain that the incremental update data of examining content is needed to believe Breath, finds all incremental update data information sequences with the content associated electrical stamped signature;What be will acquire needs examining content Incremental update data information merges with all incremental update data information sequences of the content associated electrical stamped signature, obtains to stamped signature Incremental update information sequence;Stamped signature placeholder information is provided, specifies content to carry out Electronic Signature this;To stamped signature mistake Content after audit is checked stamped signature, using stamped signature content itself and the Electronic Signature data of stamped signature as this stamped signature Content carries out Electronic Signature;
The process of the hybrid mode content examination & approval type stamped signature includes: after PDF content generates, to obtain incremental update number It is believed that breath;The incremental update data information for needing to examine content is obtained, all increments with the content associated electrical stamped signature are found Update data information sequence;The institute of the incremental update data for needing to examine content and the content associated electrical stamped signature that will acquire The incremental update data information obtained after having incremental update data information sequence and PDF content to generate merges, and merging obtains To stamped signature incremental update information sequence;Stamped signature placeholder information is provided, specifies content to carry out Electronic Signature this.To having signed Before chapter content auditing stamped signature, suggestions made after examination are written first, then stamped signature, continues content, immediately in the document of stamped signature The content of specified range carry out stamped signature, stamped signature content includes continuing content and content and its label that specified needs are examined Chapter.
Preferably, the value of the CONTENT of filling signature dictionary is the production of Electronic Signature process in the finally signature completion stage 16 hex values of the binary coded data of raw Electronic Signature data.
Compared with prior art, the beneficial effects of the present invention are embodied in:
(1) present invention can generate the PDF electronic document of case history according to medical record data.
(2) present invention can continue content to the PDF document containing multiple Electronic Signatures, and continuing operation will not be to its in the document Its Electronic Signature and its content impact.
(3) present invention can in the PDF document containing multiple Electronic Signatures some any Electronic Signature and its content into The free editor's (including continue, modify, delete) of row, the operation will not cause Electronic Signatures other in the document and its content It influences.
(4) present invention realizes the Electronic Signature of multi-semantic meaning to electronic document content.
Detailed description of the invention
Fig. 1 is the schematic diagram that more people carry out stamped signature to the same content in the present invention.
Fig. 2 is the schematic diagram in the present invention to stamped signature content auditing stamped signature.
Fig. 3 is the schematic diagram that hybrid mode content examines type stamped signature in the present invention.
Fig. 4 is PDF document product process in the present invention.
Fig. 5 is PDF document generating means collaboration process in the present invention.
Fig. 6 is that PDF document continues device collaboration process in the present invention.
Fig. 7 is that PDF document continues process in the present invention.
Fig. 8 is PDF document modification process in the present invention.
Fig. 9 is that PDF document modifies device collaboration process in the present invention.
Figure 10 is that PDF document content deletes process in the present invention.
Figure 11 is that PDF document content deletes device collaboration process in the present invention.
Figure 12 is the close electronic seal signing equipment collaboration process of full text PDF state in the present invention.
Figure 13 is the close Electronic Signature process of full text PDF state in the present invention.
Figure 14 is the close Electronic Signature process of specified range PDF state in the present invention.
Figure 15 is the close electronic seal signing equipment collaboration process of specified range PDF state in the present invention.
Figure 16 is in the present invention to content stamped signature process itself.
Figure 17 is in the present invention to stamped signature content auditing stamped signature process.
Figure 18 is that hybrid mode content examines type stamped signature process in the present invention.
Specific embodiment
Embodiment 1
1, plan explanation
Include two devices of operation system and PDF Electronic Signature server-side in the present embodiment, passes through the interaction of two devices It is specific to wrap with cooperation implementation function (for the Electronic Signature of the editable electronic health record progress note electronic document of dynamic) Include the following aspects:
1, the PDF electronic document of case history can be generated according to medical record data.
2, content can be continued to the PDF document containing multiple Electronic Signatures, continuing operation will not be to electronics other in the document Stamped signature and its content impact.
3, some any Electronic Signature and its content that can be directed in the PDF document containing multiple Electronic Signatures carry out free It edits (including generation, modification, deletion), which will not impact Electronic Signatures other in the document and its content.
4, to the Electronic Signature of electronic document content multi-semantic meaning.
2, process is realized
The method of the present embodiment electronic health record progress note PDF Electronic Signature, specifically includes that
1, PDF document and its format and content document structure tree: are generated.
2, it documents editing: to the continuing of existing PDF document, deletes, modify.
3, it Electronic Signature: is realized for the close Electronic Signature of PDF state of various stamped signature semanteme situations.
2.1 stamped signatures are semantic
The semanteme signed in the present embodiment has 3 seed types to be respectively:
1, to content stamped signature itself.
2, to stamped signature content auditing stamped signature.
3, hybrid mode content examines type stamped signature.
2.1.1 to content stamped signature itself
As shown in Figure 1, the content of stamped signature is exactly content stamped signature itself, other additional informations and content are free of.Content formula label Chapter can carry out Electronic Signature to same content itself by multiple entities.
2.1.2 to stamped signature content auditing stamped signature
As shown in Fig. 2, to the content that stamped signature has been crossed stamped signature after audit is checked.By " stamped signature content itself " and The Electronic Signature data of stamped signature carry out Electronic Signature as " content " of this stamped signature.
2.1.3 hybrid mode content examines type stamped signature
As shown in figure 3, suggestions made after examination are written first, then stamped signature before " to stamped signature content auditing stamped signature ".? Content is continued in the document of stamped signature, and then the content of specified range (may be the entire document after continuing) is signed Chapter, stamped signature content include the content and its stamped signature that " continuing content " and specified needs are examined.
2.2 PDF documents generate
The document structure tree of PDF is initiated by service system apparatus, is sent document structure tree and is instructed and carry the needs of document structure tree Data and Template Information.
As shown in Figure 4 and Figure 5, PDF Electronic Signature service terminal device receives the document structure tree instruction of service system apparatus, PDF Electronic Signature service terminal device starts to execute document generation operation according to the following steps: 1, according to template type, selecting content Mapper.2, document files is created.3, document function context: 1) unserializing document object data is initialized.2) it initializes Renderer.4, renderer draws content: 1) being loaded into workspace.2) the document object data obtained with (3.1) unserializing, according to Template content color applying drawing PDF document content.3) preset signature placeholder.5, workspace, close document is written to document.6, from " incremental update data information " is obtained in document function context.7, document structure tree terminates.
PDF Electronic Signature service terminal device after document structure tree, need this operating result and document id and Respond back service system apparatus after " incremental update data information " serializing, service system apparatus should properly store document id with " incremental update data information ".
2.3 PDF document editors
PDF document editor to the continuing of existing document, delete, modify.Above-mentioned any edit operation, which passes through in PDF, to be increased The mechanism that amount updates is realized.By this kind of mode, can in the PDF document containing multiple various semantic Electronic Signatures it is any certain A Electronic Signature and its content are freely edited, which will not cause Electronic Signatures other in the document and its content It influences.
2.3.1 PDF document is continued
The document of PDF is continued is initiated by service system apparatus, and transmission document is continued instruction and carried and continues needed for document Data and Template Information.
As shown in Figure 6 and Figure 7, the document that PDF Electronic Signature service terminal device receives service system apparatus continues instruction, PDF Electronic Signature service terminal device starts execution document according to the following steps and continues operation: 1, according to template type, selecting content Mapper.2, document files is obtained.3, document function context: 1) unserializing document object data is initialized.2) it initializes Renderer.4, it is loaded into PDF document file.5, renderer draws content: 1) being loaded into workspace.2) it is obtained with (3.1) unserializing Document object data, according to template content use incremental update mode, color applying drawing PDF document content.3) preset signature Placeholder.6, workspace, close document is written to document.7, " incremental update data letter is obtained from document function context Breath ".
PDF Electronic Signature service terminal device needs this operating result after document is continued and continues generation " incremental update data information " serializing after respond back service system apparatus, service system apparatus should be stored properly and continue generation " incremental update data information ".
2.3.2 PDF document is modified
The document modification of PDF is initiated by service system apparatus, is sent document modification and is instructed and carry needed for modification document Data and Template Information and " incremental update data information " sequence that modify document.
As shown in Figure 8 and Figure 9, PDF Electronic Signature service terminal device receives the document modification instruction of service system apparatus, PDF Electronic Signature service terminal device starts to execute document modification operation according to the following steps: 1, according to template type, selecting content Mapper.2, document files is obtained.3, document function context: 1) unserializing document object data is initialized.2) antitone sequence Change " the incremental update data information " to be modified.3) renderer is initialized.4) data information that setting needs to refresh is that (3.2) are anti- Serialize obtained " incremental update data information ".5, it is loaded into PDF document file.Renderer draws content: 1) being loaded into workspace. 2) the document object data obtained with (3.1) unserializing use the mode of incremental update, color applying drawing according to template content PDF document content.3) preset signature placeholder.6, the data information refreshed according to the needs being arranged in (3.4) refreshes in document Hold.7, workspace, close document is written to document.8, " incremental update data information " is obtained from document function context.
PDF Electronic Signature service terminal device after document is continued needs this operating result and modification to generate " incremental update data information " serializing after respond back service system apparatus, service system apparatus, which should be stored properly, modifies generation " incremental update data information ".
2.3.3 PDF document content is deleted
The document content generation of PDF is initiated by service system apparatus, is sent document and is deleted instruction and need to delete content " incremental update data information " sequence.
As shown in Figure 10 and Figure 11, the document content that PDF Electronic Signature service terminal device receives service system apparatus is deleted Instruction, PDF Electronic Signature service terminal device start to execute document content delete operation according to the following steps: 1, parsing needs to delete " incremental update data information " sequence establish delete workspace.2, document files is obtained.3, document function context is initialized: 1) renderer is initialized.4, renderer draws content: 1) using the obtained deletion workspace of intensive oblique line covering (1).5, it closes Close document.
PDF Electronic Signature service terminal device needs this operating result to be responded go back to business system after document is continued Bulk cargo is set.
The 2.4 close Electronic Signatures of PDF state
The close Electronic Signature of the state of PDF is broadly divided into two ways, is respectively: the close Electronic Signature of full text PDF state, specified range The close Electronic Signature of PDF state.
Which kind of mode no matter is used to carry out Electronic Signature, stamped signature process and PDF electronic signature mechanism are consistent (with PDF Incremental update mechanism as support), wherein finally signature the completion stage, filling signature dictionary CONTENT value be electricity 16 hex values of the binary coded data for the Electronic Signature data that sub- stamped signature process generates, rather than in PDF signature mechanism 16 hex values of the binary coded data of PKSC#7 data structure.Above mentioned Electronic Signature data are paid attention to, according to " GMT 0031-2014 safe electronic stamped signature cryptographic technique specification " it generates.
Herein by use the close Electronic Signature of state equipment be referred to as " stamped signature caller ", that is, service system apparatus or PDF Electronic Signature server device.
2.4.1 the close Electronic Signature of full text PDF state
Full text Electronic Signature is special specified range Electronic Signature, range specified by full text Electronic Signature, that is, all texts Shelves content byte.
The close Electronic Signature of PDF document full text state, can be by service system apparatus forwarding country cipher telegram according to business scenario difference Sub- stamped signature instruction or PDF Electronic Signature server device itself call the close Electronic Signature interface of state to realize.Above two mode is all It needs to provide such as: stamped signature placeholder information necessary information.
As shown in Figure 12 and Figure 13, realize the close Electronic Signature of full text PDF state need PDF Electronic Signature service terminal device according to Lower step:
1, the PDF document file for needing stamped signature is obtained.
2, according to the provided placeholder information of stamped signature caller, signature placeholder preset in PDF document is parsed, determines label Chapter visualizes the position of placement in a document.
3, according to the signature process incremental update document of PDF standard:
1) construction signature dictionary.
2) the stamped signature picture in stamped signature people E-seal and the appearance word to stamped signature construction signature dictionary in (2) are extracted Section.
3) the CONTENT field for placing Electronic Signature data enough is reserved in signature dictionary.
4) original text shelves are written in incremental update.
4, reset signature dictionary in ByteRange are as follows: before stamped signature full text, in addition PDF Electronic Signature increment more Sequence of data segments generated after new and outer.
5, using bytes range described in ByteRange in dictionary of signing as the original text of the close Electronic Signature of state, according to " GMT 0031-2014 safe electronic stamped signature cryptographic technique specification " carries out Electronic Signature, generates Electronic Signature data.
6, the binary value sequence that (5) generate Electronic Signature data is turned into 16 system character strings, is written in document and signs In the CONTENT item of dictionary.
7, Electronic Signature is obtained from document function context generate " incremental update data information ".
PDF Electronic Signature service terminal device needs after full text Electronic Signature this operating result and stamped signature Stamped signature caller is responded back after " incremental update data information " serializing generated.
If stamped signature caller is service system apparatus, service system apparatus need to properly store " the incremental update number It is believed that breath ".
If stamped signature caller is PDF Electronic Signature service terminal device, stamped signature caller is PDF Electronic Signature service End device, then stamped signature caller is PDF Electronic Signature service terminal device, it would be possible that also needing the data handing to business System and device, service system apparatus need to properly store " the incremental update data information ".
2.4.2 the close Electronic Signature of specified range PDF state
The close Electronic Signature of the state of PDF document specified range can be sent according to business scenario difference by service system apparatus The close Electronic Signature instruction of state or PDF Electronic Signature server device itself call the close Electronic Signature interface of state to realize.It is above two Mode requires to provide such as: stamped signature placeholder information, incremental update data information sequence necessary information.
As shown in Figure 14 and Figure 15, realize the close Electronic Signature of specified range PDF state need PDF Electronic Signature service terminal device by According to following steps:
1, the PDF document file for needing stamped signature is obtained.
2, according to the provided placeholder information of stamped signature caller, signature placeholder preset in PDF document is parsed, determines label Chapter visualizes the position of placement in a document.
3, the incoming incremental update data information sequence of parsing stamped signature caller obtains " specified stamped signature range information sequence ".
4, according to the signature process incremental update document of PDF standard:
1) construction signature dictionary.
2) the stamped signature picture in stamped signature people E-seal and the appearance word to stamped signature construction signature dictionary in (2) are extracted Section.
3) the CONTENT field for placing Electronic Signature data enough is reserved in signature dictionary.
4) original text shelves are written in incremental update.
5, the ByteRange in signature dictionary is reset are as follows: the content of specified stamped signature range information sequence, in addition PDF Sequence of data segments that Electronic Signature generates after incremental update and outer.
6, using bytes range described in ByteRange in dictionary of signing as the original text of the close Electronic Signature of state, according to " GMT 0031-2014 safe electronic stamped signature cryptographic technique specification " carries out Electronic Signature, generates Electronic Signature data.
7, the binary value sequence that (5) generate Electronic Signature data is turned into 16 system character strings, is written in document and signs In the CONTENT item of dictionary.
8, Electronic Signature is obtained from document function context generate " incremental update data information ".
PDF Electronic Signature service terminal device after specified range Electronic Signature, need this operating result and Stamped signature caller is responded back after " incremental update data information " serializing that stamped signature generates.
If stamped signature caller is service system apparatus, service system apparatus need to properly store " the incremental update number It is believed that breath ".
If stamped signature caller is PDF Electronic Signature service terminal device, stamped signature caller is PDF Electronic Signature service End device, then stamped signature caller is PDF Electronic Signature service terminal device, it would be possible that also needing the data handing to business System and device, service system apparatus need to properly store " the incremental update data information ".
2.4.3 stamped signature semanteme is realized
By flexibly specifying stamped signature range then in conjunction with document structure tree interface is called, may be implemented in 3.1 stamped signatures semanteme The electronic document stamped signature of type stamped signature semanteme in described three.
Here it is continued due to PDF document and is generated with PDF document, be all to generate document content into document.So by PDF text Shelves, which are continued to generate with PDF document, is referred to as " document generation operation ".
1. to content stamped signature itself:
Document generation operation, service system apparatus is generated according to 2.2 PDF documents or 2.3.1 PDF document is continued process and held The generation of row PDF document content, and obtain " incremental update data information " that this time operation generates document.
As shown in figure 16, Electronic Signature operates, and is obtained in service system apparatus using document id and document generation operation " incremental update data information ", and stamped signature placeholder information is made, specified range is initiated to PDF Electronic Signature service terminal device Electronic Signature instruction.PDF Electronic Signature service terminal device carries out electronics label according to the close Electronic Signature of 3.4.2 specified range PDF state Chapter.If " the incremental update data information " of the secondary stamped signature will finally be obtained by operating successfully service system apparatus.If there is multiple Entity needs to carry out the content stamped signature, need to only use different entities call and above-mentioned identical above-mentioned Electronic Signature repeatedly be called to grasp Work.
2. pair stamped signature content auditing stamped signature:
As shown in figure 17, document generation operation is not needed to stamped signature content auditing stamped signature, service system apparatus is found The content " incremental update data information " for needing to audit, and inquire the Electronic Signature of relevant to the information audit in need Generate " incremental update data information " sequence;Service system apparatus uses the " incremental update data information " and related of examining content Electronic Signature generate " incremental update data information " sequence and document id and refer to the initiation of PDF Electronic Signature service terminal device Determine the instruction of range electronic stamped signature.PDF Electronic Signature service terminal device is carried out according to the close Electronic Signature of 2.4.2 specified range PDF state Electronic Signature.If " the incremental update data information " of the secondary stamped signature will finally be obtained by operating successfully service system apparatus.
3. hybrid mode content examines type stamped signature:
As shown in figure 18, document generation operation, service system apparatus continue process according to 3.3.1 PDF document, to document Content is examined in middle write-in, and obtains " incremental update data information " that this time operation generates document.
Electronic Signature operation, service system apparatus finds the content " incremental update data information " for needing to examine, and inquires The Electronic Signature of relevant to the information examination & approval in need generates " incremental update data information " sequence out;Service system apparatus Using " the incremental update data information " of examining content, relevant Electronic Signature generate " incremental update data information " sequence, " the incremental update data information " and document id that document generation operation obtains refer to the initiation of PDF Electronic Signature service terminal device Determine the instruction of range electronic stamped signature.PDF Electronic Signature service terminal device is carried out according to the close Electronic Signature of 2.4.2 specified range PDF state Electronic Signature.If " the incremental update data information " of the secondary stamped signature will finally be obtained by operating successfully service system apparatus.

Claims (10)

1. a kind of electronic health record progress note PDF electronic seal signing equipment, which is characterized in that including operation system and PDF electronics label Chapter server-side, the PDF Electronic Signature server-side include:
PDF document generation module, operation system send the data and template that document structure tree instructed and carried the needs of document structure tree Information, the document structure tree instruction that the PDF document generation module is sent according to operation system generates PDF electronics, and generates PDF After electronics, operation system will be responded back after operating result and document id and incremental update data information sequence;
PDF document editor module, operation system send documents editing instruction, and the PDF document editor module is according to operation system The documents editing instruction of transmission carries out edit operation to PDF electronic document, and by operating result and the incremental update number of generation It is believed that responding back operation system after breath serializing;
Electronic Signature module carries out electronic document stamped signature to PDF electronic document according to the type of stamped signature semanteme.
2. electronic health record progress note PDF electronic seal signing equipment as described in claim 1, which is characterized in that the stamped signature language Justice includes that the semanteme signed in the program has 3 seed types, and 3 seed types are respectively to content stamped signature itself, to stamped signature content It audits stamped signature and hybrid mode content examines type stamped signature;
It is described to content stamped signature itself are as follows: the content of stamped signature is exactly content stamped signature itself, be free of other additional informations and content, and And Electronic Signature can be carried out to same content itself by multiple entities;
It is described to stamped signature content auditing stamped signature are as follows:, will to the content that stamped signature has been crossed stamped signature after audit is checked The Electronic Signature data of stamped signature content itself and stamped signature carry out Electronic Signature as the content of this stamped signature;
The hybrid mode content examines type stamped signature are as follows: before to stamped signature content auditing stamped signature, write-in examination & approval first Opinion, then stamped signature, continues content in the document of stamped signature, and then the content progress stamped signature of specified range, in stamped signature Hold includes continuing content and content and its stamped signature that specified needs are examined.
3. electronic health record progress note PDF electronic seal signing equipment as claimed in claim 1 or 2, which is characterized in that the electronics Document stamped signature uses the close Electronic Signature of PDF state, and the operation system or PDF Electronic Signature server-side are stamped signature caller.
4. electronic health record progress note PDF electronic seal signing equipment as claimed in claim 3, which is characterized in that the PDF electronics Stamped signature server-side is stamped signature caller, and the PDF Electronic Signature server-side will be after the incremental update data information sequence of generation Response to operation system stores.
5. electronic health record progress note PDF electronic seal signing equipment as claimed in claim 4, which is characterized in that the PDF state is close Electronic Signature includes the close Electronic Signature of full text PDF state and the close Electronic Signature of specified range PDF state.
6. the electronic health record progress note PDF electronic seal signing equipment as described in claim 1,2,4 and 5 are any, which is characterized in that The documents editing instruction includes that document continues instruction, document modification instruction and document deletion instruction.
7. a kind of method of electronic health record progress note PDF Electronic Signature characterized by comprising
The PDF electronic document of case history is generated according to medical record data;
Existing document is edited by the mechanism realization of incremental update in PDF;
Electronic document stamped signature is carried out to PDF electronic document according to stamped signature semanteme.
8. the method for electronic health record progress note PDF Electronic Signature as claimed in claim 7, which is characterized in that the electronics Document stamped signature uses the close Electronic Signature of PDF state, and the close Electronic Signature of PDF state includes the close Electronic Signature of full text PDF state and specifies The close Electronic Signature of range PDF state.
9. the method for electronic health record progress note PDF Electronic Signature as claimed in claim 7, which is characterized in that the stamped signature Semanteme includes that the semanteme signed in the program has 3 seed types, and 3 seed types are respectively to content stamped signature itself, in stamped signature Hold audit stamped signature and hybrid mode content examines type stamped signature;
The process to content stamped signature itself includes: that PDF content generates;Incremental update data information is obtained, stamped signature is provided and is accounted for Position symbol information;It specifies content to carry out Electronic Signature this, if stamped signature need to be continued, offer stamped signature placeholder information is provided and is signed Chapter;
The process to stamped signature content auditing stamped signature includes: to obtain the incremental update data information for needing examining content, Find all incremental update data information sequences with the content associated electrical stamped signature;What be will acquire needs the increment of examining content It updates data information to merge with all incremental update data information sequences of the content associated electrical stamped signature, obtain to stamped signature increment Update information sequence;Stamped signature placeholder information is provided, specifies content to carry out Electronic Signature this;
The process of the hybrid mode content examination & approval type stamped signature includes: to obtain incremental update data letter after PDF content generates Breath;The incremental update data information for needing to examine content is obtained, all incremental updates with the content associated electrical stamped signature are found Data information sequence;All increasings of the incremental update data for needing to examine content and the content associated electrical stamped signature that will acquire Amount updates data information sequence and PDF content generates the incremental update data information obtained later and merges, and merging is obtained wait sign Chapter incremental update information sequence;Stamped signature placeholder information is provided, specifies content to carry out Electronic Signature this.
10. the method for electronic health record progress note PDF Electronic Signature as claimed in claim 7, which is characterized in that finally signing Name is completed the stage, and the value of the CONTENT of filling signature dictionary is the binary system for the Electronic Signature data that Electronic Signature process generates 16 hex values of coded data.
CN201910578300.0A 2019-06-28 2019-06-28 A kind of method and device of electronic health record progress note PDF Electronic Signature Pending CN110379476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910578300.0A CN110379476A (en) 2019-06-28 2019-06-28 A kind of method and device of electronic health record progress note PDF Electronic Signature

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910578300.0A CN110379476A (en) 2019-06-28 2019-06-28 A kind of method and device of electronic health record progress note PDF Electronic Signature

Publications (1)

Publication Number Publication Date
CN110379476A true CN110379476A (en) 2019-10-25

Family

ID=68251200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910578300.0A Pending CN110379476A (en) 2019-06-28 2019-06-28 A kind of method and device of electronic health record progress note PDF Electronic Signature

Country Status (1)

Country Link
CN (1) CN110379476A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111931139A (en) * 2020-07-16 2020-11-13 江西金格科技股份有限公司 Method for realizing position fine adjustment during electronic signature adding based on format document support
CN113779656A (en) * 2021-09-18 2021-12-10 厦门海迈科技股份有限公司 Stamping method, electronic file platform and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080213904A1 (en) * 2006-08-24 2008-09-04 Sliwa John W Monitoring drug compliance, food-intake or toxin-intake using non-invasively-read labels
CN101360100A (en) * 2008-09-16 2009-02-04 浙江汇信科技有限公司 Digital signing, sealing and authenticating method for PDF document
CN102457508A (en) * 2010-11-02 2012-05-16 江苏大学 Digital signature method of electronic medical record based on XML (Extensive Makeup Language)
CN103699852A (en) * 2014-01-08 2014-04-02 安投融(北京)网络科技有限公司 Multi-digital signature method for network transaction electronic contract
CN104008113A (en) * 2013-02-27 2014-08-27 深圳市蓝韵网络有限公司 Electronic medical record based electronic three-measurement-chart drawing method and system
CN104766029A (en) * 2014-01-03 2015-07-08 航天信息股份有限公司 Method and device for performing national cryptologic electronic signature processing on PDF (Portable Document Format) document
CN106407717A (en) * 2016-10-24 2017-02-15 深圳市前海安测信息技术有限公司 System and method of verifying electronic signature of electronic medical record in medical information system
CN109697276A (en) * 2018-11-23 2019-04-30 武汉英思工程科技股份有限公司 Electronic signature method suitable for whole-process management

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080213904A1 (en) * 2006-08-24 2008-09-04 Sliwa John W Monitoring drug compliance, food-intake or toxin-intake using non-invasively-read labels
CN101360100A (en) * 2008-09-16 2009-02-04 浙江汇信科技有限公司 Digital signing, sealing and authenticating method for PDF document
CN102457508A (en) * 2010-11-02 2012-05-16 江苏大学 Digital signature method of electronic medical record based on XML (Extensive Makeup Language)
CN104008113A (en) * 2013-02-27 2014-08-27 深圳市蓝韵网络有限公司 Electronic medical record based electronic three-measurement-chart drawing method and system
CN104766029A (en) * 2014-01-03 2015-07-08 航天信息股份有限公司 Method and device for performing national cryptologic electronic signature processing on PDF (Portable Document Format) document
CN103699852A (en) * 2014-01-08 2014-04-02 安投融(北京)网络科技有限公司 Multi-digital signature method for network transaction electronic contract
CN106407717A (en) * 2016-10-24 2017-02-15 深圳市前海安测信息技术有限公司 System and method of verifying electronic signature of electronic medical record in medical information system
CN109697276A (en) * 2018-11-23 2019-04-30 武汉英思工程科技股份有限公司 Electronic signature method suitable for whole-process management

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111931139A (en) * 2020-07-16 2020-11-13 江西金格科技股份有限公司 Method for realizing position fine adjustment during electronic signature adding based on format document support
CN113779656A (en) * 2021-09-18 2021-12-10 厦门海迈科技股份有限公司 Stamping method, electronic file platform and computer readable storage medium
CN113779656B (en) * 2021-09-18 2023-09-12 厦门海迈科技股份有限公司 Stamping method, electronic archive platform and computer readable storage medium

Similar Documents

Publication Publication Date Title
KR20080105721A (en) Text security method
CN103780709B (en) A kind of method and system that wechat or easy letter information are fast edited and issued
US7747938B2 (en) Data insertion from a database into a fixed electronic template form
CN107741935A (en) Data lead-in method and data importing device
CN1979478B (en) File processing system and file processing method
CN102447559A (en) Method and system for digital signatures of composite resource documents
CN110379476A (en) A kind of method and device of electronic health record progress note PDF Electronic Signature
Ferilli Automatic digital document processing and management: Problems, algorithms and techniques
CN107895226A (en) A kind of e-bidding method and system
CN106681976A (en) Multi-client-side real-time synchronous editing and display method
CN106067874A (en) A kind of method by data record to server end, terminal and server
CN107292197A (en) Data ciphering method, decryption method, encryption device and decryption device
CN110598193B (en) Audit offline document management system
CN113434852A (en) Password processing method, password verification device, medium and electronic equipment
CN114491462B (en) Method, system, equipment and storage medium for signing multiple electronic files at one time
CN108268284A (en) Application program conversion equipment and method
CN102427458A (en) Method and device for adding annotations and comments in digitalization reading of multimedia files with copyright protection function
CN102681976B (en) Document forming method, consistency judging method and system as well as imaging equipment and system
CN103107979A (en) Processing method and processing device for notes of layout files
CN104378362B (en) For carrying out the method and device of message interface conversion
CN113468862A (en) Method and device for creating layout file by block chain, electronic equipment and storage medium
CA2487687A1 (en) Message file editing process
CN114970487B (en) Method for generating OFD electronic contract based on rich text
CN116049783A (en) Enterprise bill management method and system based on secure hardware carrier
CN112989434A (en) Electronic document encryption tamper-proof decryption verification method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191025