CN113407534B - Medical data recording method, query method and device - Google Patents
Medical data recording method, query method and device Download PDFInfo
- Publication number
- CN113407534B CN113407534B CN202110613540.7A CN202110613540A CN113407534B CN 113407534 B CN113407534 B CN 113407534B CN 202110613540 A CN202110613540 A CN 202110613540A CN 113407534 B CN113407534 B CN 113407534B
- Authority
- CN
- China
- Prior art keywords
- value
- data
- patient
- server
- query
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 69
- 230000004044 response Effects 0.000 claims abstract description 12
- 238000000354 decomposition reaction Methods 0.000 claims description 21
- 206010020772 Hypertension Diseases 0.000 description 27
- 208000031226 Hyperlipidaemia Diseases 0.000 description 17
- 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
- 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 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000036772 blood pressure Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000008103 glucose Substances 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
- 239000010974 bronze Substances 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
- 238000013500 data storage Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 230000036541 health 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
- 229910002059 quaternary alloy Inorganic materials 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
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)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Public Health (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Primary Health Care (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Biomedical Technology (AREA)
- Pathology (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The application discloses a medical data recording method, a query method and equipment, wherein a first enumeration value of patient identity information is determined in response to a first operation instruction, data content corresponding to the patient identity information is determined from a plurality of preset data items in response to a second operation instruction, each preset data item is configured with different bit values, the first value is calculated according to the bit value corresponding to the data content, the first value characterizes the data content, the first enumeration value and the first 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 enumeration value and the first value can be obtained, the actual meaning and the representation content of the first enumeration value and the first value can not be obtained, and if the second server is invaded, only the preset data item can not be obtained, the data content corresponding to the patient identity information can not be obtained, and the safety of the data recording is improved.
Description
Technical Field
The application relates to the field of data storage, in particular to a medical data recording method, a query method and equipment.
Background
With the current attention of people to health and the increase of the number of medical institutions, the data volume of medical data is rapidly increased, and the medical data of patients belongs to personal privacy and needs to be protected. At present, the security of data relates to various factors such as internet security and data encryption, and the traditional medical data recording method such as patient course recording has the problems of great centralization and the like, and basically the problems are directly stored in the same server according to fields or are stored on a distributed server in a planned and divided mode, so that after one server is invaded by a hacker, the prototype and the use of the data on the server can be obtained, the security and the privacy of the data are seriously threatened, the cloud end of the patient course recording, the cloud end management and the security management are restricted, and a solution is required to be sought.
Disclosure of Invention
In view of the above, the present application aims to provide a safe medical data recording method, query method and device.
The technical scheme adopted by the application is as follows:
a medical data recording method, comprising:
determining a first enumerated value of the patient identity information in response to the first operational instruction;
responding to a second operation instruction, and determining data content corresponding to the patient identity information from a plurality of preset data items; each preset data item is configured with a different bit number value;
calculating to obtain a first numerical value according to the bit value corresponding to the data content;
the first numeric value characterizes the data content, the first enumeration value and the first numeric value are stored in a first server, and the preset data item is stored in a second server.
Further, the calculating obtains a first numerical value according to the bit value corresponding to the data content, specifically:
and taking the sum of bit values corresponding to the data content as the first value.
Further, the determining, in response to the first operation instruction, a first enumerated value for the 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 an integer or a 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 is provided with 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 encryption parameters in the second server;
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 value and a decomposition unit;
the decomposition value is stored in the first server, and the decomposition unit is stored 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-increased data content corresponding to the newly-increased patient identity information from a plurality of preset data items;
calculating to obtain a second numerical value according to the bit 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 application also provides a query method applied to the data recorded according to the medical data recording method, comprising the following steps:
acquiring a first query text; the first query text includes a bit operator and a query bit value;
displaying the data content of the bit value corresponding to the query bit value and the patient identity information corresponding to the data content according to the bit operator and the query bit value;
or,
and displaying the data content of the bit value corresponding to the decomposition result of the query bit value and the patient identity information corresponding to the data content according to the bit operator and the query bit value.
The application 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;
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 according to the query enumeration value;
or, according to the patient name, displaying data content corresponding to the patient name; the patient identity information includes the patient name.
The application 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 application 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 beneficial effects of the application are as follows: in response to a first operation instruction, a first enumeration value of patient identity information is determined, in response to a second operation instruction, data content corresponding to the patient identity information is determined from a plurality of preset data items, each preset data item is configured with different bit values, a first value is calculated according to the bit value corresponding to the data content, the first value characterizes the data content, the first enumeration value and the first 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 enumeration value and the first value can be obtained, the actual meaning and the characterized content of the first enumeration value and the first value can not be known, and if the second server is invaded, only the preset data item can not be obtained, the data content corresponding to the patient identity information can not be known, and the safety of data recording is improved.
Drawings
FIG. 1 is a flow chart of a medical data recording method according to the present application;
FIG. 2 is a flow chart illustrating steps of a query method according to the present application;
FIG. 3 is a flow chart illustrating steps of another query method according to the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
The terms "first," "second," "third," and "fourth" and the like in the description and in the claims and drawings are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may 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 may be included in at least one embodiment of the application. The appearances of such phrases 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. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
As shown in fig. 1, an embodiment of the present application provides a medical data recording method, including steps S100 to S300:
and S100, responding to the first operation instruction, and determining a first enumeration value of the patient identity information.
In the embodiment of the present application, the first operation instruction may be an instruction generated by means of a keyboard, a mouse, voice, or a touch screen. It should be noted that, the patient identity information includes, but is not limited to, a patient name and a unique number, where the patient name and the unique number have an association relationship, the patient name may be stored in the first server for subsequent query, and the unique number may be stored in the second server. Alternatively, the unique number includes, but is not limited to, an outpatient 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 a 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.
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 explanation of the content stored in the first server is contained in the preset configuration table; the preset configuration table is provided with 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 application, the data type includes but is not limited to integer or long integer, such as 'int', 'big', or floating point 'float', etc. For example, when the data type is integer, an integer configuration table name (e.g., may correspond to a header) may be randomly generated, and a first enumeration value of the integer may be generated for the patient identity information, and a data table name may be generated for the data table name, and the data table name may be associated with the configuration table name, so when the first enumeration value is queried, since the first enumeration 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 enumeration value, thereby displaying the corresponding content in the configuration table. It should be noted that the control type refers to what control is used at the front end to show and interact with the user, for example, "radiogroup" represents a radio button component "checkbox group" represents a radio button component.
And S200, responding to a second operation instruction, and determining the data content corresponding to the patient identity information from a plurality of preset data items.
Likewise, the second operation instruction may be an instruction generated by means of a keyboard, a mouse, voice, or a touch screen. In the embodiment of the present application, 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 limited specifically. Specifically, each preset data item is configured with a different bit value, for example, the bit value of hypertension is 1, the bit value of diabetes is 2, the bit value of hyperlipidemia is 10, the bit value of hyperlipidemia is 4, and the bit value of hyperlipidemia is 100, which can be defined by N-system such as ternary system, quaternary system, etc., without being limited thereto.
For example, when the first enumeration value of the patient name "Zhang Sanu" is 1 in response to the first operation instruction, and "Zhang Sanu" has hypertension and hyperlipidemia, and when the preset data items of hypertension and hyperlipidemia are selected from the plurality of preset data items in response to the second operation instruction, it is determined that the data contents corresponding to the patient name "Zhang Sanu" are hypertension and hyperlipidemia, and the corresponding bit numbers are 1and 4, respectively.
S300, calculating to obtain a first value according to the bit value corresponding to the data content.
Specifically, as in the above example, the first value is calculated according to the corresponding bit values 1and 4 to obtain the first value as 5, that is, the first value is calculated by using the sum of the bit values corresponding to the data contents, and the binary value 101 is determined, which can be understood that the first value represents the data contents corresponding to the patient identity information at this time, that is, the first value 5 represents the data contents of hypertension and hyperlipidemia corresponding to the patient identity information (the name of the patient in the patient). In the embodiment of the application, the first enumeration value and the first numerical value are stored in the first server, and the patient name corresponding to the first enumeration value and the preset data item 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 enumeration value 1and the first numerical value 5, but cannot know the meaning of the first enumeration value 1and the first numerical value 5, and when the second server is invaded, the invader can only obtain the patient name Zhang Sano and the preset data item including but not limited to hypertension, diabetes and hyperlipidemia, but cannot know that the data content actually corresponding to the patient name Zhang Sano is hypertension and hyperlipidemia, thereby reducing the risk of stealing the medical data of the patient and improving the safety of storing the medical data of the patient.
Specifically, the medical data recording method according to the embodiment of the present application further includes steps S401 to S403, wherein 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 newly added patient identity information also includes a patient name and a unique number, similar to the patient identity information.
S402, responding to a fourth operation instruction, and determining newly-increased data content corresponding to the newly-increased patient identity information from a plurality of preset data items.
S403, calculating to obtain a second numerical value according to the bit value corresponding to the newly added data content.
Likewise, the third operation instruction and the fourth operation instruction may be instructions generated by means of a keyboard, a mouse, voice, or a touch screen. In the embodiment of the present application, the increment rule sets the increment value to 1, and it can be understood that the increment value can be set according to the requirement, and is not particularly limited.
For example, when the patient name "Liqu" needs to be added and "Liqu" suffers from hypertension, in response to the third operation instruction, increment value 1 is increased according to the first enumeration value 1, so as to obtain a second enumeration value 2, i.e. the second enumeration value of the newly added patient name "Liqu" is 2. Then, in response to the fourth operation instruction, it is determined that the newly added data content of the newly added patient identity information "Liqu" is hypertension and the bit value corresponding to hypertension is 1 from the plurality of preset data items, and because there is only one newly added data content, in step S403, when the second value is calculated according to the bit value corresponding to the newly added data content, it is determined that the bit value corresponding to hypertension is 1 directly as the second value. It should be noted that, similarly, the second value characterizes the newly added data content, and the second enumerated value and the second value are stored in the first server.
Specifically, the medical data recording method according to the embodiment of the present application further includes steps S501 to S503:
s501, acquiring patient information corresponding to the patient identity information through a first server.
In the embodiment of the application, the patient information corresponding to the patient identity information is acquired through the first server, wherein the patient information comprises, but is not limited to, personal information of a patient, including, but not limited to, an identity card number, a mobile phone number, a bank card number, a residence, a household book and the like.
S502, when the patient information contains a specific field, acquiring the encryption parameters in the second server.
It should be noted that, the specific fields may be preset according to the needs, or patient information and whether the patient identity information needs to be encrypted may be preset in the configuration fields of the preset configuration table, for example, the identity card number and the bank card number may be preset as the specific fields. Optionally, in the embodiment of the present application, the configuration field is set to a specific field in the patient information and a unique number in the patient identity information needs to be stored in an encrypted manner, and the patient name in the patient identity information does not need to be stored in an encrypted manner. Optionally, the encryption parameters are stored in the second server, where the encryption parameters include, but are not limited to, related parameters of the high-order binary encryption method or keys in other encryption algorithms, and the like, and are not limited in particular.
S503, encrypting the specific field by the encryption parameter and storing in the first server or the second server.
In the embodiment of the application, in order to protect the privacy of a patient, the specific field and the unique number are encrypted through the encryption parameter and then stored in the first server, and optionally can also be stored in the second server. It should be noted that, the second server further stores decryption parameters for decryption, when the specific field and the unique number are encrypted, when the querying user queries, only data except the specific field and the unique number can be displayed, and when the specific field and the unique number need to be checked, decryption is needed, for example, the authority of the user can be set in advance, when the querying user has the authority of querying the specific field and the unique number, the decryption parameters can be obtained from the second server, and the encrypted data can be decrypted for checking.
Specifically, the medical data recording method according to the embodiment of the present application further includes steps S601 to S603:
s601, acquiring medical information corresponding to the identity information of the patient.
The medical information refers to information related to the patient other than the patient information during diagnosis and detection, for example, 130mmHg for the "Zhang Sano" blood pressure value, 180mg/dl for the "Zhang Sano" urine glucose value, or the like, and is not particularly limited.
S602, when the medical information is floating point data, decomposing the floating point data to obtain a decomposition 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 values 130 and 180, and decomposed units of mmHg and mg/dl are obtained.
S603, storing the decomposition value in the first server, and storing the decomposition unit in the second server.
Specifically, the resolution values 130 and 180 are stored in the first server, and the resolution units mmHg and mg/dl are stored in the second server. Similarly, the decomposition value and the decomposition unit corresponding to the decomposition value are respectively stored in the first server and the second server, so that the meaning of the patient medical data can not be known by an invader invading any server, and the safety is enhanced. It should be noted that the decomposition value can also be used as an enumeration value for query; the medical data in the embodiment of the application comprises all relevant data of a patient, including but not limited to patient identity information, data content corresponding to the patient identity information, patient information, medical information, enumeration values corresponding to the patient identity information, numerical values representing the data content and the like.
Referring to fig. 2, specifically, the embodiment of the present application further provides a query method applied to the data recorded by the medical data recording method, including steps S701-S702, where step S702 may be implemented by step S7021 or step S7022:
s701, acquiring 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 by a plurality of bit values corresponding to preset data items.
S7021, displaying the data content of the bit value corresponding to the query bit value and the patient identity information corresponding to the data content according to the bit operator and the query bit 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 "Liqu", is 3 (i.e., the characterized data content is hypertension and diabetes), when the first value of the patient name "Huanwu", is 1 (i.e., the characterized data content is hypertension), the assumption bit operator is &, the query bit value is 1, for example, the first query text is: and & > 1, at this time, displaying the data content with the bit value 1 corresponding to the query bit value 1and the patient name corresponding to the data content, having the following display modes: 1) Displaying the data content hypertension of patient name Huang Wu, corresponding unique number and patient name yellow five; 2) The data content hypertension of the patient name "Huang Wu", the corresponding associated unique number and the patient name "yellow five" is displayed, and the data content hypertension and hyperlipidemia of the patient name "Zhang san", the corresponding associated unique number and the patient name "Zhang san" are displayed, and the data content hypertension and diabetes of the patient name "Liqu", the corresponding associated unique number and the patient name "Liqu" is displayed.
Alternatively, when the first query text is: and & > 1and & > 4, namely, displaying the result satisfying the inclusion of the bit value 1and the bit value 4, namely, displaying the patient name Zhang Sanu, the corresponding associated unique number and the data content hypertension and hyperlipidemia of the patient name Zhang Sanu.
S7022, displaying the data content of the bit value corresponding to the decomposition result of the query bit value and the patient identity information corresponding to the data content according to the bit operator and the query bit value.
Based on the above example, when the query bit value is 5, i.e., when the first query text is: and & > 5. At this time, the corresponding digit value cannot be found in the preset data item, at this time, the digit value is decomposed, the query digit value 5 is decomposed to obtain decomposition results 1and 4, at this time, the contents of the digit values with 1and 4 are matched and displayed, namely, the patient name Zhang Sano, the corresponding associated unique number and the data content hypertension and hyperlipidemia of the patient name Zhang Sano are displayed. And when the first query text is: and when the sum is more than 0, the corresponding bit number value cannot be found, the decomposition result is still 0, and the disease-free patient identity information, namely the patient identity information without past medical history, is displayed.
Referring to fig. 3, specifically, the embodiment of the present application further provides another query method, which is applied to the data recorded by the medical data recording method, including steps S801 to S802, where 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, where no bit operator is present, so the query enumeration value queries the content corresponding to the enumeration value, and the patient name queries the patient name.
S8021, displaying patient identity information corresponding to the first enumeration value matched with the query enumeration value and data content corresponding to the patient identity information according to the query enumeration value.
Similarly, taking the patient name in the patient identity information as an example, assume that when the first numerical value of the patient name "Zhang San", is 5 (i.e., the characterized data content is hypertension and hyperlipidemia), the first enumeration value of "Zhang San", is 1, when the first numerical value of the patient name "Liqu", is 3 (i.e., the characterized data content is hypertension and diabetes), the first enumeration value of "Liqu", is 2, the first numerical value of the patient name "Huangwu", is 1 (i.e., the characterized data content is hypertension), the first enumeration value of "Huangwu", is 3, and when the input query enumeration value is 1, the query enumeration value matches the first enumeration value of "Zhang San", and the corresponding associated unique number and data content (hypertension and hyperlipidemia) of the patient name "Zhang Sanis displayed; if the input query enumeration value is 3, the query enumeration value matches the first enumeration value of "yellow five", and at this time, the patient name "Huang Wu", 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, the patient name "Zhang Sano" is input, and then the patient name "Zhang Sano", the corresponding associated unique number and the corresponding data content are hypertension and hyperlipidemia.
In the embodiment of the application, the first numerical value or the first enumeration 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 being invasively read medical data can be reduced, the safety is improved, and the quantized value storage mode is utilized, so that the medical data can be conveniently and quickly queried. Meanwhile, the quantized value is integer or long-integer data, so that the speed of searching is increased compared with the data stored in the existing bronze drum character string.
The embodiment of the application also provides equipment, which comprises a processor and a memory;
the memory is used for storing programs;
the processor is used for executing a program to implement the medical data recording method or the query method of the embodiment of the application. The device provided by the embodiment of the application can realize the function of medical data recording or inquiring. The device can be any intelligent terminal including a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA for short), a Point of Sales (POS for short), a vehicle-mounted computer and the like.
The content in the method embodiment is applicable to the embodiment of the device, and functions specifically implemented by the embodiment of the device are the same as those of the embodiment of the method, and the achieved beneficial effects are the same as those of the embodiment of the method.
The embodiment of the present application also provides a computer-readable storage medium storing a program that is executed by a processor to perform the medical data recording method or the query method as in the foregoing embodiment of the present application.
Embodiments of the present application 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 application.
The terms "first," "second," "third," "fourth," and the like in the description of the application and in the above figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise 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 (item)" means one or more, and "a plurality" means two or more. "and/or" for describing the association relationship of the association object, the representation may have three relationships, for example, "a and/or B" may represent: only a, only B and both a and B are present, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). 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 by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form. The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including multiple instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing a program.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims (7)
1. A medical data recording method, comprising:
determining a first enumerated value of the patient identity information in response to the first operational instruction;
responding to a second operation instruction, and determining data content corresponding to the patient identity information from a plurality of preset data items; each preset data item is configured with a different bit number value;
calculating to obtain a first numerical value according to the bit value corresponding to the data content;
the first numeric value characterizes the data content, the first enumeration value and the first numeric value are stored in a first server, and the preset data item is stored in a second server;
the determining, in response to the first operation instruction, a first enumerated value for the 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 comprises integer or long integer;
the method further comprises the steps of:
generating a data table; the data table comprises a data table name and the first enumeration value, the preset configuration table is provided with 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;
wherein the patient identity information comprises: a patient name and a unique number associated with the patient name; the first enumeration value is generated for the patient name according to a data type in the preset configuration table;
the generating the data table includes:
generating the data table name associated with the configuration table name while generating the first enumeration value; generating the data table comprising the data table name and the first enumeration value, and storing the data table in the first server;
the method further comprises the steps of:
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-increased data content corresponding to the newly-increased patient identity information from a plurality of preset data items;
calculating to obtain a second numerical value according to the bit 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.
2. The medical data recording method according to claim 1, wherein: the first numerical value is calculated according to the bit value corresponding to the data content, specifically:
and taking the sum of bit values corresponding to the data content as the first value.
3. The medical data recording method according to claim 1, wherein: the method further comprises the steps of:
acquiring patient information corresponding to the patient identity information through the first server;
when the patient information contains a specific field, acquiring encryption parameters in the second server;
encrypting the specific field through the encryption parameter and storing the specific field in the first server or the second server.
4. The medical data recording method according to claim 1, wherein: the method further comprises the steps of:
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 value and a decomposition unit; the decomposition value is stored in the first server, and the decomposition unit is stored in the second server.
5. A query method applied to data recorded according to the medical data recording method according to any one of claims 1 to 4, comprising:
acquiring a first query text; the first query text includes a bit operator and a query bit value;
displaying the data content of the bit value corresponding to the query bit value and the patient identity information corresponding to the data content according to the bit operator and the query bit value;
or,
and displaying the data content of the bit value corresponding to the decomposition result of the query bit value and the patient identity information corresponding to the data content according to the bit operator and the query bit value.
6. A query method applied to data recorded according to the medical data recording method according to any one of claims 1 to 4, comprising:
acquiring a second query text; the second query text comprises a query enumeration value or a patient name;
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 according to the query enumeration value;
or, according to the patient name, displaying data content corresponding to the patient name; the patient identity information includes the patient name.
7. 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-6.
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 CN113407534A (en) | 2021-09-17 |
CN113407534B true 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 (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10467228B2 (en) * | 2015-08-11 | 2019-11-05 | Sybase, Inc. | Accelerating database queries using equivalence union enumeration |
-
2021
- 2021-06-02 CN CN202110613540.7A patent/CN113407534B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
---|---|
CN113407534A (en) | 2021-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220129892A1 (en) | System and methods for validating and performing operations on homomorphically encrypted data | |
Akgün et al. | Privacy preserving processing of genomic data: A survey | |
US9536047B2 (en) | Privacy-enhancing technologies for medical tests using genomic data | |
EP3844934B1 (en) | A computer system and method of operating same for handling anonymous data | |
Mohammed Yakubu et al. | Ensuring privacy and security of genomic data and functionalities | |
Mittos et al. | Systematizing genome privacy research: a privacy-enhancing technologies perspective | |
US9942206B1 (en) | System and method for privacy-preserving genomic data analysis | |
US20150236849A1 (en) | Privacy-enhancing technologies for medical tests using genomic data | |
CN108769024B (en) | Data acquisition method and multi-data operator negotiation service system | |
Huang et al. | A privacy-preserving solution for compressed storage and selective retrieval of genomic data | |
US20180365446A1 (en) | Genome query handling | |
Esther Omolara et al. | HoneyDetails: A prototype for ensuring patient’s information privacy and thwarting electronic health record threats based on decoys | |
CN112017761A (en) | System and method for embedding medical information into electronic medical image | |
Trepetin | Privacy-preserving string comparisons in record linkage systems: a review | |
Decouchant et al. | Accurate filtering of privacy-sensitive information in raw genomic data | |
Djatmiko et al. | Secure evaluation protocol for personalized medicine | |
Lu et al. | Methods of privacy-preserving genomic sequencing data alignments | |
CN113407534B (en) | Medical data recording method, query method and device | |
Cassa et al. | A novel, privacy-preserving cryptographic approach for sharing sequencing data | |
Jafarbeiki et al. | PrivGenDB: Efficient and privacy-preserving query executions over encrypted SNP-Phenotype database | |
CN112487461B (en) | Data encryption method | |
JP2019036249A (en) | Medical information management device, method for managing medical information, and program | |
US20090150683A1 (en) | Method and system for associating database content for security enhancement | |
Rubio et al. | A robust and simple security extension for the medical standard SCP-ECG | |
Gkoulalas-Divanis et al. | Introduction to medical data privacy |
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 |