TW201828242A - Electronic medical record system based on blockchain and method thereof - Google Patents

Electronic medical record system based on blockchain and method thereof Download PDF

Info

Publication number
TW201828242A
TW201828242A TW106102077A TW106102077A TW201828242A TW 201828242 A TW201828242 A TW 201828242A TW 106102077 A TW106102077 A TW 106102077A TW 106102077 A TW106102077 A TW 106102077A TW 201828242 A TW201828242 A TW 201828242A
Authority
TW
Taiwan
Prior art keywords
medical record
patient
node
blockchain
physician
Prior art date
Application number
TW106102077A
Other languages
Chinese (zh)
Other versions
TWI661433B (en
Inventor
林祐德
Original Assignee
現代財富控股有限公司
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 現代財富控股有限公司 filed Critical 現代財富控股有限公司
Priority to TW106102077A priority Critical patent/TWI661433B/en
Publication of TW201828242A publication Critical patent/TW201828242A/en
Application granted granted Critical
Publication of TWI661433B publication Critical patent/TWI661433B/en

Links

Abstract

An electronic medical record system based on blockchain and method thereof is disclosed. By achieving an electronic medical record through a smart contract on blockchain so that a patient node in a blockchain network can read all medical record data from the blockchain, and then transmitting the medical record data to a physician node in the blockchain network for displaying, and generating a medical record according to the medical results by the physician node, and transmitting the medical record to the blockchain network by blockchain transactions, and receiving a medical record smart contract address from blockchain transactions to transmit to the patient node for confirming the medical record, and allowing adding the medical record into the medical record data after the patient node to confirm the medical record. The mechanism is help to improve the availability of the electronic medical record.

Description

基於區塊鏈的電子病歷系統及其方法Blockchain-based electronic medical record system and method thereof

本發明涉及一種電子病歷系統及其方法,特別是基於區塊鏈的電子病歷系統及其方法。The present invention relates to an electronic medical record system and method thereof, and more particularly to a blockchain-based electronic medical record system and method thereof.

近年來,隨著病歷電子化的推廣與蓬勃發展,大部分的醫療院所皆已將其病歷電子化,然而,大都使用自訂格式對其病歷電子化,造成產生的電子病歷無法適用於不同的醫療院所。In recent years, with the promotion and vigorous development of electronic medical records, most medical institutions have electronically printed their medical records. However, most of them use their own customized format to electronically record their medical records, resulting in the generation of electronic medical records that cannot be applied to different Medical institution.

有鑑於此,便有國際標準組織推行國際標準格式,另外,亦有政府單位推行國家定義的標準格式,避免不同醫療院所建立的電子病歷無法兼容的問題。不過,即使所有醫療院所皆使用標準格式,病患的電子病歷仍然分散在各家不同的醫療院所,舉例來說,病患前往皮膚科診所就診,將產生一份電子病歷在此皮膚科診所,當同一病患前往另一家醫院就診時,同樣會產生另一份電子病歷存放在醫院中。換句話說,病患求診時,醫生無法得到病患完整的歷史醫療紀錄,因而缺乏足夠的資訊做出最佳的診斷。另外,由於病患無法擁有自己本身的電子病歷,所以無法在居家住所自行使用需要電子病歷的智慧型醫療器材或其醫療輔助軟體,故具有電子病歷的可用性不佳的問題。In view of this, there is an international standard organization to promote the international standard format. In addition, there are also government agencies to implement a nationally defined standard format to avoid the incompatibility of electronic medical records established by different medical institutions. However, even if all medical institutions use the standard format, the patient's electronic medical records are still scattered in different medical institutions. For example, patients going to the dermatology clinic will produce an electronic medical record in this dermatology department. In the clinic, when the same patient goes to another hospital, another electronic medical record is also stored in the hospital. In other words, when a patient seeks a doctor, the doctor cannot obtain a complete historical medical record of the patient and thus lacks sufficient information to make the best diagnosis. In addition, since patients cannot have their own electronic medical records, they cannot use their own intelligent medical devices or medical aids that require electronic medical records at their homes, so they have a problem of poor usability of electronic medical records.

綜上所述,可知先前技術中長期以來一直存在電子病歷的可用性不佳之問題,因此實有必要提出改進的技術手段,來解決此一問題。In summary, it can be seen that the prior art has long been a problem of poor usability of electronic medical records, so it is necessary to propose improved technical means to solve this problem.

本發明揭露一種基於區塊鏈的電子病歷系統及其方法。The invention discloses a blockchain-based electronic medical record system and a method thereof.

首先,本發明揭露一種基於區塊鏈的電子病歷系統,應用在組成區塊鏈網路的多個節點,每一節點皆具有區塊鏈且處理區塊鏈交易的能力,此系統包含:病患節點及醫師節點。其中,病患節點為節點其中之一,其包含:執行模組及確認模組。所述執行模組用以執行區塊鏈的病歷智能合約以根據儲存在病歷資料地址陣列中的病歷資料智能合約地址讀取相應的病歷資料,並且根據預設的病患私密金鑰解密所述病歷資料以進行傳送;所述確認模組用以接收醫療紀錄智能合約地址以確認醫療紀錄,並且在確認無誤後,透過區塊鏈交易將醫療紀錄智能合約地址儲存至病歷資料地址陣列,以作為所述病歷資料智能合約地址其中之一。Firstly, the present invention discloses a blockchain-based electronic medical record system, which is applied to a plurality of nodes constituting a blockchain network, each of which has a blockchain and processes the blockchain transaction capability, and the system includes: Suffering node and physician node. The patient node is one of the nodes, and includes: an execution module and a confirmation module. The execution module is configured to execute a medical record smart contract of the blockchain to read the corresponding medical record data according to the medical record information smart contract address stored in the medical record data address array, and decrypt the according to the preset patient private key The medical record data is transmitted for receiving; the confirmation module is configured to receive the medical record smart contract address to confirm the medical record, and after confirming the correctness, store the medical record smart contract address through the blockchain transaction to the medical record data address array as One of the medical record information smart contract addresses.

至於所述醫師節點同樣為節點其中之一,其包含:醫療模組、加密模組及交易模組。其中,醫療模組用以自病患節點接收解密的病歷資料以進行顯示,並且在醫療後生成醫療紀錄;加密模組用以根據預設的病患公開金鑰加密醫療紀錄以生成加密紀錄,並且根據預設的醫師憑證對加密紀錄進行簽章;交易模組用以將簽章後的加密紀錄以區塊鏈交易傳送至區塊鏈網路,以及接收區塊鏈網路完成區塊鏈交易後產生的醫療紀錄智能合約地址,並且將醫療紀錄智能合約地址傳送至病患節點。The physician node is also one of the nodes, and includes: a medical module, an encryption module, and a transaction module. The medical module is configured to receive the decrypted medical record data from the patient node for display, and generate a medical record after the medical treatment; the encryption module is configured to encrypt the medical record according to the preset patient public key to generate an encrypted record. And encrypting the encrypted record according to the preset medical certificate; the transaction module is used to transmit the encrypted record after the signature to the blockchain network by the blockchain transaction, and receive the blockchain network to complete the blockchain The medical record smart contract address generated after the transaction and the medical record smart contract address is transmitted to the patient node.

另外,本發明揭露一種基於區塊鏈的電子病歷方法,應用在組成區塊鏈網路的多個節點,每一節點皆具有區塊鏈且處理區塊鏈交易的能力,其步驟包括:提供病患節點及醫師節點,所述病患節點及醫師節點分別為所述節點其中之一;病患節點執行區塊鏈的病歷智能合約以根據儲存在病歷資料地址陣列中的病歷資料智能合約地址讀取相應的病歷資料,並且根據預設的病患私密金鑰解密所述病歷資料以傳送至醫師節點;醫師節點自病患節點接收解密的病歷資料以進行顯示,並且在醫療後生成醫療紀錄;醫師節點根據預設的病患公開金鑰加密醫療紀錄以生成加密紀錄,並且根據預設的醫師憑證對加密紀錄進行簽章;醫師節點將簽章後的加密紀錄以區塊鏈交易傳送至區塊鏈網路,以及接收區塊鏈網路完成區塊鏈交易後產生的醫療紀錄智能合約地址,並且將醫療紀錄智能合約地址傳送至病患節點;病患節點接收醫療紀錄智能合約地址以確認醫療紀錄,並且在確認無誤後,透過區塊鏈交易將醫療紀錄智能合約地址儲存至病歷資料地址陣列,以作為所述病歷資料智能合約地址其中之一。In addition, the present invention discloses an electronic medical record method based on a blockchain, which is applied to a plurality of nodes constituting a blockchain network, each of which has a blockchain and processes the blockchain transaction capability, and the steps include: providing a patient node and a physician node, wherein the patient node and the physician node are respectively one of the nodes; the patient node performs a medical chain smart contract of the blockchain to select a smart contract address based on the medical record data stored in the medical record data address array Reading the corresponding medical record data, and decrypting the medical record data according to the preset patient private key for transmission to the physician node; the physician node receives the decrypted medical record data from the patient node for display, and generates a medical record after the medical treatment The physician node encrypts the medical record according to the preset patient public key to generate an encrypted record, and signs the encrypted record according to the preset medical certificate; the physician node transmits the encrypted record after the signature to the blockchain transaction to Blockchain network, and the medical record smart contract address generated after receiving the blockchain network to complete the blockchain transaction, and will The medical record smart contract address is transmitted to the patient node; the patient node receives the medical record smart contract address to confirm the medical record, and after confirming the correctness, stores the medical record smart contract address through the blockchain transaction to the medical record data address array, As one of the medical contract information smart contract addresses.

本發明所揭露之系統與方法如上,與先前技術的差異在於本發明是透過區塊鏈的智能合約實現電子病歷,使區塊鏈網路中的病患節點能夠從區塊鏈中讀取病歷資料,再將病歷資料傳送至區塊鏈網路中的醫師節點進行顯示,以便用於醫療診斷,接著在醫療後由醫師節點產生醫療紀錄,並且透過區塊鏈交易的方式,將醫療紀錄傳送至區塊鏈網路,以及接收區塊鏈交易後產生的醫療紀錄智能合約地址以傳送至病患節點提供確認醫療紀錄,當病患節點確認後,允許將醫療紀錄加入病歷資料。The system and method disclosed by the present invention are as above, and the difference from the prior art is that the present invention implements an electronic medical record through a smart contract of a blockchain, enabling a patient node in a blockchain network to read medical records from the blockchain. Data, and then transmit the medical record data to the physician node in the blockchain network for display for medical diagnosis, then generate medical records by the physician node after medical treatment, and transmit the medical records through blockchain transactions. The blockchain network and the medical record smart contract address generated after receiving the blockchain transaction are transmitted to the patient node to provide a confirmed medical record. When the patient node confirms, the medical record is allowed to be added to the medical record data.

透過上述的技術手段,本發明可以達成提高電子病歷的可用性之技術功效。Through the above technical means, the present invention can achieve the technical effect of improving the usability of the electronic medical record.

以下將配合圖式及實施例來詳細說明本發明之實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。The embodiments of the present invention will be described in detail below with reference to the drawings and embodiments, so that the application of the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.

在說明本發明所揭露之基於區塊鏈的電子病歷系統及其方法之前,先對本發明所應用的環境作說明,本發明是應用在組成區塊鏈網路的多個節點中,每一節點皆具有區塊鏈,並且用以處理區塊鏈交易(Blockchain Transactions),在實際實施上,這些節點皆為具有網路連線能力且透過點對點(Peer to Peer)方式連接的計算機裝置,例如:伺服器、電腦主機、筆記型電腦、平板電腦等等,用以執行電腦程式指令,如:區塊鏈程式「Ethereum」。特別要說明的是,本發明所述的病患節點及醫師節點分別為所述節點其中之一,其中,病患節點為病患所在位置的節點;醫師節點為醫師所在位置的節點。Before describing the blockchain-based electronic medical record system and method thereof disclosed in the present invention, the environment to which the present invention is applied will be described. The present invention is applied to a plurality of nodes constituting a blockchain network, each node. Each has a blockchain and is used to process blockchain transactions. In actual implementation, these nodes are computer devices with network connection capabilities and connected by peer-to-peer (Peer to Peer), for example: A server, a host computer, a notebook computer, a tablet computer, etc., for executing computer program instructions, such as the blockchain program "Ethereum". Specifically, the patient node and the physician node of the present invention are each one of the nodes, wherein the patient node is a node at a location of the patient; and the physician node is a node at a location where the physician is located.

另外,本發明所述的病歷資料智能合約地址及醫療紀錄智能合約地址皆為智能合約在區塊鏈中的地址,兩者的差異在於,前者所對應的智能合約(即病歷智能合約)已成為病患的電子病歷中的一部分;後者所對應的智能合約則是需要病患確認後才會允許加入病患的電子病歷中。所述智能合約是指依據既定的條件及傳輸的資訊來驅動執行指令的電腦程式,在實際實施上,所述智能合約係透過程式語言,如:Solidity、Serpent、LLL、EtherScript、Sidechain等等來撰寫,其可包含各種不同的函式、參數狀態等等,以區塊鏈程式「Ethereum」為例,其智能合約是經編譯後得到二進位編碼及應用二進位介面(Application Binary Interface, ABI),以便將智能合約廣播至區塊鏈網路,等候礦工(Miner)將智能合約放上區塊鏈並得到相應的地址。之後,便可根據此地址執行相應的智能合約,藉由不同的指令來改變智能合約在區塊鏈上的狀態。In addition, the medical contract information smart contract address and the medical record smart contract address of the present invention are the addresses of the smart contract in the blockchain, and the difference between the two is that the smart contract corresponding to the former (ie, the medical record smart contract) has become Part of the patient's electronic medical record; the latter's smart contract is required to be confirmed by the patient before being allowed to join the patient's electronic medical record. The smart contract refers to a computer program that drives an execution instruction according to a predetermined condition and transmitted information. In actual implementation, the smart contract is through a programming language such as Solidity, Serpent, LLL, EtherScript, Sidechain, etc. Writing, which can include various functions, parameter states, etc., using the blockchain program "Ethereum" as an example, the smart contract is compiled to obtain binary encoding and application Binary Interface (ABI). In order to broadcast the smart contract to the blockchain network, wait for Miner to put the smart contract on the blockchain and get the corresponding address. After that, the corresponding smart contract can be executed according to this address, and the state of the smart contract in the blockchain can be changed by different instructions.

以下配合圖式對本發明基於區塊鏈的電子病歷系統及其方法做進一步說明,請先參閱「第1圖」,「第1圖」為本發明基於區塊鏈的電子病歷系統之系統方塊圖,應用在組成區塊鏈網路10的多個節點100,每一節點100皆具有區塊鏈且處理區塊鏈交易的能力,此系統包含:病患節點110及醫師節點120。在所述病患節點110的部分,其包含:執行模組111及確認模組112。其中,執行模組111用以執行區塊鏈的病歷智能合約,以根據儲存在病歷資料地址陣列(Array)中的病歷資料智能合約地址(Address)讀取相應的病歷資料,並且根據預設的病患私密金鑰解密所述病歷資料以進行傳送。在實際實施上,病患節點110具有一組金鑰對(Key pair),即:病患公開金鑰及病患私密金鑰,並且把病患公開金鑰傳送至醫師節點120或直接發布在區塊鏈上,以供醫師節點120加密資料之用,確保加密後的資料僅能被具有病患私密金鑰的病患節點110解密。另外,在實際實施上,傳送的所述病歷資料還可透過病患私密金鑰進行簽章,以供醫師節點120確認接收到的病歷資料的確是由病患節點110所傳送。The blockchain-based electronic medical record system and method thereof are further described below with reference to the drawings. Please refer to "FIG. 1" first, and "FIG. 1" is a system block diagram of the blockchain-based electronic medical record system of the present invention. Applying to a plurality of nodes 100 constituting the blockchain network 10, each node 100 has a blockchain and handles blockchain transaction capabilities. The system includes a patient node 110 and a physician node 120. The portion of the patient node 110 includes an execution module 111 and a confirmation module 112. The execution module 111 is configured to execute the medical record intelligent contract of the blockchain to read the corresponding medical record data according to the medical record information (Address) stored in the medical record data address array (Array), and according to the preset The patient private key decrypts the medical record data for transmission. In actual implementation, the patient node 110 has a set of key pairs, namely the patient public key and the patient private key, and transmits the patient public key to the physician node 120 or directly posted on On the blockchain, the physician node 120 encrypts the data to ensure that the encrypted data can only be decrypted by the patient node 110 having the patient's private key. In addition, in actual implementation, the transmitted medical record data may also be signed by the patient private key for the physician node 120 to confirm that the received medical record data is indeed transmitted by the patient node 110.

確認模組112用以接收來自醫師節點120的醫療紀錄智能合約地址以確認醫療紀錄,並且在病患確認無誤後,透過區塊鏈交易將醫療紀錄智能合約地址儲存至病歷資料地址陣列,以作為所述病歷資料智能合約地址其中之一。在實際實施上,倘若病患確認醫療紀錄有誤,可忽略接收到醫療紀錄智能合約地址。換句話說,不允許將此醫療紀錄對應的醫療紀錄智能合約地址儲存至病歷資料地址陣列中,如此一來,此醫療紀錄便不會成為電子病歷中的病歷資料,因為只有儲存在病歷資料地址陣列中的地址(即:病歷資料智能合約地址),其對應的資料才會成為電子病歷中的病歷資料。The confirmation module 112 is configured to receive the medical record smart contract address from the physician node 120 to confirm the medical record, and after the patient confirms the error, store the medical record smart contract address through the blockchain transaction to the medical record data address array as One of the medical record information smart contract addresses. In actual implementation, if the patient confirms that the medical record is incorrect, the smart contract address of the medical record can be ignored. In other words, it is not allowed to store the medical record smart contract address corresponding to the medical record in the medical record data address array. As a result, the medical record will not become the medical record data in the electronic medical record, because only the medical record data address is stored. The address in the array (ie, the medical record smart contract address), the corresponding data will become the medical record data in the electronic medical record.

在所述醫師節點120的部分,其包含:醫療模組121、加密模組122及交易模組123。其中,醫療模組121用以自病患節點110接收解密的病歷資料以進行顯示,並且在醫療後生成醫療紀錄。所述醫療紀錄可包含診療、處置或檢查後的紀錄。另外,前面提到,病患節點110傳送的病歷資料還可透過病患私密金鑰進行簽章,因此,醫師節點120可藉由病患公開金鑰進行解密,以確認接收到的病歷資料的確是由病患節點110所傳送。The portion of the physician node 120 includes a medical module 121, an encryption module 122, and a transaction module 123. The medical module 121 is configured to receive the decrypted medical record data from the patient node 110 for display, and generate a medical record after the medical treatment. The medical record may include a record after treatment, treatment, or examination. In addition, as mentioned above, the medical record data transmitted by the patient node 110 can also be signed by the patient's private key. Therefore, the physician node 120 can decrypt the patient's public key to confirm that the medical record data received is confirmed. It is transmitted by the patient node 110.

加密模組122用以根據預設的病患公開金鑰加密醫療紀錄以生成加密紀錄,並且根據預設的醫師憑證對此加密紀錄進行簽章。在實際實施上,所述醫師憑證可由第三方公信憑證單位(例如:台灣網路認證中心)發行,並且提供公鑰查詢服務,所以病患節點110可以驗證簽章,以確保加密紀錄是由相應的醫師節點120所生成。換句話說,醫師憑證可包含醫師憑證私鑰及醫師憑證公鑰,醫師節點120根據醫師憑證私鑰進行簽章,並且提供醫師憑證公鑰給病患節點110,使病患節點110能夠根據醫師憑證公鑰來驗證簽章。在實際實施上,醫師憑證公鑰還可發布在區塊鏈上,提供病患節點110查詢。The encryption module 122 is configured to encrypt the medical record according to the preset patient public key to generate an encrypted record, and sign the encrypted record according to the preset medical certificate. In practical implementation, the medical certificate may be issued by a third-party public certificate unit (for example, a Taiwan Network Authentication Center), and a public key inquiry service is provided, so the patient node 110 can verify the signature to ensure that the encrypted record is correspondingly Generated by the physician node 120. In other words, the physician voucher can include the physician voucher private key and the physician voucher public key, the physician node 120 signs the signature according to the physician voucher private key, and provides the physician voucher public key to the patient node 110 to enable the patient node 110 to be based on the physician The voucher public key is used to verify the signature. In actual implementation, the physician voucher public key can also be published on the blockchain to provide the patient node 110 for enquiry.

交易模組123用以將簽章後的加密紀錄以區塊鏈交易傳送至區塊鏈網路10,以及接收區塊鏈網路10完成區塊鏈交易後產生的醫療紀錄智能合約地址,並且將醫療紀錄智能合約地址傳送至病患節點110。在實際實施上,加密紀錄以區塊鏈交易傳送至區塊鏈網路10會在區塊鏈上產生一個智能合約(即:醫療紀錄智能合約),並且獲得相應的醫療紀錄智能合約地址,當病患節點110將此醫療紀錄智能合約地址儲存至病歷資料地址陣列中時,代表接收醫療紀錄智能合約的內容成為病歷資料的一部分。此時,醫療紀錄智能合約地址就變成病歷資料智能合約地址。The transaction module 123 is configured to transmit the encrypted record after the signature to the blockchain network 10 in the blockchain transaction, and receive the medical record smart contract address generated after the blockchain network 10 completes the blockchain transaction, and The medical record smart contract address is transmitted to the patient node 110. In actual implementation, the encrypted record is transmitted to the blockchain network 10 by blockchain transaction. A smart contract (ie, medical record smart contract) is generated on the blockchain, and the corresponding medical record smart contract address is obtained. When the patient node 110 stores the medical record smart contract address in the medical record data address array, the content representing the smart record receiving the medical record becomes part of the medical record data. At this point, the medical record smart contract address becomes the medical record information smart contract address.

接著,請參閱「第2圖」,「第2圖」為本發明基於區塊鏈的電子病歷方法之方法流程圖,應用在組成區塊鏈網路10的多個節點100,每一節點100皆具有區塊鏈且處理區塊鏈交易的能力,其步驟包括:提供病患節點110及醫師節點120,所述病患節點110及醫師節點120分別為組成區塊鏈網路10的多個節點100其中之一(步驟210);病患節點110執行區塊鏈的病歷智能合約以根據儲存在病歷資料地址陣列中的病歷資料智能合約地址讀取相應的病歷資料,並且根據預設的病患私密金鑰解密所述病歷資料以傳送至醫師節點120(步驟220);醫師節點120自病患節點110接收解密的所述病歷資料以進行顯示,並且在醫療後生成醫療紀錄(步驟230);醫師節點120根據預設的病患公開金鑰加密醫療紀錄以生成加密紀錄,並且根據預設的醫師憑證對此加密紀錄進行簽章(步驟240);醫師節點120將簽章後的加密紀錄以區塊鏈交易傳送至區塊鏈網路,以及接收區塊鏈網路完成區塊鏈交易後產生的醫療紀錄智能合約地址,並且將醫療紀錄智能合約地址傳送至病患節點110(步驟250);病患節點110接收醫療紀錄智能合約地址以確認醫療紀錄,並且在確認無誤後,透過區塊鏈交易將醫療紀錄智能合約地址儲存至病歷資料地址陣列,以作為所述病歷資料智能合約地址其中之一(步驟260)。透過上述步驟,即可透過區塊鏈的智能合約實現電子病歷,使區塊鏈網路10中的病患節點110能夠從區塊鏈中讀取病歷資料,再將病歷資料傳送至區塊鏈網路10中的醫師節點120進行顯示,以便用於醫療診斷,接著在醫療後由醫師節點120產生醫療紀錄,並且透過區塊鏈交易的方式,將醫療紀錄傳送至區塊鏈網路10,以及接收區塊鏈交易後產生的醫療紀錄智能合約地址以傳送至病患節點110提供確認醫療紀錄,當病患節點110確認後,允許將醫療紀錄加入病歷資料。如此一來,可以使病患透過區塊鏈保有自己的電子病歷,並且藉由區塊鏈資料互連互通的特性,將電子病歷中的病歷資料應用在醫療器材或醫療輔助軟體。Next, please refer to "Fig. 2", "Fig. 2" is a flowchart of a method for the electronic medical record method based on the blockchain of the present invention, applied to a plurality of nodes 100 constituting the blockchain network 10, each node 100 Each has a blockchain and handles the ability of the blockchain to be traded, the steps comprising: providing a patient node 110 and a physician node 120, the patient node 110 and the physician node 120 respectively forming a plurality of blockchain networks 10 One of the nodes 100 (step 210); the patient node 110 executes the medical chain smart contract of the blockchain to read the corresponding medical record data according to the medical record information smart contract address stored in the medical record data address array, and according to the preset disease The private key decrypts the medical record data for transmission to the physician node 120 (step 220); the physician node 120 receives the decrypted medical record data from the patient node 110 for display, and generates a medical record after the medical treatment (step 230) The physician node 120 encrypts the medical record according to the preset patient public key to generate an encrypted record, and signs the encrypted record according to the preset physician certificate (step 240); the physician Point 120 transmits the encrypted record after the signature to the blockchain network in blockchain transaction, and receives the medical record smart contract address generated after the blockchain network completes the blockchain transaction, and sets the medical record smart contract address. Transfer to the patient node 110 (step 250); the patient node 110 receives the medical record smart contract address to confirm the medical record, and after confirming the correctness, stores the medical record smart contract address through the blockchain transaction to the medical record data address array, As one of the smart record addresses of the medical record data (step 260). Through the above steps, the electronic medical record can be realized through the intelligent contract of the blockchain, so that the patient node 110 in the blockchain network 10 can read the medical record data from the blockchain, and then transmit the medical record data to the blockchain. The physician node 120 in the network 10 performs display for medical diagnosis, then generates a medical record by the physician node 120 after medical treatment, and transmits the medical record to the blockchain network 10 via blockchain transactions. And receiving the medical record smart contract address generated after the blockchain transaction is transmitted to the patient node 110 to provide a confirmed medical record, and when the patient node 110 confirms, the medical record is allowed to be added to the medical record data. In this way, patients can maintain their own electronic medical records through the blockchain, and the medical records in the electronic medical records can be applied to medical equipment or medical auxiliary software through the characteristics of blockchain data interconnection.

以下配合「第3圖」至「第5圖」以實施例的方式進行如下說明,請先參閱「第3圖」,「第3圖」為應用本發明於病患節點讀取病歷資料之示意圖。假設位於病患節點110的病患欲讀取區塊鏈的病歷資料,並且將讀取到的病歷資料傳送至醫師節點120,其可透過病患操作視窗300在病歷地址輸入框310中輸入病患自己本身所擁有的病歷智能合約在區塊鏈中的地址(即:病歷資料智能合約地址),例如:「0xcee285f6eb0a3cf918891117272a7bec686cf996」,以便在點選載入元件311後,藉由輸入的地址從區塊鏈中讀取病歷資料並顯示於病歷資料顯示區塊320中。在實際實施上,從區塊鏈中讀取到的病歷資料是經過病患公開金鑰加密的資料,因此,在顯示於病歷資料顯示區塊320之前,會先以與病患公開金鑰對應的病患私密金鑰進行解密,以便成功將解密後的病歷資料顯示於病歷資料顯示區塊320中。如此一來,即可確保其他人無法僅藉由病歷智能合約地址讀取病歷資料,還必須擁有相應的病患私密金鑰才能正確解密。The following is a description of the following examples in conjunction with "3" to "5". Please refer to "3" and "3" for the purpose of reading the medical records at the patient node using the present invention. . It is assumed that the patient at the patient node 110 wants to read the medical record data of the blockchain and transmit the read medical record data to the physician node 120, which can enter the disease in the medical record address input box 310 through the patient operation window 300. Suffering from the address of the medical record smart contract that he owns in the blockchain (ie: medical record information smart contract address), for example: "0xcee285f6eb0a3cf918891117272a7bec686cf996", after clicking the load component 311, by inputting the address from the block The medical record data is read in the chain and displayed in the medical record data display block 320. In actual implementation, the medical record data read from the blockchain is encrypted by the patient's public key, and therefore, before being displayed in the medical record data display block 320, the medical record key corresponding to the patient is first displayed. The patient's private key is decrypted to successfully display the decrypted medical record data in the medical record display block 320. In this way, you can ensure that other people can't read medical records only by medical record smart contract address, and they must have the corresponding patient private key to decrypt correctly.

接下來,倘若要將解密後的病歷資料傳送至醫師節點120。病患可以透過如「第3圖」所示意的醫師節點地址輸入框330輸入醫師節點120的統一資源標識符(Uniform Resource Identifier, URI),例如:「enode://82498ed4295f1ce8fd6273f18b201c68c7ae9a76b47d35a7d740d2264d78bd120052fda79ae03a35c17875a55c8e35395146c118fa90b5e25c7bf91d6a5980e4@192.168.1.1:30303」,並且以游標或觸控方式點選傳送元件331以進行傳送。其中,「82498ed4295f1ce8fd6273f18b201c68c7ae9a76b47d35a7d740d2264d78bd120052fda79ae03a35c17875a55c8e35395146c118fa90b5e25c7bf91d6a5980e4」為醫師節點120的公開金鑰、「192.168.1.1」為醫師節點120的網路位址,以及「30303」為通訊埠號。Next, the decrypted medical record data is transmitted to the physician node 120. The patient can input the Uniform Resource Identifier (URI) of the physician node 120 through the physician node address input box 330 as shown in FIG. 3, for example: "enode://82498ed4295f1ce8fd6273f18b201c68c7ae9a76b47d35a7d740d2264d78bd120052fda79ae03a35c17875a55c8e35395146c118fa90b5e25c7bf91d6a5980e4@192.168.1.1:30303 And, the transport element 331 is clicked by cursor or touch to transmit. Among them, "82498ed4295f1ce8fd6273f18b201c68c7ae9a76b47d35a7d740d2264d78bd120052fda79ae03a35c17875a55c8e35395146c118fa90b5e25c7bf91d6a5980e4" is the public key of the physician node 120, "192.168.1.1" is the network address of the physician node 120, and "30303" is the communication nickname.

如「第4圖」所示意,「第4圖」為應用本發明於醫師節點產生醫療紀錄之示意圖。前面提到,解密後的病歷資料會傳送至醫師節點120。在實際實施上,醫師節點120會將接收到的病歷資料顯示在醫師操作視窗400中的病歷資料顯示區塊410,位於醫師節點120的醫師可透過顯示的病歷資料做為醫療診斷的參考,並且在醫療後於醫療紀錄區塊420輸入相關紀錄(即:醫師因執行醫療業務所記載的文書紀錄)以生成醫療紀錄,倘若因誤繕而欲重新記錄,可點選編輯元件431以進行編輯。接著,在生成醫療紀錄後,可點選簽章元件432以便先根據預設的病患公開金鑰加密此醫療紀錄來生成加密紀錄,接著再將加密紀錄以預設的醫師憑證進行簽章,以供確認此加密紀錄是由此醫師節點120所生成。最後,便可點選傳送元件433將簽章後的加密紀錄以區塊鏈交易的方式傳送至區塊鏈網路10,由區塊鏈網路10進行區塊鏈交易處理,並且接收區塊鏈網路10完成區塊鏈交易後產生的醫療紀錄智能合約地址,以便將醫療紀錄智能合約地址傳送至病患節點110,提供病患確認相應的醫療紀錄。在實際實施上,當醫師節點120接收到醫療紀錄智能合約地址後,還可產生如「第4圖」所示意的顯示視窗450,用以顯示醫療紀錄智能合約地址,以便醫師能夠透過此醫療紀錄智能合約地址從區塊鏈查詢及確認其生成的醫療紀錄。As shown in "Fig. 4", "Fig. 4" is a schematic diagram of the application of the present invention to the medical record at the physician node. As mentioned above, the decrypted medical record data is transmitted to the physician node 120. In actual implementation, the physician node 120 displays the received medical record data in the medical record display block 410 in the physician operation window 400, and the medical record located at the physician node 120 can be used as a reference for medical diagnosis through the displayed medical record data, and After the medical treatment, the relevant record is entered in the medical record block 420 (i.e., the physician records the document recorded by the medical service) to generate a medical record. If the record is to be re-recorded due to mistakes, the editing component 431 can be clicked for editing. Then, after the medical record is generated, the signature component 432 can be clicked to first encrypt the medical record according to the preset patient public key to generate an encrypted record, and then the encrypted record is signed with the preset physician certificate. For confirmation of this encrypted record is generated by this physician node 120. Finally, the transmission component 433 can be clicked to transmit the signed encrypted record to the blockchain network 10 in a blockchain transaction, and the blockchain network 10 performs blockchain transaction processing and receives the block. The chain network 10 completes the medical record smart contract address generated after the blockchain transaction to transmit the medical record smart contract address to the patient node 110 to provide the patient with the corresponding medical record. In actual implementation, when the physician node 120 receives the medical record smart contract address, a display window 450 as shown in FIG. 4 can be generated to display the medical record smart contract address so that the physician can pass the medical record. The smart contract address queries and confirms the medical records generated by the blockchain.

如「第5圖」所示意,「第5圖」為應用本發明於病患節點確認醫療紀錄之示意圖。以上例而言,病患節點110接收到醫師節點120傳送的醫療紀錄智能合約地址之後,可如「第5圖」所示意產生確認視窗500,用以顯示醫療紀錄智能合約地址510,以及在顯示區塊520中顯示此醫療紀錄智能合約地址510相應的醫療紀錄。假設病患確認醫療紀錄無誤,可點選確認元件531以透過區塊鏈交易將醫療紀錄智能合約地址510儲存在病歷智能合約的病歷資料地址陣列中,作為此陣列中所儲存的其中一個病歷資料智能合約地址。如此一來,往後在執行病歷智能合約時,從病歷資料地址陣列中即可讀取對應此醫療紀錄智能合約地址510的病歷資料。反之,倘若病患確認醫療紀錄有誤,可點選異議元件532以忽略此醫療紀錄智能合約地址510,如此一來,醫療紀錄智能合約地址510就不會被加入病歷資料地址陣列中,造成其對應的醫療紀錄無法寫入病患的電子病歷中,也就是說,醫療紀錄智能合約地址510對應的醫療紀錄在區塊鏈中,相當於是一份沒有人會去讀取的資料。As shown in "figure 5", "figure 5" is a schematic diagram for confirming medical records at the patient node using the present invention. In the above example, after receiving the medical record smart contract address transmitted by the physician node 120, the patient node 110 may generate a confirmation window 500 as shown in "figure 5" for displaying the medical record smart contract address 510 and displaying The corresponding medical record of the medical record smart contract address 510 is displayed in block 520. Assuming that the patient confirms that the medical record is correct, the confirmation component 531 can be clicked to store the medical record smart contract address 510 in the medical record smart address address array of the medical record smart contract through the blockchain transaction as one of the medical record data stored in the array. Smart contract address. In this way, when the medical record smart contract is executed, the medical record data corresponding to the medical record smart contract address 510 can be read from the medical record data address array. Conversely, if the patient confirms that the medical record is incorrect, click on the objection component 532 to ignore the medical record smart contract address 510. As a result, the medical record smart contract address 510 will not be added to the medical record address array, resulting in The corresponding medical record cannot be written into the patient's electronic medical record. That is to say, the medical record corresponding to the medical record smart contract address 510 is equivalent to a piece of information that no one will read.

綜上所述,可知本發明與先前技術之間的差異在於透過區塊鏈的智能合約實現電子病歷,使區塊鏈網路中的病患節點能夠從區塊鏈中讀取病歷資料,再將病歷資料傳送至區塊鏈網路中的醫師節點進行顯示,以便用於醫療診斷,接著在醫療後由醫師節點產生醫療紀錄,並且透過區塊鏈交易的方式,將醫療紀錄傳送至區塊鏈網路,以及接收區塊鏈交易後產生的醫療紀錄智能合約地址以傳送至病患節點提供確認醫療紀錄,當病患節點確認後,允許將醫療紀錄加入病歷資料,藉由此一技術手段可以解決先前技術所存在的問題,進而達成提高電子病歷的可用性之技術功效。In summary, it can be seen that the difference between the present invention and the prior art is that the electronic medical record is realized through the intelligent contract of the blockchain, so that the patient node in the blockchain network can read the medical record data from the blockchain, and then The medical record data is transmitted to the physician node in the blockchain network for display for medical diagnosis, then the medical record is generated by the physician node after the medical treatment, and the medical record is transmitted to the block through the blockchain transaction. The chain network and the medical record smart contract address generated after receiving the blockchain transaction are transmitted to the patient node to provide a confirmed medical record. When the patient node confirms, the medical record is allowed to be added to the medical record data, thereby using a technical means The problem of the prior art can be solved, thereby achieving the technical effect of improving the usability of the electronic medical record.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。While the present invention has been described above in the foregoing embodiments, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The scope of patent protection shall be subject to the definition of the scope of the patent application attached to this specification.

10‧‧‧區塊鏈網路10‧‧‧ Blockchain network

100‧‧‧節點100‧‧‧ nodes

110‧‧‧病患節點110‧‧‧patient node

111‧‧‧執行模組111‧‧‧Execution module

112‧‧‧確認模組112‧‧‧Confirmation module

120‧‧‧醫師節點120‧‧‧Physician node

121‧‧‧醫療模組121‧‧‧ medical module

122‧‧‧加密模組122‧‧‧Encryption Module

123‧‧‧交易模組123‧‧‧Transaction module

300‧‧‧病患操作視窗300‧‧‧patient operation window

310‧‧‧病歷地址輸入框310‧‧‧ medical record address input box

311‧‧‧載入元件311‧‧‧Loading components

320‧‧‧病歷資料顯示區塊320‧‧‧ medical record data display block

330‧‧‧醫師節點地址輸入框330‧‧‧Physician node address input box

331‧‧‧傳送元件331‧‧‧Transmission components

400‧‧‧醫師操作視窗400‧‧‧Physician operating window

410‧‧‧病歷資料顯示區塊410‧‧‧ medical record data display block

420‧‧‧醫療紀錄區塊420‧‧ medical record block

431‧‧‧編輯元件431‧‧‧editing components

432‧‧‧簽章元件432‧‧‧Signature components

433‧‧‧傳送元件433‧‧‧Transmission components

450‧‧‧顯示視窗450‧‧‧Display window

500‧‧‧確認視窗500‧‧‧Confirmation window

510‧‧‧醫療紀錄智能合約地址510‧‧ medical record smart contract address

520‧‧‧顯示區塊520‧‧‧Display block

531‧‧‧確認元件531‧‧‧Confirmation component

532‧‧‧異議元件532‧‧‧Dissident components

步驟210‧‧‧提供一病患節點及一醫師節點,該病患節點及該醫師節點分別為組成一區塊鏈網路的多個節點其中之一Step 210 ‧ ‧ provides a patient node and a physician node, the patient node and the physician node are respectively one of a plurality of nodes constituting a blockchain network

步驟220‧‧‧該病患節點執行區塊鏈的一病歷智能合約以根據儲存在一病歷資料地址陣列中的至少一病歷資料智能合約地址讀取相應的至少一病歷資料,並且根據預設的一病患私密金鑰解密所述病歷資料以傳送至該醫師節點Step 220‧‧ The patient node performs a medical record smart contract of the blockchain to read the corresponding at least one medical record data according to at least one medical record intelligent contract address stored in an array of medical record data addresses, and according to a preset A patient private key decrypts the medical record data for transmission to the physician node

步驟230‧‧‧該醫師節點自該病患節點接收解密的所述病歷資料以進行顯示,並且在醫療後生成一醫療紀錄Step 230‧‧ The physician node receives the decrypted medical record data from the patient node for display, and generates a medical record after the medical treatment

步驟240‧‧‧該醫師節點根據預設的一病患公開金鑰加密該醫療紀錄以生成一加密紀錄,並且根據預設的一醫師憑證對該加密紀錄進行簽章Step 240‧‧ The physician node encrypts the medical record according to a preset patient public key to generate an encrypted record, and signs the encrypted record according to a preset medical certificate

步驟250‧‧‧該醫師節點將簽章後的該加密紀錄以區塊鏈交易傳送至該區塊鏈網路,以及接收該區塊鏈網路完成區塊鏈交易後產生的一醫療紀錄智能合約地址,並且將該醫療紀錄智能合約地址傳送至該病患節點Step 250‧‧‧ The physician node transmits the encrypted record after the signature to the blockchain network in a blockchain transaction, and receives a medical record intelligence generated after the blockchain network completes the blockchain transaction Contract address and transfer the medical record smart contract address to the patient node

步驟260‧‧‧該病患節點接收該醫療紀錄智能合約地址以確認該醫療紀錄,並且在確認無誤後,透過區塊鏈交易將該醫療紀錄智能合約地址儲存至該病歷資料地址陣列,以作為所述病歷資料智能合約地址其中之一Step 260‧‧ The patient node receives the medical record smart contract address to confirm the medical record, and after confirming the correctness, stores the medical record smart contract address through the blockchain transaction to the medical record data address array as One of the medical record information smart contract addresses

第1圖為本發明基於區塊鏈的電子病歷系統之系統方塊圖。 第2圖為本發明基於區塊鏈的電子病歷方法之方法流程圖。 第3圖為應用本發明於病患節點讀取病歷資料之示意圖。 第4圖為應用本發明於醫師節點產生醫療紀錄之示意圖。 第5圖為應用本發明於病患節點確認醫療紀錄之示意圖。1 is a block diagram of a system based on a blockchain-based electronic medical record system of the present invention. 2 is a flow chart of a method for an electronic medical record method based on a blockchain according to the present invention. Figure 3 is a schematic diagram of reading medical records at a patient node using the present invention. Figure 4 is a schematic diagram of the application of the present invention to the generation of medical records at a physician node. Figure 5 is a schematic diagram of the application of the present invention to confirm medical records at a patient node.

Claims (10)

一種基於區塊鏈的電子病歷系統,應用在組成一區塊鏈網路的多個節點,每一節點皆具有一區塊鏈且處理區塊鏈交易的能力,該系統包含: 一病患節點,該病患節點為所述節點其中之一,其包含: 一執行模組,用以執行該區塊鏈的一病歷智能合約以根據儲存在一病歷資料地址陣列中的至少一病歷資料智能合約地址讀取相應的至少一病歷資料,並且根據預設的一病患私密金鑰解密所述病歷資料以進行傳送;以及 一確認模組,用以接收一醫療紀錄智能合約地址以確認一醫療紀錄,並且在確認無誤後,透過區塊鏈交易將該醫療紀錄智能合約地址儲存至該病歷資料地址陣列,以作為所述病歷資料智能合約地址其中之一;以及 一醫師節點,該醫師節點為所述節點其中之一,其包含: 一醫療模組,用以自該病患節點接收解密的所述病歷資料以進行顯示,並且在醫療後生成該醫療紀錄; 一加密模組,用以根據預設的一病患公開金鑰加密該醫療紀錄以生成一加密紀錄,並且根據預設的一醫師憑證對該加密紀錄進行簽章;以及 一交易模組,用以將簽章後的該加密紀錄以區塊鏈交易傳送至該區塊鏈網路,以及接收該區塊鏈網路完成區塊鏈交易後產生的該醫療紀錄智能合約地址,並且將該醫療紀錄智能合約地址傳送至該病患節點。A blockchain-based electronic medical record system is applied to a plurality of nodes forming a blockchain network, each node having a blockchain and processing blockchain transaction capability, the system comprising: a patient node The patient node is one of the nodes, and includes: an execution module, configured to execute a medical record smart contract of the blockchain to be based on at least one medical record intelligent contract stored in an array of medical record data addresses The address reads the corresponding at least one medical record data, and decrypts the medical record data according to a preset patient private key for transmission; and a confirmation module for receiving a medical record smart contract address to confirm a medical record And after confirming the error, storing the medical record smart contract address through the blockchain transaction to the medical record data address array as one of the medical record information smart contract addresses; and a physician node, the physician node is One of the nodes, comprising: a medical module for receiving the decrypted medical record data from the patient node for display, and Generating the medical record after the medical treatment; an encryption module for encrypting the medical record according to a preset patient public key to generate an encrypted record, and signing the encrypted record according to a preset medical certificate And a transaction module for transmitting the encrypted record after the signature to the blockchain network in a blockchain transaction, and receiving the medical record generated after the blockchain network completes the blockchain transaction The smart contract address and the medical record smart contract address is transmitted to the patient node. 根據申請專利範圍第1項之基於區塊鏈的電子病歷系統,其中該病患節點具有一組金鑰對,該組金鑰對包含該病患公開金鑰及該病患私密金鑰,並且預先將該病患公開金鑰傳送至該醫師節點。A blockchain-based electronic medical record system according to claim 1, wherein the patient node has a set of key pairs, the set of key pairs including the patient public key and the patient private key, and The patient public key is transmitted to the physician node in advance. 根據申請專利範圍第1項之基於區塊鏈的電子病歷系統,其中該執行模組在傳送所述病歷資料之前,根據該病患私密金鑰對所述病歷資料進行加密,用以完成對所述病歷資料的簽章。The blockchain-based electronic medical record system according to claim 1, wherein the execution module encrypts the medical record data according to the patient private key before transmitting the medical record data, to complete the The signature of the medical record information. 根據申請專利範圍第1項之基於區塊鏈的電子病歷系統,其中該醫師憑證包含一醫師憑證私鑰及一醫師憑證公鑰,該加密模組根據該醫師憑證私鑰進行簽章,並且提供該醫師憑證公鑰,使該病患節點根據該醫師憑證公鑰驗證簽章。The blockchain-based electronic medical record system according to claim 1, wherein the physician voucher includes a physician voucher private key and a physician voucher public key, and the encryption module performs signature according to the physician voucher private key and provides The physician credentials the public key so that the patient node verifies the signature based on the physician voucher public key. 根據申請專利範圍第1項之基於區塊鏈的電子病歷系統,其中該病患私密金鑰、該病患公開金鑰及該醫師憑證係為第三方公信憑證單位生成及核發,並且將該病患公開金鑰及該醫師憑證的一醫師憑證公鑰寫入該區塊鏈以供查詢。The blockchain-based electronic medical record system according to claim 1, wherein the patient private key, the patient public key, and the physician certificate are generated and issued by a third party public credit certificate unit, and the disease is A physician voucher public key with the public key and the physician voucher is written to the blockchain for inquiry. 一種基於區塊鏈的電子病歷方法,應用在組成一區塊鏈網路的多個節點,每一節點皆具有一區塊鏈且處理區塊鏈交易的能力,其步驟包括: 提供一病患節點及一醫師節點,該病患節點及該醫師節點分別為所述節點其中之一; 該病患節點執行該區塊鏈的一病歷智能合約以根據儲存在一病歷資料地址陣列中的至少一病歷資料智能合約地址讀取相應的至少一病歷資料,並且根據預設的一病患私密金鑰解密所述病歷資料以傳送至該醫師節點; 該醫師節點自該病患節點接收解密的所述病歷資料以進行顯示,並且在醫療後生成一醫療紀錄; 該醫師節點根據預設的一病患公開金鑰加密該醫療紀錄以生成一加密紀錄,並且根據預設的一醫師憑證對該加密紀錄進行簽章; 該醫師節點將簽章後的該加密紀錄以區塊鏈交易傳送至該區塊鏈網路,以及接收該區塊鏈網路完成區塊鏈交易後產生的一醫療紀錄智能合約地址,並且將該醫療紀錄智能合約地址傳送至該病患節點;以及 該病患節點接收該醫療紀錄智能合約地址以確認該醫療紀錄,並且在確認無誤後,透過區塊鏈交易將該醫療紀錄智能合約地址儲存至該病歷資料地址陣列,以作為所述病歷資料智能合約地址其中之一。A blockchain-based electronic medical record method is applied to a plurality of nodes constituting a blockchain network, each node having a blockchain and processing blockchain transaction capability, and the steps thereof include: providing a patient a node and a physician node, wherein the patient node and the physician node are respectively one of the nodes; the patient node executes a medical record smart contract of the blockchain to be stored according to at least one of an array of medical record data addresses The medical record information smart contract address reads the corresponding at least one medical record data, and decrypts the medical record data according to a preset patient private key for transmission to the physician node; the physician node receives the decrypted from the patient node The medical record data is displayed for display, and a medical record is generated after the medical treatment; the medical node encrypts the medical record according to a preset patient public key to generate an encrypted record, and the encrypted record is according to a preset medical certificate Signing the signature; the physician node transmits the encrypted record after the signature to the blockchain network in blockchain transaction, and receives the blockchain network Forming a medical record smart contract address generated after the blockchain transaction, and transmitting the medical record smart contract address to the patient node; and the patient node receives the medical record smart contract address to confirm the medical record, and After the confirmation is correct, the medical record smart contract address is stored into the medical record data address array through the blockchain transaction as one of the medical record information smart contract addresses. 根據申請專利範圍第6項之基於區塊鏈的電子病歷方法,其中該病患節點具有一組金鑰對,該組金鑰對包含該病患公開金鑰及該病患私密金鑰,並且預先將該病患公開金鑰傳送至該醫師節點。A blockchain-based electronic medical record method according to claim 6 wherein the patient node has a set of key pairs, the set of key pairs including the patient public key and the patient private key, and The patient public key is transmitted to the physician node in advance. 根據申請專利範圍第6項之基於區塊鏈的電子病歷方法,其中該病患節點在傳送所述病歷資料之前,根據該病患私密金鑰對所述病歷資料進行加密,用以完成對所述病歷資料的簽章。The blockchain-based electronic medical record method according to claim 6, wherein the patient node encrypts the medical record data according to the patient private key before transmitting the medical record data to complete the The signature of the medical record information. 根據申請專利範圍第6項之基於區塊鏈的電子病歷方法,其中該醫師憑證包含一醫師憑證私鑰及一醫師憑證公鑰,該醫師節點根據該醫師憑證私鑰進行簽章,並且提供該醫師憑證公鑰,使該病患節點根據該醫師憑證公鑰驗證簽章。The blockchain-based electronic medical record method according to claim 6, wherein the physician voucher includes a physician voucher private key and a physician voucher public key, the physician node performs signature according to the physician voucher private key, and provides the The physician credentials the public key so that the patient node verifies the signature based on the physician voucher public key. 根據申請專利範圍第6項之基於區塊鏈的電子病歷方法,其中該病患私密金鑰、該病患公開金鑰及該醫師憑證係為第三方公信憑證單位生成及核發,並且將該病患公開金鑰及該醫師憑證的一醫師憑證公鑰寫入該區塊鏈以供查詢。The blockchain-based electronic medical record method according to claim 6 of the patent application scope, wherein the patient private key, the patient public key, and the physician certificate are generated and issued by a third party public credit certificate unit, and the disease is caused A physician voucher public key with the public key and the physician voucher is written to the blockchain for inquiry.
TW106102077A 2017-01-20 2017-01-20 Electronic medical record system based on blockchain and method thereof TWI661433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106102077A TWI661433B (en) 2017-01-20 2017-01-20 Electronic medical record system based on blockchain and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106102077A TWI661433B (en) 2017-01-20 2017-01-20 Electronic medical record system based on blockchain and method thereof

Publications (2)

Publication Number Publication Date
TW201828242A true TW201828242A (en) 2018-08-01
TWI661433B TWI661433B (en) 2019-06-01

Family

ID=63960076

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106102077A TWI661433B (en) 2017-01-20 2017-01-20 Electronic medical record system based on blockchain and method thereof

Country Status (1)

Country Link
TW (1) TWI661433B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109545301A (en) * 2018-11-23 2019-03-29 浙江工商大学 Shared electronic health record method based on block chain Hyperledger Fabric
CN109949882A (en) * 2018-11-15 2019-06-28 陕西医链区块链集团有限公司 A kind of medical treatment block chain data-storage system
EP3605945A1 (en) * 2018-08-03 2020-02-05 Dovetail Digital Limited Method and system for exchanging data
TWI700707B (en) * 2018-11-28 2020-08-01 臺北醫學大學 Method and system for retrieving electronic medical and health records by blockchain
TWI708199B (en) * 2018-09-14 2020-10-21 宏達國際電子股份有限公司 Method and system for sharing private data based on smart contracts
TWI714181B (en) * 2018-12-29 2020-12-21 開曼群島商創新先進技術有限公司 Visual blockchain browser
CN112786137A (en) * 2021-02-03 2021-05-11 北京好欣晴移动医疗科技有限公司 Psychiatric department electronic medical record system based on big data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201218010A (en) * 2010-10-20 2012-05-01 Wen-Qin Chen for ensuring integrity of electronic medical record content without tampering after completion
CN105812126B (en) * 2016-05-19 2018-10-12 齐鲁工业大学 Lightweight backup and the efficient restoration methods of healthy block chain data encryption key

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3605945A1 (en) * 2018-08-03 2020-02-05 Dovetail Digital Limited Method and system for exchanging data
TWI708199B (en) * 2018-09-14 2020-10-21 宏達國際電子股份有限公司 Method and system for sharing private data based on smart contracts
CN109949882A (en) * 2018-11-15 2019-06-28 陕西医链区块链集团有限公司 A kind of medical treatment block chain data-storage system
CN109545301A (en) * 2018-11-23 2019-03-29 浙江工商大学 Shared electronic health record method based on block chain Hyperledger Fabric
TWI700707B (en) * 2018-11-28 2020-08-01 臺北醫學大學 Method and system for retrieving electronic medical and health records by blockchain
TWI714181B (en) * 2018-12-29 2020-12-21 開曼群島商創新先進技術有限公司 Visual blockchain browser
CN112786137A (en) * 2021-02-03 2021-05-11 北京好欣晴移动医疗科技有限公司 Psychiatric department electronic medical record system based on big data

Also Published As

Publication number Publication date
TWI661433B (en) 2019-06-01

Similar Documents

Publication Publication Date Title
TWI661433B (en) Electronic medical record system based on blockchain and method thereof
US11144660B2 (en) Secure data sharing
US11665147B2 (en) Blockchain systems and methods for user authentication
CN111448565B (en) Data authorization based on decentralised identification
US20210287770A1 (en) Electronic patient credentials
US20190229927A1 (en) Method and apparatus for processing account information in block chain, storage medium, and electronic apparatus
US20190074968A1 (en) Method, apparatus and system for data encryption and decryption
CN111527489A (en) Data authorization based on decentralized identity
EP3872670A1 (en) Method and apparatus for sharing data based on blockchain network, device, and medium
CN110600096A (en) Medical data management method and system and computer storage medium
US20230379155A1 (en) Identity Information Processing Method, Device, and System
CN112259178A (en) Block chain network-based diagnosis method and device and block chain network system
US20220286275A1 (en) Method and system for the atomic exchange of blockchain assets using transient key pairs
Sethia et al. Smart health record management with secure NFC-enabled mobile devices
CN110414253A (en) A kind of electronic health record management method, device, system and equipment based on block chain
WO2022089518A1 (en) Address generation method, blockchain information processing method, and related device
Vinodhini et al. A patient-centric doctor referral model based on hyperledger chaincode
JP7475494B2 (en) Method and apparatus for blockchain-based transaction tracking
JP2015035199A (en) Data communication system, communication terminal device, and communication program
US20240127942A1 (en) Systems and methods for sharing healthcare data with healthcare data processors
US20230109125A1 (en) Automated Transactions Across Multiple Blockchains with Cryptocurrency Swaps
JP2020079891A (en) Program, storage medium, information processing device, and information processing method
JP2024058632A (en) SYSTEM AND METHOD FOR SHARING HEALTHCARE DATA WITH HEALTHCARE DATA PROCESSOR - Patent
CN113658663A (en) Prescription information transfer method and device, electronic equipment and storage medium
Abdulnabi A Secure Approach for Health Information Exchange Using Mobile Personal Health Records