preface_schema: ‘1.0’ title: ‘The HealthChain Blockchain for Electronic Health Records: Development Study’ source_type: ‘Academic’ publisher: ‘Ieee’ publishing_date: ‘2022’ authors: [‘Peng Zhang’, ‘Fatos Xhafa’, ‘Dong Zheng’, ‘Taro Ueno’, ‘Yonggang Xiao’, ‘Bin Xu’, ‘Wenhao Jiang’, ‘Yunjun Wu’, ‘Chongqing Aerospace Polytechnic’, ‘Xianning Road’, ‘Received 2019 Jan 31’, ‘Revised 2019 Sep 23’] available_at: ‘https://doi.org/10.2196/13556:’ keywords: [‘electronic health record’, ‘distributed ledger’, ‘privacy preservation’, ‘proof of authority’, ‘chaincode application programming interface’] abstract: ‘Background Health care professionals are required to maintain accurate health records of patients. Furthermore, these records should be shared across different health care organizations for professionals to have a complete review of medical history and avoid missing important infor‐ mation. Nowadays, health care providers use electronic health records (EHRs) as a key to the implementation of these goals and delivery of quality care. However, there are technical and legal hurdles that prevent the adoption of these systems, such as concerns about performance and privacy issues. Objective 1 1 2 3 1 2 3 > [Image 1]: [Image: vision model returned empty description] > [Image 2]: [Image: could not be described — vision model error] ---‘
Page 1
and privacy issues. Objective 1 1 2 3 1 2 3 > [Image 1]: [Image: vision model returned empty description] > [Image 2]: [Image: could not be described — vision model error] ---‘
Page 1
02/10/2022, 16:11 1/20 J Med Internet Res. 2021 Jan; 23(1): e13556. Published online 2021 Jan 22. doi: 10.2196/13556: 10.2196/13556 PMCID: PMC7864769 PMID: 33480851 The HealthChain Blockchain for Electronic Health Records: Development Study Monitoring Editor: Kevin Clauson and Peng Zhang Reviewed by Qi Xia, Fatos Xhafa, Dong Zheng, and Taro Ueno Yonggang Xiao, PhD, Bin Xu, PhD, Wenhao Jiang, PhD, and Yunjun Wu, PhD School of Computer Science and Technology, Hubei University of Science and Technology, Xianning, China Chongqing Aerospace Polytechnic, Chongqing, China School of Computer Science and Technology, Chongqing University of Posts and Telecommunications, Chongqing, China Bin Xu, School of Computer Science and Technology, Hubei University of Science and Technology, Xianning Road, Xianning, 437000, China, Phone: 86 13986628202, Email: jwcxb@hbust.edu.cn. Corresponding author. Corresponding Author: Bin Xu jwcxb@hbust.edu.cn Received 2019 Jan 31; Revisions requested 2019 Apr 27; Revised 2019 Sep 23; Accepted 2019 Dec 8. Copyright ©Yonggang Xiao, Bin Xu, Wenhao Jiang, Yunjun Wu. Originally published in the Journal of Medical Internet Research (http://www.jmir.org), 22.01.2021. This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research, is properly cited. The complete bibliographic information, a link to the original publication on http://www.jmir.org/, as well as this copyright and license information must be included. Abstract Background Health care professionals are required to maintain accurate health records
publication on http://www.jmir.org/, as well as this copyright and license information must be included. Abstract Background Health care professionals are required to maintain accurate health records of patients. Furthermore, these records should be shared across different health care organizations for professionals to have a complete review of medical history and avoid missing important infor‐ mation. Nowadays, health care providers use electronic health records (EHRs) as a key to the implementation of these goals and delivery of quality care. However, there are technical and legal hurdles that prevent the adoption of these systems, such as concerns about performance and privacy issues. Objective 1 1 2 3 1 2 3
[Image 1]: [Image: vision model returned empty description]
[Image 2]: [Image: could not be described — vision model error]
Page 2
02/10/2022, 16:11 2/20 This study aimed to build and evaluate an experimental blockchain for EHRs, named HealthChain, which overcomes the disadvantages of traditional EHR systems. Methods HealthChain is built based on consortium blockchain technology. Specifically, three organiza‐ tions, namely hospitals, insurance providers, and governmental agencies, form a consortium that operates under a governance model, which enforces the business logic agreed by all par‐ ticipants. Every peer node hosts an instance of the distributed ledger consisting of EHRs and an instance of chaincode regulating the permissions of participants. Designated orderers es‐ tablish consensus on the order of EHRs and then disseminate blocks to peers. Results HealthChain achieves functional and nonfunctional requirements. It can store EHRs in a dis‐ tributed ledger and share them among different participants. Moreover, it demonstrates supe‐ rior features, such as privacy preservation, security, and high throughput. These are the main reasons why HealthChain is proposed. Conclusions Consortium blockchain technology can help t
ates supe‐ rior features, such as privacy preservation, security, and high throughput. These are the main reasons why HealthChain is proposed. Conclusions Consortium blockchain technology can help to build new EHR systems and solve the problems that prevent the adoption of traditional systems. Keywords: electronic health record, distributed ledger, privacy preservation, proof of authority, chaincode application programming interface Introduction It has long been believed that electronic health records (EHRs) should be maintained across time and space, and could be accessed at any time and any place within the law [1]. In the first stage of digitization, we store a patient’s medical history within the jurisdiction of a health care provider irrespective whether electronic medical records (EMRs) are on a local server [2] or in the cloud [3]. Such EMR systems have no essential difference with old-fashioned paper- based ones, since information technology just takes the management of medical records from paper folders to hard drives. EMRs do not travel out of a practice [4], and they make their way to other practices by faxes or signed documents, which is time consuming. In the second stage, authorized doctors and staff create, manage, and consult EHRs across more than one health care organization, allowing interoperability between disparate EHR sys‐ tems [5]. That is, EHRs possess the ability to share medical information among health care providers and follow a patient’s information across multiple health care organizations [6]. In the United States, EHR exchange involves a common platform, the Nationwide Health Information Network, which is a set of standards, services, and policies that enable secure health information exchange over the internet [7].
Page 3
a common platform, the Nationwide Health Information Network, which is a set of standards, services, and policies that enable secure health information exchange over the internet [7].
Page 3
02/10/2022, 16:11 3/20 However, there are technical and legal hurdles that prevent the adoption of these systems. First, these systems perform poorly in terms of data availability, data integrity, and retrieval rate when EHRs are stored under a distributed or institution-centric model [8]. Second, people always worry about the issues of privacy and data breaches [9] when EHRs are beyond their control, even if health care providers and governmental agencies claim that these systems are Health Insurance Portability and Accountability Act (HIPAA) compliant [10]. After all, 11,581,616,452 records have been breached since 2005, and this has been reported through either government agencies or verifiable media sources [11]. Third, patient-reported data do not always get recorded in a patient’s EHRs since doctor-patient communication is not always possible, which impacts the quality of care [12]. Therefore, a kind of patient-reporting mecha‐ nism is needed for precision medicine [13]. In this paper, HealthChain is proposed to address the above-mentioned issues. It is a blockchain [14-16] for EHRs, that is, a growing list of blocks that consist of records and are linked using a cryptographic hash [17]. The blockchain has several advantages. First, the blockchain is a distributed peer-to-peer database where data availability, data integrity, and re‐ sponse time are guaranteed [18,19]. Blockchains can facilitate Internet of Things security in eHealth [20]. Second, the blockchain operates under a governance model, which enforces the business logic agreed by all participants. Therefore, we can exploit a smart contract or chain‐ code to regulate the access control policy [21-23] and achieve HIPAA compliance. Third, the blockchain is managed collectively by its stakeholders,
erefore, we can exploit a smart contract or chain‐ code to regulate the access control policy [21-23] and achieve HIPAA compliance. Third, the blockchain is managed collectively by its stakeholders, some of whom have the right to record data in the block that cannot be altered retroactively [24]. In our design, even patients can re‐ port personal health records (PHRs) [5] on the ledger. From our perspective, applying blockchain technology to EHR systems denotes the advent of the third stage of digitization. Specifically, the proposed HealthChain is different from other EHR blockchains owing to the following features. First, HealthChain is a consortium blockchain [25]. Multiple organizations, namely hospitals, insurance providers, and governmental agencies, come together to form the consortium. The business logic is determined by the governance model that is agreed by the consortium at the beginning, rather than the trustless model of other medical blockchains [26- 28]. Second, HealthChain performs well in the following aspects: data availability, data integrity, and retrieval success rate, that is, HealthChain is always online even if a few servers crash. Genuine EHRs are stored since they are signed by valid stakeholders. We can successfully ac‐ cess the ledger anytime because of load balancing. Third, HealthChain uses proof of authority (PoA) as its consensus protocol. Designated, authenticated, and trustworthy orderers are re‐ sponsible for generating valid blocks, that is, as long as the blocks are signed by one of these orderers, they are accepted by all participants. PoA is different from other consensus proto‐ cols, such as proof of work [21,29,30] and Practical Byzantine Fault Tolerance (PBFT) [31-33]. Fourth, different users possess different chaincode application programming interfaces (APIs) in HealthChain, which is specified by the governance model. Therefore, we can define the way that users interact with the ledger and achieve the access cont
e application programming interfaces (APIs) in HealthChain, which is specified by the governance model. Therefore, we can define the way that users interact with the ledger and achieve the access control policy. Fifth, HealthChain per‐ forms well in the experimental environment. This paper uses the following four metrics to evaluate performance: read latency, read throughput, transaction latency, and transaction throughput [34]. In this paper, we build a consortium blockchain for EHRs, named HealthChain, which has ad‐ vantages over traditional EHR systems and other medical blockchains recently proposed. Moreover, we evaluate the performance of HealthChain through blockchain-specific metrics.
Page 4
02/10/2022, 16:11 4/20 Methods Diagram of HealthChain The consortium consists of the following three kinds of organizations: hospitals, insurance providers, and governmental agencies. Our experimental HealthChain comprises two of each type, as shown in Figure 1. Peers A and B are servers owned by two respective hospitals, and they serve client applications of the following three kinds of users: doctors (such as Alice and Betty), lab technicians, and nurses. Peers C and D are servers contributed by two respective insurance providers, and they serve clients for auditors. Peers E and F are servers belonging to two respective governmental agencies, and they serve client applications of the following five kinds of users: regulators, patients, family members, researchers, and emergency staff. Besides, governmental agencies contribute one orderer and three certificate authorities (CAs) for three kinds of organizations. Note that these servers can reside in the cloud, in the data center of the organizations, or on a single machine. Although there is no centralized node in the HealthChain network, the organizations come to‐ gether under the governance model, which regulates the behavior of all actors such as peers and users. The governance model reflects the busine
in the HealthChain network, the organizations come to‐ gether under the governance model, which regulates the behavior of all actors such as peers and users. The governance model reflects the business logic of health care in real scenarios. It specifies the way that users interact with the ledger, and enables the privacy and confidentiality of EHRs. HealthChain implements the governance model via the combination of a membership service provider (MSP), chaincode, and consensus protocol. These components are explained below, and we introduce the roles of all nodes constituting the network. CAs are trusted authorities, generating certificates and key material for actors. The MSP is im‐ plemented by these CAs, as the generated certificates can provide information about valid identities for an organization. Moreover, all actors in HealthChain can be verified by each other, and the MSP helps achieve fine-grained access and trace behavior of actors. Peers make up the physical structure of our network. The distributed ledger and chaincode are shared among them, as illustrated in Figure 1. They are both endorsing and committing peers in HealthChain. As endorsing peers, they are designated by the consortium to execute chaincode in simulation. The chaincode implements APIs, which are divided into different groups granted to different users [32], that is, the chaincode specifies who has what access permissions to which part of the ledger and implements the fine-grained access required by law [1]. In Figure 1, we list APIs for doctors, patients, regulators, and researchers. As committing peers, they validate blocks and commit them to their copies of the ledger. Most importantly, they check the identity of who executes the EHR request and the identity of who packages EHR transactions into a block. This is why the consensus protocol adopted in HealthChain is called PoA. Orderers are trusted by all organizations, and they are responsible for ordering EHRs into a block on a firs
ions into a block. This is why the consensus protocol adopted in HealthChain is called PoA. Orderers are trusted by all organizations, and they are responsible for ordering EHRs into a block on a first-come-first-serve basis. The signature of the block writer (ie, the orderer) is contained in the block. Prior to the commitment, the peers must make sure that the signature comes from an authenticated and authorized orderer, that is, the validity of a block depends on the identity of the orderer.
Page 5
02/10/2022, 16:11 5/20 Identities and Anonymization CAs dispense X.509 certificates to identify servers and clients. X.509 certificates are used in the lifecycle of transactions. For example, the EHR request contains the certificate of a client. Meanwhile, the EHR response includes the certificate of an endorsing server. When enforcing the access control of HealthChain, the chaincode extracts the certificate from the transaction request, acquires the identity of the client, and queries whether the access is authorized. Considering privacy preservation, the identities of patients and health care providers need to be anonymized when researchers access the ledger via the APIs for them. During the anonymization, we use the hash of identities instead of the identities themselves. Thus, the identities are kept private, but the relationship between patients and health care providers is retained. Specifically, SHA256 is adopted as it is the default hash algorithm in Hyperledger Fabric. The hash of the patient ID combined with the timestamp is calculated. The purpose of introducing the timestamp is to prevent getting the same hash among queries. Access Rights of Users HealthChain is a distributed and append-only ledger shared among many users with different access rights. To achieve a delicate balance between privacy and availability, fine-grained access to the ledger is implemented. Figure 2 illustrates the following access rights of users in HealthChain: write permis
To achieve a delicate balance between privacy and availability, fine-grained access to the ledger is implemented. Figure 2 illustrates the following access rights of users in HealthChain: write permission, read permission, authorization permission, and read permis‐ sion with EHRs anonymized. Patients manage and control access to the PHRs, conceptually including patient-reported infor‐ mation and EHRs. The former includes various contents, such as demographics, allergies, and monitoring data collected from instruments [5]. The latter refers to medical records updated by doctors and staff. Patients can authorize their family members or health care providers to write and read their health information [35], reducing the risk of data replication and tracking possible trends and changes in their health. Doctors, nurses, emergency staff, and lab technicians manage and control access to the EHRs updated by themselves. Furthermore, they can use or disclose protected health information for treatment, payment, or health care operations without patients’ authorization [36]. Therefore, they have authorization permission to grant write or read permission to other cov‐ ered entities, whereby the EHRs are shared across health care organizations. Regulators and insurance providers only have read permission to the ledger. Regulators, such as the Department of Health & Human Services, ensure that the business logic of HealthChain has been respected well, and all participants behave appropriately. When there is a dispute, they can make decisions based on the ledger, which is tamper-resistant and unforgeable [37]. Insurance providers process medical claims and evaluate their validity according to the records on HealthChain. Researchers are engaged in public health activities such as disease surveillance. HealthChain can provide trustworthy data for this purpose because of the transparency of the data aggre‐ gation process [32]. However, the data on the ledger should be anonymi
disease surveillance. HealthChain can provide trustworthy data for this purpose because of the transparency of the data aggre‐ gation process [32]. However, the data on the ledger should be anonymized before being used for privacy preservation.
Page 6
02/10/2022, 16:11 6/20 Implementation of the Authorization The authorization is represented by a tree data structure, as shown in Figure 3. All access rights are authorized from the patient (ie, the root of the tree). Parent nodes grant child nodes permissions such as read, write, and authorization. For example, the patient grants all three permissions to doctor Alice, and doctor Alice grants all three permissions to doctor Betty, and so on. Besides, the other three roles (ie, regulator, auditor, and researcher) have only read ac‐ cess to the ledger. While the tree data structure is the logical design of the authorization, the records or transactions on the ledger are its physical implementation. The algorithm addressing authentication and authorization is presented in Figure 4, and it is implemented by the chaincode. The key parts are the three decision symbols, representing the prerequisites for the success of transactions. First, only consortium members can access the ledger; others have no right at all. Second, different types of users have different access per‐ missions for chaincode APIs, even in the same consortium. Third, a user cannot access the data of another if the former is not authorized by the latter. For example, if a person named Carl would like to submit an encounter note about a patient named Steve, he needs to satisfy the following three conditions: he is from a hospital within the consortium, he is a doctor, and he has authorization from Steve. Types and Lifecycle of EHRs There are different kinds of EHRs submitted by different users. For the sake of brevity, Figure 5 lists only four of them, illustrating the data structures of the demographics, encounter note, test result, and aut
ferent kinds of EHRs submitted by different users. For the sake of brevity, Figure 5 lists only four of them, illustrating the data structures of the demographics, encounter note, test result, and authorization record. For example, the encounter note includes the fol‐ lowing fields: patient ID, patient name, doctor ID, chief complaint, physical examination, assess‐ ment, and plan. Every EHR corresponds to a transaction, which needs to be executed and eventually included in the ledger. All EHRs have the same lifecycle [16], which is illustrated in Figure 6 and is ex‐ plained as follows:
- When Doctor Alice needs to record an encounter note on the ledger, her client application sends an EHR request to the endorsing peer. The request is formatted as a remote procedure call through chaincode APIs [38].
- The endorsing peer checks the validity of the incoming request (the format, the signature, and the access permission). Thereafter, the request is processed by the chaincode, which outputs an EHR response, including returned value, read set, and write set.
- Alice’s client checks the signature of the incoming response, assembles the response and the signature into an EHR transaction, and sends the transaction to an orderer.
- The orderer simply receives transactions from all clients (including Alice’s client), orders them chronologically, and creates a block of transactions. Thereafter, the orderer delivers the block to all peers in the network.
- Every peer checks the validity of the incoming block, including the signature and the version number. After that, the block is committed to the ledger and so is the EHR submitted by Alice.
Page 7
y peer checks the validity of the incoming block, including the signature and the version number. After that, the block is committed to the ledger and so is the EHR submitted by Alice.
Page 7
02/10/2022, 16:11 7/20 Structure of the Ledger The ledger is the database of EHRs across time and space. As shown in Figure 7, it is struc‐ tured as interlinked blocks, each of which contains chronologically ordered EHR transactions. A block consists of the following three sections: header, EHR transactions, and metadata. The header comprises the block number, the previous block hash, and the current block hash. The EHR transactions are submitted by users such as doctors and patients. The metadata com‐ prises the timestamp, as well as the certificate and signature of an orderer. Besides, an EHR transaction consists of the following six fields: the transaction ID, the chaincode name, the EHR request, the EHR response, and the signatures of the user and peer. The previous block hash of block n+1 is equal to the current block hash of block n, such that the blocks are interlinked; hence, the name blockchain. The biggest difference between HealthChain and other blockchains is that blocks do not need to contain a nonce field to achieve the given pattern of cryptographic hash values. The validity of the block is only depen‐ dent on PoA, instead of proof of work. Thus, HealthChain can achieve low transaction latency. Results Experimental Environment The prototype of HealthChain is implemented with Hyperledger Fabric v1.4.1, an enterprise- grade permissioned distributed ledger platform [16]. It is deployed on a machine with an Intel Xeon E5-26xx v4 2.4 GHz CPU and 2 GB RAM running Ubuntu 16.04.1 LTS. All servers are built with Docker 18.06.1-ce, that is, all peers and orderers are virtualized into containers sharing the hardware and the operating system kernel [39]. The HealthChain network is created by Docker Compose, a tool for defining and running multicontainer Docke
rs are virtualized into containers sharing the hardware and the operating system kernel [39]. The HealthChain network is created by Docker Compose, a tool for defining and running multicontainer Docker applications [40]. Besides, the two parameters of batch timeout and batch size have a high impact on the perfor‐ mance of HealthChain. The former denotes the maximum time to wait before creating a block, and the latter is the maximum number of EHR transactions in a block. No matter which one is satisfied first, the block is generated. This paper tests the performance of HealthChain with the parameters varying. We ran every transaction three times, and the average values of latency and throughput are provided in the paper. Example of the Working of HealthChain In this section, we present an example to illustrate how HealthChain works. Note that all tasks are completed through our chaincode APIs described in Figure 1. The medical data are ex‐ tracted from a previous report [41]. First, the patient client of Steve Apple prepares personal information. Consequently, the follow‐ ing demographic record is committed to the ledger.
[Image 1]: [Image: could not be described — vision model error]
Page 8
e prepares personal information. Consequently, the follow‐ ing demographic record is committed to the ledger.
[Image 1]: [Image: could not be described — vision model error]
Page 8
02/10/2022, 16:11 8/20 Second, when Steve decides to see a doctor named Carl Savem, he submits an authorization record to grant permissions for health care. Thus, the doctor is able to perform read, write, and even authorization operations on the ledger. Third, after knowing Steve’s feelings about the health state and doing a medical examination, Carl enters the diagnosis and the instruction for treatment. Fourth, to check whether there is a change in the lipid profile, Carl also writes an authorization record to order a test provided by a technician named John Doe. Finally, John Doe puts the following report on the ledger. Besides, when researchers read the above encounter note, the anonymization scheme in HealthChain takes effect, resulting in the following record. The first three items are the hashes of corresponding items in the original record and timestamps. Security Test We test the security of HealthChain from three aspects. First, a patient tries to access the ledger on an unavailable server, peer E. The below command queries the encounter notes about the patient with ID equal to P01, but it fails due to the unavailability of peer E, whose do‐ main name is peer0.org3.health.com. After peer0.org3.health.com is replaced with peer0.org1.health.com, that is, the domain name of peer A, the command runs successfully since peer A is still available. Second, an invalid user tries to access the ledger. However, this operation is immediately de‐ nied by the system since the identity cannot be authenticated. After we delete the digital certifi‐ cate of Steve Apple, the above command fails, and the below information is returned.
[Image 1]: [Image: could not be described — vision model error]
ed. After we delete the digital certifi‐ cate of Steve Apple, the above command fails, and the below information is returned.
[Image 1]: [Image: could not be described — vision model error]
[Image 2]: This photograph shows a table with medical patient information. The main subject is a clinical record listing details like patient name Steve Apple, diagnosis Sub optimal
[Image 3]: [Image: could not be described — vision model error]
[Image 4]: [Image: could not be described — vision model error]
[Image 5]: The photograph shows a digital table with medical information, including alphanumeric codes in the top rows and patient details like “routine follow-up, no complaints” and “Sub optimal sugar” in the lower rows. The table has a white background with black text and gray grid lines. The main subject is a medical record summary for a patient visit.
[Image 6]: The photograph displays a command line instruction for invoking a peer chaincode in a blockchain system. The main subject is the detailed command syntax used in Hyperledger Fabric, including parameters for TLS configuration, channel name, and function arguments. The setting is a terminal interface with black text on a white background. The command specifies network addresses, certificate files, and arguments for a specific operation.
Page 9
rguments. The setting is a terminal interface with black text on a white background. The command specifies network addresses, certificate files, and arguments for a specific operation.
Page 9
02/10/2022, 16:11 9/20 Third, a doctor tries to tamper with an EHR. However, the history of the EHR is recorded on the ledger. We can query the history of the encounter note about P01. It is easy to figure out that “physicalExamination” has changed from “no acute distress” to “acute distress.” In conclusion, HealthChain performs well in several aspects, namely data availability, access control, and data integrity. Test Scenario: A Single Read The read operation refers to retrieving or querying EHRs, and there is no change to the ledger. Users may read the EHRs submitted by themselves or others. We can give some use cases here. Doctors query the demographics of a patient or the diagnoses from former doctors. Patients read medical notes from doctors or lab results from lab technicians [24]. Insurance providers inspect EHRs to validate the necessity of them. Read latency is the time between when the EHR read request is submitted and when the EHR response is returned, corresponding to steps 1 and 2 in Figure 6. Table 1 shows the example data of a single read operation under different parameter condi‐ tions. It can be seen that HealthChain has the read latency of about 0.1 s irrespective of the pa‐ rameters. For example, the first row shows the process of a read operation when Doctor Alice retrieves an EHR from peer A. She sends an EHR request at 0 s, peer A finishes retrieving at 0.136 s, and an EHR response is returned to her at 0.142 s. Therefore, the read latency of 0.142 s is obtained with batch timeout equal to 20 s and batch size equal to 1000. The two pa‐ rameters are irrelevant since there is no block generated during the read process. Test Scenario: Concurrent Reads Usually, many users read from the ledger simultaneously and the read operations
a‐ rameters are irrelevant since there is no block generated during the read process. Test Scenario: Concurrent Reads Usually, many users read from the ledger simultaneously and the read operations are executed in overlapping time periods. For example, doctors, patients, and insurance providers may read EHRs from the ledger concurrently in accordance with their needs. Read throughput is ob‐ tained by the number of read operations completed in a specific time period, indicated as reads per second (RPS). Table 2 shows the example data of 1000 concurrent reads under different parameter condi‐ tions. It can be observed that every server of HealthChain has a read throughput of around 10 RPS in spite of varying parameters. For example, the first row shows the process of 1000 con‐ current read operations when users try to retrieve EHRs from peer A at the same time. The
[Image 1]: [Image: could not be described — vision model error]
[Image 2]: The photograph displays a block of structured text data, likely medical records, with fields such as patient ID, doctor ID, and clinical notes. The main subject is the digital text content, presented on a plain background. The setting is a digital interface, and the colors are primarily black text on a white background. This text appears to be a JSON or similar format containing patient information and medical assessments.
Page 10
ital interface, and the colors are primarily black text on a white background. This text appears to be a JSON or similar format containing patient information and medical assessments.
Page 10
02/10/2022, 16:11 10/20 first EHR request happens at 0 s, peer A finishes the 1000th read at 97.513 s, and the 1000th response happens at 97.521 s. Therefore, the read throughput reaches 10.259 RPS with batch timeout of 20 s and batch size of 1000. The two parameters are irrelevant as no block is writ‐ ten on the ledger. Furthermore, the read throughput of the whole network is the summation of the throughput of all peers as the read operations on one peer are independent of those on another. Test Scenario: A Single Write The write operation refers to submitting EHRs to the ledger, and there are changes involved. Users may create and submit EHRs regarding a patient. We can list some use cases here. Doctors create encounter notes after meeting with patients or progress notes during the course of a hospitalization. Patients update demographics or report their clinical status [22]. Lab technicians report test results. Transaction latency is the time between when an EHR write request is submitted and when the EHR transaction is widely available in the network, corre‐ sponding to all five steps in Figure 6. Table 3 shows the example data of a single write operation with different parameter condi‐ tions. It can be seen that the transaction latency depends on the two parameters. For example, the first row shows the process of a write operation when doctor Alice submits an EHR to the ledger. She sends an EHR request at 0 s, peer A endorses the EHR at 0.118 s, and the orderer generates a block containing the EHR transaction at 20.166 s. Subsequently, six peers sepa‐ rately commit the block to the ledger at 20.370 s, 20.352 s, 20.379 s, 20.379 s, 20.363 s, and 20.379 s. Therefore, the EHR transaction is available on all peers at the latest time, namely 20.379 s. Conseque
commit the block to the ledger at 20.370 s, 20.352 s, 20.379 s, 20.379 s, 20.363 s, and 20.379 s. Therefore, the EHR transaction is available on all peers at the latest time, namely 20.379 s. Consequently, the transaction latency of 20.379 s is obtained with batch timeout of 20 s and batch size of 1000. We explain the transaction latency in Table 3. In the first and third cases, the orderer has to wait for 20 s and 2 s, respectively, before creating a block because there is only one incoming EHR transaction that needs to be packaged into the block and the batch timeout occurs first. In the second case, the batch size is 1 and there happens to be one EHR transaction, so the batch size is satisfied first, and the orderer does not have to wait for 20 s before creating the block. Test Scenario: Concurrent Writes Usually, many users write to the ledger simultaneously and the write operations are executed in overlapping time periods. For example, doctors, patients, and lab technicians may write EHRs to the ledger concurrently as needed. Transaction throughput is calculated by the num‐ ber of EHR transactions committed by the network in a specific time period, expressed as transactions per second (TPS). Table 4 shows the example data of 1000 concurrent writes with different parameter condi‐ tions. It can be seen that the transaction throughput is determined by the two parameters. For example, the first row shows the process of 1000 concurrent write operations when users try to submit EHRs to the ledger at the same time. The first EHR request occurs at 0 s, peer A fin‐ ishes the 1000th endorsement at 132.224 s, and the orderer generates the last block at 139.930 s. Subsequently, six peers of the network separately commit the last block at 141.498
Page 11
�� ishes the 1000th endorsement at 132.224 s, and the orderer generates the last block at 139.930 s. Subsequently, six peers of the network separately commit the last block at 141.498
Page 11
02/10/2022, 16:11 11/20 s, 141.936 s, 141.933 s, 141.400 s, 141.042 s, and 141.976 s. Therefore, the 1000 EHR transac‐ tions are available on all peers at the latest time, namely 141.976 s. Consequently, the transac‐ tion throughput reaches 7.043 TPS with batch timeout of 20 s and batch size of 1000. We can account for the transaction throughput in Table 4. In the first case, blocks are created every 20 s. Because it takes more than 20 s for 1000 transactions to come, the batch timeout happens first. In the second case, blocks are created every EHR transaction since the batch size is 1. In the third case, blocks are created every 10 EHR transactions. Because it takes less than 2 s for 10 transactions to come, the batch size happens first. It can be observed that the trans‐ action throughput is inversely proportional to the number of blocks generated. Generating more blocks increases the likelihood of network congestion caused by the gossip protocol [16]. Discussion Features of HealthChain Based on the content that we have covered, the features of HealthChain are summarized as fol‐ lows. First, HealthChain is permissioned. Unlike with a public permissionless network, all users like doctors and patients are certificated by the MSP and therefore are identifiable to each other, rather than anonymous and fully untrusted. Unauthorized or unknown users are not al‐ lowed to access the ledger. Second, HealthChain is immutable, that is, once EHRs have been added to the chain, they cannot be changed. This append-only property depends on the fact that the blocks are interlinked via hash references. Thus, HealthChain is the authoritative source of patients’ treatment history. Third, HealthChain is transparent. Health care stakehold‐ ers come together to constitute th
nked via hash references. Thus, HealthChain is the authoritative source of patients’ treatment history. Third, HealthChain is transparent. Health care stakehold‐ ers come together to constitute the blockchain network, and none of them controls the whole system. Every operation initiated by users is checked against the governance model, which reg‐ ulates and monitors the behavior of all actors. Furthermore, EHRs like encounter notes and lab results are shared among covered users, who know what is going on during the course of treatment. Fourth, HealthChain is HIPAA compliant with the privacy rule and security rule. Privacy policies are implemented through chaincode. The use of patient information is denied without authorization. Patients have final control over the EHRs, and they can grant write and read permissions to other covered entities. Besides, HealthChain exploits the Transport Layer Security (TLS) protocol to provide communication security over the network [16]. Fifth, HealthChain is scalable. Not all peers are involved in the transaction execution, and not all or‐ derers are involved in the block generation. Therefore, parallel transaction execution and block generation are allowed, and HealthChain can easily support more nodes, though there are only six peers and one orderer in our experimental environment. Sixth, HealthChain has good performance. Even in our experimental environment, the read latency was about 0.1 s, and the read throughput of every peer was about 10 RPS. HealthChain achieves a transaction latency of about 0.4 s with batch size of 1, and it supports a transaction throughput of about 7 TPS with batch timeout of 20 s and batch size of 1000. In contrast, Bitcoin and Ethereum take 600 s and 10 s, respectively, to write a transaction on the ledger [42]. Parameter Setting
Page 12
PS with batch timeout of 20 s and batch size of 1000. In contrast, Bitcoin and Ethereum take 600 s and 10 s, respectively, to write a transaction on the ledger [42]. Parameter Setting
Page 12
02/10/2022, 16:11 12/20 Performance of HealthChain is affected by many variables such as network size and limits of the hardware. Here, we discuss two parameters that we configure in the experiments, that is, batch timeout and batch size. To achieve good performance, we should adjust batch timeout considering the permitted maxi‐ mum transaction latency and set the batch size according to the rate indicating how many EHR transactions are submitted to the orderer during a specific period. The two parameters should be separately proportional to the permitted latency and the rate. As shown in the experiments, HealthChain obtains the lowest transaction latency when there is only one EHR transaction and the batch size is set to 1. It achieves the highest transaction throughput when there are 1000 transactions and the batch size is 1000. Limitations The prototype of HealthChain has two disadvantages. First, the only orderer causes a single point of failure. If the orderer fails, EHR transactions cannot be ordered into a block, causing failure of the entire system. To address this problem, we can deploy an ordering service con‐ sisting of a set of ordering service nodes and a Kafka cluster with its ZooKeeper ensemble [16]. This will help to not only build a crash fault-tolerant system but also increase the perfor‐ mance owing to load balancing. Second, the read latency increases with the growth of the ledger. The ledger is implemented as a file on the disk considering the append-only write operation. At the same time, the read oper‐ ation is also common in HealthChain. However, EHRs may scatter over the file with time, result‐ ing in difficulty in searching for them. To solve the problem, we can create an index of patients on the ledger, making the read operation fa
wever, EHRs may scatter over the file with time, result‐ ing in difficulty in searching for them. To solve the problem, we can create an index of patients on the ledger, making the read operation fast. Conclusions In this study, we built and evaluated HealthChain, which is an EHR consortium blockchain that operates under a governance model. It ensures data availability and data integrity. It provides chaincode APIs to accommodate the requirements from different clients and implements fine- grained access control. Besides, a way to anonymize EHRs is introduced. HealthChain adopts PoA as its consensus algorithm. The functionality of HealthChain was observed in the experi‐ ments. We described the performance of the system through latency and throughput. Acknowledgments The authors would like to acknowledge the support of Doctoral Top Talents Program of CQUPT under Grant BYJS2016004. The authors also thank the instructor Tao Wu for his comments on the paper. Abbreviations
Page 13
to acknowledge the support of Doctoral Top Talents Program of CQUPT under Grant BYJS2016004. The authors also thank the instructor Tao Wu for his comments on the paper. Abbreviations
Page 13
02/10/2022, 16:11 13/20 API application programming interface CA certificate authority EHR electronic health record EMR electronic medical record HIPAA Health Insurance Portability and Accountability Act MSP membership service provider PBFT Practical Byzantine Fault Tolerance PHR personal health record PoA proof of authority RPS reads per second TPS transactions per second Footnotes Conflicts of Interest: None declared. References
- HITECH Act Enforcement Interim Final Rule. US Department of Health & Human Services. [2018-12-16]. https://www.hhs.gov/sites/default/files/ocr/privacy/hipaa/administrative/enforcementrule/enfifr.pdf webcite.
- Neal D. Choosing an electronic health records system: professional liability considerations. Innov Clin Neurosci. 2011 Jun;8(6):43–5. http://europepmc.org/abstract/MED/21779542. [PMCID: PMC3140898] [PubMed: 21779542]
- Xhafa F, Li J, Zhao G, Li J, Chen X, Wong DS. Designing cloud-based electronic health record system with attribute- based encryption. Multimed Tools Appl. 2014 Feb 11;74(10):3441–3458. doi: 10.1007/s11042-013-1829-6. [CrossRef: 10.1007/s11042-013-1829-6]
- McMullen PC, Howie WO, Philipsen N, Bryant VC, Setlow PD, Calhoun M, Green ZD. Electronic Medical Records and Electronic Health Records: Overview for Nurse Practitioners. The Journal for Nurse Practitioners. 2014 Oct;10(9):660–
- doi: 10.1016/j.nurpra.2014.07.013. [CrossRef: 10.1016/j.nurpra.2014.07.013]
- Defining Key Health Information Technology Terms. US National Alliance for Health Information Technology. [2019-1- 19]. http://www.nachc.org/wp-content/uploads/2016/03/Key-HIT-Terms-Definitions-Final_April_2008.pdf webcite.
Page 14
gy Terms. US National Alliance for Health Information Technology. [2019-1- 19]. http://www.nachc.org/wp-content/uploads/2016/03/Key-HIT-Terms-Definitions-Final_April_2008.pdf webcite.
Page 14
02/10/2022, 16:11 14/20 6. Heart T, Ben-Assuli O, Shabtai I. A review of PHR, EMR and EHR integration: A more personalized healthcare and public health policy. Health Policy and Technology. 2017 Mar;6(1):20–25. doi: 10.1016/j.hlpt.2016.08.002. [CrossRef: 10.1016/j.hlpt.2016.08.002] 7. Valle J, Gomes C, Godby T, Coustasse A. The Feasibility of the Nationwide Health Information Network. The Health Care Manager. 2016;35(2):103–112. doi: 10.1097/hcm.0000000000000101. [PubMed: 27111681] [CrossRef: 10.1097/hcm.0000000000000101] 8. Lapsia V, Lamb K, Yasnoff WA. Where should electronic records for patients be stored? Int J Med Inform. 2012 Dec;81(12):821–7. doi: 10.1016/j.ijmedinf.2012.08.008. [PubMed: 23021932] [CrossRef: 10.1016/j.ijmedinf.2012.08.008] 9. Kierkegaard P. Medical data breaches: Notification delayed is notification denied. Computer Law & Security Review. 2012 Apr;28(2):163–183. doi: 10.1016/j.clsr.2012.01.003. [CrossRef: 10.1016/j.clsr.2012.01.003] 10. Summary of the HIPAA Privacy Rule. US Department of Health & Human Services. [2018-12-22]. https://www.hhs.gov/sites/default/files/privacysummary.pdf webcite. 11. Chronology of data breaches. Privacy Rights Clearinghouse. [2018-12-22]. https://www.privacyrights.org/data- breaches webcite. 12. Holman T. Patient-reported data often excluded from EHR documentation. SearchHealthIT. [2018-12-22]. https://searchhealthit.techtarget.com/blog/Health-IT-Pulse/Patient-reported-data-often-excluded-from-EHR- documentation webcite. 13. Shae Z, Tsai J. Transform blockchain into distributed parallel computing architecture for precision medicine. 38th International Conference on Distributed Computing Systems (ICDCS); July 2-6,2018; Vienna, Austria. 2018. pp. 1290– 1299. [CrossRef: 10.1109/icdcs.2018.00129] 14. Nakamoto
or precision medicine. 38th International Conference on Distributed Computing Systems (ICDCS); July 2-6,2018; Vienna, Austria. 2018. pp. 1290– 1299. [CrossRef: 10.1109/icdcs.2018.00129] 14. Nakamoto S. Bitcoin: A peer-to-peer electronic cash system. Bitcoin. [2018-12-23]. https://bitcoin.org/bitcoin.pdf webcite. 15. Buterin V. A next-generation smart contract and decentralized application platform. Ethereum White Paper. [2018- 12-23]. https://cdn.relayto.com/media/files/QFTNsr6YSYCE9zyamwis_EthereumWhitePaper.pdf webcite. 16. A blockchain platform for the enterprise. Hyperledger Fabric. [2018-12-23]. https://hyperledger- fabric.readthedocs.io/en/latest/index.html webcite. 17. Narayanan A, Bonneau J, Felten E. Bitcoin and Cryptocurrency Technologies: A Comprehensive Introduction. Princeton, New Jersey, United States: Princeton University Press; 2016. 18. Drescher D. A Non-Technical Introduction in 25 Steps. New York, New York, United States: Apress; 2017. 19. Yli-Huumo J, Ko D, Choi S, Park S, Smolander K. Where Is Current Research on Blockchain Technology?-A Systematic Review. PLoS One. 2016 Oct 3;11(10):e0163477. doi: 10.1371/journal.pone.0163477. https://dx.plos.org/10.1371/journal.pone.0163477. [PMCID: PMC5047482] [PubMed: 27695049] [CrossRef: 10.1371/journal.pone.0163477] 20. Minoli D, Occhiogrosso B. Blockchain mechanisms for IoT security. Internet of Things. 2018 Sep;1-2:1–13. doi: 10.1016/j.iot.2018.05.002. [CrossRef: 10.1016/j.iot.2018.05.002] 21. Azaria A, Ekblaw A, Vieira T. MedRec: Using Blockchain for Medical Data Access and Permission Management. 2nd International Conference on Open and Big Data (OBD); August 22-24, 2016; Vienna, Austria. 2016. pp. 25–30. [CrossRef: 10.1109/obd.2016.11]
Page 15
Data Access and Permission Management. 2nd International Conference on Open and Big Data (OBD); August 22-24, 2016; Vienna, Austria. 2016. pp. 25–30. [CrossRef: 10.1109/obd.2016.11]
Page 15
02/10/2022, 16:11 15/20 22. Rifi N, Rachkidi E, Agoulmine N, Taher NC. Towards using blockchain technology for eHealth data access management. Fourth International Conference on Advances in Biomedical Engineering (ICABME); October 19-21, 2017; Beirut, Lebanon. 2017. [CrossRef: 10.1109/ICABME.2017.8167555] 23. Hyperledger Architecture, Volume II: Smart Contracts. Hyperledger Architecture Working Group. [2018-12-23]. https://www.hyperledger.org/wp-content/uploads/2018/04/Hyperledger_Arch_WG_Paper_2_SmartContracts.pdf webcite. 24. Balsari S, Fortenko A, Blaya JA, Gropper A, Jayaram M, Matthan R, Sahasranam R, Shankar M, Sarbadhikari SN, Bierer BE, Mandl KD, Mehendale S, Khanna T. Reimagining Health Data Exchange: An Application Programming Interface- Enabled Roadmap for India. J Med Internet Res. 2018 Jul 13;20(7):e10725. doi: 10.2196/10725. https://www.jmir.org/2018/7/e10725/ [PMCID: PMC6064038] [PubMed: 30006325] [CrossRef: 10.2196/10725] 25. Buterin V. On public and private blockchains. Ethereum Foundation. 2015. [2018-12-24]. https://blog.ethereum.org/2015/08/07/on-public-and-private-blockchains/ webcite. 26. Irving G, Holden J. How blockchain-timestamped protocols could improve the trustworthiness of medical science. F1000Res. 2016 Feb 26;5:222. doi: 10.12688/f1000research.8114.1. [PMCID: PMC4866630] [PubMed: 27239273] [CrossRef: 10.12688/f1000research.8114.1] Retracted 27. Nugent T, Upton D, Cimpoesu M. Improving data transparency in clinical trials using blockchain smart contracts. F1000Res. 2016;5:2541. doi: 10.12688/f1000research.9756.1. https://f1000research.com/articles/10.12688/f1000research.9756.1/doi. [PMCID: PMC5357027] [PubMed: 28357041] [CrossRef: 10.12688/f1000research.9756.1] 28. Xia Q, Sifah EB, Asamoah KO, Gao J, Du X, Guizani M. MeDShare: Trust-Less
ticles/10.12688/f1000research.9756.1/doi. [PMCID: PMC5357027] [PubMed: 28357041] [CrossRef: 10.12688/f1000research.9756.1] 28. Xia Q, Sifah EB, Asamoah KO, Gao J, Du X, Guizani M. MeDShare: Trust-Less Medical Data Sharing Among Cloud Service Providers via Blockchain. IEEE Access. 2017;5:14757–14767. doi: 10.1109/ACCESS.2017.2730843. [CrossRef: 10.1109/ACCESS.2017.2730843] 29. Magyar G. Blockchain: Solving the privacy and research availability tradeoff for EHR data: A new disruptive technology in health data management. 30th Neumann Colloquium (NC); November 24-25, 2017; Budapest, Hungary. 2017. pp. 135–140. [CrossRef: 10.1109/nc.2017.8263269] 30. Guo R, Shi H, Zhao Q, Zheng D. Secure Attribute-Based Signature Scheme With Multiple Authorities for Blockchain in Electronic Health Records Systems. IEEE Access. 2018;6:11676–11686. doi: 10.1109/ACCESS.2018.2801266. [CrossRef: 10.1109/ACCESS.2018.2801266] 31. Ichikawa D, Kashiyama M, Ueno T. Tamper-Resistant Mobile Health Using Blockchain Technology. JMIR Mhealth Uhealth. 2017 Jul 26;5(7):e111. doi: 10.2196/mhealth.7938. https://mhealth.jmir.org/2017/7/e111/ [PMCID: PMC5550736] [PubMed: 28747296] [CrossRef: 10.2196/mhealth.7938] 32. Dubovitskaya A, Xu Z, Ryu S, Schumacher M, Wang F. Secure and Trustable Electronic Medical Records Sharing using Blockchain. AMIA Annu Symp Proc. 2017;2017:650–659. http://europepmc.org/abstract/MED/29854130. [PMCID: PMC5977675] [PubMed: 29854130] 33. Sun Y, Zhang R, Wang X, Gao K, Liu L. A Decentralizing Attribute-Based Signature for Healthcare Blockchain. 27th International Conference on Computer Communication and Networks, ICCCN; July 30-August 2, 2018; Hangzhou, China. 2018. [CrossRef: 10.1109/ICCCN.2018.8487349] 34. Hyperledger blockchain performance metrics. Hyperledger Performance and Scale Working Group. [2018-12-25]. https://www.hyperledger.org/resources/publications/blockchain-performance-metrics webcite. 35. Dagher GG, Mohler J, Milojkovic M, Marella PB. Ancile: Privacy-prese
d Scale Working Group. [2018-12-25]. https://www.hyperledger.org/resources/publications/blockchain-performance-metrics webcite. 35. Dagher GG, Mohler J, Milojkovic M, Marella PB. Ancile: Privacy-preserving framework for access control and interoperability of electronic health records using blockchain technology. Sustainable Cities and Society. 2018 May;39:283–297. doi: 10.1016/j.scs.2018.02.014. [CrossRef: 10.1016/j.scs.2018.02.014]
Page 16
02/10/2022, 16:11 16/20 36. Uses and disclosures to carry out treatment, payment, or health care operations. US Department of Health & Human Services. [2018-12-26]. https://www.govinfo.gov/content/pkg/CFR-2003-title45-vol1/xml/CFR-2003-title45-vol1- sec164-506.xml webcite. 37. Mettler M. Blockchain technology in healthcare: The revolution starts here. 18th International Conference on e- Health Networking, Applications and Services (Health-com); September 14-16, 2016; Munich, Germany. 2016. [CrossRef: 10.1109/healthcom.2016.7749510] 38. What is gRPC? Google Inc. [2018-12-27]. https://grpc.io/docs/guides/ webcite. 39. Get started with Docker. Docker Inc. [2019-01-01]. https://docs.docker.com/get-started/ webcite. 40. Overview of Docker Compose. Docker Inc. [2019-01-01]. https://docs.docker.com/compose/overview/ webcite. 41. Sample Medical Record: Steve Apple. Agency for Healthcare Research and Quality. [2019-06-22]. https://www.ahrq.gov/ncepcr/tools/pf-handbook/mod8-app-b-steve-apple.html. 42. Gao F, Zhu L, Shen M, Sharif K, Wan Z, Ren K. A Blockchain-Based Privacy-Preserving Payment Mechanism for Vehicle-to-Grid Networks. IEEE Network. 2018 Nov;32(6):184–192. doi: 10.1109/MNET.2018.1700269. [CrossRef: 10.1109/MNET.2018.1700269]
Page 17
-Based Privacy-Preserving Payment Mechanism for Vehicle-to-Grid Networks. IEEE Network. 2018 Nov;32(6):184–192. doi: 10.1109/MNET.2018.1700269. [CrossRef: 10.1109/MNET.2018.1700269]
Page 17
02/10/2022, 16:11 17/20 Figures and Tables Figure 1 The diagram of HealthChain. Three kinds of organizations contribute nodes to the blockchain network. API: application programming interface; CA: certificate authority. Figure 2 The access rights of users in HealthChain. Different users have different access qualifications for electronic health records (EHRs).
[Image 1]: The image is a diagram showing roles in a healthcare system with their respective APIs and a distributed ledger. It depicts interactions between medical professionals, patients, insurers, and regulatory bodies within a technology framework. Colors include gray for some roles like doctors, blue for others like the auditor, yellow for regulatory and patient roles, and orange for API sections. The distributed ledger and certificate authorities are also highlighted with distinct colors.
[Image 2]: The photograph is a diagram showing how different roles interact with Electronic Health Records (EHRs), with arrows indicating actions like writing, reading, and authorization. The main subject is the central EHRs bar, surrounded by icons of people such as doctors, nurses, and regulators. The setting is a conceptual visual representation, and the colors include a peach-colored EHRs bar with role icons in shades of blue, green, and white.
Page 18
02/10/2022, 16:11 18/20 Figure 3 The authorization hierarchy in HealthChain. The arrows denote the authorization operation. Figure 4 The fine-grained access control implemented by the chaincode. N: no; Y: yes. Figure 5 The types of electronic health records. Only four examples are listed here.
the authorization operation. Figure 4 The fine-grained access control implemented by the chaincode. N: no; Y: yes. Figure 5 The types of electronic health records. Only four examples are listed here.
[Image 1]: The photograph is a diagram with “Patient” as the main subject, shown in a yellow box at the top, connected to three gray boxes labeled “Emergency staff,” “Doctor Alice,” and “Family member.” These three boxes each link to lower-level roles: “Doctor Betty,” “Lab technician,” and “Nurse,” which are in light blue boxes. The diagram illustrates relationships between a patient and various healthcare or family roles, using yellow, gray, and light blue colors.
[Image 2]: The image shows a flowchart detailing a user authentication and API access process. It outlines steps like checking user credentials, consortium membership, and authorization for API use and data access. The diagram uses yellow for start/end points, blue for process steps, and gray for decision diamonds. The main subject is a technical workflow for securing remote procedure calls.
[Image 3]: The photograph shows a medical record form divided into four sections with orange headers and black text on a white background. The main subject is a structured healthcare documentation layout. The setting is a digital or printed document, featuring orange headers, white content areas, and black text. This format is typical for medical administrative records.
Page 19
ntation layout. The setting is a digital or printed document, featuring orange headers, white content areas, and black text. This format is typical for medical administrative records.
Page 19
02/10/2022, 16:11 19/20 Figure 6 The lifecycle of electronic health records (EHRs). They start with the request from a client and end with the commit‐ ment on all peers. API: application programming interface. Figure 7 The structure of the transaction, the block, and the ledger. EHR: electronic health record. Table 1 Example read latency data at different nodes. Number Batch timeout (s) Batch size (n) Client Sever Read request (s) 1 20 1000 Doctor Peer A 0 2 20 1 Insurance provider Peer C 0 3 2 10 Patient Peer E 0 Table 2 Example read throughput data at different nodes. Number Batch timeout (s) Batch size (n) Sever 1st read Request (s) 1000th read (s) 1000th response (s) 1 20 1000 Peer A 0 97.513 97.521 2 20 1 Peer C 0 95.847 95.855 3 2 10 Peer E 0 98.871 98.876
[Image 1]: This photograph shows a technical diagram of a blockchain system interaction. The main subject is the flow between Alice’s client, two peers (Peer A and Peer B), an orderer, and blockchain elements like chaincode and blocks. The setting is a system architecture visualization with numbered arrows indicating data movement. Colors used are orange for key components such as the client, orderer, and peers, and blue for blockchain and chaincode sections.
[Image 2]: This diagram illustrates a blockchain structure for electronic health records, showing two blocks labeled Block n and Block n+1. Each block contains a Header with block number, previous block hash, and current block hash, plus EHR entries and Metadata sections. The Header and Metadata sections use yellow boxes on blue blocks, while the EHR transaction section lists details like Transaction ID and signatures. The main subject is a technical representation of blockchain data organization for health information systems.
while the EHR transaction section lists details like Transaction ID and signatures. The main subject is a technical representation of blockchain data organization for health information systems.
Page 20
02/10/2022, 16:11 20/20 Table 3 Example transaction latency data at different nodes. No. Batch timeout (s) Batch size (n) Client Write request (s) Endorsement on A (s) Write on orderer (s) Commitment on A (s) Commitment on B (s) Commitment on C (s) 1 20 1000 Doctor 0 0.118 20.166 20.370 20.352 20.379 2 20 1 Patient 0 0.110 0.163 0.434 0.424 0.423 3 2 10 Lab technician 0 0.099 2.141 2.292 2.306 2.290 Table 4 Example transaction throughput data at different nodes. Number Batch timeout (s) Batch size (n) 1st write request (s) 1000th endorsement on A (s) Last write on orderer (s) Last commitment on A (s) Last commitment on B (s) Last commitment on C (s) Last commitm on D (s) 1 20 1000 0 132.224 139.930 141.498 141.936 141.933 141.400 2 20 1 0 241.035 241.519 633.266 608.020 635.720 608.755 3 2 10 0 157.787 157.818 158.096 158.202 158.153 158.100
Related Concepts
- blockchain — Wikipedia
- distributed ledger — Wikipedia
- electronic health records — Wikipedia
- proof of authority — Wikipedia
- chaincode — Wikipedia
- HealthChain — Wikipedia
- privacy preservation — Wikipedia
- data sharing — Wikipedia
- healthcare interoperability — Wikipedia
- patient medical history — Wikipedia
- technical hurdles — Wikipedia
- legal hurdles — Wikipedia
- performance issues — Wikipedia
- consensus mechanism — Wikipedia
- smart contracts — Wikipedia
- application programming interface — Wikipedia
Related Entities
- Peng Zhang — Wikipedia
- Fatos Xhafa — Wikipedia
- Dong Zheng — Wikipedia
- Taro Ueno — Wikipedia
- Yonggang Xiao — Wikipedia
- Bin Xu — Wikipedia
- Wenhao Jiang — Wikipedia
- Yunjun Wu — Wikipedia
- Chongqing Aerospace Polytechnic — Wikipedia
- IEEE — Wikipedia
- Kevin Clauson — Wikipedia
- Journal of Medical Internet Research — Wikipedia