Traditional Chinese medicine prescription processing method, computer equipment and storage medium based on blockchain
Create tokens for traditional Chinese medicine prescriptions and distribute prescription benefits through blockchain technology, solve the problem of confirming traditional Chinese medicine prescription rights, encourage doctors to share, promote the promotion and application of traditional Chinese medicine, and ensure the intergenerational inheritance and sustainable development of traditional Chinese medicine.
Patent Information
- Application Number
- CN202210742702.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-27
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-06-27
AI Technical Summary
Traditional Chinese medicine prescriptions lack effective methods for confirming rights, resulting in unwillingness to disclose prescriptions with good efficacy, which affects the intergenerational inheritance and sustainable and healthy development of traditional Chinese medicine.
Use blockchain technology to create tokens for traditional Chinese medicine prescriptions, confirm rights and distribute prescription income, distribute prescription income through smart contracts, incentivize physicians to share prescriptions, and record and rate prescription effects through blockchain points.
Effectively protect the ownership of traditional Chinese medicine prescriptions, encourage doctors to share prescriptions, promote the promotion and application of traditional Chinese medicine, and ensure the intergenerational inheritance and sustainable and healthy development of traditional Chinese medicine.
Smart Images

Figure CN115050440B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of blockchain, and specifically provides a traditional Chinese medicine prescription processing method, computer equipment and storage medium based on blockchain. Background Art
[0002] The basic idea of Traditional Chinese Medicine is to treat diseases based on syndrome differentiation. It has the characteristics of personalized treatment, such as different treatments for the same disease and the same treatment for different diseases. The ideas and prescriptions of personalized treatment of Traditional Chinese Medicine embody a lot of personal theoretical and practical experience of TCM physicians. Some TCM physicians often refer to the prescriptions of their predecessors when determining the treatment ideas and prescriptions. When referring to the prescriptions of their predecessors, they rarely use the original prescriptions of their predecessors directly, but add, subtract or combine the prescriptions according to the actual situation of the patients to achieve better curative effect. Due to the lack of effective and reliable prescription confirmation methods, the ownership of TCM prescriptions cannot be reliably protected, resulting in prescriptions with good curative effects being regarded as technical secrets by physicians and unwilling to be disclosed, which is not conducive to the intergenerational inheritance and sustainable and healthy development of TCM.
[0003] Accordingly, the art needs a new technical solution to solve the above problems. Summary of the invention
[0004] In order to overcome the above defects, a TCM prescription processing method, computer equipment and storage medium are proposed to protect the ownership of TCM prescriptions based on blockchain, encourage doctors to share TCM prescriptions, benefit more patients and promote the promotion and application of TCM.
[0005] In a first aspect, a method for processing traditional Chinese medicine prescriptions based on blockchain is provided, the method comprising:
[0006] Creating a token of the pending TCM prescription on the blockchain according to the pending TCM prescription, so as to confirm the ownership of the pending TCM prescription;
[0007] Wherein, the token at least includes the beneficiary of the traditional Chinese medicine prescription.
[0008] In a technical solution of the above-mentioned blockchain-based TCM prescription processing method, the method further includes distributing the prescription income of the to-be-processed TCM prescription in the following manner:
[0009] According to the token of the pending TCM prescription, historical prescriptions similar to the pending TCM prescription and prescribed by other doctors are selected from the blockchain as reference prescriptions for the pending TCM prescription;
[0010] Determine the beneficiary of the cited prescription according to the token of the cited prescription;
[0011] Allocate a portion of the prescription proceeds of the pending TCM prescription to the beneficiary of the cited prescription;
[0012] And / or, the method further comprises determining the prescription revenue of the to-be-processed TCM prescription by:
[0013] Determine the prescription and treatment income of the pending TCM prescription based on the treatment fees paid by the patient; and / or generate a preset amount of prescription sharing income after detecting that the pending TCM prescription is uploaded to the blockchain.
[0014] In a technical solution of the above-mentioned blockchain-based TCM prescription processing method, the step of “distributing a portion of the prescription proceeds of the to-be-processed TCM prescription to the beneficiary of the cited prescription” specifically includes:
[0015] Through the smart contract, each time a new prescription benefit is determined, a portion of the new prescription benefit is distributed to the beneficiary of the cited prescription according to a preset distribution ratio.
[0016] In a technical solution of the above-mentioned blockchain-based TCM prescription processing method, the method further includes:
[0017] According to the behavior event triggered by the user subject on the blockchain, increase or decrease the blockchain points corresponding to the behavior event in the user account of the user subject;
[0018] The user subjects include at least doctors, medical institutions and patients, and the behavioral events include at least obtaining blockchain points and consuming blockchain points;
[0019] And / or, the method further comprises:
[0020] Recording the prescription income of the pending TCM prescription in the form of blockchain points, and storing the prescription income in the user account of the beneficiary of the pending TCM prescription;
[0021] And / or, the method further comprises:
[0022] Based on the request for change of beneficiary, the beneficiary of the corresponding traditional Chinese medicine prescription will be changed.
[0023] In a technical solution of the above-mentioned blockchain-based TCM prescription processing method, the method further includes rating the TCM prescription in the token and its associated user entity and storing the rating result on the blockchain in the following manner:
[0024] Through the smart contract and according to the patient account information in the token, the corresponding patient is visited in the short term, mid-term and long term in sequence according to the preset visit cycle to obtain the patient's efficacy feedback information;
[0025] Rating the TCM prescription in the token and its associated user entity according to the efficacy feedback information;
[0026] The associated user entities include at least doctors and medical institutions.
[0027] In a technical solution of the above-mentioned blockchain-based TCM prescription processing method, the efficacy feedback information includes at least symptom relief feedback information and adverse symptom feedback information, and the method further includes rating the TCM prescription according to the efficacy feedback information in the following manner:
[0028] According to the symptom relief feedback information in the efficacy feedback information of the short-term return visit or the mid-term return visit, the short-term relief rate or mid-term relief rate of the traditional Chinese medicine prescription is calculated by the following formula:
[0029]
[0030] Among them, T P_prescription represents the short-term or medium-term remission rate of the TCM prescription, Q relif Indicates the symptom relief feedback information obtained from a short-term or mid-term follow-up visit to a patient. Score (Q relif ) indicates feedback information based on symptom relief Q relif Determined score, N(Q relif ) represents the total number of symptom relief feedback information obtained through short-term or mid-term follow-up visits to multiple patients;
[0031] According to the adverse symptom feedback information in the efficacy feedback information of the short-term return visit or the mid-term return visit, the short-term adverse reaction rate or mid-term adverse reaction rate of the traditional Chinese medicine prescription is calculated by the following formula:
[0032]
[0033] Among them, T N_prescription represents the short-term adverse reaction rate or medium-term adverse reaction rate of the TCM prescription, Q discomfort It indicates the adverse symptom feedback information obtained from a short-term or mid-term follow-up visit to a patient. Score (Q discomfort ) indicates feedback information based on adverse symptoms Q discomfort Determined score, N(Q discomfort ) represents the total number of adverse symptom feedback information obtained from short-term or mid-term follow-up visits to multiple patients;
[0034] Determine the short-term rating score of the TCM prescription according to the short-term remission rate and the short-term adverse reaction rate of the TCM prescription, and determine the mid-term rating score of the TCM prescription according to the mid-term remission rate and the mid-term adverse reaction rate of the TCM prescription;
[0035] Rating the TCM prescription according to the short-term rating score and the mid-term rating score;
[0036] And / or, the efficacy feedback information includes at least symptom relief feedback information and adverse symptom feedback information, and the method further includes rating the associated user entity according to the efficacy feedback information in the following manner:
[0037] Classifying diseases of patients seen by the associated user entity within a preset time period;
[0038] According to the symptom relief feedback information of patients with the i-th disease, the relief rate of the associated user entity is calculated by the following formula:
[0039]
[0040] Among them, T P_entity_i represents the short-term remission rate, medium-term remission rate, or long-term remission rate of the i-th disease corresponding to the associated user entity, Q relif_i represents the symptom relief feedback information obtained from a short-term, mid-term or long-term follow-up visit to a patient with the i-th disease, N(Q relif_i ) indicates feedback information based on symptom relief Q relif_i Determined score, N(Q relif_i ) represents the total number of symptom relief feedback information obtained from short-term, mid-term or long-term follow-up visits to multiple patients with the i-th disease;
[0041] According to the adverse symptom feedback information of the patients with the i-th disease, the adverse reaction rate of the associated user entity is calculated by the following formula:
[0042]
[0043] Among them, T N_entity_i represents the short-term adverse reaction rate, medium-term adverse reaction rate, or long-term adverse reaction rate of the i-th disease corresponding to the associated user entity, Q discomfort_i It represents the adverse symptom feedback information obtained from a short-term, mid-term or long-term follow-up visit to a patient with the i-th disease. Score (Q discomfort_i ) indicates feedback information based on adverse symptoms Q discomfort_i Determined score, N(Q discomfort_i) represents the total number of adverse symptom feedback information obtained from short-term, mid-term or long-term follow-up visits to multiple patients with the i-th disease;
[0044] Determine the short-term rating score of the associated user entity according to the short-term remission rate and the short-term adverse reaction rate of the associated user entity, determine the mid-term rating score of the associated user entity according to the mid-term remission rate and the mid-term adverse reaction rate of the associated user entity, and determine the long-term rating score of the associated user entity according to the long-term remission rate and the long-term adverse reaction rate of the associated user entity;
[0045] The associated user entity is rated according to the short-term rating score, the mid-term rating score and the long-term rating score.
[0046] In a technical solution of the above-mentioned blockchain-based TCM prescription processing method, the method further includes:
[0047] Through the smart contract and according to the patient account information in the token, the corresponding patient is regularly visited for medication relapse to obtain the medication relapse feedback information of the patient;
[0048] According to the drug discontinuation recurrence feedback information of patients with the i-th disease, the drug discontinuation recurrence rate of the associated user entity is calculated by the following formula:
[0049]
[0050] Among them, T R_entity_i represents the recurrence rate of the i-th disease after drug withdrawal corresponding to the associated user entity, Q relapse_i It represents the feedback information of drug withdrawal relapse obtained by revisiting a patient with the i-th disease. Score(Q relapse_i ) indicates the feedback information Q based on the drug withdrawal relapse relapse_i Determined score, N(Q relapse_i ) represents the total number of feedback information on drug discontinuation and relapse obtained by revisiting multiple patients with the i-th disease;
[0051] The associated user entity is rated according to the short-term rating score, the mid-term rating score, the long-term rating score and the post-drug discontinuation relapse rate.
[0052] In a technical solution of the above-mentioned blockchain-based TCM prescription processing method, the method further includes:
[0053] Get the rating results of the TCM prescriptions currently issued by the physician;
[0054] If the rating of the TCM prescription reaches a first set threshold and matches the condition of the patient seen by other doctors, recommending the TCM prescription to other doctors;
[0055] and / or, obtaining rating results of current physicians and / or current medical institutions;
[0056] If the rating of the current physician and / or current medical institution reaches a second set threshold and matches the situation of the current patient, the current physician and / or current medical institution is recommended to the current patient.
[0057] In a second aspect, a computer device is provided, comprising a processor and a storage device, wherein the storage device is suitable for storing a plurality of program codes, and the program codes are suitable for being loaded and run by the processor to execute the blockchain-based TCM prescription processing method described in any one of the technical solutions of the above-mentioned blockchain-based TCM prescription processing method.
[0058] In a third aspect, a computer-readable storage medium is provided, wherein a plurality of program codes are stored in the computer-readable storage medium, wherein the program codes are suitable for being loaded and run by a processor to execute the blockchain-based TCM prescription processing method described in any one of the technical solutions of the above-mentioned blockchain-based TCM prescription processing method.
[0059] The above one or more technical solutions of the present invention have at least one or more of the following beneficial effects:
[0060] In the technical solution of the present invention, a token (Non-Fungible Token) of the pending TCM prescription can be created on the blockchain according to the pending TCM prescription, so as to confirm the ownership of the pending TCM prescription, wherein the token at least includes the beneficiary of the TCM prescription. By creating a token of the TCM prescription on the blockchain, the TCM prescription can be effectively and reliably protected in terms of prescription ownership.
[0061] Furthermore, in the technical solution for implementing the present invention, historical prescriptions similar to the TCM prescription to be processed and prescribed by other doctors can be screened from the blockchain according to the token of the TCM prescription to be processed as reference prescriptions for the TCM prescription to be processed; the beneficiary of the referenced prescription can be determined according to the token of the referenced prescription; and part of the prescription income of the TCM prescription to be processed can be distributed to the beneficiary of the referenced prescription.
[0062] Through the above-mentioned method of distributing prescription profits, physicians can be encouraged to share their TCM prescriptions, thereby benefiting more patients and promoting the promotion and application of TCM, which is conducive to the intergenerational inheritance and sustainable and healthy development of TCM. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. Among them:
[0064] Figure 1 This is a flowchart of the main steps of a method for processing traditional Chinese medicine prescriptions based on blockchain according to an embodiment of the present invention;
[0065] Figure 2 It is a flowchart diagram of the main steps of a method for distributing prescription revenue of a processed traditional Chinese medicine prescription according to an embodiment of the present invention;
[0066] Figure 3 It is a flowchart diagram of the main steps of a method for rating a TCM prescription in a token and its associated user entity according to an embodiment of the present invention. DETAILED DESCRIPTION
[0067] Some embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0068] In the description of the present invention, "processor" may include hardware, software or a combination of the two. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware or a combination of the two. Computer-readable storage media include any suitable medium that can store program codes, such as a magnetic disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, etc. The term "A and / or B" means all possible combinations of A and B, such as only A, only B or A and B.
[0069] See attached Figure 1 , Figure 1 1 is a flowchart of the main steps of a blockchain-based TCM prescription processing method according to an embodiment of the present invention. Figure 1 As shown, the blockchain-based TCM prescription processing method in the embodiment of the present invention mainly includes the following steps S101 to S102.
[0070] Step S101: Obtain the Chinese medicine prescription to be processed.
[0071] Step S102: Create a token (Non-Fungible Token) of the pending TCM prescription on the blockchain according to the pending TCM prescription, so as to confirm the ownership of the pending TCM prescription. The token at least includes the beneficiary of the TCM prescription.
[0072] In an embodiment of the present invention, a smart contract can be used to create a corresponding token on the blockchain each time a TCM prescription is detected and uploaded to the blockchain. Based on the non-interchangeability and indivisibility of the token, the ownership of the TCM prescription can be effectively and reliably confirmed and protected, thereby realizing the confirmation of the ownership of the TCM prescription.
[0073] The tokens for traditional Chinese medicine prescriptions are explained in detail below.
[0074] In the embodiment of the present invention, the token may at least include the beneficiary and creation time of the TCM prescription. In addition, in some embodiments, the token may also include the prescription information of the TCM prescription, the user entity on the blockchain associated with the TCM prescription, and the user entity may include a physician, a medical institution, and a patient. Further, the token may also include the patient's medical data and / or the data index of the medical data.
[0075] 1. Beneficiaries of TCM prescriptions
[0076] The beneficiary is the user entity that holds the ownership of the TCM prescription token among the user entities on the blockchain. The beneficiary can be the same as or different from the author of the TCM prescription (the physician who prescribes the TCM prescription). For example, the beneficiary can be a user entity other than the author of the TCM prescription, such as a physician or medical institution.
[0077] The beneficiary of a TCM prescription is not fixed, and it can be changed between different user entities to realize the transfer of ownership of the TCM prescription. Specifically, in an embodiment of the present invention, the beneficiary of the corresponding TCM prescription can be changed according to a beneficiary change request. The beneficiary change request may at least include information such as the token of the TCM prescription that needs to change the beneficiary (the TCM prescription to be changed), the changed beneficiary (the new beneficiary), etc. After receiving the beneficiary change request, the beneficiary of the TCM prescription to be changed can be changed to a new beneficiary based on the above information in the beneficiary change request. At the same time, the changed event is recorded in the blockchain.
[0078] 2. Creation time
[0079] Creation time refers to the date and time when the token is created on the blockchain based on the pending TCM prescription.
[0080] 3. Prescription information of traditional Chinese medicine prescriptions
[0081] The prescription information of traditional Chinese medicine prescriptions includes but is not limited to the specific contents of the traditional Chinese medicine prescriptions such as the ingredients and dosage of traditional Chinese medicines, as well as the method of taking medicines.
[0082] 4. User entities associated with TCM prescriptions
[0083] The token may include account information of the user entity associated with the TCM prescription, such as physician account information, patient account information, and institution account information.
[0084] The account information includes at least an identity document, subject metadata and a key pair. Subject metadata includes but is not limited to the name, type, address and telephone number of the subject (physician or patient or institution).
[0085] The physician can use the private key to digitally sign the TCM prescription through the physician terminal, and then upload the TCM prescription to the blockchain to create a token. Other physicians, patients, or medical institutions can obtain the token from the blockchain through their respective terminals and use the public key to sign and verify the token, and obtain the TCM prescription and other information in the token. Among them, the terminals corresponding to the physician, patient, or medical institution include but are not limited to mobile phones and computer devices. It should be noted that the use of public and private keys for digital signature and verification are both conventional technical means in the field of cryptography technology, and the embodiments of the present invention do not limit the specific methods of digital signature and verification.
[0086] 5. Patient's medical data and / or data index of medical data
[0087] The patient's medical consultation data may be pre-diagnosis information obtained by consulting the patient through other channels before the doctor consults the patient, or may be on-site medical consultation information obtained by the doctor during on-site consultation with the patient.
[0088] Pre-diagnosis information can be information obtained by interviewing patients through a traditional Chinese medicine diagnosis and treatment system built based on artificial intelligence technology, or it can be information obtained by examining the patient's physical condition through modern medicine. In addition, the pre-diagnosis information can also include the patient's medical history before the visit and related medical records. In an embodiment of the present invention, the visit data can be stored on the blockchain in response to the visit data sent by the patient terminal, and a data index is generated for the current patient's visit data, so that the visit data of different patients can be obtained by querying the data index. The token of the traditional Chinese medicine prescription can store the patient's visit data, or store the data index of the visit data, or store the visit data and its data index at the same time. Since the data on the blockchain is public, in order to protect the privacy of the patient, for the data that needs to be protected by privacy, the public key can be used to encrypt and store the data. When other subjects (doctors or patients or institutions) want to obtain these data, they must obtain the corresponding private key from the patient, and then use the private key to decrypt and obtain the corresponding data.
[0089] Based on the method described in the above steps S101 to S102, the method of creating a token of a TCM prescription on the blockchain can provide effective and reliable protection of the ownership of the TCM prescription.
[0090] The following explains how to determine and distribute the prescription revenue for processing traditional Chinese medicine prescriptions.
[0091] 1. Method for determining the prescription income of pending TCM prescriptions
[0092] After the TCM prescription to be processed is confirmed through the method described in steps S101 to S102, the prescription income of the TCM prescription to be processed can also be determined in the following ways:
[0093] Based on the medical expenses paid by the patient, the prescription medical treatment income of the pending TCM prescription is determined, and / or, after detecting that the pending TCM prescription is uploaded to the blockchain, a preset amount of prescription sharing income is generated.
[0094] In this embodiment, part or all of the medical expenses paid by the patient can be used as the prescription medical treatment income of the TCM prescription to be processed according to the profit ratio. Those skilled in the art can flexibly set the specific value of the profit ratio according to actual needs, and the embodiment of the present invention does not specifically limit it.
[0095] Since the data on the blockchain is public, once the pending TCM prescription is uploaded to the blockchain, in addition to the author of the pending TCM prescription, other user entities such as doctors or medical institutions can also view and obtain the pending TCM prescription. Therefore, once the pending TCM prescription is uploaded to the blockchain, it is equivalent to sharing it with other user entities. In order to encourage more doctors to share their TCM prescriptions, so that more patients can benefit and promote the promotion and application of TCM, a preset number of prescription sharing benefits can be generated after detecting that the pending TCM prescription is uploaded to the blockchain. It should be noted that those skilled in the art can flexibly set the specific value of the preset number according to actual needs, and the embodiments of the present invention do not make specific limitations.
[0096] 2. Distribution method of prescription income for pending TCM prescriptions
[0097] See attached Figure 2 In the embodiment of the present invention, the prescription income of the pending traditional Chinese medicine prescription can be distributed through the following steps S201 to S203.
[0098] Step S201: Based on the token of the TCM prescription to be processed, historical prescriptions similar to the TCM prescription to be processed and issued by other doctors are screened from the blockchain as reference prescriptions for the TCM prescription to be processed.
[0099] Other physicians refer to physicians other than the author of the pending TCM prescription (the physician who issued the pending TCM prescription). Historical prescriptions refer to TCM prescriptions whose token creation time is before the token creation time of the pending TCM prescription.
[0100] In some implementations, historical prescriptions similar to the TCM prescription to be processed may be screened through the following steps S1021 to S1022.
[0101] Step S1021: Determine the Chinese medicine ingredients and dosage of the Chinese medicine prescription to be processed.
[0102] Step S1022: Select historical prescriptions issued by other doctors with similar overlap of Chinese medicine ingredients and dosage ratios from the blockchain as historical prescriptions similar to the TCM prescription to be processed.
[0103] The overlap of Chinese medicine ingredients refers to the proportion of the same Chinese medicine ingredients in the Chinese medicine prescriptions to be processed and the Chinese medicine prescriptions prescribed by other doctors.
[0104] The dosage ratio refers to the dosage ratio between the same Chinese herbal ingredients. For example, if the same Chinese herbal ingredients are cinnamon twig and white peony root, and the dosages of cinnamon twig and white peony root are 9 grams and 6 grams respectively, the dosage ratio of cinnamon twig and white peony root is 3:2.
[0105] In some embodiments, the following steps 11 to 14 can be used to determine whether the overlap of Chinese medicine ingredients and dosage ratios are similar. For the sake of simplicity, the Chinese medicine prescriptions issued by the current physician and other physicians are described as "current prescription A" and "other prescriptions B", respectively.
[0106] Step 11: Establish a first space vector A by taking the dosage of each Chinese medicinal ingredient in the current prescription A as the element value of the column element corresponding to each Chinese medicinal ingredient.
[0107] Step 12: Establish a second space vector B by taking the dosage of each Chinese medicinal ingredient in other prescriptions B as the element value of the column element corresponding to each Chinese medicinal ingredient.
[0108] Referring to Table 1 and Table 2, Table 1 exemplifies the Chinese medicine ingredients and dosages of the current prescription A, and Table 2 exemplifies the Chinese medicine ingredients and dosages of other prescriptions B. According to the information shown in Table 1 and Table 2, through the above steps 11 and 12, it can be established that the first space vector A is [9,9,6,6,6,0], and the second space vector B is [6,12,6,6,6,6].
[0109] Table 1
[0110] Chinese herbal medicine ingredients Cassia twig White Peony Root Licorice Ginger Jujube dose 9 g 9 g 6 g 6 g 6 g
[0111] Table 2
[0112] Chinese herbal medicine ingredients Cassia twig White Peony Root Licorice Ginger Jujube Maltose dose 6 g 12 g 6 g 6 g 6 g 6 g
[0113] It should be noted that, in the first space vector A and the second space vector B, the element values of the same column elements represent the dosage of the same Chinese medicine ingredient. For example, in the examples shown in Table 1 and Table 2, the element values of the 1st to 6th columns of the first space vector A and the second space vector B represent the dosages of cinnamon twig, white peony root, liquorice, ginger, jujube and maltose, respectively. Among them, the current prescription A does not contain maltose, so the dosage corresponding to maltose is 0.
[0114] Step 13: Determine the spatial angle θ between the first space vector A and the second space vector B.
[0115] Step 14: Determine whether the overlap of Chinese medicine components and the dosage ratio are similar based on the spatial angle θ. The smaller the spatial angle θ is, the smaller the difference between the first space vector A and the second space vector B is, and vice versa. In this embodiment, it can be determined whether the overlap of Chinese medicine components and the dosage ratio are similar based on the comparison result of the spatial angle θ and the angle threshold. If the spatial angle θ is less than the angle threshold, it is determined that the overlap of Chinese medicine components and the dosage ratio are similar, otherwise it is determined that the overlap of Chinese medicine components and the dosage ratio are not completely similar.
[0116] In one implementation of the above step 14, the actual angle value of the spatial angle θ can be obtained, and the actual angle value can be compared with the corresponding angle threshold. If the actual angle value is less than the angle threshold, it is determined that the overlap degree and dosage ratio of the traditional Chinese medicine ingredients are similar.
[0117] In another embodiment of the above step 14, instead of obtaining the actual angle value of the spatial angle θ, an angle representation value that can characterize the size of the spatial angle θ (including but not limited to the cosine value cosθ or the sine value sinθ of the spatial angle θ, etc.) is obtained, and the angle representation value is compared with the corresponding angle threshold to determine whether the overlap degree of the Chinese medicine ingredients and the dosage ratio are similar.
[0118] Further, in this embodiment, according to the size relationship between the angle characterization value and the spatial angle θ, different methods can be used to determine whether the overlap degree of Chinese medicine components and the dosage ratio are similar. Specifically, if the angle characterization value decreases as the spatial angle θ increases within a certain range, it can be determined that the smaller the angle characterization value, the greater the difference between the first space vector A and the second space vector B, and the larger the angle characterization value, the smaller the difference between the first space vector A and the second space vector B. At this time, it can be determined whether the angle characterization value is greater than the corresponding angle threshold value. If it is greater, it is determined that the overlap degree of Chinese medicine components and the dosage ratio are similar.
[0119] In some embodiments, the cosine value cosθ of the spatial angle θ can be used as the angle representation value. In this case, the cosine value cosθ of the spatial angle θ between the first spatial vector A and the second spatial vector B can be calculated by the following formula (1). If the cosine value cosθ is greater than the corresponding angle threshold, it is determined that the overlap degree of the Chinese medicine ingredients and the dosage ratio are similar.
[0120]
[0121] The meanings of the parameters in formula (1) are as follows:
[0122] and denote the first space vector A and the modulus of the first space vector A respectively, and denote the second space vector B and the modulus of the second space vector B respectively.
[0123] If the angle characterization value increases as the spatial angle θ increases within a certain range, it can be determined that the smaller the angle characterization value, the smaller the difference between the first space vector A and the second space vector B, and the larger the angle characterization value, the larger the difference between the first space vector A and the second space vector B. At this time, it can be determined whether the angle characterization value is less than the corresponding angle threshold value, and if so, it is determined that the overlap degree and dosage ratio of the traditional Chinese medicine components are similar.
[0124] It should be noted that the angle thresholds used when performing threshold comparisons on the actual angle value and the angle characterization value are different, and the angle thresholds used when performing threshold comparisons on different types of angle characterization values are also different. Those skilled in the art can flexibly set the specific values of the corresponding angle thresholds according to actual needs. As long as it is possible to determine whether the overlap of the Chinese medicine ingredients and the dosage ratio are similar by performing threshold comparisons, the embodiments of the present invention do not limit the specific values of the angle thresholds.
[0125] The above is an explanation of the method for determining whether the overlap degree of Chinese medicine ingredients and the dosage ratio are similar. The following is an explanation of step S202 in the embodiment of the present invention.
[0126] Step S202: Determine the beneficiary of the referenced prescription based on the token of the referenced prescription.
[0127] Step S203: distribute a portion of the prescription revenue of the pending TCM prescription to the beneficiary who cited the prescription.
[0128] In some embodiments, a portion of the new prescription income can be distributed to the beneficiary of the citing prescription according to a preset distribution ratio each time a new prescription income is determined through a smart contract. When the prescription income of the pending Chinese medicine prescription consists of a variety of different incomes, the preset distribution ratios corresponding to each different income can be the same or different. Those skilled in the art can flexibly set the specific value of the preset distribution ratio according to actual needs, and the embodiments of the present invention do not specifically limit it.
[0129] Based on the method described in steps S201 to S203 above, not only can the ownership of TCM prescriptions be effectively and reliably protected, but also doctors can be encouraged to share their TCM prescriptions by distributing profits, thereby benefiting more patients and promoting the promotion and application of TCM, which is beneficial to the intergenerational inheritance and sustainable and healthy development of TCM.
[0130] The blockchain points mechanism in the embodiment of the present invention is described below.
[0131] In order to facilitate the management of prescription revenue on the blockchain in the embodiment of the present invention, the prescription revenue of the pending TCM prescription can be recorded in the form of blockchain points, and the prescription revenue can be stored in the user account of the beneficiary of the pending TCM prescription.
[0132] Specifically, when determining the prescription diagnosis and treatment benefits of the pending TCM prescriptions based on the diagnosis and treatment fees paid by the patients, if the diagnosis and treatment fees paid by the patients are blockchain points, then the prescription diagnosis and treatment benefits of the pending TCM prescriptions are directly determined based on these blockchain points; if the diagnosis and treatment fees paid by the patients are not blockchain points, then the diagnosis and treatment fees paid by the patients are first converted into blockchain points, and then the prescription diagnosis and treatment benefits of the pending TCM prescriptions are determined based on the converted blockchain points. When it is detected that a preset number of prescription sharing benefits are generated after the pending TCM prescriptions are uploaded to the blockchain, a preset number of blockchain points can be directly generated as prescription sharing benefits.
[0133] Furthermore, the blockchain points in the embodiment of the present invention are homogeneous and divisible, so the blockchain points can be circulated between different user entities on the blockchain, each user entity has its own user account, and the user account can store blockchain points, wherein the user subjects at least include doctors, medical institutions and patients, etc. In the embodiment of the present invention, according to the behavior events triggered by the user subjects on the blockchain, the blockchain points corresponding to the behavior events can be increased or decreased in the user account of the user subject, wherein the behavior events at least include obtaining blockchain points and consuming blockchain points.
[0134] 1. Behavioral events for obtaining blockchain points
[0135] When the user entity is a physician, the behavioral events for obtaining blockchain points may at least include registering a user account on the blockchain, uploading the physician's own Chinese medicine prescriptions to the blockchain, providing diagnosis and treatment services to patients, etc.
[0136] When the user entity is a patient, the behavioral events for obtaining blockchain points may at least include registering a user account on the blockchain, uploading medical data such as symptoms and chief complaints to the blockchain, etc.
[0137] When the user entity is a medical institution, the behavioral events for obtaining blockchain points may at least include registering a user account on the blockchain, providing diagnosis and treatment services to patients, etc.
[0138] 2. Behavioral events of consuming blockchain points
[0139] The behavioral events of consuming blockchain points may at least include purchasing medical services provided by doctors, using blockchain points to redeem physical items, etc.
[0140] In the prior art, digital currencies on blockchains often require proof of computing power before they can be issued, which consumes a lot of energy and computing power. However, the embodiments of the present invention can automatically grant blockchain points to a user entity when the user entity triggers a behavior event for obtaining blockchain points, or automatically grant blockchain points to a user entity when prescription revenue is distributed through the prescription revenue distribution method described in the aforementioned method embodiment, without consuming a lot of energy and computing power.
[0141] The above is a detailed description of the blockchain points mechanism.
[0142] See attached Figure 3 In another embodiment of the blockchain-based TCM prescription processing method of the present invention, the TCM prescription in the token and its associated user entity can be rated and the rating results can be stored on the blockchain through the following steps S301 to S303.
[0143] Step S301: Through the smart contract and according to the patient account information in the token, short-term, mid-term and long-term follow-up visits are conducted on the corresponding patients in sequence according to the preset follow-up cycle to obtain the patient's efficacy feedback information.
[0144] Those skilled in the art can flexibly set the revisit period for short-term revisits, mid-term revisits and long-term revisits according to actual needs. For example, the revisit period for short-term revisits, mid-term revisits and long-term revisits can be 7 days, 30 days and 90 days. The embodiment of the present invention does not limit the specific duration of the revisit period. In addition, in the embodiment of the present invention, the revisit questions can be pre-set, and the corresponding revisit questions can be output when the revisit is performed, and the answers to the questions fed back by the patients for the revisit questions are used as the patient's efficacy feedback information. For example, in some embodiments, the revisit questions can be shown in Table 3 below.
[0145] Table 3
[0146]
[0147] Step S302: Rating the TCM prescription in the token and its associated user entity according to the efficacy feedback information.
[0148] Since the efficacy feedback information reflects whether the patient's symptoms are effectively relieved or cured after taking the TCM prescription, the TCM prescription can be rated according to the degree of symptom relief or whether the symptoms are cured in the efficacy feedback information. The higher the rating of the TCM prescription, the better the treatment effect of the TCM prescription. Similarly, the higher the rating of the user entity, the better the diagnosis and treatment level of the user entity.
[0149] Step S303: Store the rating results on the blockchain.
[0150] Since the data on the blockchain is public, storing the rating results on the blockchain will help doctors, patients and medical institutions to query the rating results of different TCM prescriptions and obtain TCM prescriptions with better efficacy. It will also help patients to query the rating results of different doctors and medical institutions and choose doctors and medical institutions with better diagnosis and treatment levels.
[0151] In some embodiments, in order to facilitate doctors to obtain TCM prescriptions with better efficacy, TCM prescriptions can be automatically recommended to doctors according to the rating results of TCM prescriptions. Specifically, in this embodiment, the rating results of TCM prescriptions issued by the current doctor can be obtained, and if the rating of the TCM prescription reaches a first set threshold and matches the situation of patients treated by other doctors, the TCM prescription is recommended to other doctors.
[0152] If the rating of a TCM prescription reaches the first set threshold and matches the conditions of patients seen by other physicians, it indicates that the TCM prescription has a high therapeutic effect and is also suitable for the patients seen by other physicians, so the TCM prescription can be recommended to other physicians. When a TCM prescription does not meet the condition of "the rating reaches the first set threshold and matches the conditions of patients seen by other physicians", the TCM prescription may have three situations: "the rating reaches the first set threshold, but does not match the patient's condition", "the rating does not reach the first set threshold, but matches the patient's condition", and "the rating does not reach the first set threshold and does not match the patient's condition", and none of these three situations is suitable for recommending the TCM prescription to other physicians for use.
[0153] The first set threshold is used to distinguish whether the TCM prescription reaches the level threshold that can be recommended to other doctors for use. If the rating of the TCM prescription reaches the first set threshold, it can be recommended to other doctors for use; otherwise, it cannot be recommended to other doctors for use.
[0154] In some embodiments, in order to facilitate the patient to select a physician and / or medical institution with a better diagnosis and treatment level, the physician and / or medical institution can be automatically recommended to the patient based on the rating results of the physician and / or medical institution. Specifically, in this embodiment, the rating results of the current physician and / or the current medical institution can be obtained, and if the rating of the current physician and / or the current medical institution reaches a second set threshold and matches the situation of the current patient, the current physician and / or the current medical institution is recommended to the current patient.
[0155] If the rating of the user entity (physician or medical institution) reaches the second set threshold and matches the patient's condition, it indicates that the user entity has a high level of diagnosis and treatment and is also suitable for the patient, so the user entity can be recommended to the patient. When the user entity does not meet the condition of "the rating reaches the second set threshold and matches the patient's condition", the user entity may have three situations: "the rating reaches the second set threshold, but does not match the patient's condition", "the rating does not reach the second set threshold, but matches the patient's condition", and "the rating does not reach the second set threshold and does not match the patient's condition", and none of these three situations is suitable for recommending the user entity to the patient.
[0156] The second set threshold is used to distinguish whether the physician and medical institution have reached the level threshold that can be recommended to the patient. If the rating of the physician and medical institution reaches the second set threshold, they can be recommended to the patient, otherwise they cannot be recommended to the patient.
[0157] Through the methods described in steps S301 to S303 above, the TCM prescriptions in the token and their associated user entities can be rated, so that doctors, patients and medical institutions can query the rating results of different TCM prescriptions and obtain TCM prescriptions with better efficacy, and patients can query the rating results of different doctors and medical institutions and choose doctors and medical institutions with better diagnosis and treatment levels. Further, in some embodiments, patients can use blockchain points to redeem the diagnosis and treatment services of doctors or medical institutions, and patients can obtain blockchain points by uploading medical treatment data to the blockchain and purchasing blockchain points.
[0158] The above step S302 is further explained below.
[0159] In order to accurately rate the TCM prescriptions, in some implementations according to the above step S302, the TCM prescriptions may be rated through the following steps S3021 to S3024.
[0160] Step S3021: Calculate the short-term relief rate or mid-term relief rate of the TCM prescription according to the symptom relief feedback information in the efficacy feedback information of the short-term follow-up or mid-term follow-up using the following formula (2).
[0161]
[0162] The meaning of each parameter in formula (2) is: T P_prescription represents the short-term or medium-term remission rate of TCM prescriptions, Q relif Indicates the symptom relief feedback information obtained from a short-term or mid-term follow-up visit to a patient. Score (Q relif ) indicates feedback information based on symptom relief Q relif Determined score, N(Q relif ) represents the total number of symptom relief feedback information obtained from short-term or mid-term follow-up visits to multiple patients. In the embodiment of the present invention, if the symptom relief feedback information indicates that the symptoms have been relieved, then the corresponding score may be a value greater than zero; if the symptom relief feedback information indicates that the symptoms have not been relieved, then the corresponding score may be a value less than zero. For example, referring to Table 3, the score when the symptoms are relieved may be 1, and the score when the symptoms are not relieved may be -1.
[0163] Step S3022: Calculate the short-term adverse reaction rate or mid-term adverse reaction rate of the TCM prescription according to the adverse symptom feedback information in the efficacy feedback information of the short-term follow-up or mid-term follow-up using the following formula (3).
[0164]
[0165] The meaning of each parameter in formula (3) is: TN_prescription represents the short-term adverse reaction rate or medium-term adverse reaction rate of TCM prescriptions, Q discomfort It indicates the adverse symptom feedback information obtained from a short-term or mid-term follow-up visit to a patient. Score (Q discomfort ) indicates feedback information based on adverse symptoms Q discomfort Determined score, N(Q discomfort ) represents the total number of adverse symptom feedback information obtained from short-term or mid-term follow-up visits to multiple patients. In the embodiment of the present invention, if the adverse symptom feedback information indicates that there are no adverse symptoms, then the corresponding score may be a value greater than zero; if the adverse symptom feedback information indicates that there are adverse symptoms, then the corresponding score may be a value less than zero. For example, referring to Table 3, the score when there are no adverse symptoms may be 1, and the score when there are adverse symptoms may be -1.
[0166] Step S3023: Determine the short-term rating score of the TCM prescription according to the short-term remission rate and the short-term adverse reaction rate of the TCM prescription, and determine the mid-term rating score of the TCM prescription according to the mid-term remission rate and the mid-term adverse reaction rate of the TCM prescription.
[0167] In this embodiment, the sum of the short-term remission rate and the short-term adverse reaction rate can be used as the short-term rating score of the TCM prescription. At the same time, the sum of the mid-term remission rate and the mid-term adverse reaction rate can also be used as the mid-term rating score of the TCM prescription.
[0168] In an example, if 10 patients are visited for a short period of time and 10 pieces of feedback on symptom relief and 10 pieces of feedback on adverse symptoms are obtained, according to Table 3, the scores of the 10 pieces of feedback on symptom relief are 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, and the scores of the 10 pieces of feedback on adverse symptoms are 1, 1, 1, 1, 1, 1, -1, -1, -1, -1. The short-term relief rate is calculated according to formula (2): Similarly, the short-term adverse reaction rate calculated according to formula (3) is also 0.1.
[0169] Step S3024: Rating the TCM prescription according to the short-term rating score and the mid-term rating score. In this embodiment, the sum of the short-term rating score and the mid-term rating score can be used as the rating result of the TCM prescription. In addition, in some embodiments, the TCM prescription can be rated only according to the short-term rating score, or only according to the mid-term rating score.
[0170] Through the methods described in steps S2021 to S2024 above, accurate rating of traditional Chinese medicine prescriptions can be achieved.
[0171] In order to accurately rate the user entities (physicians and medical institutions) associated with the TCM prescription, in other implementations of the above step S302, the user entities associated with the TCM prescription can be rated through the following steps S3025 to S3029.
[0172] Step S3025: Classify the diseases of patients seen by the user entity associated with the TCM prescription within the preset time. Those skilled in the art can flexibly set the specific value of the preset time according to actual needs. For example, the preset time can be 1 year, and the embodiment of the present invention does not specifically limit this. In addition, those skilled in the art can also flexibly classify the patient's disease according to actual needs, for example, classify the disease into spleen and stomach diseases and liver and gallbladder diseases, etc., and the embodiment of the present invention also does not specifically limit this.
[0173] Step S3026: Based on the symptom relief feedback information of the patients with the i-th disease, the relief rate of the user entity is calculated by the following formula (4).
[0174]
[0175] The meaning of each parameter in formula (4) is: T P_entity_i represents the short-term remission rate, medium-term remission rate, or long-term remission rate of the i-th disease corresponding to the user entity associated with the TCM prescription, Q relif_i represents the symptom relief feedback information obtained from a short-term, mid-term or long-term follow-up visit to a patient with the i-th disease, N(Q relif_i ) indicates feedback information based on symptom relief Q relif_i Determined score, N(Q relif_i ) represents the total number of symptom relief feedback information obtained from short-term, mid-term or long-term follow-up visits to multiple patients with the i-th disease. In the embodiment of the present invention, if the symptom relief feedback information indicates that the symptoms have been relieved, then the corresponding score may be a value greater than zero; if the symptom relief feedback information indicates that the symptoms have not been relieved, then the corresponding score may be a value less than zero. For example, referring to Table 3, the score when the symptoms are relieved may be 1, and the score when the symptoms are not relieved may be -1.
[0176] Step S3027: Based on the adverse symptom feedback information of the patients with the i-th disease, the adverse reaction rate of the user entity is calculated by the following formula (5).
[0177]
[0178] The meaning of each parameter in formula (5) is: T N_entity_i Indicates the short-term adverse reaction rate, medium-term adverse reaction rate, or long-term adverse reaction rate of the i-th disease corresponding to the user entity associated with the TCM prescription, Qdiscomfort_i It represents the adverse symptom feedback information obtained from a short-term, mid-term or long-term follow-up visit to a patient with the i-th disease. Score (Q discomfort_i ) indicates feedback information based on adverse symptoms Q discomfort_i Determined score, N(Q discomfort_i ) represents the total number of adverse symptom feedback information obtained from short-term, mid-term or long-term follow-up visits to multiple patients with the i-th disease. In the embodiment of the present invention, if the adverse symptom feedback information indicates that there are no adverse symptoms, then the corresponding score may be a value greater than zero; if the adverse symptom feedback information indicates that there are adverse symptoms, then the corresponding score may be a value less than zero. For example, referring to Table 3, the score when there are no adverse symptoms may be 1, and the score when there are adverse symptoms may be -1.
[0179] Step S3028: Determine the short-term rating score of the user entity associated with the TCM prescription based on the short-term remission rate and short-term adverse reaction rate of the user entity associated with the TCM prescription, determine the mid-term rating score of the user entity associated with the TCM prescription based on the mid-term remission rate and mid-term adverse reaction rate of the user entity associated with the TCM prescription, and determine the long-term rating score of the user entity associated with the TCM prescription based on the long-term remission rate and long-term adverse reaction rate of the user entity associated with the TCM prescription.
[0180] In this embodiment, the sum of the short-term remission rate and the short-term adverse reaction rate can be used as the short-term rating score of the user entity associated with the TCM prescription, the sum of the medium-term remission rate and the medium-term adverse reaction rate can be used as the medium-term rating score of the user entity associated with the TCM prescription, and the sum of the long-term remission rate and the long-term adverse reaction rate can be used as the long-term rating score of the user entity associated with the TCM prescription.
[0181] Step S3029: Rating the user entity associated with the TCM prescription according to the short-term rating score, the mid-term rating score and the long-term rating score.
[0182] In this embodiment, the sum of the short-term rating score, the mid-term rating score and the long-term rating score can be used as the rating result of the TCM prescription. In addition, in some embodiments, the user entity can be rated only according to the short-term rating score, or the user entity associated with the TCM prescription can be rated only according to the mid-term rating score, or the user entity associated with the TCM prescription can be rated only according to the long-term rating score, or the user entity associated with the TCM prescription can be rated according to any two rating scores among the short-term rating score, the mid-term rating score and the long-term rating score.
[0183] Through the methods described in steps S3025 to S3029 above, accurate rating of user entities associated with traditional Chinese medicine prescriptions can be achieved.
[0184] Furthermore, in another embodiment of the above step S302, a smart contract (SmartContract) can be used to periodically conduct a follow-up visit to the corresponding patient based on the patient account information in the token to obtain the patient's feedback information on drug withdrawal and recurrence. After obtaining the feedback information on drug withdrawal and recurrence, the drug withdrawal and recurrence rate of the user entity associated with the traditional Chinese medicine prescription can be calculated based on the drug withdrawal and recurrence feedback information of the patients with the i-th disease and the following formula (6), and then the user entity associated with the traditional Chinese medicine prescription can be rated based on the short-term rating score, mid-term rating score, long-term rating score and the drug withdrawal and recurrence rate obtained by the methods described in the above steps S3025 to S3029.
[0185]
[0186] The meaning of each parameter in formula (6) is: T R_entity_i represents the recurrence rate of the i-th disease after drug withdrawal corresponding to the user entity associated with the TCM prescription, Q relapse_i It represents the feedback information of drug withdrawal relapse obtained by revisiting a patient with the i-th disease. Score(Q relapse_i ) indicates the feedback information Q based on the drug withdrawal relapse relapse_i Determined score, N(Q relapse_i ) represents the total number of medication relapse feedback information obtained by revisiting multiple patients with the i-th disease. In the embodiment of the present invention, if the medication relapse feedback information indicates that there is no relapse, the corresponding score may be a value greater than zero; if the medication relapse feedback information indicates that a relapse has occurred, the corresponding score may be a value less than zero. For example, referring to Table 3, the score when there is no relapse may be 1, and the score when there is a relapse may be -1.
[0187] In the embodiment of the present invention, the revisit period for the patient's drug withdrawal relapse revisit can be greater than the revisit period for the patient's long-term revisit in the aforementioned method embodiment. For example, if the revisit period for the long-term revisit is 90 days, then the revisit period for the drug withdrawal relapse revisit can be 180 days. After obtaining the relapse rate after drug withdrawal, the sum of the short-term rating score, the mid-term rating score, the long-term rating score and the relapse rate after drug withdrawal can be used as the final rating result.
[0188] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effects of the present invention, different steps do not have to be performed in such an order. They can be performed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present invention.
[0189] It is understood by those skilled in the art that the present invention implements all or part of the processes in the method of the above embodiment, and can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium that can carry the computer program code. It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electric carrier signals and telecommunication signals.
[0190] Furthermore, the present invention also provides a computer device. In one embodiment of a computer device according to the present invention, the computer device includes a processor and a storage device, the storage device can be configured to store a program for executing the blockchain-based TCM prescription processing method of the above-mentioned method embodiment, and the processor can be configured to execute the program in the storage device, which includes but is not limited to executing the blockchain-based TCM prescription processing method of the above-mentioned method embodiment. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The computer device can be a device formed by various electronic devices.
[0191] Furthermore, the present invention also provides a computer-readable storage medium. In a computer-readable storage medium embodiment according to the present invention, the computer-readable storage medium can be configured to store a program for executing the blockchain-based TCM prescription processing method of the above-mentioned method embodiment, and the program can be loaded and run by the processor to implement the above-mentioned blockchain-based TCM prescription processing method. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The computer-readable storage medium can be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present invention is a non-temporary computer-readable storage medium.
[0192] So far, the technical solution of the present invention has been described in conjunction with an embodiment shown in the accompanying drawings, but it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A method for processing traditional Chinese medicine prescriptions based on blockchain, characterized in that: The method comprises: Creating a token of the pending TCM prescription on the blockchain according to the pending TCM prescription, so as to confirm the ownership of the pending TCM prescription; wherein the token at least includes the beneficiary of the TCM prescription; The method further includes distributing the prescription proceeds of the pending TCM prescription in the following manner: selecting historical prescriptions similar to the pending TCM prescription and prescribed by other physicians from the blockchain according to the token of the pending TCM prescription as reference prescriptions of the pending TCM prescription; determining the beneficiary of the reference prescription according to the token of the reference prescription; and distributing a portion of the prescription proceeds of the pending TCM prescription to the beneficiary of the reference prescription; The method further includes rating the TCM prescriptions in the token and the associated user entities and storing the rating results on the blockchain in the following manner: through a smart contract and according to the patient account information in the token, a short-term return visit, a mid-term return visit and a long-term return visit are conducted on the corresponding patient in sequence according to a preset return visit cycle to obtain the patient's efficacy feedback information; rating the TCM prescriptions in the token and the associated user entities according to the efficacy feedback information; wherein the associated user entities include at least physicians and medical institutions; The efficacy feedback information at least includes symptom relief feedback information and adverse symptom feedback information. The method also includes rating the TCM prescription according to the efficacy feedback information and in the following manner: calculating the short-term relief rate or mid-term relief rate of the TCM prescription according to the symptom relief feedback information in the efficacy feedback information of the short-term follow-up or the mid-term follow-up; calculating the short-term adverse reaction rate or mid-term adverse reaction rate of the TCM prescription according to the adverse symptom feedback information in the efficacy feedback information of the short-term follow-up or the mid-term follow-up; determining the short-term rating score of the TCM prescription according to the short-term relief rate and the short-term adverse reaction rate of the TCM prescription, and determining the mid-term rating score of the TCM prescription according to the mid-term relief rate and the mid-term adverse reaction rate of the TCM prescription; and rating the TCM prescription according to the short-term rating score and the mid-term rating score.
2. The method for processing TCM prescriptions based on blockchain according to claim 1, characterized in that: The method further includes determining the prescription revenue of the to-be-processed traditional Chinese medicine prescription by: Determine the prescription and treatment income of the pending TCM prescription based on the treatment fees paid by the patient; and / or generate a preset amount of prescription sharing income after detecting that the pending TCM prescription is uploaded to the blockchain.
3. The method for processing TCM prescriptions based on blockchain according to claim 2 is characterized in that: The step of "distributing a portion of the prescription proceeds of the pending TCM prescription to the beneficiary of the cited prescription" specifically includes: Through the smart contract, each time a new prescription benefit is determined, a portion of the new prescription benefit is distributed to the beneficiary of the cited prescription according to a preset distribution ratio.
4. The method for processing TCM prescriptions based on blockchain according to claim 1, characterized in that: The method further comprises: According to the behavior event triggered by the user subject on the blockchain, increase or decrease the blockchain points corresponding to the behavior event in the user account of the user subject; The user subjects include at least doctors, medical institutions and patients, and the behavioral events include at least obtaining blockchain points and consuming blockchain points; and / or, The method further comprises: Recording the prescription income of the pending TCM prescription in the form of blockchain points, and storing the prescription income in the user account of the beneficiary of the pending TCM prescription; and / or, The method further comprises: Based on the request for change of beneficiary, the beneficiary of the corresponding traditional Chinese medicine prescription will be changed.
5. The method for processing TCM prescriptions based on blockchain according to claim 1, characterized in that: According to the symptom relief feedback information in the efficacy feedback information of the short-term return visit or the mid-term return visit, the short-term relief rate or mid-term relief rate of the traditional Chinese medicine prescription is calculated by the following formula: Among them, T P_prescription represents the short-term or medium-term remission rate of the TCM prescription, Q relif Indicates the symptom relief feedback information obtained from a short-term or mid-term follow-up visit to a patient. Score (Q relif ) indicates feedback information based on symptom relief Q relif Determined score, N(Q relif ) represents the total number of symptom relief feedback information obtained through short-term or mid-term follow-up visits to multiple patients; According to the adverse symptom feedback information in the efficacy feedback information of the short-term return visit or the mid-term return visit, the short-term adverse reaction rate or mid-term adverse reaction rate of the traditional Chinese medicine prescription is calculated by the following formula: Among them, T N_prescription represents the short-term adverse reaction rate or medium-term adverse reaction rate of the TCM prescription, Q discomfort It indicates the adverse symptom feedback information obtained from a short-term or mid-term follow-up visit to a patient. Score (Q discomfort ) indicates feedback information based on adverse symptoms Q discomfort Determined score, N(Q discomfort ) represents the total number of adverse symptom feedback information obtained from short-term or mid-term follow-up visits to multiple patients; and / or, The therapeutic effect feedback information includes at least symptom relief feedback information and adverse symptom feedback information. The method further includes rating the associated user entity according to the therapeutic effect feedback information in the following manner: Classifying diseases of patients seen by the associated user entity within a preset time period; According to the symptom relief feedback information of patients with the i-th disease, the relief rate of the associated user entity is calculated by the following formula: Among them, T P_entity_i represents the short-term remission rate, medium-term remission rate, or long-term remission rate of the i-th disease corresponding to the associated user entity, Q relif_i represents the symptom relief feedback information obtained from a short-term, mid-term or long-term follow-up visit to a patient with the i-th disease, N(Q relif_i ) indicates feedback information based on symptom relief Q relif_i Determined score, N(Q relif_i ) represents the total number of symptom relief feedback information obtained from short-term, mid-term or long-term follow-up visits to multiple patients with the i-th disease; According to the adverse symptom feedback information of the patients with the i-th disease, the adverse reaction rate of the associated user entity is calculated by the following formula: Among them, T N_entity_i represents the short-term adverse reaction rate, medium-term adverse reaction rate, or long-term adverse reaction rate of the i-th disease corresponding to the associated user entity, Q discomfort_i It represents the adverse symptom feedback information obtained from a short-term, mid-term or long-term follow-up visit to a patient with the i-th disease. Score (Q discomfort_i ) indicates feedback information based on adverse symptoms Q discomfort_i Determined score, N(Q discomfort_i ) represents the total number of adverse symptom feedback information obtained from short-term, mid-term or long-term follow-up visits to multiple patients with the i-th disease; Determine the short-term rating score of the associated user entity according to the short-term remission rate and the short-term adverse reaction rate of the associated user entity, determine the mid-term rating score of the associated user entity according to the mid-term remission rate and the mid-term adverse reaction rate of the associated user entity, and determine the long-term rating score of the associated user entity according to the long-term remission rate and the long-term adverse reaction rate of the associated user entity; The associated user entity is rated according to the short-term rating score, the mid-term rating score and the long-term rating score.
6. The method for processing TCM prescriptions based on blockchain according to claim 5 is characterized in that: The method further comprises: Through the smart contract and according to the patient account information in the token, the corresponding patient is regularly visited for medication relapse to obtain the medication relapse feedback information of the patient; According to the drug discontinuation recurrence feedback information of patients with the i-th disease, the drug discontinuation recurrence rate of the associated user entity is calculated by the following formula: Among them, T R_entity_i represents the recurrence rate of the i-th disease after drug withdrawal corresponding to the associated user entity, Q relapse_i It represents the feedback information of drug withdrawal relapse obtained by revisiting a patient with the i-th disease. Score(Q relapse_i ) indicates the feedback information Q based on the drug withdrawal relapse relapse_i Determined score, N(Q relapse_i ) represents the total number of feedback information on drug discontinuation and relapse obtained by revisiting multiple patients with the i-th disease; The associated user entity is rated according to the short-term rating score, the mid-term rating score, the long-term rating score and the post-drug discontinuation relapse rate.
7. The method for processing TCM prescriptions based on blockchain according to any one of claims 1, 5 to 6, characterized in that: The method further comprises: Get the rating results of the TCM prescriptions currently issued by the physician; If the rating of the TCM prescription reaches a first set threshold and matches the condition of the patient seen by other doctors, recommending the TCM prescription to other doctors; and / or, Obtain rating results of current physicians and / or current medical institutions; If the rating of the current physician and / or current medical institution reaches a second set threshold and matches the situation of the current patient, the current physician and / or current medical institution is recommended to the current patient.
8. A computer device comprising a processor and a storage device, wherein the storage device is suitable for storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by the processor to execute the blockchain-based traditional Chinese medicine prescription processing method according to any one of claims 1 to 7.
9. A computer-readable storage medium storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by a processor to execute the blockchain-based traditional Chinese medicine prescription processing method described in any one of claims 1 to 7.
