Medical data storage system and method based on blockchain
Through the blockchain-based medical data storage system, combined with health data evaluation value and data chain technology, the problem of insufficient medical data storage space is solved, and efficient and safe data storage and treatment effect evaluation are achieved.
Patent Information
- Application Number
- CN202410780362.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-06-18
AI Technical Summary
Existing medical data storage systems have limited storage space when storing massive health data, resulting in a surge in data processing and storage volume, affecting data retrieval efficiency and frequently causing insufficient storage space.
Adopting a medical data storage system based on blockchain, by obtaining the patient's basic data and health data, the health evaluation value Havt is generated, and relevant data is stored when an early warning signal occurs. It is combined with data chain technology for compression storage to ensure data security and Storage space savings.
It achieves safe storage and efficient management of medical data, reduces storage space occupation, improves the flexibility and security of the data storage system, and evaluates the treatment effect of medical staff through the treatment effect evaluation index Tei.
Smart Images

Figure CN118349191B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of medical data processing technology, and specifically relates to a medical data storage system and method based on blockchain. Background Art
[0002] Medical data processing is a systematic process, which mainly includes data collection, data cleaning, data integration, data storage, data analysis and information sharing. Among them, data collection includes real-time collection of various patient physiological parameters and health information through patient physical examination, laboratory test, medical imaging and other means; data cleaning: the collected data often has problems such as incompleteness, errors or redundancy, and needs to be formatted, standardized, error-free, and duplicate-free; data integration: integrate medical data from different sources and formats and assemble them into a complete and standardized database; data storage: use databases or other methods to effectively save and manage processed medical data; data analysis: use various statistical and data mining techniques to analyze medical databases and mine valuable information and knowledge; information display: intuitively display the analysis results in the form of charts, reports, etc., so that medical workers can understand and apply them.
[0003] In the prior art, when using data link technology to store medical data or health data, the storage space in the system is limited. During the diagnosis and treatment process in the hospital, a large amount of information related to surgical patients will be generated, and the data that needs to be stored is massive. If the health data of each patient at each time period or moment is stored, it will lead to a surge in data processing and storage. If some unimportant or temporarily unused data is stored normally, on the one hand, it will affect the subsequent retrieval efficiency of useful or required data, and on the other hand, it will also reduce the storage space of the entire system, making the situation of limited storage capacity occur frequently. Summary of the invention
[0004] 1. Technical issues to be resolved
[0005] In view of the shortcomings of the prior art, the present invention provides a medical data storage system and method based on blockchain. After processing the patient's health data, the blockchain storage technology is used to store the health data and health level assessment value Hav at the time when the warning signal is issued and at the previous S times. t , and the corresponding health data and health assessment value Hav from the current moment to the end moment t , which is more secure than traditional databases; and the remaining other related data is compressed and stored, which not only retains the storage of the remaining data, but also can further save storage space.
[0006] (II) Technical solution
[0007] To achieve the above objectives, the present invention is implemented through the following technical solutions:
[0008] A medical data storage system based on blockchain, which includes:
[0009] The information acquisition module acquires the basic data of the patient before the operation and the health data of the patient after the operation. The basic data includes average blood pressure, average heart rate, average body temperature, average blood sugar and average blood lipids. The health data includes real-time blood pressure, heart rate, body temperature, blood sugar and blood lipids at the same time.
[0010] The data processing module combines basic data and health data, extracts the difference of the same type of data as the evaluation parameter, and after preprocessing the evaluation parameters, builds a health trend evaluation calculation model to generate the health level evaluation value Hav at each moment. t , and form a curve graph, the health evaluation value Hav at the current moment t Exceeds the health assessment value Hav at the previous moment t-1 When a warning signal is sent, the dispatching strategy is executed;
[0011] The analysis storage module takes the time before the corresponding time when the warning signal is issued as the starting time, and the health evaluation value Hav t Change to the current health assessment value Hav t The following moment is taken as the end moment. Under the condition of obtaining the warning signal, a rule engine is built, and the blockchain storage technology is used to store the health data and health level assessment value Hav at the corresponding moment of the warning signal and the S moments before it. t , and the corresponding health data and health assessment value Hav from the current moment to the end moment t , and the corresponding health data and health evaluation value Hav at other moments t Compressed storage;
[0012] The evaluation index module obtains and converts the health evaluation value Hav corresponding to the adjacent moments before and after the starting time to the end time t The difference between the starting time and the ending time is used as the evaluation parameters. After the evaluation parameters are dimensionlessly processed, a treatment effect evaluation calculation model is built to generate and store the treatment effect evaluation index Tei, which is used to reflect the treatment effect of the corresponding medical staff.
[0013] Furthermore, the basic data is derived from the patient's historical physical examination data. The patient's historical physical examination data for a preset number of times is counted, and the basic data in each historical physical examination data are normal values. After accumulating the same type of basic data, the accumulated value is divided by the preset number of times, and the result is the average value of the same type of basic data.
[0014] Furthermore, the evaluation parameters include the blood pressure difference Xy at the same time t , heart rhythm difference Xl t , body temperature difference Tw t , poor blood sugar Tx t and blood lipid difference Zx t , and the blood pressure difference Xy t =|Current blood pressure - average blood pressure|, other heart rhythm differences Xl t , body temperature difference Tw t , poor blood sugar Tx t and blood lipid difference Zx t The same principle is used for calculation.
[0015] Furthermore, the process of preprocessing the evaluation parameters is to perform dimensionless processing on the evaluation parameters; the resulting curve is used to reflect the changing trend of the health status, with the X-axis representing the time number in chronological order and the Y-axis representing the specific health evaluation value; the scheduling strategy to be executed is: to retrieve the evaluation parameters at the current moment, i.e., the blood pressure difference Xy t , heart rhythm difference Xl t , body temperature difference Tw t , poor blood sugar Tx t and blood lipid difference Zx t , and give the preset healthy range values of the corresponding evaluation parameters, and compare the evaluation parameters with the corresponding healthy range values, provide the comparison results to medical staff in the form of a table, and store the table data using data link technology.
[0016] Furthermore, when using data chain technology to store tabular data, the implementation method is as follows: converting the tabular data into a digital format; using an encryption algorithm to hash the data to generate a unique hash value; storing the hash value on the blockchain; updating the data by creating a new block and linking the new hash value with the old hash value; access to the data is obtained by querying a specific hash value on the blockchain.
[0017] Furthermore, the moment before the corresponding moment of issuing the warning signal is the current moment, and the value of S in the first S moments is 3. The corresponding health data and health level assessment value Hav at the remaining other moments t When compressed storage is performed, the compressed storage method is data summary storage: compressing the data and summarizing it to generate a unique hash value, and storing the summary on the blockchain. The process of data summary storage is as follows: Hash function selection: select a hash function, which can be either SHA-256 or MD5;
[0018] Data segmentation: divide the original data into several data blocks;
[0019] Hash calculation: Use the selected hash function to perform hash calculation on each data block to generate a unique hash value;
[0020] Summary generation: Combine the hash values of each data block in order to generate an overall summary;
[0021] Store on the blockchain: The generated digest is stored on the blockchain, where each block contains the hash of the previous block.
[0022] Furthermore, the health evaluation values Hav corresponding to the adjacent moments before and after the starting moment to the end moment t The difference Cz Q Including Cz 1 , Cz 2 ,…,Cz p , p represents the number of differences, and p is a positive integer, Q = 1, 2, ..., p, Cz 1 Indicates the health evaluation value Hav corresponding to the starting time to the next time t The difference, Cz 1 = The corresponding health evaluation value Hav at the next moment t - Health assessment value Hav corresponding to the starting point t , and so on, the remaining differences are calculated in the same way.
[0023] Furthermore, the formula for generating the treatment effect evaluation index Tei is as follows:
[0024] ;
[0025] In the formula, Indicates the difference Cz Q The coefficient of fluctuation, Represents p difference values Cz Q The average value of Sc represents the time required from the starting point to the end point, and α and β are the difference Cz Q The coefficient of volatility and the preset proportional coefficient of the time Sc required from the starting time to the end time, and β>α>0, G 2 is the constant correction factor;
[0026] After generating the treatment effect evaluation index Tei, the treatment effect evaluation index Tei is compared with the preset standard threshold By. If the treatment effect evaluation index Tei exceeds the standard threshold By, it means that the treatment effect of the corresponding medical staff is excellent. If the treatment effect evaluation index Tei does not exceed the standard threshold By, it means that the treatment effect of the corresponding medical staff is good.
[0027] The medical data storage method based on blockchain includes the following steps:
[0028] S1. Obtain the basic data of the patient before surgery and the health data of the patient after surgery. The basic data includes average blood pressure, average heart rate, average body temperature, average blood sugar and average blood lipids. The health data includes real-time blood pressure, heart rate, body temperature, blood sugar and blood lipids at the same time.
[0029] S2. Combine basic data and health data, extract the difference of the same type of data as the evaluation parameter, and after preprocessing the evaluation parameters, build a health trend evaluation calculation model to generate the health level evaluation value Hav at each moment t , and form a curve graph, the health evaluation value Hav at the current moment t Exceeds the health assessment value Hav at the previous moment t-1 When a warning signal is sent, the dispatching strategy is executed;
[0030] S3, taking the time before the corresponding time of issuing the warning signal as the starting time, the health level assessment value Hav t Change to the current health assessment value Hav t The following moment is taken as the end moment. Under the condition of obtaining the warning signal, a rule engine is built, and the blockchain storage technology is used to store the health data and health level assessment value Hav at the corresponding moment of the warning signal and the S moments before it. t , and the corresponding health data and health assessment value Hav from the current moment to the end moment t , and the corresponding health data and health evaluation value Hav at other moments t Compressed storage;
[0031] S4. Obtain and convert the health evaluation value Hav corresponding to the adjacent moments before and after the starting time to the end time t The difference between the starting time and the ending time is used as the evaluation parameters. After the evaluation parameters are dimensionlessly processed, a treatment effect evaluation calculation model is built to generate and store the treatment effect evaluation index Tei, which is used to reflect the treatment effect of the corresponding medical staff.
[0032] (III) Beneficial effects
[0033] The present invention provides a medical data storage system and method based on blockchain, which has the following beneficial effects:
[0034] 1. The present invention collects the basic data of patients before surgery and obtains various health data at different times after surgery in real time. Compared with the traditional method of only recording some static information, it is more comprehensive. The basic data and health data are combined and calculated to reduce the data volume of the evaluation parameters while ensuring the acquisition of the health evaluation value Hav tThe effectiveness of monitoring the current health assessment value Hav after surgery t Exceeds the health assessment value Hav at the previous moment t-1 When an emergency occurs, an early warning and re-diagnosis and treatment are carried out, and the required evaluation parameters and the corresponding health range value comparison result table data are retrieved, avoiding the real-time recording of table data. Scheduling and data storage can be carried out according to actual needs, reflecting the flexibility of the design of the entire data storage system.
[0035] 2. After processing the patient's health data, the present invention uses blockchain storage technology to store the health data and health evaluation value Hav at the time corresponding to the time when the warning signal is issued and the S previous times in order to facilitate the analysis and obtain the treatment effect evaluation index Tei required for the subsequent treatment effect of medical staff. t , and the corresponding health data and health assessment value Hav from the current moment to the end moment t It is more secure than traditional databases and compresses and stores other related data, which not only retains the storage of remaining data but also further saves storage space.
[0036] 3. The present invention obtains the required evaluation parameters by analyzing and calculating the stored data from the starting time to the end time, and generates a treatment effect evaluation index Tei based on the evaluation parameters that comprehensively consider various factors. The treatment effect evaluation index Tei is compared with a preset standard threshold By. According to the comparison result, the effect of the treatment performed by the medical staff after encountering the warning signal can be accurately obtained, and the treatment effect evaluation index Tei is used to make an indicative and specific evaluation of the work of the corresponding medical staff. By storing the treatment effect evaluation index Tei, specific indicators can be provided for the actual work summary, which is convenient for the subsequent evaluation of the work content of the medical staff. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 This is a schematic diagram of the modular structure of the blockchain-based medical data storage system of the present invention;
[0038] Figure 2 It is a curve chart reflecting the changing trend of a patient's health status in the present invention;
[0039] Figure 3 This is an overall flow chart of the blockchain-based medical data storage method of the present invention. DETAILED DESCRIPTION
[0040] The technical solutions in the embodiments of the present invention are clearly and completely described below in conjunction with the accompanying drawings.
[0041] Example 1: Figure 1 to Figure 2As shown, this embodiment provides a medical data storage system based on blockchain, which includes an information acquisition module, a data processing module, an analysis and storage module, and an evaluation index module. The medical data handled by the system in this embodiment is the health data of patients before and after surgery, and the data for subsequent use and analysis is stored using blockchain technology;
[0042] Information acquisition module, which obtains basic data of patients before surgery and health data of patients after surgery;
[0043] Among them, the basic data of the patient before surgery includes average blood pressure, average heart rate, average body temperature, average blood sugar and average blood lipids, and the basic data are derived from the patient's historical physical examination data. The patient's historical physical examination data for a preset number of times are counted, and the basic data in each historical data are normal values, that is, values within the normal range. For example: the blood pressure is within the normal blood pressure range, and the preset number of times is specifically 2 to 5 times. The average blood pressure represents the average value of the normal blood pressure obtained each time in the historical physical examination data. The average heart rate, average body temperature, average blood sugar and average blood lipids are also calculated using the same method.
[0044] The health data of postoperative patients include real-time blood pressure, heart rate, body temperature, blood sugar and blood lipids at the same time. The blood pressure, heart rate, body temperature, blood sugar and blood lipids at the same time can be obtained by configuring a sphygmomanometer, electrocardiogram monitor, thermometer, blood glucose meter and blood lipid analyzer respectively.
[0045] Usually, non-invasive blood pressure measuring instruments, such as sphygmomanometers, can be used to measure the patient's blood pressure manually or automatically. In addition, blood pressure can be monitored using an intra-arterial catheter for real-time monitoring. The patient's heart rate is monitored using an electrocardiogram machine, which is a non-invasive examination method that assesses heart rate and rhythm by measuring the heart's electrical activity. The patient's body temperature is measured using a thermometer, and non-contact forehead thermometers are also a commonly used method. Blood sugar can be measured using a blood glucose meter and test strips. This equipment is used for blood glucose monitoring in medical institutions, and blood glucose can also be continuously monitored through subcutaneous implantable sensors. Blood lipids are evaluated by performing blood tests, and the patient's blood lipids can be obtained in real time by collecting blood samples and performing a full lipid profile analysis.
[0046] The data processing module combines the basic data of preoperative patients and the health data of postoperative patients, extracts the difference of the same type of data as the evaluation parameter, and after preprocessing the evaluation parameters, builds a health trend evaluation calculation model to generate the health evaluation value Hav at each moment. t , and form a curve chart reflecting the trend of health status changes. The health assessment value Hav at the current moment t Exceeds the health assessment value Hav at the previous moment t-1 When the health evaluation value Havt The health assessment value Hav has not exceeded the previous moment t-1 , it means that the patient maintains a stable and good recovery state, but most patients will have relapses after surgery. This embodiment is aimed at the health level assessment value Hav at the current moment. t Exceeds the health assessment value Hav at the previous moment t-1 situation.
[0047] The system can send real-time warnings based on health status trends, provide medical institutions with a basis for timely adjustment of treatment plans, help prevent the disease from worsening, and help improve treatment quality and efficiency.
[0048] Among them, the evaluation parameters include the blood pressure difference Xy at the same time t , heart rhythm difference Xl t , body temperature difference Tw t , poor blood sugar Tx t and blood lipid difference Zx t , and the blood pressure difference Xy t =|Current blood pressure - average blood pressure|, other heart rhythm differences Xl t , body temperature difference Tw t , poor blood sugar Tx t and blood lipid difference Zx t The same principle is used for calculation, so I will not elaborate on it here. The blood pressure difference Xy at the same time in the evaluation parameter t , heart rhythm difference Xl t , body temperature difference Tw t , poor blood sugar Tx t and blood lipid difference Zx t There are several.
[0049] It should be noted that the blood pressure difference Xy t , heart rhythm difference Xl t , body temperature difference Tw t , poor blood sugar Tx t and blood lipid difference Zx t Both represent the difference between the current body data and the normal body data, and both are calculated as absolute values, for example: blood pressure difference Xy t The larger the difference is, the greater the deviation of the current blood pressure from the normal blood pressure is. Therefore, the patient has problems in the recovery process after surgery or the patient's health has decreased after surgery, and there is an abnormality. At this time, the blood pressure difference Xy t , heart rhythm difference Xl t , body temperature difference Tw t , poor blood sugar Tx t and blood lipid difference Zx t Average and health assessment value Hav t Inversely proportional to the blood pressure difference Xyt , heart rhythm difference Xl t , body temperature difference Tw t , poor blood sugar Tx t Or blood lipid difference Zx t The larger the value, the health evaluation value Hav t The smaller it is, the greater the possibility that there is an abnormality in the health status.
[0050] The size of the coefficient is to quantify each parameter to obtain a specific value for subsequent comparison. The size of the coefficient depends on the amount of sample data and the preset proportional coefficients initially set by technical personnel in this field for each group of sample data. It can also be said that it is preset according to actual conditions, as long as it does not affect the proportional relationship between the parameters and the quantized values. The above description is also applied to the preset proportional coefficients and constant correction coefficients described in other formulas. The process of preprocessing the evaluation parameters is: dimensionless processing of the evaluation parameters, removing each data unit, to facilitate subsequent calculation and processing.
[0051] Specifically, by collecting statistics on the patient's basic preoperative data, various health data at different times after surgery can be obtained in real time. Compared with the traditional method of only recording some static information, it is more comprehensive. The basic data and health data are combined and calculated to reduce the amount of data for the evaluation parameters while also ensuring the acquisition of the health evaluation value Hav t The effectiveness of monitoring the current health assessment value Hav after surgery t Exceeds the health assessment value Hav at the previous moment t-1 When an emergency occurs, an early warning and re-diagnosis and treatment are carried out, and the required evaluation parameters and the corresponding health range value comparison result table data are retrieved to avoid real-time recording of table data, so as to increase the data storage capacity of the entire system, and perform scheduling and data storage according to actual needs, which reflects the flexibility of the design of the entire data storage system.
[0052] In the curve chart reflecting the trend of health status change, the X-axis represents the time number in chronological order, and the Y-axis represents the specific health evaluation value. t Exceeds the health assessment value Hav at the previous moment t-1 The purpose of sending the warning signal is to prompt the medical staff to conduct a timely examination of the patient. The scheduling strategy implemented is to retrieve the evaluation parameters at the current moment, that is, the blood pressure difference Xy t , heart rhythm difference Xl t , body temperature difference Tw t , poor blood sugar Tx t and blood lipid difference Zx t, and gives the preset healthy range value of the corresponding evaluation parameter. The healthy range value here is obtained based on the statistical analysis of a large amount of actual data. The minimum and maximum values that meet the health standards are obtained from a large amount of data, and the formed range value is the corresponding healthy range; the evaluation parameters are compared with the corresponding healthy range values, and the comparison results are provided to medical staff for reference in the form of a table, and the table data is stored using data link technology. Medical staff perform targeted treatment operations based on the table information.
[0053] When tabular data is stored through data chain technology, the specific implementation method is: converting tabular data into digital or text format; using encryption algorithm to hash the data to generate a unique hash value; storing the hash value on the blockchain to ensure the immutability and security of the data; data updates can be achieved by creating new blocks and linking the new hash value with the old hash value; data access can be obtained by querying specific hash values or data identifiers on the blockchain; by using data chain technology for tabular data storage, data transparency, traceability and security can be ensured, while providing a trusted storage and access method.
[0054] The above encryption algorithm uses a hash algorithm: mapping data of any length into a hash value of a fixed length, which is often used to verify data integrity or generate a unique identifier. Common hash algorithms include MD5, SHA-1, SHA-256 or SHA-3.
[0055] An example of a table format is as follows:
[0056] Table 1 Example of table format
[0057]
[0058] The analysis storage module takes the previous moment of the corresponding moment of issuing the warning signal as the starting moment (i.e. the current moment), and the health evaluation value Hav t Change to the current health assessment value Hav t The following moment is taken as the end moment. Under the condition of obtaining the warning signal, a rule engine is built to store the health data and health evaluation value Hav at the time corresponding to the warning signal and the S moments before it. t , and the corresponding health data and health assessment value Hav from the current moment to the end moment t , and the corresponding health data and health evaluation value Hav at other moments t Compressed storage.
[0059] The previous moment of the corresponding moment of issuing the warning signal is the current moment. In this embodiment, S is represented by 3, that is, the health data and health level assessment value Hav at the corresponding moment of issuing the warning signal and the three moments before it are stored. t , and the value of S can also be changed according to actual needs.
[0060] Store the health data and health evaluation value Hav at the time when the warning signal is issued and the S previous times t , and the corresponding health data and health assessment value Hav from the current moment to the end moment t The storage technology used is blockchain storage technology. The specific storage method is to create blockchain records: the data corresponding to each warning signal constitutes a transaction, and the transaction is added to the blockchain network to form a block; data storage: in each transaction, it contains a timestamp, health data and health assessment value related information. By using the storage variables or mapping types in the contract, the data is saved on the blockchain; build a chain structure: in order to save the data of the previous S moments, these transactions can be connected through a chain structure. Each new transaction contains the hash value of the corresponding previous transaction to ensure the integrity and non-tamperability of the data; if there is repeated and cross-over data, data deduplication technology is used to eliminate the cross-over data.
[0061] The corresponding health data and health evaluation value Hav at other moments t Compressed storage is performed to increase the storage capacity on the data chain. The compressed storage method is data summary storage: the data is compressed and summarized to generate a unique hash value, and the summary is stored on the blockchain. This can reduce the storage space occupied and the integrity of the data can be verified by the hash value.
[0062] The specific process of data summary storage is as follows:
[0063] Hash function selection: Choose an appropriate hash function, such as SHA-256 or MD5, that can convert the input data into a fixed-length hash value;
[0064] Data segmentation: The original data is divided into several smaller data blocks. Smaller data blocks can reduce the hash calculation time of each block and are more flexible when verifying data. Note: The above original data is the corresponding health data and health assessment value Hav at other remaining moments. t ;
[0065] Hash calculation: Use the selected hash function to perform hash calculation on each data block to generate a unique hash value;
[0066] Summary generation: Combine the hash values of each data block in a certain order to generate an overall summary;
[0067] Store on blockchain: The generated summary is stored on the blockchain. Blockchain is a decentralized distributed database in which each block contains the hash value of the previous block, which ensures the integrity of the data and is not easily tampered with. In this way, the original data can be compressed into a smaller summary and stored on the blockchain, saving storage space and ensuring the integrity of the data by verifying the summary. It is worth noting that the summary storage of the data does not contain the content of the original data, but represents the unique fingerprint of the data, further improving the security of the data.
[0068] Specifically, after processing the patient's health data, in order to facilitate the analysis of the treatment effect evaluation index Tei required to reflect the treatment effect of medical staff in the future, the blockchain storage technology is used to store the health data and health level assessment value Hav at the time when the warning signal is issued and the S previous moments. t , and the corresponding health data and health assessment value Hav from the current moment to the end moment t It is more secure than traditional databases and compresses and stores other related data, which not only retains the storage of remaining data but also further saves storage space.
[0069] The evaluation index module obtains and converts the health evaluation value Hav corresponding to the adjacent moments before and after the starting time to the end time t The difference between the starting time and the end time is used as the evaluation parameters. After the evaluation parameters are dimensionlessly processed, a treatment effect evaluation calculation model is built to generate the treatment effect evaluation index Tei, and the treatment effect evaluation index Tei is compared with the preset standard threshold By. If the treatment effect evaluation index Tei exceeds the standard threshold By, it means that the treatment effect of the corresponding medical staff is excellent. If the treatment effect evaluation index Tei does not exceed the standard threshold By, it means that the treatment effect of the corresponding medical staff is good. The higher the treatment effect evaluation index Tei, the higher the corresponding evaluation level, indicating that the corresponding medical staff is better. It can be used as an indicator data for evaluating the work of each medical staff. The comparison results are compressed and stored to facilitate unified evaluation when summarizing the performance at the end of the year.
[0070] Among them, the health assessment value Hav corresponding to the adjacent moments before and after the starting time to the end time t The difference Cz Q Including Cz 1 , Cz 2 ,…,Cz p, p represents the number of differences, and p is a positive integer, Q = 1, 2, ..., p, Cz 1 Indicates the health evaluation value Hav corresponding to the starting time to the next time t The difference, Cz 1 = The corresponding health evaluation value Hav at the next moment t - Health assessment value Hav corresponding to the starting point t , and so on, the remaining differences are calculated in the same way.
[0071] The formula for generating the treatment effect evaluation index Tei is as follows:
[0072] ;
[0073] In the formula, Indicates the difference Cz Q The coefficient of fluctuation, Represents p difference values Cz Q The average value of Sc represents the time required from the starting point to the end point, and α and β are the difference Cz Q The coefficient of volatility and the preset proportional coefficient of the time Sc required from the starting time to the end time, and β>α>0, G 2 is a constant correction coefficient, the specific value of which can be adjusted by the user or generated by analytical function fitting, and G 2 The value range is 1~2.
[0074] It should be noted that the fluctuation coefficient is proportional to the treatment effect evaluation index Tei. The larger the fluctuation coefficient, the larger the treatment effect evaluation index Tei, and the better the treatment effect. The time required from the starting moment to the end moment is inversely proportional to the treatment effect evaluation index Tei. The longer the time required from the starting moment to the end moment, the longer the treatment takes, the less obvious the treatment effect or the less effective improvement can be achieved, so the smaller the treatment effect evaluation index Tei.
[0075] The size of the coefficient is to quantify each parameter to obtain a specific value for subsequent comparison. The size of the coefficient depends on the amount of sample data and the preliminary setting of the corresponding preset proportional coefficient for each group of sample data by technical personnel in this field. It can also be said that it is preset according to actual conditions, as long as it does not affect the proportional relationship between the parameter and the quantized value. The above description also applies to the preset proportional coefficient and constant correction coefficient described in other formulas.
[0076] Specifically, the required evaluation parameters are obtained by analyzing and calculating the stored data from the starting time to the end time, and the treatment effect evaluation index Tei is generated based on the evaluation parameters that comprehensively consider various factors. The treatment effect evaluation index Tei is compared with the preset standard threshold By. According to the comparison result, the effect of the treatment performed by the medical staff after encountering the warning signal can be accurately obtained, and the treatment effect evaluation index Tei is used to make an indicative and specific evaluation of the work of the corresponding medical staff. By storing the treatment effect evaluation index Tei, specific indicators can be provided for the actual work summary, which is convenient for the subsequent evaluation of the work content of the medical staff.
[0077] Example 2: Figure 3 As shown, based on Example 1, this embodiment also provides a medical data storage method based on blockchain, including the following steps:
[0078] S1. Obtain the basic data of the patient before surgery and the health data of the patient after surgery. The basic data includes average blood pressure, average heart rate, average body temperature, average blood sugar and average blood lipids. The health data includes real-time blood pressure, heart rate, body temperature, blood sugar and blood lipids at the same time.
[0079] S2. Combine basic data and health data, extract the difference of the same type of data as the evaluation parameter, and after preprocessing the evaluation parameters, build a health trend evaluation calculation model to generate the health level evaluation value Hav at each moment t , and form a curve graph, the health evaluation value Hav at the current moment t Exceeds the health assessment value Hav at the previous moment t-1 When a warning signal is sent, the dispatching strategy is executed;
[0080] S3, taking the time before the corresponding time of issuing the warning signal as the starting time, the health level assessment value Hav t Change to the current health assessment value Hav t The following moment is taken as the end moment. Under the condition of obtaining the warning signal, a rule engine is built, and the blockchain storage technology is used to store the health data and health level assessment value Hav at the corresponding moment of the warning signal and the S moments before it. t , and the corresponding health data and health assessment value Hav from the current moment to the end moment t , and the corresponding health data and health evaluation value Hav at other moments t Compressed storage;
[0081] S4. Obtain and convert the health evaluation value Hav corresponding to the adjacent moments before and after the starting time to the end time tThe difference between the starting time and the ending time is used as the evaluation parameters. After the evaluation parameters are dimensionlessly processed, a treatment effect evaluation calculation model is built to generate and store the treatment effect evaluation index Tei, which is used to reflect the treatment effect of the corresponding medical staff.
[0082] In the application, several formulas involved are calculated by removing dimensions and taking their numerical values. The formula is a formula of the most recent real situation obtained by collecting a large amount of data and performing software simulation. The formula is set by technical personnel in this field according to actual conditions.
[0083] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product.
Claims
1. A medical data storage system based on blockchain, characterized by: The system includes: The information acquisition module acquires the basic data of the patient before the operation and the health data of the patient after the operation. The basic data includes average blood pressure, average heart rate, average body temperature, average blood sugar and average blood lipids. The health data includes real-time blood pressure, heart rate, body temperature, blood sugar and blood lipids at the same time. The data processing module combines basic data and health data, extracts the difference of the same type of data as the evaluation parameter, and after preprocessing the evaluation parameters, builds a health trend evaluation calculation model to generate the health level evaluation value Hav at each moment. t , and form a curve graph, the health evaluation value Hav at the current moment t Exceeds the health assessment value Hav at the previous moment t-1 When a warning signal is sent, the dispatching strategy is executed; The process of preprocessing the evaluation parameters is to perform dimensionless processing on the evaluation parameters; the resulting curve is used to reflect the changing trend of the health status, with the X-axis representing the time number in chronological order and the Y-axis representing the specific health evaluation value; the scheduling strategy to be executed is: to retrieve the evaluation parameters at the current moment, i.e., the blood pressure difference Xy t , heart rhythm difference Xl t , body temperature difference Tw t , poor blood sugar Tx t and blood lipid difference Zx t , and give the preset health range value of the corresponding assessment parameter, and compare the assessment parameter with the corresponding health range value, provide the comparison result to the medical staff in the form of a table, and store the table data using data link technology; The analysis storage module takes the time before the corresponding time when the warning signal is issued as the starting time, and the health evaluation value Hav t Change to the current health assessment value Hav t The following moment is taken as the end moment. Under the condition of obtaining the warning signal, a rule engine is built, and the blockchain storage technology is used to store the health data and health level assessment value Hav at the corresponding moment of the warning signal and the S moments before it. t , and the corresponding health data and health assessment value Hav from the current moment to the end moment t , and the corresponding health data and health evaluation value Hav at other moments t Compressed storage; When using data chain technology to store table data, the implementation method is as follows: convert the table data into digital format; use an encryption algorithm to hash the data to generate a unique hash value; store the hash value on the blockchain; update the data by creating a new block and linking the new hash value with the old hash value; access the data by querying a specific hash value on the blockchain; the previous moment of the corresponding moment of issuing the warning signal is the current moment, and the value of S in the previous S moments is 3, and the corresponding health data and health level assessment value Hav at the remaining other moments t When compressed storage is performed, the compressed storage method is data summary storage: compressing the data and summarizing it to generate a unique hash value, and storing the summary on the blockchain. The process of data summary storage is as follows: Hash function selection: select a hash function, which can be either SHA-256 or MD5; Data segmentation: divide the original data into several data blocks; Hash calculation: Use the selected hash function to perform hash calculation on each data block to generate a unique hash value; Summary generation: Combine the hash values of each data block in order to generate an overall summary; Store on the blockchain: The generated summary is stored on the blockchain, where each block contains the hash value of the previous block; The evaluation index module obtains and converts the health evaluation value Hav corresponding to the adjacent moments before and after the starting time to the end time t The difference between the starting time and the end time is used as the evaluation parameter. After the evaluation parameters are dimensionless, a treatment effect evaluation calculation model is built to generate and store the treatment effect evaluation index Tei for reflecting the treatment effect of the corresponding medical staff. The health evaluation value Hav corresponding to the adjacent moments before and after the starting time to the end time t The difference Cz Q Including Cz1, Cz2, ..., Cz p , p represents the number of differences, and p is a positive integer, Q = 1, 2, ..., p, Cz1 represents the health evaluation value Hav corresponding to the starting time to the next time t Cz1 = the corresponding health assessment value Hav at the next moment t - Health assessment value Hav corresponding to the starting point t , and so on, the remaining differences are calculated in the same way; the formula for generating the treatment effect evaluation index Tei is as follows: ; In the formula, Indicates the difference Cz Q The coefficient of fluctuation, Represents p difference values Cz Q The average value of Sc represents the time required from the starting point to the end point, and α and β are the difference Cz Q The coefficient of volatility and the preset proportional coefficient of the time Sc required from the starting time to the end time, and β>α>0, G2 is a constant correction coefficient; After generating the treatment effect evaluation index Tei, the treatment effect evaluation index Tei is compared with the preset standard threshold By. If the treatment effect evaluation index Tei exceeds the standard threshold By, it means that the treatment effect of the corresponding medical staff is excellent. If the treatment effect evaluation index Tei does not exceed the standard threshold By, it means that the treatment effect of the corresponding medical staff is good.
2. The blockchain-based medical data storage system according to claim 1, characterized in that: The basic data comes from the patient's historical physical examination data. The patient's historical physical examination data for a preset number of times is counted, and the basic data in each historical physical examination data are normal values. After accumulating the same type of basic data, the accumulated value is divided by the preset number of times, and the result is the average value of the same type of basic data.
3. The blockchain-based medical data storage system according to claim 2, characterized in that: The evaluation parameters include the blood pressure difference Xy at the same time t , heart rhythm difference Xl t , body temperature difference Tw t , poor blood sugar Tx t and blood lipid difference Zx t , and the blood pressure difference Xy t =|Current blood pressure - average blood pressure|, other heart rhythm differences Xl t , body temperature difference Tw t , poor blood sugar Tx t and blood lipid difference Zx t The same principle is used for calculation.
4. A medical data storage method based on blockchain, using any system described in claims 1 to 3, characterized in that The steps include: S1. Obtain the basic data of the patient before surgery and the health data of the patient after surgery. The basic data includes average blood pressure, average heart rate, average body temperature, average blood sugar and average blood lipids. The health data includes real-time blood pressure, heart rate, body temperature, blood sugar and blood lipids at the same time. S2. Combine basic data and health data, extract the difference of the same type of data as the evaluation parameter, and after preprocessing the evaluation parameters, build a health trend evaluation calculation model to generate the health level evaluation value Hav at each moment t , and form a curve graph, the health evaluation value Hav at the current moment t Exceeds the health assessment value Hav at the previous moment t-1 When a warning signal is sent, the dispatching strategy is executed; The process of preprocessing the evaluation parameters is to perform dimensionless processing on the evaluation parameters; the resulting curve is used to reflect the changing trend of the health status, with the X-axis representing the time number in chronological order and the Y-axis representing the specific health evaluation value; the scheduling strategy to be executed is: to retrieve the evaluation parameters at the current moment, i.e., the blood pressure difference Xy t , heart rhythm difference Xl t , body temperature difference Tw t , poor blood sugar Tx t and blood lipid difference Zx t , and give the preset health range value of the corresponding assessment parameter, and compare the assessment parameter with the corresponding health range value, provide the comparison result to the medical staff in the form of a table, and store the table data using data link technology; S3, taking the time before the corresponding time of issuing the warning signal as the starting time, the health level assessment value Hav t Change to the current health assessment value Hav t The following moment is taken as the end moment. Under the condition of obtaining the warning signal, a rule engine is built, and the blockchain storage technology is used to store the health data and health level assessment value Hav at the corresponding moment of the warning signal and the S moments before it. t , and the corresponding health data and health assessment value Hav from the current moment to the end moment t , and the corresponding health data and health evaluation value Hav at other moments t Compressed storage; When using data chain technology to store table data, the implementation method is as follows: convert the table data into digital format; use an encryption algorithm to hash the data to generate a unique hash value; store the hash value on the blockchain; update the data by creating a new block and linking the new hash value with the old hash value; access the data by querying a specific hash value on the blockchain; the previous moment of the corresponding moment of issuing the warning signal is the current moment, and the value of S in the previous S moments is 3, and the corresponding health data and health level assessment value Hav at the remaining other moments t When compressed storage is performed, the compressed storage method is data summary storage: compressing the data and summarizing it to generate a unique hash value, and storing the summary on the blockchain. The process of data summary storage is as follows: Hash function selection: select a hash function, which can be either SHA-256 or MD5; Data segmentation: divide the original data into several data blocks; Hash calculation: Use the selected hash function to perform hash calculation on each data block to generate a unique hash value; Summary generation: Combine the hash values of each data block in order to generate an overall summary; Store on the blockchain: The generated summary is stored on the blockchain, where each block contains the hash value of the previous block; S4. Obtain and convert the health evaluation value Hav corresponding to the adjacent moments before and after the starting time to the end time t The difference between the starting time and the end time is used as the evaluation parameter. After the evaluation parameters are dimensionless, a treatment effect evaluation calculation model is built to generate and store the treatment effect evaluation index Tei for reflecting the treatment effect of the corresponding medical staff. The health evaluation value Hav corresponding to the adjacent moments before and after the starting time to the end time t The difference Cz Q Including Cz1, Cz2, ..., Cz p , p represents the number of differences, and p is a positive integer, Q = 1, 2, ..., p, Cz1 represents the health evaluation value Hav corresponding to the starting time to the next time t Cz1 = the corresponding health assessment value Hav at the next moment t - Health assessment value Hav corresponding to the starting point t , and so on, the remaining differences are calculated in the same way; the formula for generating the treatment effect evaluation index Tei is as follows: ; In the formula, Indicates the difference Cz Q The coefficient of fluctuation, Represents p difference values Cz Q The average value of Sc represents the time required from the starting point to the end point, and α and β are the difference Cz Q The coefficient of volatility and the preset proportional coefficient of the time Sc required from the starting time to the end time, and β>α>0, G2 is a constant correction coefficient; After generating the treatment effect evaluation index Tei, the treatment effect evaluation index Tei is compared with the preset standard threshold By. If the treatment effect evaluation index Tei exceeds the standard threshold By, it means that the treatment effect of the corresponding medical staff is excellent. If the treatment effect evaluation index Tei does not exceed the standard threshold By, it means that the treatment effect of the corresponding medical staff is good.
Citation Information
Patent Citations
A System and Method for Improving Hospital Patient Care by Providing a Continual Measurement of Health
AU2012203579A1
Block chain storage method and device based on data compression, equipment and storage medium
CN109711839A
Monitoring and evaluating system for life and health states of old people
CN110544541A
Medical analysis method based on block chain and analysis system thereof
CN111026811A
Health data management system based on block chain technology
CN112487494A
