CN113407534A - Medical data recording method, query method and device - Google Patents
Medical data recording method, query method and device Download PDFInfo
- Publication number
- CN113407534A CN113407534A CN202110613540.7A CN202110613540A CN113407534A CN 113407534 A CN113407534 A CN 113407534A CN 202110613540 A CN202110613540 A CN 202110613540A CN 113407534 A CN113407534 A CN 113407534A
- Authority
- CN
- China
- Prior art keywords
- value
- data
- query
- patient
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 73
- 238000000354 decomposition reaction Methods 0.000 claims description 22
- 230000004044 response Effects 0.000 claims description 12
- 238000011022 operating instruction Methods 0.000 claims description 2
- 238000013500 data storage Methods 0.000 abstract description 2
- 206010020772 Hypertension Diseases 0.000 description 27
- 208000031226 Hyperlipidaemia Diseases 0.000 description 14
- 206010012601 diabetes mellitus Diseases 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 201000010099 disease Diseases 0.000 description 3
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000036772 blood pressure Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 210000002700 urine Anatomy 0.000 description 2
- 229910000906 Bronze Inorganic materials 0.000 description 1
- WQZGKKKJIJFFOK-GASJEMHNSA-N Glucose Natural products OC[C@H]1OC(O)[C@H](O)[C@@H](O)[C@@H]1O WQZGKKKJIJFFOK-GASJEMHNSA-N 0.000 description 1
- 229910002056 binary alloy Inorganic materials 0.000 description 1
- 239000010974 bronze Substances 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- KUNSUQLRTQLHQQ-UHFFFAOYSA-N copper tin Chemical compound [Cu].[Sn] KUNSUQLRTQLHQQ-UHFFFAOYSA-N 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 239000008103 glucose Substances 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H10/00—ICT specially adapted for the handling or processing of patient-related medical or healthcare data
- G16H10/60—ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H50/00—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
- G16H50/70—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for mining of medical data, e.g. analysing previous cases of other patients
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Public Health (AREA)
- Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Pathology (AREA)
- Software Systems (AREA)
- Biomedical Technology (AREA)
- Computational Linguistics (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The invention discloses a medical data recording method, a query method and equipment, wherein the invention responds to a first operation instruction, determines a first enumeration value of patient identity information, responds to a second operation instruction, determines data content corresponding to the patient identity information from a plurality of preset data items, each preset data item is configured with different digit values, calculates to obtain a first value according to the digit values corresponding to the data content, the first value represents the data content, the first enumeration value and the first value are stored in a first server, the preset data items are stored in a second server, if the first server is invaded, only the first enumeration value and the first value can be obtained, the actual meaning and the represented content of the first enumeration value and the first value cannot be obtained, and if the second server is invaded, only the preset data items can be obtained, the data content corresponding to the patient identity information cannot be obtained, the invention improves the safety of data recording, and can be widely applied to the field of data storage.
Description
Technical Field
The invention relates to the field of data storage, in particular to a medical data recording method, a medical data query method and medical data query equipment.
Background
At present, with the concern of people on health and the increase of the number of medical institutions, the data volume of medical data is increased sharply, and the medical data of patients belongs to individual privacy and needs to be protected. Nowadays, data security relates to various factors such as internet security and data encryption, and a traditional recording method for medical data such as patient disease course records has the problems of great centralization and the like, and is basically stored in the same server directly according to fields or stored in distributed servers in a planned and divided mode, so that after a server is invaded by a hacker, an original form and use of the data on the server can be obtained, the security and privacy of the data are seriously threatened, the cloud end and cloud end management and security management of the patient disease course records are restricted, and a solution must be sought.
Disclosure of Invention
In view of the above, in order to solve the above technical problems, the present invention provides a safe medical data recording method, query method and device.
The technical scheme adopted by the invention is as follows:
a medical data recording method, comprising:
determining a first enumerated value of patient identity information in response to the first operating instruction;
in response to a second operation instruction, determining data content corresponding to the patient identity information from a plurality of preset data items; each preset data item is configured with different bit values;
calculating to obtain a first numerical value according to the bit numerical value corresponding to the data content;
wherein the first numerical value characterizes the data content, the first enumerated value and the first numerical value are stored in a first server, and the preset data item is stored in a second server.
Further, the first value is obtained by calculation according to the bit value corresponding to the data content, specifically:
and taking the sum of the bit values corresponding to the data content as the first numerical value.
Further, the determining a first enumerated value of patient identity information in response to the first operational instruction includes:
responding to a first operation instruction, and determining the first enumeration value of the data type according to the data type in a preset configuration table of a second server; the data type includes integer or long integer.
Further, the method further comprises:
generating a data table; the data table comprises a data table name and the first enumeration value, the preset configuration table has a configuration table name of the data type, and the preset configuration table comprises a plurality of preset data items and associated data table names.
Further, the method further comprises:
acquiring patient information corresponding to the patient identity information through the first server;
when the patient information contains a specific field, acquiring an encryption parameter in the second server;
and encrypting the specific field through the encryption parameter and storing the specific field in the first server or the second server.
Further, the method further comprises:
acquiring medical information corresponding to the patient identity information;
when the medical information is floating point data, decomposing the floating point data to obtain a decomposition numerical value and a decomposition unit;
storing the decomposition value in the first server and storing the decomposition unit in the second server.
Further, the method further comprises:
responding to a third operation instruction, and determining a second enumeration value of the newly added patient identity information according to the first enumeration value and an increment rule;
responding to a fourth operation instruction, and determining newly added data content corresponding to the newly added patient identity information from a plurality of preset data items;
calculating to obtain a second numerical value according to the bit numerical value corresponding to the newly-added data content;
wherein the second value characterizes the newly added data content, and the second enumerated value and the second value are stored in a first server.
The invention also provides a query method applied to the data recorded according to the medical data recording method, which comprises the following steps:
acquiring a first query text; the first query text comprises a bit operator and a query bit value;
displaying data content of a digit value corresponding to the query digit value and patient identity information corresponding to the data content according to the digit operator and the query digit value;
or,
and displaying the data content of the digit value corresponding to the decomposition result of the query digit value and the patient identity information corresponding to the data content according to the digit operator and the query digit value.
The invention also provides another query method applied to the data recorded according to the medical data recording method, which comprises the following steps:
acquiring a second query text; the second query text comprises a query enumeration value or a patient name;
according to the query enumeration value, displaying patient identity information corresponding to a first enumeration value matched with the query enumeration value and data content corresponding to the patient identity information;
or displaying data content corresponding to the patient name according to the patient name; the patient identity information includes the patient name.
The invention also provides a device comprising a processor and a memory;
the memory stores a program;
the processor executes the program to implement the medical data recording method or the query method.
The present invention also provides a computer-readable storage medium storing a program which, when executed by a processor, implements the medical data recording method or the query method.
The invention has the beneficial effects that: determining a first enumerated value of patient identity information in response to a first operation instruction, determining data content corresponding to the patient identity information from a plurality of preset data items in response to a second operation instruction, wherein each preset data item is configured with a different bit value, calculating to obtain a first value according to the bit value corresponding to the data content, wherein the first value represents the data content, the first enumerated value and the first numerical value are stored in a first server, the preset data item is stored in a second server, if the first server is invaded, only the first enumerated value and the first numerical value can be obtained, and the actual meaning and the characterized content of the first enumerated value and the first numerical value cannot be obtained, if the second server is invaded, the second server can only obtain the preset data items, and the data content corresponding to the identity information of the patient cannot be obtained, so that the safety of data recording is improved.
Drawings
FIG. 1 is a flow chart illustrating steps of a medical data recording method according to the present invention;
FIG. 2 is a flow chart illustrating steps of a query method according to the present invention;
FIG. 3 is a flow chart illustrating steps of another query method according to the present invention.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
As shown in fig. 1, an embodiment of the present invention provides a medical data recording method, including steps S100 to S300:
s100, responding to the first operation instruction, and determining a first enumerated value of the patient identity information.
In this embodiment of the present invention, the first operation instruction may be an instruction generated by a keyboard, a mouse, voice, or a touch screen. It should be noted that the patient identification information includes, but is not limited to, a patient name and a unique number, the patient name and the unique number have an association relationship, the patient name can be stored in the first server for subsequent query, and the unique number can be stored in the second server. Optionally, the unique number includes, but is not limited to, an out-patient number, a built-in unique code, a unique code for a treatment cycle, a unique code for a detection procedure, and the like.
Specifically, step S100 may include step S101 and step S102:
s101, responding to the first operation instruction, and determining a first enumeration value of the data type according to the data type in a preset configuration table of the second server.
And S102, generating a data table.
It should be noted that the data table is stored in the first server, and the data table includes a data table name and a first enumeration value. Specifically, the preset configuration table is arranged in the second server, and the preset configuration table contains the explanation of the content stored in the first server; the preset configuration table has a data type, a configuration table name, a plurality of preset data items, an associated data table name, a control type and a configuration field.
In the embodiment of the present invention, the data type includes, but is not limited to, integer or long integer, such as "int", "bigint", or may also be floating point type "float", and the like. For example, when the data type is integer, an integer configuration table name (which may correspond to a header, for example) may be randomly generated, an integer first enumerated value may be generated for the patient identity information, a data table name may be generated for the data table name, and the data table name and the configuration table name may be associated, so when the first enumerated value is queried, since the first enumerated value is located in the data table, the configuration table name of the associated configuration table in the second server may be found by the data table name of the data table corresponding to the first enumerated value, and thus the corresponding content in the configuration table may be displayed. It should be noted that the control type refers to what control is used for presentation and interaction with the user at the front end, for example, "radiogroup" represents the radio button component, "checkboxgroup" represents the multi-selection button component.
S200, responding to a second operation instruction, and determining data content corresponding to the patient identity information from the plurality of preset data items.
Likewise, the second operation instruction may be an instruction generated by a keyboard, a mouse, voice, or a touch screen. In the embodiment of the present invention, the plurality of preset data items include, but are not limited to, hypertension, diabetes, and hyperlipidemia, and it is understood that the content and the number of the preset data items may be set according to actual requirements, and are not particularly limited. Specifically, each preset data item is configured with different bit values, for example, the bit value of hypertension is 1, corresponding to binary 1, the bit value of diabetes is 2, corresponding to binary 10, the bit value of hyperlipidemia is 4, corresponding to binary 100, it is to be understood that other embodiments may take the form of the definition of ternary, quaternary, etc. N-ary, and are not limited specifically.
For example, when the first enumerated value of the patient name "zhang san" is 1 in response to the first operation instruction and "zhang san" has hypertension and hyperlipidemia, the preset data items of hypertension and hyperlipidemia are selected from the plurality of preset data items in response to the second operation instruction, that is, the data content corresponding to the patient name "zhang san" is determined to be hypertension and hyperlipidemia, and the corresponding bit values are 1and 4, respectively.
S300, calculating to obtain a first numerical value according to the bit numerical value corresponding to the data content.
Specifically, as in the above example, the first value is 5 calculated according to the corresponding digit values of 1and 4, that is, the first value is calculated by using the sum of the digit values corresponding to the data contents, and the binary system is determined to be 101, it can be understood that the first value represents the data contents corresponding to the patient identity information, that is, the first value 5 represents the data contents corresponding to the hypertension and the hyperlipidemia corresponding to the patient identity information (in which the patient name is "zhang san"). In the embodiment of the present invention, the first enumerated value and the first numerical value are stored in the first server, and the patient name and the preset data item corresponding to the first enumerated value are stored in the second server, so that in the above example, when the first server is invaded, an invader can only obtain the first enumerated value 1and the first numerical value 5, and cannot know the meanings of the first enumerated value 1and the first numerical value 5, and when the second server is invaded, the invader can only obtain the patient name "zhang san" and the preset data item, including but not limited to hypertension, diabetes and hyperlipidemia, and cannot know that the data content actually corresponding to the patient name "zhang san" is hypertension and hyperlipidemia, so that the risk of stealing the medical data of the patient can be reduced, and the safety of storing the medical data of the patient is improved.
Specifically, the medical data recording method of the embodiment of the present invention further includes steps S401-S403, where step S401 may be located after step S100 or S300, specifically:
s401, responding to a third operation instruction, and determining a second enumeration value of the newly added patient identity information according to the first enumeration value and the increment rule. Similarly, the new patient identification information also includes a patient name and a unique number, similar to the patient identification information.
S402, responding to a fourth operation instruction, and determining the newly added data content corresponding to the newly added patient identity information from the preset data items.
And S403, calculating to obtain a second numerical value according to the bit numerical value corresponding to the newly-added data content.
Likewise, the third operation instruction and the fourth operation instruction may be instructions generated by a keyboard, a mouse, voice, or a touch screen. In the embodiment of the present invention, the increment rule sets the increment value to be 1, and it is understood that the increment value may be set according to a requirement, and is not specifically limited.
For example, when the patient name "lie four" and "lie four" are required to be added and the hypertension is suffered, in response to the third operation instruction, the incremental value 1 is increased according to the first enumerated value 1, and the second enumerated value 2 is obtained, that is, the second enumerated value of the newly added patient name "lie four" is 2. Then, in response to the fourth operation instruction, it is determined that the added data content of the newly added patient identity information "lie four" is high blood pressure, and the bit value corresponding to the high blood pressure is 1, and since there is only one item in the newly added data content, in step S403, when the second value is obtained by calculation according to the bit value corresponding to the newly added data content, the bit value corresponding to the high blood pressure is directly determined as the second value, which is the bit value corresponding to the high blood pressure. It should be noted that, similarly, the second numerical value represents the newly added data content, and the second enumerated value and the second numerical value are stored in the first server.
Specifically, the medical data recording method of the embodiment of the present invention further includes steps S501 to S503:
s501, patient information corresponding to the patient identity information is obtained through the first server.
In the embodiment of the invention, the patient information corresponding to the patient identity information is acquired through the first server, and the patient information includes but is not limited to personal information of the patient, including but not limited to an identity card number, a mobile phone number, a bank card number, a residence, a household registration and the like.
S502, when the patient information contains the specific field, the encryption parameter in the second server is obtained.
It should be noted that the specific field may be preset as needed, and whether the patient information and the patient identity information need to be encrypted may also be preset in the configuration field of the preset configuration table, for example, the identification number and the bank card number may be preset as the specific field. Optionally, in this embodiment of the application, the configuration field is set to be a specific field in the patient information and the unique number in the patient identity information needs to be encrypted for storage, the patient name in the patient identity information does not need to be encrypted for storage, and other embodiments may be set as needed without specific limitation. Optionally, the encryption parameter is saved in the second server, and the encryption parameter includes, but is not limited to, a parameter related to a high-bit binary encryption method or a Key in another encryption algorithm, and the like, which is not limited in particular.
S503, encrypting the specific field through the encryption parameter and storing the specific field in the first server or the second server.
In the embodiment of the invention, in order to protect the privacy of the patient, the specific field and the unique number are encrypted by the encryption parameter and then stored in the first server, and optionally also stored in the second server. It should be noted that, the second server further stores decryption parameters for decryption, and after the specific field and the unique number are encrypted, when the user inquires, the data except the specific field and the unique number can only be displayed, and when the user inquires, the specific field and the unique number need to be decrypted, for example, the authority of the user may be set in advance, and when the user inquires has the authority to inquire the specific field and the unique number, the decryption parameters can be obtained from the second server, and the encrypted data can be decrypted to be checked.
Specifically, the medical data recording method of the embodiment of the present invention further includes steps S601 to S603:
s601, medical information corresponding to the identity information of the patient is obtained.
It should be noted that the medical information refers to information related to the patient during diagnosis and examination other than the patient information, for example, the blood pressure value "zhang san" is detected as 130mmHg, or the urine sugar value "zhang san" is detected as 180mg/dl, etc., and is not particularly limited.
S602, when the medical information is floating point data, decomposing the floating point data to obtain a decomposition numerical value and a decomposition unit.
Specifically, as in the above example, when the medical information is floating point data, the blood pressure value and the urine glucose value are decomposed to obtain decomposed numerical values 130 and 180, and decomposed units are mmHg and mg/dl.
S603, storing the decomposition value in a first server, and storing the decomposition unit in a second server.
Specifically, the decomposition values 130 and 180 are stored in a first server, and the decomposition units mmHg and mg/dl are stored in a second server. Similarly, the decomposition numerical value and the decomposition unit corresponding to the decomposition numerical value are respectively stored in the first server and the second server, so that the meaning of the medical data of the patient cannot be known when an invader invades any server, and the safety is enhanced. It should be noted that the decomposed value can also be used as an enumerated value for querying; the medical data in the embodiment of the present invention includes all relevant data of the patient, including, but not limited to, patient identity information, data content corresponding to the patient identity information, patient information, medical information, an enumerated value corresponding to the patient identity information, a numerical value representing the data content, and the like.
Referring to fig. 2, in particular, an embodiment of the present invention further provides an inquiry method, which is applied to data recorded by the medical data recording method, and includes steps S701 to S702, where step S702 may be implemented by step S7021 or step S7022:
s701, obtaining a first query text.
Specifically, the first query text includes a bit operator and a query bit value, and it should be noted that the query bit value may be a bit value corresponding to a preset data item or a bit value calculated from bit values corresponding to a plurality of preset data items.
S7021, displaying the data content of the digit value corresponding to the query digit value and the patient identity information corresponding to the data content according to the digit operator and the query digit value.
For example, taking the patient name in the patient identity information as an example, when the first value of the patient name "zhang san" is 5 (i.e., the characterized data content is hypertension and hyperlipidemia), when the first value of the patient name "lie si" is 3 (i.e., the characterized data content is hypertension and diabetes), when the first value of the patient name "huangwu" is 1 (i.e., the characterized data content is hypertension), the bit operator is assumed to be &, and the query bit value is 1, for example, the first query text is: and > 1, displaying the data content with the bit value of 1 corresponding to the query bit value of 1and the patient name corresponding to the data content, and having the following display modes: 1) displaying the data content hypertension of the patient name 'huangwu', the corresponding unique number and the patient name 'huangwu'; 2) displaying the data content hypertension of the patient name "huangwu", the corresponding associated unique number, and the patient name "huangwu", and displaying the data content hypertension and hyperlipidemia of the patient name "zhang, the corresponding associated unique number, and the patient name" zhang ", and displaying the data content hypertension and diabetes of the patient name" lie four ", the corresponding associated unique number, and the patient name" lie four ".
Or, when the first query text is: and > 1and > 4, namely that the result including the digit value of 1and the digit value of 4, namely that the patient name of "zhang san", the corresponding associated unique number and the patient name of "zhang san" are satisfied, is displayed.
S7022, displaying the data content of the digit value corresponding to the decomposition result of the query digit value and the patient identity information corresponding to the data content according to the digit operator and the query digit value.
Based on the above example, when the query bit value is 5, i.e. when the first query text is: and > 5, at which time the corresponding digit value cannot be found in the preset data item, at which time the digit value is decomposed, the query digit value 5 is decomposed to obtain decomposition results 1and 4, at which time the contents with the digit values of 1and 4 are matched and displayed, i.e. the data contents of the patient name "zhangsan", the corresponding associated unique number and the patient name "zhangsan" are displayed, namely, hypertension and hyperlipidemia. And when the first query text is: and when the value is more than 0, the corresponding digit value cannot be found, the decomposition result is still 0, and the identity information of the disease-free patient, namely the identity information of the patient without past medical history, is displayed.
Referring to fig. 3, specifically, another query method is further provided in the embodiments of the present invention, and is applied to data recorded by the medical data recording method, where the query method includes steps S801 to S802, and step S802 may be implemented by step S8021 or step S8022:
s801, acquiring a second query text.
Specifically, the second query text includes a query enumeration value or a patient name, and there is no bit operator at this time, so that the query enumeration value queries the content corresponding to the enumeration value, and the patient name queries the patient name.
S8021, according to the query enumeration value, displaying the patient identity information corresponding to the first enumeration value matched with the query enumeration value and the data content corresponding to the patient identity information.
Similarly, for the patient name in the patient identification information, assuming that when the first value of the patient name "zhangsan" is 5 (i.e. the characterized data content is hypertension and hyperlipidemia), and the first enumerated value of "zhangsan" is 1, when the first value of the patient name "lie" is 3 (i.e. the characterized data content is hypertension and diabetes), and the first enumerated value of "lie" is 2, the first value of the patient name "huangwu" is 1 (i.e. the characterized data content is hypertension), and the first enumerated value of "huangwu" is 3, when the input query value is 1, the query enumerated value matches the first enumerated value of "zhangsan", and when the patient name "zhangsan", the associated unique number and the data content (hypertension and hyperlipidemia) are displayed; if the input query enumeration value is 3, the query enumeration value is matched with the first enumeration value of 'yellow five', and at this time, the patient name 'yellow five', the corresponding associated unique number and the data content (hypertension) are displayed.
S8022, displaying data content corresponding to the patient name according to the patient name; the patient identity information includes the patient name.
Specifically, if the name of the patient "zhang san" is input, the name of the patient "zhang san", the corresponding associated unique number and the corresponding data content are obtained as hypertension and hyperlipidemia.
In the embodiment of the invention, the first numerical value or the first enumerated value of the quantized value is stored in the first server, and the corresponding content of the quantized value is stored in the second server, so that the reading difficulty of the first server is improved, the risk of intruding to read medical data can be reduced, the safety is improved, and the medical data can be conveniently and quickly inquired by using the quantized value storage mode. Meanwhile, the quantized value is integer or long integer data, so that the speed of query and retrieval is improved compared with the data stored in the existing bronze drum character string.
The embodiment of the invention also provides equipment, which comprises a processor and a memory;
the memory is used for storing programs;
the processor is used for executing programs to realize the medical data recording method or the query method of the embodiment of the invention. The device of the embodiment of the invention can realize the function of medical data recording or query. The device can be any intelligent terminal such as a mobile phone, a tablet computer, a Personal Digital Assistant (PDA for short), a Point of Sales (POS for short), and a vehicle-mounted computer.
The contents in the above method embodiments are all applicable to the present apparatus embodiment, the functions specifically implemented by the present apparatus embodiment are the same as those in the above method embodiments, and the beneficial effects achieved by the present apparatus embodiment are also the same as those achieved by the above method embodiments.
The embodiment of the invention also provides a computer-readable storage medium, which stores a program, and the program is executed by a processor to implement the medical data recording method or the query method according to the aforementioned embodiment of the invention.
Embodiments of the present invention also provide a computer program product comprising instructions, which when run on a computer, cause the computer to perform the medical data recording method or the query method of the aforementioned embodiments of the invention.
The terms "first," "second," "third," "fourth," and the like in the description of the application and the above-described figures, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes multiple instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing programs, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (10)
1. A medical data recording method, comprising:
determining a first enumerated value of patient identity information in response to the first operating instruction;
in response to a second operation instruction, determining data content corresponding to the patient identity information from a plurality of preset data items; each preset data item is configured with different bit values;
calculating to obtain a first numerical value according to the bit numerical value corresponding to the data content;
wherein the first numerical value characterizes the data content, the first enumerated value and the first numerical value are stored in a first server, and the preset data item is stored in a second server.
2. The medical data recording method according to claim 1, characterized in that: and calculating to obtain a first numerical value according to the bit numerical value corresponding to the data content, specifically:
and taking the sum of the bit values corresponding to the data content as the first numerical value.
3. The medical data recording method according to claim 1, characterized in that: the determining, in response to the first operational instruction, a first enumerated value of patient identity information includes:
responding to a first operation instruction, and determining the first enumeration value of the data type according to the data type in a preset configuration table of a second server; the data type includes integer or long integer.
4. The medical data recording method according to claim 3, characterized in that: the method further comprises the following steps:
generating a data table; the data table comprises a data table name and the first enumeration value, the preset configuration table has a configuration table name of the data type, and the preset configuration table comprises a plurality of preset data items and associated data table names.
5. The medical data recording method according to claim 1, characterized in that: the method further comprises the following steps:
acquiring patient information corresponding to the patient identity information through the first server;
when the patient information contains a specific field, acquiring an encryption parameter in the second server;
and encrypting the specific field through the encryption parameter and storing the specific field in the first server or the second server.
6. The medical data recording method according to claim 1, characterized in that: the method further comprises the following steps:
acquiring medical information corresponding to the patient identity information;
when the medical information is floating point data, decomposing the floating point data to obtain a decomposition numerical value and a decomposition unit; storing the decomposition value in the first server and storing the decomposition unit in the second server.
7. The medical data recording method according to claim 1, characterized in that: the method further comprises the following steps:
responding to a third operation instruction, and determining a second enumeration value of the newly added patient identity information according to the first enumeration value and an increment rule;
responding to a fourth operation instruction, and determining newly added data content corresponding to the newly added patient identity information from a plurality of preset data items;
calculating to obtain a second numerical value according to the bit numerical value corresponding to the newly-added data content;
wherein the second value characterizes the newly added data content, and the second enumerated value and the second value are stored in a first server.
8. A query method applied to data recorded by the medical data recording method according to any one of claims 1 to 7, comprising:
acquiring a first query text; the first query text comprises a bit operator and a query bit value;
displaying data content of a digit value corresponding to the query digit value and patient identity information corresponding to the data content according to the digit operator and the query digit value;
or,
and displaying the data content of the digit value corresponding to the decomposition result of the query digit value and the patient identity information corresponding to the data content according to the digit operator and the query digit value.
9. A query method applied to data recorded by the medical data recording method according to any one of claims 1 to 7, comprising:
acquiring a second query text; the second query text comprises a query enumeration value or a patient name;
according to the query enumeration value, displaying patient identity information corresponding to a first enumeration value matched with the query enumeration value and data content corresponding to the patient identity information;
or displaying data content corresponding to the patient name according to the patient name; the patient identity information includes the patient name.
10. An apparatus comprising a processor and a memory;
the memory stores a program;
the processor executes the program to implement the method of any one of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110613540.7A CN113407534B (en) | 2021-06-02 | 2021-06-02 | Medical data recording method, query method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110613540.7A CN113407534B (en) | 2021-06-02 | 2021-06-02 | Medical data recording method, query method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113407534A true CN113407534A (en) | 2021-09-17 |
CN113407534B CN113407534B (en) | 2023-11-28 |
Family
ID=77675921
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110613540.7A Active CN113407534B (en) | 2021-06-02 | 2021-06-02 | Medical data recording method, query method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113407534B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170046386A1 (en) * | 2015-08-11 | 2017-02-16 | Sybase, Inc. | Accelerating database queries using equivalence union enumeration |
CN108629196A (en) * | 2017-03-21 | 2018-10-09 | 北京京东尚科信息技术有限公司 | Method, apparatus, electronic equipment and the readable storage medium storing program for executing of data storage and query |
CN109215751A (en) * | 2018-08-10 | 2019-01-15 | 暨南大学 | Medical electronics case history distributed management system and its building method based on block chain |
CN109542929A (en) * | 2018-11-28 | 2019-03-29 | 山东工商学院 | Voice inquiry method, device and electronic equipment |
CN109582940A (en) * | 2018-10-25 | 2019-04-05 | 平安科技(深圳)有限公司 | Report data test method, device, computer equipment and storage medium |
CN109697234A (en) * | 2018-12-04 | 2019-04-30 | 百度在线网络技术(北京)有限公司 | More attribute information storages, querying method, device, server and the medium of entity |
-
2021
- 2021-06-02 CN CN202110613540.7A patent/CN113407534B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170046386A1 (en) * | 2015-08-11 | 2017-02-16 | Sybase, Inc. | Accelerating database queries using equivalence union enumeration |
CN108629196A (en) * | 2017-03-21 | 2018-10-09 | 北京京东尚科信息技术有限公司 | Method, apparatus, electronic equipment and the readable storage medium storing program for executing of data storage and query |
CN109215751A (en) * | 2018-08-10 | 2019-01-15 | 暨南大学 | Medical electronics case history distributed management system and its building method based on block chain |
CN109582940A (en) * | 2018-10-25 | 2019-04-05 | 平安科技(深圳)有限公司 | Report data test method, device, computer equipment and storage medium |
CN109542929A (en) * | 2018-11-28 | 2019-03-29 | 山东工商学院 | Voice inquiry method, device and electronic equipment |
CN109697234A (en) * | 2018-12-04 | 2019-04-30 | 百度在线网络技术(北京)有限公司 | More attribute information storages, querying method, device, server and the medium of entity |
Also Published As
Publication number | Publication date |
---|---|
CN113407534B (en) | 2023-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102403295B1 (en) | System and method for validating homogeneously encrypted data and performing an operation thereon | |
EP3844934B1 (en) | A computer system and method of operating same for handling anonymous data | |
Mittos et al. | Systematizing genome privacy research: a privacy-enhancing technologies perspective | |
Chen et al. | Secure dynamic access control scheme of PHR in cloud computing | |
WO2018124297A1 (en) | Data usage method, system, and program thereof employing blockchain network (bcn) | |
EP3380982B1 (en) | Genome query handling | |
CA3104384C (en) | Cluster-based security for network devices | |
Esther Omolara et al. | HoneyDetails: A prototype for ensuring patient’s information privacy and thwarting electronic health record threats based on decoys | |
Djatmiko et al. | Secure evaluation protocol for personalized medicine | |
Mahdi et al. | Privacy-preserving string search on encrypted genomic data using a generalized suffix tree | |
Huang et al. | Lagrange interpolation-driven access control mechanism: Towards secure and privacy-preserving fusion of personal health records | |
Cassa et al. | A novel, privacy-preserving cryptographic approach for sharing sequencing data | |
US9003538B2 (en) | Method and system for associating database content for security enhancement | |
JP2019036249A (en) | Medical information management device, method for managing medical information, and program | |
CN113407534B (en) | Medical data recording method, query method and device | |
Liu et al. | Design of secure access control scheme for personal health record‐based cloud healthcare service | |
Rubio et al. | A robust and simple security extension for the medical standard SCP-ECG | |
Gkoulalas-Divanis et al. | Introduction to medical data privacy | |
Jafarbeiki et al. | A non-interactive multi-user protocol for private authorised query processing on genomic data | |
Alfaidi et al. | Health Record Chain (HRC): Implementation of Mobile Healthcare system using Blockchain to enhance Privacy of Electronic Health Record EHR | |
JP2010204838A (en) | Analysis device system, analysis system, and analysis method | |
Mittos et al. | Systematizing genomic privacy research–a critical analysis | |
Saif et al. | Secure Electronic Health Record Storage and Retrieval Using Blockchain and Encryption for Healthcare Application | |
Aggarwal et al. | Healthcare system | |
İncereis et al. | Data Security Techniques and Comparison of Differential Privacy Techniques in Bioinformatics |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |