Summary of the invention
Of the existing technology in order to solve the problems, such as, the present invention provides a kind of electronic health record managers based on block chain
Method builds the medical system that height is adapted to electronic health record using block chain, optimizes traditional medical system, complete documentation individual letter
Breath protects individual privacy.Compared with traditional medical system, it is more intelligent, more rapidly, it is more transparent, more credible, medical treatment can be effectively reduced
Expense improves medical level.
A kind of electronic health record management method based on block chain, comprising:
User's registration is added to block chain network;
User establishes individual electronic medical record in the block chain network;
User authorizes trusted agent in the block chain network;
User submits corresponding Transaction Information to trade by electronic health record.
Further, the region chain includes: medical services intelligence contract, money transfer transactions record and historical medical data.
Further, the user establishes individual electronic medical record in the block chain network, comprising:
User is using personal NFC device as electronic health record;
Using the electronic health record as wallet address unique in block chain network.
Further, the NFC device includes: mobile phone or specialized hardware case history.
Further, the user submits corresponding Transaction Information to trade by electronic health record, comprising:
User supplements token with money in electronic health record;
The corresponding medical services intelligence contract of user's registration;
User provides transaction to the medical services intelligence contract by trusted agent and proves, and carries out validation verification;
After user completes the service that medical services intelligence contract provides, feedback completes information;
Correlative charges is transferred to medical institutions by trusted agent by user.
Further, the user provides pay warrant to the medical services intelligence contract by trusted agent, goes forward side by side
Row validation verification, comprising: if the trusted agent does not provide transaction and proves, customer transaction is suspended in block chain network
On, and be noted as not completing, waiting is committed to block chain network after receiving transaction proof again.
Further, after the user completes the service that medical services intelligence contract provides, feedback completes information, comprising:
If user is more than that threshold time does not feed back completion information, it is determined as success of trading automatically, intelligent contract is given to correlative charges
Hospital institution.
Further, further includes: user handles case history medical data.
Technical solution provided by the invention has the advantages that compared with the immediate prior art
Technical solution provided by the invention, will be in medical system by being registered to region chain and authorization trusted agent quotient
Links are all integrated into the chain network of region, complete documentation personal information and protect individual privacy.
Technical solution provided by the invention builds the medical system that height is adapted to electronic health record, optimization tradition using block chain
Medical system, complete documentation personal information protect individual privacy.Compared with traditional medical system, it is more intelligent, more rapidly, more thoroughly
It is bright, more credible, medical expense can be effectively reduced, improve medical level.
Technical solution provided by the invention is managed electronic health record and medical services intelligence contract using block chain,
The medical system of integrating traditional solves in traditional medical the pains such as auditing flow is slow, transfer accounts period length, diagnosis process are opaque
Point reduces user and sees a doctor expense, and avoids and oneself build this complicated and expensive process of medical system, us is helped to build
A vertical intelligence, quick, transparent, believable medical system.By means of electronic health record, user can be more convenient, cheap
Medical services, and the medical information that can really draw oneself up are enjoyed in ground, protect the personal medical information of extreme privacy.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, the embodiment of the invention provides a kind of electronic health record management methods based on block chain, comprising:
User's registration is added to block chain network;
User establishes individual electronic medical record in the block chain network;
User authorizes trusted agent in the block chain network;
User submits corresponding Transaction Information to trade by electronic health record.
Preferably, region chain includes: medical services intelligence contract, money transfer transactions record and historical medical data.
Preferably, user establishes individual electronic medical record in the block chain network, comprising:
User is using personal NFC device as electronic health record;
Using the electronic health record as wallet address unique in block chain network.
Preferably, NFC device includes: mobile phone or specialized hardware case history.
Preferably, user submits corresponding Transaction Information to trade by electronic health record, comprising:
User supplements token with money in electronic health record;
The corresponding medical services intelligence contract of user's registration, the details of intelligent contract are as shown in Figure 3;
User provides transaction to the medical services intelligence contract by trusted agent and proves, and carries out validation verification;
After user completes the service that medical services intelligence contract provides, feedback completes information;
Correlative charges is transferred to medical institutions by trusted agent by user.
Preferably, user provides pay warrant to the medical services intelligence contract by trusted agent, and carries out effective
Property verifying, comprising: if the trusted agent does not provide transaction and proves, customer transaction is suspended in block chain network, and by
It is labeled as not completing, waiting is committed to block chain network after receiving transaction proof again.
Preferably, after user completes the service that medical services intelligence contract provides, feedback completes information, comprising: if user
It does not feed back completion information more than threshold time, is then determined as success of trading automatically, correlative charges is given to hospital's machine by intelligent contract
Structure.
Preferably, based on the electronic health record management method of block chain, further includes: user carries out case history medical data
Processing.
Overall architecture of the invention is as shown in Fig. 2, block chain is calculated by unlimited personal node operation maintenance, and by common recognition
Method guarantees that system mode is consistent.Block chain is responsible for saving intelligent contract and general transaction record.Medical institutions are by various doctors
Service publication is treated in intelligent contract, for user's intelligence, easily applies for various services.Each electronic health record possesses block linkwork
Unique address identity in system, personal data have uniquely been stored in NFC chip, while NFC chip can be with block chain
Interaction.Medical staff provides corresponding medical services according to the paid cases of user.
Below by way of the citing operational process that the present invention will be described in detail:
User U has applied for electronic health record T, particulars can download to obtain more convenient, intelligent medical services
In any hardware comprising NFC chip, while having unique wallet address A, address A be also U in this medical system only
One identity.User U has downloaded to electronic health record T in the mobile phone P of oneself simultaneously, while designated mobile phone P is that oneself is unique credible
Agency.
Certain hospital H proposes to integrate every medical services, is specifically divided into four big services: inspection to optimize Hospital Service Process
It surveys, diagnosis, monitoring, treatment.Many small services are subdivided under each service, for example detection is divided into following service: ECG detecting
HD, monitoring of blood pressure BD etc..Hospital H is each service registration one intelligent contract, for replacing the registration in conventional hospital, hanging
Number, the service systems such as application, reduce the work of a large amount of civilian posts and documents.Hospital H has issued intelligence and about SC, to provide the heart
Electro-detection HD service.
This system needs to trade using a kind of ideal money, such as C coin.
User U is ready for ECG detecting HD, has then supplemented 10 C coin with money into the electronic health record T of oneself.Going to hospital
When, user U has registered intelligence and about SC, and reservation can go to detection at 3 points in afternoon, and prepay 5 C coin.User is needed during this
U provides pay warrant to intelligent contract using the mobile phone P of oneself, successfully to deduct 5 C coin.
User U rushes to hospital H on time, goes to ECG detecting department, medical staff queried intelligence and about SC, and compare electricity
Sub- case history T information provides required ECG detecting service for user U after check and correction is true.After the completion of user U detection, to intelligent conjunction
About provide feedback information, it was demonstrated that detected completion.Intelligence and about SC receive user U service complete request after, by 5 C coin from
Intelligent contract account is transferred to the wallet address of hospital H.
This is arrived, user U successfully completes an ECG detecting.If user U wants to continue other medical services, only need
Want the corresponding intelligent contract of simple register.
It should be noted that, in this document, the relational terms of such as " first " and " second " or the like are used merely to one
A entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation it
Between there are any actual relationship or orders.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable
LogicDevice, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place
It manages in device, controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, the techniques described herein can be realized by executing the unit of function described herein.Software generation
Code is storable in memory and is executed by processor.Memory can in the processor or portion realizes outside the processor.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the embodiment of the present invention is substantially
The part of the part that contributes to existing technology or the technical solution can embody in the form of software products in other words
Come, which is stored in a storage medium, including some instructions are used so that a computer equipment (can
To be personal computer, server or the network equipment etc.) execute all or part of each embodiment the method for the present invention
Step.And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program
The medium of code.
It should be noted that the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability
Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including
Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device.
In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element
Process, method, article or equipment in there is also other identical elements.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.