Medical Data Sharing System and Method
By transforming data through a multi-level medical blockchain architecture and middleware toolkit, the problem of data sharing and synchronization between different medical institutions is solved, data security and integrity are achieved, storage space is saved, and data tampering is prevented.
Patent Information
- Application Number
- CN202111168137.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-08
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2041-10-08
AI Technical Summary
Existing hospital information systems cannot effectively solve the problems of inconvenient data sharing and synchronization of diagnostic information when patients seek medical treatment at different medical institutions, and cannot guarantee the security and integrity of the data.
A multi-level medical blockchain architecture is adopted, setting up a medical data master node, a regulatory master node, and light nodes for medical institutions. The raw medical data is converted into smart contract data through a middleware software development kit and stored and transmitted on the blockchain. The system combines certificate authorities and user permission modules for identity verification and data authorization.
It enables data sharing between different medical institutions, ensures the synchronization of diagnostic information, guarantees the security and integrity of patient information, saves storage space, and prevents data tampering through encryption algorithms.
Smart Images

Figure CN113593691B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the medical field, and in particular to a medical data sharing system and method. Background Technology
[0002] With the increasing number of medical institutions across the country, patients have more and more choices when seeking medical treatment. Although the level of hospital informatization has improved and the Hospital Information System (HIS) has developed rapidly, the fact that digital films are maintained by a single hospital and that initial and follow-up visits are not conducted at the same medical institution means that patients need to carry various examination reports and digital films when seeking medical treatment at different medical institutions. The large number of examination reports and films are messy and easy to lose. Moreover, the existing hospital information system cannot guarantee the security and tamper-proof nature of the data.
[0003] In addition, the significant functional differences between departments within the hospital lead to large discrepancies in user information. When different departments consult on the same user, diagnostic information cannot be synchronized, and the security and reliability of user information cannot be guaranteed. Furthermore, the consistency and integrity of user information during network transmission cannot be guaranteed.
[0004] The existing technologies do not provide effective solutions to the aforementioned problems in existing hospital information systems. Summary of the Invention
[0005] This invention provides a medical data sharing system and method to at least address the inconvenience caused to patients seeking medical treatment at different medical institutions.
[0006] In a first aspect, the present invention provides a medical data sharing system, wherein the medical data sharing system is configured with one or more hierarchical medical blockchains and a patient medical data query system, each hierarchical medical blockchain corresponding to a hierarchical medical system; each hierarchical medical blockchain has a medical data master node, a regulatory master node, and a medical institution light node; each hierarchical medical system includes a medical institution and a regulatory agency; the medical institution light node of each hierarchical medical blockchain is deployed in a medical institution of a corresponding hierarchical medical system;
[0007] The light nodes of medical institutions in each level of the medical blockchain are used to store the smart contract data written to the blockchain by the medical institutions in the corresponding level of the medical system; the supervisory master node and the medical data master node of each level of the medical blockchain are used to store the smart contract data of all the light nodes of medical institutions in that level of the medical blockchain; the supervisory master node of each level of the medical blockchain is also used for internal information supervision of the corresponding level of the medical system, and the data master node of each level of the medical blockchain is also used to provide the smart contract data of the corresponding level of the medical blockchain to the patient medical data query system, and / or, the medical data master node of the highest level of the medical blockchain is also used to provide the smart contract data of each level of the medical blockchain to the patient medical data query system.
[0008] Optionally, when the medical blockchain has multiple layers, for any two adjacent medical blockchains, the medical data master node of the lower-level medical blockchain constitutes the medical institution light node of the higher-level medical blockchain.
[0009] Optionally, each level of the medical blockchain also has a certificate authority; the certificate authority of each level of the medical blockchain is used to issue authentication certificates for each medical institution light node connected to the medical blockchain at that level, and to create channels and add the medical data master node and regulatory master node of the medical blockchain at that level to the channels.
[0010] Optionally, each medical institution in the lowest-level medical system is provided with a corresponding hospital information system client. Each hospital information system client calls a pre-configured middleware software development kit to convert the raw medical data generated by the medical institution into smart contract data, and writes the smart contract data into the light node of the medical institution corresponding to the medical institution, so as to realize the blockchain on-chaining of smart contract data.
[0011] Optionally, when the original medical data includes image data, each hospital information system client is used to calculate the hash value of the image data by calling the middleware software development kit, and append the image path and the hash value as patient information to the original medical data; convert the medical data with appended patient information into smart contract data that needs to be uploaded to the blockchain, use the smart contract data to calculate the cyclic redundancy check code, and write the smart contract data with the cyclic redundancy check code into the corresponding medical institution light node, and broadcast the smart contract data uploading information to the medical data master node and other medical institution light nodes on the channel.
[0012] Optionally, each hospital information system client is also used to obtain current blockchain operating status information, institutional information of the current channel, all information of the current ledger, and query the historical status of a certain smart contract data through the middleware software development kit.
[0013] Optionally, the medical data sharing system is further equipped with a blockchain connection client; the patient medical data query system includes an information query server and an information query client.
[0014] The information query server is used to access the medical data master node of the highest-level medical blockchain; the information query client is used to obtain the smart contract data of the verified patient from the information query server according to the identity verification of the blockchain connection client, and to authorize the smart contract data of the patient to the medical data master node and other medical institution light nodes in the channel.
[0015] For any level of medical blockchain, the medical data master node is also used to, when receiving a smart contract data request from a medical institution light node of that level of medical blockchain, obtain the smart contract data corresponding to the smart contract data request from other medical institution light nodes of that level of medical blockchain, or obtain the smart contract data corresponding to the smart contract data request from the medical data master node of the next higher level of medical blockchain, and distribute the obtained smart contract data corresponding to the smart contract data request to the requesting medical institution light node.
[0016] Optionally, the blockchain connection client includes a user permission module and a contract on-chain module;
[0017] The user permission module is used to authenticate patients in the information query client; each hospital information system client is specifically used to convert the raw medical data generated by the medical institution into smart contract data by calling the middleware software development kit or the contract on-chain module, and to write the smart contract data into the medical institution light node corresponding to the medical institution, so as to realize the on-chain of smart contract data.
[0018] Optionally, when the medical data sharing system is a hierarchical medical blockchain, the hierarchical medical blockchain corresponds to a hospital-level medical system, where the medical institutions and regulatory agencies of the hospital are the various departments of the hospital and the management department of the hospital, respectively; or the hierarchical medical blockchain corresponds to a regional hierarchical medical system, where the medical institutions and regulatory agencies of the regional hierarchical medical system are the various hospitals within the region and the management department of the region, respectively.
[0019] When the medical data sharing system includes two levels of medical blockchains, the higher-level medical blockchain corresponds to the regional-level medical system, and the lower-level medical blockchain corresponds to the hospital-level medical system.
[0020] On the other hand, the present invention provides a medical data sharing method, the medical data sharing method comprising:
[0021] The medical data sharing system is configured with one or more hierarchical medical blockchains and a patient medical data query system; each hierarchical medical blockchain corresponds to a hierarchical medical system; each hierarchical medical blockchain has a medical data master node, a regulatory master node, and a medical institution light node; each hierarchical medical system includes medical institutions and regulatory agencies; the medical institution light node of each hierarchical medical blockchain is deployed in a medical institution of a corresponding hierarchical medical system;
[0022] Each level of the medical blockchain stores smart contract data written to the blockchain by the medical institution's light node in the corresponding level of the medical system.
[0023] The smart contract data of all medical institution light nodes in each level of the medical blockchain are stored through the regulatory master node and the medical data master node.
[0024] The internal information of the corresponding level of medical system is monitored by the supervisory master node of each level of the medical blockchain;
[0025] The highest-level medical blockchain's master node provides smart contract data queries for each level of the medical blockchain to the patient's medical data query system.
[0026] This invention, through the establishment of a hierarchical or multi-level medical blockchain and a patient medical data query system, and by setting up a medical data master node, a supervisory master node, and medical institution light nodes at each level of the medical blockchain, can effectively solve the problem that patients whose initial and follow-up visits are not at the same medical institution need to carry a large number of various examination reports, printed films, etc., which are easily lost. It can also effectively solve the problem of diagnostic information not being synchronized when different departments within a hospital consult on the same user, thereby effectively solving the inconvenience caused by patients seeking medical treatment at different medical institutions. Furthermore, it effectively ensures the security and reliability of patient information, as well as the consistency and integrity of patient information during network transmission. In addition, each medical institution light node only needs to store information related to itself, saving a significant amount of space compared to traditional blockchains that store all data. Attached Figure Description
[0027] Figure 1 This is a functional block diagram of a medical data sharing system according to an embodiment of the present invention;
[0028] Figure 2 This is a flowchart of a medical data sharing method according to an embodiment of the present invention. Detailed Implementation
[0029] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely for explaining the present invention and are not intended to limit the present invention.
[0030] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustrative purposes and has no specific meaning in itself. Therefore, "module," "part," or "unit" may be used interchangeably.
[0031] Example 1
[0032] This invention provides a medical data sharing system, such as... Figure 1 As shown, the medical data sharing system is equipped with one or more hierarchical medical blockchains and a patient medical data query system. Each hierarchical medical blockchain corresponds to a hierarchical medical system. Each hierarchical medical blockchain has a medical data master node, a regulatory master node, and a medical institution light node. Each hierarchical medical system includes medical institutions and regulatory agencies. The medical institution light node of each hierarchical medical blockchain is deployed in a medical institution of a corresponding hierarchical medical system.
[0033] Each level of the medical blockchain has several light nodes for medical institutions, used to store smart contract data written to the blockchain by medical institutions within that level of the medical system. Each level's supervisory master node and medical data master node store the smart contract data of all light nodes within that level of the medical blockchain. The supervisory master node also oversees internal information management within the corresponding level of the medical system, and the data master node provides smart contract data from that level to the patient medical data query system. Additionally, the highest-level medical blockchain's medical data master node provides access to smart contract data from all levels of the medical blockchain for querying patient medical data. The smart contract data includes image data and doctor's diagnostic reports, among others.
[0034] in Figure 1 A medical data sharing system with a two-tiered medical blockchain is shown, where the first tier is a high-level tier and the second tier is a low-level tier.
[0035] In the specific implementation process, when the medical data sharing system is a hierarchical medical blockchain, the hierarchical medical blockchain corresponds to a hospital-level medical system, and the medical institutions and regulatory agencies of the hospital-level medical system are the various departments of the hospital and the management department of the hospital, respectively. Alternatively, the hierarchical medical blockchain corresponds to a regional hierarchical medical system, and the medical institutions and regulatory agencies of the regional hierarchical medical system are the various hospitals within the region and the management department of the region, respectively.
[0036] When the medical data sharing system includes two levels of medical blockchains, the higher-level medical blockchain corresponds to the regional-level medical system, and the lower-level medical blockchain corresponds to the hospital-level medical system.
[0037] This invention, through the establishment of a hierarchical or multi-level medical blockchain and a patient medical data query system, and by setting up a medical data master node, a supervisory master node, and medical institution light nodes at each level of the medical blockchain, can effectively solve the problem that patients whose initial and follow-up visits are not at the same medical institution need to carry a large number of examination reports, printed films, etc., which are easily lost. It can also effectively solve the problem of diagnostic information not being synchronized when different departments within a hospital consult on the same user, thereby effectively solving the inconvenience caused by patients seeking medical treatment at different medical institutions. Furthermore, it effectively ensures the security and reliability of patient information, as well as the consistency and integrity of patient information during network transmission. In addition, each medical institution light node only needs to store information related to itself, saving a significant amount of space compared to traditional blockchains that store all data.
[0038] In some embodiments, when the medical blockchain has multiple layers, for any two adjacent medical blockchains, the medical data master node of the lower-level medical blockchain constitutes the medical institution light node of the higher-level medical blockchain.
[0039] In some embodiments, each level of the medical blockchain also has a certificate authority; the certificate authority of each level of the medical blockchain is used to issue authentication certificates for each medical institution light node connected to the level of the medical blockchain, and to create channels and add the medical data master node and regulatory master node of the level of the medical blockchain to the channels.
[0040] This embodiment implements a custom blockchain function, in which the certificate authority issues authentication certificates for other nodes to ensure that all nodes connected to the blockchain are valid nodes of the current chain. The medical data master node (or all nodes) stores all ledger information, while the medical institution light nodes (or partial nodes) only store nodes related to themselves and do not store all ledger information. All nodes and partial nodes include accounts that have or partially have write permissions, read permissions, and traceability permissions.
[0041] In some embodiments, each medical institution in the lowest-level medical system is provided with a corresponding hospital information system client; each hospital information system client is used to convert the raw medical data generated by the medical institution into smart contract data by calling a pre-configured middleware software development kit, and to write the smart contract data into the medical institution light node corresponding to the medical institution, so as to realize the on-chaining of smart contract data on the blockchain.
[0042] Optionally, when the original medical data includes image data, each hospital information system client is used to calculate the hash value of the image data by calling the middleware software development kit, and append the image path and the hash value as patient information to the original medical data; convert the medical data with appended patient information into smart contract data that needs to be uploaded to the blockchain, use the smart contract data to calculate the cyclic redundancy check code, and write the smart contract data with the cyclic redundancy check code into the corresponding medical institution light node, and broadcast the smart contract data upload information to the medical data master node and other medical institution light nodes on the channel.
[0043] In other words, the middleware software development kit (SDK) can obtain patient information from sources such as DICOM sequences, allowing other software within the hospital to convert raw medical data from different sources into blockchain smart contract data via protocols, and to distribute image data for distributed storage, only putting the image's hash value and storage path on the blockchain, further saving space.
[0044] Optionally, each hospital information system client is also used to obtain current blockchain operating status information, institutional information of the current channel, all information of the current ledger, and query the historical status of a certain smart contract data through the middleware software development kit.
[0045] In detail, the middleware SDK can provide functions that enable blockchain information query, channel query, ledger query, and contract traceability. For example, it can retrieve patient information from DICOM sequences, allow other software within the hospital to convert their own data into blockchain contract data via protocols, and provide functions for writing (storing contract data into the blockchain); information query (obtaining basic information such as the current blockchain operating status); channel query (obtaining information such as the institution name of the current channel); ledger query (obtaining all information in the current ledger); and contract traceability (administrators can query the historical status (change records) of a specific data entry with administrator privileges).
[0046] Of course, in some embodiments, the medical data sharing system may also be equipped with a blockchain connection client; the patient medical data query system includes an information query server and an information query client;
[0047] The information query server is used to access the medical data master node of the highest-level medical blockchain; the information query client is used to obtain the smart contract data of the authenticated patient from the information query server based on the authentication of the blockchain connection client, and to authorize the patient's smart contract data to the medical data master node and other light nodes of medical institutions in the channel; wherein, the information query server is allowed to securely access the aforementioned blockchain and provides query functions for the information query client, which is used by the patient, logs in through authentication, can query its own examination reports, and the authorization function is provided by the patient itself.
[0048] For any level of medical blockchain, the medical data master node is also used to, upon receiving a smart contract data request from a medical institution light node of that level of medical blockchain, obtain smart contract data corresponding to the smart contract data request from other medical institution light nodes of that level of medical blockchain, and / or obtain smart contract data corresponding to the smart contract data request from the medical data master node of the next higher level of medical blockchain, and distribute the obtained smart contract data corresponding to the smart contract data request to the medical institution light nodes of that level of medical blockchain.
[0049] By setting up an information query server and an information query client, the information query client does not need to be directly connected to the blockchain, effectively avoiding excessive system pressure caused by a large number of patients directly connecting to the blockchain. In addition, the light nodes of medical institutions obtain patients' medical data through the medical data master node, so that each node only needs to store information related to itself, which saves a lot of space compared to the traditional blockchain storing all data.
[0050] In some embodiments, the blockchain connection client includes a user permission module and a contract on-chain module;
[0051] The user permission module is used to authenticate patients on the information query client. Each hospital information system client is specifically used to convert raw medical data generated by the medical institution into smart contract data by calling the middleware software development kit or the contract-on-chain module, and to write the smart contract data into the corresponding light node of the medical institution, thereby realizing the on-chain storage of smart contract data on the blockchain. The user permission module is used to verify user information, and the contract-on-chain module may include functions for querying and adding data on the blockchain.
[0052] In other words, in a medical data sharing system, the raw medical data generated by a medical institution can be converted into smart contract data and uploaded to the blockchain through a contract-on-chain module, or the raw medical data generated by a medical institution can be converted into smart contract data and uploaded to the blockchain through a middleware SDK.
[0053] The following uses a regional hierarchical medical system as an example to briefly describe the medical data sharing principle of this invention.
[0054] 1. Establish two global nodes at the regional higher level (e.g., the Health Commission), create channels and smart contracts, and establish a certificate authority. One global node is used for internal information supervision within the Health Commission, and the other global node is used for patient information retrieval.
[0055] 2. Each medical institution is treated as a partial node. Certificates are issued by a certificate authority, and each medical institution node is added to the blockchain in sequence. A channel is created, and all nodes in the two regions mentioned above are added to the channel. This allows the two regional all nodes to have access to examination information from all medical institutions. Within a hospital, only its own data needs to be stored, greatly saving storage space. The second all node is used for patient queries, which can be directly queried by hospital. When a hospital needs information from other hospitals, the all nodes will distribute the queried information to that hospital.
[0056] 3. Set up a partial node in each hospital's computer room to ensure access to medical data within the hospital.
[0057] 4. Obtain medical data through hospital information system clients such as HIS.
[0058] 5. Due to the large amount of image data (such as CT scans), in order to save storage space, the hash value of this type of data is calculated, and the image path and the hash value are used as patient information and attached to the original medical data. This can save storage space and also realize distributed storage.
[0059] 6. Convert the above medical data into smart contract data that needs to be uploaded to the blockchain using a blockchain middleware SDK.
[0060] 7. Calculate the Cyclic Redundancy Check (CRC) code using smart contract data.
[0061] 8. Upload smart contract data with cyclic redundancy check codes to the blockchain using the implemented middleware SDK functions.
[0062] 9. Broadcast this message to other nodes on the channel.
[0063] 10. Record the entry after the identity is verified by other nodes.
[0064] 11. When doctors in other hospitals view this information, they can use the hospital information system client and the user's private key to view the information and modify the current information with the writer's permission to complete the follow-up visit process and perform subsequent operations such as purchasing medicine.
[0065] 12. Patients can log in using the blockchain connection client to view their information and authorize other medical institutions to use it.
[0066] The following uses a hospital-level medical system as an example to briefly describe the medical data sharing principle of this invention.
[0067] 1. Set up two full nodes in the hospital's computer room, create channels and smart contracts. One full node is used for internal hospital information monitoring, and the other full node is used for patient information query. Also, create a certificate issuing authority.
[0068] 2. Each department is treated as a subset of nodes. A certificate authority issues certificates, and each department node is added to the blockchain sequentially. Private keys are sent to newly added departments, and public keys are sent to existing nodes for verification. A channel is created, and the two sets of all nodes mentioned above are added to the channel. This allows the two all nodes to access examination information from all departments, while each department only needs to store its own data, significantly saving storage space. The second all node is used for patient queries, allowing direct departmental searches. When a department needs information from other departments, the all nodes will distribute the queried information to that department.
[0069] 3. Install the hospital information system client at each doctor's workstation and log in to the blockchain as a writer of a partial node of the blockchain.
[0070] 4. Obtain medical data through the hospital information system client.
[0071] 5. Convert the above medical data into smart contract data that needs to be uploaded to the blockchain using a blockchain middleware SDK.
[0072] 6. Calculate the Cyclic Redundancy Check (CRC) code using smart contract data.
[0073] 7. Upload smart contract data with cyclic redundancy check codes to the blockchain using the implemented link SDK function.
[0074] 8. Broadcast this message to other nodes on the channel.
[0075] 9. Record the entry after the identity is verified by other nodes.
[0076] 10. When doctors in other departments view this information, they can use the hospital information system client and the patient's private key to view the information, and they can modify the current information with the writer's permission.
[0077] 11. Patients can log in to view their information using the blockchain connection client and authorize other healthcare organizations to use it.
[0078] This invention effectively solves the problem that patients whose initial and follow-up visits are at different medical institutions need to carry various examination reports, printed films, etc., which are numerous, messy, and easily lost. It also effectively solves the problem of diagnostic information not being synchronized when different departments within a hospital consult on the same user, thereby effectively solving the inconvenience caused to patients seeking medical treatment at different medical institutions. Furthermore, it effectively ensures the security and reliability of patient information, as well as the consistency and integrity of patient information during network transmission. In addition, each medical institution's lightweight node only needs to store information related to itself, saving a significant amount of space compared to traditional blockchains that store all data.
[0079] The embodiments of the present invention can effectively ensure the integrity of data, guarantee that the data generated by the HIS system will not be tampered with, make it impossible to trace the time and operator of a change in a certain report, and ensure the correctness of data transmission when data is stored from the HIS system to the database.
[0080] This invention, based on the original HIS, incorporates blockchain storage functionality, enabling interconnection between hospital information systems in various departments. Through a series of encryption and decryption algorithms, combined with blockchain technology, it ensures that user information is unforgeable and unalterable. On the other hand, it uses a cyclic verification algorithm to ensure the consistency and integrity of user information during network transmission.
[0081] Example 2
[0082] This invention provides a smart contract data sharing method, such as... Figure 2 As shown, the smart contract data sharing method includes:
[0083] S101, a medical data sharing system is set up with one or more levels of medical blockchain and patient medical data query system; wherein, each level of medical blockchain corresponds to a level of medical system; each level of medical blockchain has a medical data master node, a regulatory master node and a medical institution light node; each level of medical system includes medical institutions and regulatory agencies; the medical institution light node of each level of medical blockchain is deployed in a medical institution of a corresponding level of medical system;
[0084] S102, through the light nodes of medical institutions in each level of the medical blockchain, the smart contract data written by the medical institutions of the corresponding level of the medical system into the blockchain is stored;
[0085] S103 stores the smart contract data of all medical institution light nodes of the medical blockchain at each level through the regulatory master node and medical data master node.
[0086] S104, through the supervisory master node of each level of the medical blockchain, supervises the internal information of the corresponding level of the medical system;
[0087] S105 provides smart contract data queries for each level of the medical blockchain to the patient's medical data query system through the medical data master node of the highest-level medical blockchain.
[0088] In some embodiments, when the medical blockchain has multiple layers, for any two adjacent medical blockchains, the medical data master node of the lower-level medical blockchain constitutes the medical institution light node of the higher-level medical blockchain.
[0089] In some embodiments, the smart contract data sharing method further includes:
[0090] The certificate authority of each level of the medical blockchain issues authentication certificates to each light node of the medical institution that accesses the medical blockchain at that level, and uses this to create channels and add the medical data master node and regulatory master node of the medical blockchain at that level to the channels.
[0091] Optionally, each medical institution in the lowest-level medical system is assigned a corresponding hospital information system client; the smart contract data sharing method further includes:
[0092] Each hospital information system client calls a pre-configured middleware software development kit to convert the raw medical data generated by the medical institution into smart contract data, and writes the smart contract data into the medical institution's light node corresponding to the medical institution, so as to realize the on-chaining of smart contract data on the blockchain.
[0093] Specifically, when the original medical data includes image data, each hospital information system client calls the middleware software development kit to calculate the hash value of the image data, and appends the image path and the hash value as patient information to the original medical data; the medical data with appended patient information is converted into smart contract data that needs to be uploaded to the blockchain, and the smart contract data is used to calculate a cyclic redundancy check code, and the smart contract data with the cyclic redundancy check code is written to the corresponding medical institution light node, and the on-chain information of the smart contract data is broadcast to the medical data master node and other medical institution light nodes on the channel.
[0094] In some embodiments, the smart contract data sharing method further includes: obtaining current blockchain operating status information, current channel institution information, all information of the current ledger, and querying the historical status of a certain smart contract data by calling the middleware software development kit through each hospital information system client.
[0095] In some embodiments, the medical data sharing system further includes a blockchain connection client; the patient medical data query system includes an information query server and an information query client; the smart contract data sharing method further includes:
[0096] The information query server connects to the highest-level medical blockchain's medical data master node; the information query client, based on the blockchain connection client's authentication, retrieves the authenticated patient's smart contract data from the information query server, and authorizes the patient's smart contract data to the medical data master node and other medical institution light nodes in the channel.
[0097] For any level of medical blockchain's medical data master node, when the medical data master node of the level of medical blockchain receives a smart contract data request from a medical institution light node of that level of medical blockchain, it obtains the smart contract data corresponding to the smart contract data request from other medical institution light nodes of that level of medical blockchain, or obtains the smart contract data corresponding to the smart contract data request from the medical data master node of the next higher level of medical blockchain, and distributes the obtained smart contract data corresponding to the smart contract data request to the requesting medical institution light node.
[0098] In some embodiments, the blockchain connection client includes a user permission module and a contract on-chain module; the smart contract data sharing method further includes:
[0099] The user permission module verifies the identity of patients in the information query client; each hospital information system client calls the middleware software development kit or the contract on-chain module to convert the raw medical data generated by the medical institution into smart contract data, and writes the smart contract data into the medical institution light node corresponding to the medical institution, so as to realize the on-chain of smart contract data.
[0100] Optionally, when the medical data sharing system is a hierarchical medical blockchain, the hierarchical medical blockchain corresponds to a hospital-level medical system, where the medical institutions and regulatory agencies of the hospital are the various departments of the hospital and the management department of the hospital, respectively; or the hierarchical medical blockchain corresponds to a regional hierarchical medical system, where the medical institutions and regulatory agencies of the regional hierarchical medical system are the various hospitals within the region and the management department of the region, respectively.
[0101] When the medical data sharing system includes two levels of medical blockchains, the higher-level medical blockchain corresponds to the regional-level medical system, and the lower-level medical blockchain corresponds to the hospital-level medical system.
[0102] This invention combines HIS with a custom blockchain, where each node only needs to store information relevant to itself, saving significant space compared to traditional blockchains that store all data. The blockchain includes an authorization mode, further ensuring data security. By distributing image data and only recording the image's hash value and storage path on the chain, space is further saved.
[0103] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.
Claims
1. A medical data sharing system, characterized in that, The medical data sharing system is configured with one or more hierarchical medical blockchains and a patient medical data query system. Each hierarchical medical blockchain corresponds to a hierarchical medical system. Each hierarchical medical blockchain has a medical data master node, a regulatory master node, and a medical institution light node. Each hierarchical medical system includes medical institutions and regulatory agencies. The medical institution light node of each hierarchical medical blockchain is deployed in a medical institution of a corresponding hierarchical medical system. The light nodes of medical institutions in each level of the medical blockchain are used to store only the smart contract data written to the blockchain by the medical institutions in the corresponding level of the medical system; the supervisory master node and the medical data master node of each level of the medical blockchain are used to store the smart contract data of all the light nodes of medical institutions in that level of the medical blockchain; the supervisory master node of each level of the medical blockchain is also used for internal information supervision of the corresponding level of the medical system; the data master node of each level of the medical blockchain is also used to provide the smart contract data of the corresponding level of the medical blockchain to the patient medical data query system; and / or, the medical data master node of the highest level of the medical blockchain is also used to provide the smart contract data of each level of the medical blockchain to the patient medical data query system. In the case where the medical blockchain has multiple layers, for any two adjacent layers of medical blockchain, the medical data master node of the lower-level medical blockchain constitutes the medical institution light node of the higher-level medical blockchain. Each tier of the medical blockchain also has a Certificate Authority (CA); the CA of each tier of the medical blockchain is used to issue authentication certificates for each medical institution light node connected to the tier of the medical blockchain, and to create channels and add the medical data master node and regulatory master node of the tier of the medical blockchain to the channels.
2. The medical data sharing system according to claim 1, characterized in that, Each medical institution in the lowest-level medical system is equipped with a corresponding hospital information system client. Each hospital information system client calls a pre-configured middleware software development kit to convert the raw medical data generated by the medical institution into smart contract data, and writes the smart contract data into the light node of the medical institution corresponding to the medical institution, so as to realize the on-chaining of smart contract data on the blockchain.
3. The medical data sharing system according to claim 2, characterized in that, When the original medical data includes image data, each hospital information system client is used to calculate the hash value of the image data by calling the middleware software development kit, and append the image path and the hash value as patient information to the original medical data; Medical data with attached patient information is converted into smart contract data that needs to be uploaded to the blockchain. The smart contract data is then used to calculate a cyclic redundancy check (CR) code. The smart contract data with the CR code is written into the corresponding medical institution light node, and the blockchain upload information is broadcast to the medical data master node and other medical institution light nodes on the channel.
4. The medical data sharing system according to claim 2, characterized in that, Each hospital information system client is also used to obtain current blockchain operating status information, current channel institution information, all information of the current ledger, and query the historical status of a certain smart contract data through the middleware software development kit.
5. The medical data sharing system according to claim 2, characterized in that, The medical data sharing system is also equipped with a blockchain connection client; the patient medical data query system includes an information query server and an information query client. The information query server is used to access the medical data master node of the highest-level medical blockchain; the information query client is used to obtain the smart contract data of the verified patient from the information query server according to the identity verification of the blockchain connection client, and to authorize the smart contract data of the patient to the medical data master node and other medical institution light nodes in the channel. For any level of medical blockchain, the medical data master node is also used to, when receiving a smart contract data request from a medical institution light node of that level of medical blockchain, obtain the smart contract data corresponding to the smart contract data request from other medical institution light nodes of that level of medical blockchain, or obtain the smart contract data corresponding to the smart contract data request from the medical data master node of the next higher level of medical blockchain, and distribute the obtained smart contract data corresponding to the smart contract data request to the requesting medical institution light node.
6. The medical data sharing system according to claim 5, characterized in that, The blockchain connection client includes a user permission module and a contract on-chain module; The user permission module is used to authenticate patients in the information query client; each hospital information system client is specifically used to convert the raw medical data generated by the medical institution into smart contract data by calling the middleware software development kit or the contract on-chain module, and to write the smart contract data into the medical institution light node corresponding to the medical institution, so as to realize the on-chain of smart contract data.
7. The medical data sharing system according to any one of claims 1-6, characterized in that, When the medical data sharing system is a hierarchical medical blockchain, the hierarchical medical blockchain corresponds to a hospital-level medical system, where the medical institutions and regulatory agencies of the hospital are the various departments of the hospital and the management department of the hospital, respectively. Alternatively, the hierarchical medical blockchain corresponds to a regional hierarchical medical system, where the medical institutions and regulatory agencies of the regional medical system are the various hospitals within the region and the management department of the region, respectively. When the medical data sharing system includes two levels of medical blockchains, the higher-level medical blockchain corresponds to the regional-level medical system, and the lower-level medical blockchain corresponds to the hospital-level medical system.
8. A medical data sharing method applied to the medical data sharing system according to any one of claims 1-7, characterized in that, The medical data sharing method includes: The medical data sharing system is configured with one or more hierarchical medical blockchains and a patient medical data query system; each hierarchical medical blockchain corresponds to a hierarchical medical system; each hierarchical medical blockchain has a medical data master node, a regulatory master node, and a medical institution light node; each hierarchical medical system includes medical institutions and regulatory agencies; the medical institution light node of each hierarchical medical blockchain is deployed in a medical institution of a corresponding hierarchical medical system; Each medical institution's light node in the medical blockchain at each level only stores the smart contract data written to the blockchain by the medical institution in the corresponding level of the medical system. The smart contract data of all medical institution light nodes in each level of the medical blockchain are stored through the regulatory master node and medical data master node. The internal information of the corresponding level of medical system is monitored by the supervisory master node of each level of the medical blockchain; The highest-level medical blockchain's data master node provides smart contract data queries for each level of the medical blockchain to the patient's medical data query system; and / or, each level of the medical blockchain's data master node provides smart contract data for the corresponding level of the medical blockchain to the patient's medical data query system.
Citation Information
Patent Citations
Medical data sharing method and sharing system based on block chain
CN110472428A
Medical data sharing method based on block chain
CN110851867A
Multi-layer blockchain network architecture and data storage and sharing method thereof
CN111556140A
Medical information sharing method and system based on block chain and a readable storage medium
CN111627542A
Implementation method of medical data sharing model based on block chain and IPFS
CN111832038A