CN113658711B - Medical data localization method, device, computer equipment and storage medium - Google Patents
Medical data localization method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN113658711B CN113658711B CN202111013845.0A CN202111013845A CN113658711B CN 113658711 B CN113658711 B CN 113658711B CN 202111013845 A CN202111013845 A CN 202111013845A CN 113658711 B CN113658711 B CN 113658711B
- Authority
- CN
- China
- Prior art keywords
- sequence
- grouping
- result sequence
- data
- result
- 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
- 230000004807 localization Effects 0.000 title claims abstract description 46
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000002159 abnormal effect Effects 0.000 claims description 15
- 238000012937 correction Methods 0.000 claims description 11
- 238000004364 calculation method Methods 0.000 claims description 5
- 230000006870 function Effects 0.000 claims description 4
- 238000010606 normalization Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 4
- 238000003745 diagnosis Methods 0.000 description 17
- 201000010099 disease Diseases 0.000 description 13
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 13
- 238000012545 processing Methods 0.000 description 10
- 238000012790 confirmation Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 102100028945 Developmentally-regulated GTP-binding protein 1 Human genes 0.000 description 2
- 102100037711 Developmentally-regulated GTP-binding protein 2 Human genes 0.000 description 2
- 101000838507 Homo sapiens Developmentally-regulated GTP-binding protein 1 Proteins 0.000 description 2
- 101000880940 Homo sapiens Developmentally-regulated GTP-binding protein 2 Proteins 0.000 description 2
- 101000979748 Homo sapiens Protein NDRG1 Proteins 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000000750 progressive effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- 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
-
- 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
- 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/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2474—Sequence data queries, e.g. querying versioned data
Landscapes
- Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Computational Linguistics (AREA)
- Public Health (AREA)
- Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Primary Health Care (AREA)
- Biomedical Technology (AREA)
- Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Epidemiology (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Probability & Statistics with Applications (AREA)
- Software Systems (AREA)
- Medical Treatment And Welfare Office Work (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the application belongs to the field of big data, is applied to the medical field, and relates to a medical data localization method, which comprises the steps of obtaining local medical record data and grouping results, inquiring the standard grouping results according to a standard grouping device to obtain a first result sequence, and inquiring the local medical record data to obtain a second result sequence; when the first result sequence is inconsistent with the second result sequence, grouping the local medical record data according to the first result sequence to obtain a grouping sequence; calculating the total information entropy of the grouping sequence, selecting a preferred sequence, and determining a classified preferred field; writing the classified preferred field into a standard packet device to obtain a target packet device, and grouping the target medical records according to the target packet device to obtain localized data. The application also provides a medical data localization device, a computer device and a storage medium. In addition, the present application relates to blockchain technology in which localized data may be stored. The method and the device improve the accuracy of localization of the medical records.
Description
Technical Field
The present disclosure relates to the field of big data technologies, and in particular, to a method, an apparatus, a computer device, and a storage medium for localizing medical data.
Background
Currently, when medical data of a patient is managed, the medical data is often classified and associated according to different groups of diseases. The hospitalization records of patients can be divided into medical records grouping schemes of different treatment groups according to the information of the medical records first page, and the schemes are usually generated according to local conditions, namely, the actual medical level and expert opinion of each region.
In practical applications, the grouping scheme is often not public and is updated annually. Therefore, it is often difficult for the medical institution to grasp the standard grouping flow, and accurate localization grouping management cannot be performed on the medical data, which eventually results in a problem that the localization accuracy of the medical data is low.
Disclosure of Invention
An embodiment of the application aims to provide a medical data localization method, a medical data localization device, computer equipment and a storage medium, so as to solve the technical problem of low medical data localization accuracy.
In order to solve the above technical problems, the embodiments of the present application provide a method for localizing medical data, which adopts the following technical scheme:
Acquiring local medical records data and grouping results corresponding to the local medical records data, carrying out reverse query on the standard grouping results according to a standard grouping device to obtain a first result sequence, and carrying out forward query on the local medical records data according to the standard grouping device to obtain a second result sequence;
determining whether the first result sequence is consistent with the second result sequence, and grouping the local medical record data according to the first result sequence when the first result sequence is inconsistent with the second result sequence to obtain a grouping sequence;
calculating the total information entropy of the group sequence, selecting the group sequence corresponding to the minimum total information entropy as a preferred sequence, and determining the sequence field of the preferred sequence as a classified preferred field;
and reversely writing field contents of the classification preferred fields serving as knowledge base data into the standard packet device to obtain a target packet device, and grouping the target medical record data according to the target packet device when receiving the target medical record data to obtain localized data corresponding to the target medical record data.
Further, the step of grouping the local medical records according to the first result sequence to obtain a grouping sequence includes:
Acquiring the number of medical records in each grouping sequence and a preset threshold value;
determining whether the number of the medical records is smaller than or equal to the preset threshold value, taking the grouping sequence of which the number of the medical records is smaller than or equal to the preset threshold value as an abnormal sequence, and deleting the abnormal sequence.
Further, the step of calculating the total information entropy of the packet sequence includes:
acquiring preset classification variables, counting the occurrence times of the classification variables in each grouping sequence, and converting the occurrence times into occurrence probability through a preset normalization function;
and calculating field information entropy of the grouping sequence according to the occurrence probability, and accumulating the field information entropy to obtain the total information entropy.
Further, the step of reversely writing the field content of the classified preferred field as knowledge base data into the standard packet device to obtain a target packet device includes:
acquiring field content of the classified preferred field, and generating a check medical record according to the field content;
comparing the check medical records with the local medical records data, and counting the number of medical records which are consistent with the check medical records in the local medical records data;
and determining the field content corresponding to the check cases with the number of cases being greater than or equal to the preset standard number as a correction field, and writing the correction field serving as knowledge base data into the standard grouping device.
Further, after the step of determining whether the first result sequence and the second result sequence are identical, the method further includes:
when the first result sequence is consistent with the second result sequence, reversely inquiring the grouping result according to the standard grouping device to obtain a third result sequence, and forwardly inquiring the local medical record data according to the standard grouping device to obtain a fourth result sequence;
determining whether the third result sequence is consistent with the fourth result sequence, and when the third result sequence is consistent with the fourth result sequence, performing reverse query on the grouping result according to the standard grouping device to obtain a fifth result sequence, and performing forward query on the local medical record data according to the standard grouping device to obtain a sixth result sequence;
and determining whether the fifth result sequence is consistent with the sixth result sequence, determining that the standard grouping device is a first grouping device when the fifth result sequence is consistent with the sixth result sequence, and grouping the target medical records according to the first grouping device when the target medical records are received, so as to obtain localized data corresponding to the target medical records.
Further, after the step of determining whether the third result sequence and the fourth result sequence are identical, the method further includes:
when the third result sequence is inconsistent with the fourth result sequence, grouping the local medical record data according to the third result sequence to obtain a first subsequence;
calculating a first sub-information entropy of each first sub-sequence, and selecting a sequence field of the first sub-sequence corresponding to the minimum first sub-information entropy as a first preferred sub-field;
and reversely writing field contents of the first preferred subfields serving as knowledge base data into the standard grouping device to obtain a second grouping device, and grouping the target medical records according to the second grouping device when the target medical records are received to obtain localized data corresponding to the target medical records.
Further, after the step of determining whether the fifth result sequence and the sixth result sequence are identical, the method further includes:
when the fifth result sequence is inconsistent with the sixth result sequence, grouping the local medical record data according to the fifth result sequence to obtain a second subsequence;
Calculating a second sub-information entropy of each second sub-sequence, and selecting a sequence field of the second sub-sequence corresponding to the minimum second sub-information entropy as a second preferred sub-field;
and reversely writing field contents of the second preferred subfields serving as knowledge base data into the standard grouping device to obtain a third grouping device, and grouping the target medical records according to the third grouping device when receiving the target medical records to obtain localized data corresponding to the target medical records.
In order to solve the above technical problems, the embodiments of the present application further provide a medical data localization device, which adopts the following technical scheme:
the query module is used for acquiring local medical records data and grouping results corresponding to the local medical records data, carrying out reverse query on the standard grouping results according to a standard grouping device to obtain a first result sequence, and carrying out forward query on the local medical records data according to the standard grouping device to obtain a second result sequence;
the first grouping module is used for determining whether the first result sequence is consistent with the second result sequence, and grouping the local medical records according to the first result sequence when the first result sequence is inconsistent with the second result sequence to obtain a grouping sequence;
The calculation module is used for calculating the total information entropy of the grouping sequence, selecting the grouping sequence corresponding to the minimum total information entropy as a preferred sequence, and determining a sequence field of the preferred sequence as a classified preferred field;
and the second grouping module is used for reversely writing field contents of the classification preferred fields into the standard grouping device as knowledge base data to obtain a target grouping device, and grouping the target medical records according to the target grouping device when receiving the target medical records to obtain localized data corresponding to the target medical records.
In order to solve the above technical problems, the embodiments of the present application further provide a computer device, which adopts the following technical schemes:
acquiring local medical records data and grouping results corresponding to the local medical records data, carrying out reverse query on the standard grouping results according to a standard grouping device to obtain a first result sequence, and carrying out forward query on the local medical records data according to the standard grouping device to obtain a second result sequence;
determining whether the first result sequence is consistent with the second result sequence, and grouping the local medical record data according to the first result sequence when the first result sequence is inconsistent with the second result sequence to obtain a grouping sequence;
Calculating the total information entropy of the group sequence, selecting the group sequence corresponding to the minimum total information entropy as a preferred sequence, and determining the sequence field of the preferred sequence as a classified preferred field;
and reversely writing field contents of the classification preferred fields serving as knowledge base data into the standard packet device to obtain a target packet device, and grouping the target medical record data according to the target packet device when receiving the target medical record data to obtain localized data corresponding to the target medical record data.
In order to solve the above technical problems, embodiments of the present application further provide a computer readable storage medium, which adopts the following technical solutions:
acquiring local medical records data and grouping results corresponding to the local medical records data, carrying out reverse query on the standard grouping results according to a standard grouping device to obtain a first result sequence, and carrying out forward query on the local medical records data according to the standard grouping device to obtain a second result sequence;
determining whether the first result sequence is consistent with the second result sequence, and grouping the local medical record data according to the first result sequence when the first result sequence is inconsistent with the second result sequence to obtain a grouping sequence;
Calculating the total information entropy of the group sequence, selecting the group sequence corresponding to the minimum total information entropy as a preferred sequence, and determining the sequence field of the preferred sequence as a classified preferred field;
and reversely writing field contents of the classification preferred fields serving as knowledge base data into the standard packet device to obtain a target packet device, and grouping the target medical record data according to the target packet device when receiving the target medical record data to obtain localized data corresponding to the target medical record data.
According to the method, local medical records data and grouping results corresponding to the local medical records data are obtained, reverse query is conducted on the standard grouping results according to a standard grouping device to obtain a first result sequence, forward query is conducted on the local medical records data according to the standard grouping device to obtain a second result sequence, and the second result sequence can be compared with the first result sequence, so that localized related grouping fields are determined; then, determining whether the first result sequence is consistent with the second result sequence, and grouping the local medical record data according to the first result sequence when the first result sequence is inconsistent with the second result sequence to obtain a grouping sequence; then, calculating the total information entropy of the grouping sequence, selecting the grouping sequence corresponding to the minimum total information entropy as a preferable sequence, determining a sequence field of the preferable sequence as a classification preferable field, wherein the classification preferable field is a localized preferable field, and accurately localizing medical data according to the classification preferable field; and finally, reversely writing field contents of the classified preferred fields into the standard packet device as knowledge base data to obtain a target packet device, and grouping the target medical record data according to the target packet device when receiving the target medical record data to obtain localized data corresponding to the target medical record data, thereby improving the localization efficiency and accuracy of the medical record data, enabling adaptive data extension according to the localized medical record data, and further improving the data processing efficiency.
Drawings
For a clearer description of the solution in the present application, a brief description will be given below of the drawings that are needed in the description of the embodiments of the present application, it being obvious that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a medical data localization method according to the present application;
FIG. 3 is a schematic structural view of one embodiment of a medical data localization apparatus according to the present application;
FIG. 4 is a schematic structural diagram of one embodiment of a computer device according to the present application.
Reference numerals: a medical data localization apparatus 300, a query module 301, a first grouping module 302, a calculation module 303, and a second grouping module 304.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the applications herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description and claims of the present application and in the description of the figures above are intended to cover non-exclusive inclusions. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
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 present 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.
In order to better understand the technical solutions of the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as a web browser application, a shopping class application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard audio plane 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that, the medical data localization method provided in the embodiments of the present application is generally executed by a server/terminal device, and accordingly, the medical data localization device is generally disposed in the server/terminal device.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow chart of one embodiment of a method of medical data localization according to the present application is shown. The medical data localization method comprises the following steps:
Step S201, local medical records data and grouping results corresponding to the local medical records data are obtained, the standard grouping results are reversely inquired according to a standard grouping device to obtain a first result sequence, and the local medical records data are positively inquired according to the standard grouping device to obtain a second result sequence;
in this embodiment, the local medical records data are data of a first medical records page, and the local medical records data and the grouping result corresponding to the local medical records data are obtained, where the grouping result is a grouping result stored in the local medical records data, and the grouping result is not necessarily obtained by local grouping, and the grouping result corresponding to the local medical records data can be obtained from other medical institutions. And carrying out reverse query on the standard grouping result according to the standard grouping device to obtain a first result sequence, and carrying out forward query on the local medical record data according to the standard grouping device to obtain a second result sequence. Specifically, the standard packet device is a packet device set in advance according to a standard packet specification, and the data under different packets such as a DRG (Diagnosis Related Groups, disease diagnosis related group), an MDC (major diagnosis major class), an ADRG (Adjacent-DRG, core disease diagnosis related group) and the like can be obtained by forward querying local medical record data according to the standard packet device. When a grouping result corresponding to the local medical record data is obtained, reversely inquiring DRG in the grouping result according to the standard grouping device to obtain corresponding MDC data, wherein the MDC data obtained by reversely inquiring is a first result sequence; and forward inquiring the local medical record data according to the standard packet device to obtain MDC data, wherein the MDC data obtained by forward inquiring is the second result sequence.
Step S202, determining whether the first result sequence is consistent with the second result sequence, and grouping the local medical record data according to the first result sequence when the first result sequence is inconsistent with the second result sequence to obtain a grouping sequence;
in this embodiment, when the first result sequence and the second result sequence are obtained, the first result sequence and the second result sequence are compared, and whether field contents of the first result sequence and the second result sequence are consistent is determined. And when the first result sequence is inconsistent with the second result sequence, grouping the local medical record data according to the first result sequence to obtain a plurality of grouping sequences.
Step S203, calculating the total information entropy of the grouping sequence, selecting the grouping sequence corresponding to the minimum total information entropy as a preferred sequence, and determining the sequence field of the preferred sequence as a classified preferred field;
in this embodiment, when the packet sequence is obtained, the total information entropy of the packet sequence is calculated, where the total information entropy is an uncertainty representation of the packet sequence, and the total information entropy may be determined according to the field information entropy of the field content in the packet sequence. Specifically, when a grouping sequence is obtained, obtaining the occurrence times of the classification variable corresponding to each field content in the grouping sequence, and normalizing the occurrence times to obtain the field information entropy corresponding to the field content; wherein the classification variable is a preset classification field. And accumulating field information entropy of each group sequence to obtain total information entropy corresponding to each group sequence. And selecting a grouping sequence corresponding to the minimum total information entropy as a preferred sequence, and taking a sequence field corresponding to the preferred sequence as a classification preferred field. For example, if the sequence field corresponding to the preferred sequence is "age", then it is determined that "age" is the classification preferred field.
And step S204, reversely writing field contents of the classification preferred fields into the standard packet device as knowledge base data to obtain a target packet device, and grouping the target medical record data according to the target packet device when receiving the target medical record data to obtain localized data corresponding to the target medical record data.
In this embodiment, when the classification preferred field is obtained, the field content of the classification preferred field is reversely written into the standard packet as knowledge base data to obtain the target packet; the target packetizer is the packetizer after the standard packetizer is subjected to the localization modification of the grouping logic. And when receiving the target medical records, grouping the target medical records according to the target grouping device to obtain localized data corresponding to the target medical records. The target medical record data is the received data which needs to be subjected to localization processing.
It is emphasized that to further guarantee the privacy and security of the localized data, the localized data may also be stored in a blockchain node.
The blockchain referred to in the application is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
According to the data processing method and device, the efficiency and the accuracy of localization of the medical records are improved, so that the data can be adaptively extended according to the localized medical records, and the data processing efficiency is further improved.
In some optional implementations of this embodiment, the step of grouping the local medical records data according to the first result sequence to obtain a grouping sequence includes:
acquiring the number of medical records in each grouping sequence and a preset threshold value;
determining whether the number of the medical records is smaller than or equal to the preset threshold value, taking the grouping sequence of which the number of the medical records is smaller than or equal to the preset threshold value as an abnormal sequence, and deleting the abnormal sequence.
In this embodiment, after the local medical record data is grouped according to the first result sequence to obtain the grouping sequence, the obtained grouping sequence may be further verified to exclude abnormal groupings therein. Specifically, the number of medical records in each grouping sequence is obtained, the grouping sequence with the number of medical records smaller than or equal to a preset threshold value is determined to be an abnormal sequence, and the abnormal sequence is deleted.
According to the embodiment, the abnormal sequence is determined, so that the influence of the abnormal sequence on the localization of the medical data is avoided, and the accuracy of the localization of the medical data is further improved.
In some optional implementations of this embodiment, the step of calculating the total information entropy of the packet sequence includes:
acquiring preset classification variables, counting the occurrence times of the classification variables in each grouping sequence, and converting the occurrence times into occurrence probability through a preset normalization function;
and calculating field information entropy of the grouping sequence according to the occurrence probability, and accumulating the field information entropy to obtain the total information entropy.
In this embodiment, the classification variables are predetermined classification fields, for example, the ages are (0, 1), (1, 3), (3-7), (7-17), (18-24), (24-44), (45-65), (65-79), (80, + ] and are divided, wherein (0, 1), (1, 3), (3-7), (7-17), (18-24), (24-44), (45-65), (65-79), (80, + ] can be used as the predetermined classification variables.
For example, assume that there are 0001\0002\0003 cases in the MDC-A group, the main field contents of which are shown in Table 1 below:
TABLE 1
The statistics of the number of occurrences of each field are shown in table 2 below:
medical record number | 0001、0002、0003 |
Master diagnostics | A:1,B:1,C:1 |
Secondary diagnosis | D:1、E:1、F:2、G:1 |
Surgical operation | O:3、P:1、L:1 |
Age of | (45-65]:1,(22,44]:1,(65,79]:1 |
MDC | MDC-A |
TABLE 2
The normalized values and entropy of each field are shown in the following table 3:
TABLE 3 Table 3
According to the embodiment, the total information entropy of the grouping sequence is calculated, so that the classification preference field can be accurately determined through the total information entropy, and the accuracy of the medical data grouping is improved.
In some optional implementations of this embodiment, the step of reversely writing the field content of the classification preferred field as knowledge base data into the standard packet device to obtain the target packet device includes:
acquiring field content of the classified preferred field, and generating a check medical record according to the field content;
comparing the check medical records with the local medical records data, and counting the number of medical records which are consistent with the check medical records in the local medical records data;
and determining the field content corresponding to the check cases with the number of cases being greater than or equal to the preset standard number as a correction field, and writing the correction field serving as knowledge base data into the standard grouping device.
In this embodiment, when the classification preferred field is obtained, the field content of the classification preferred field may include a plurality of different field contents, for example, the field contents corresponding to the "age" include (45-65) and (65-79).
The present embodiment determines the correction field by classifying the preferred field and writes the correction field into the standard packetizer, so that the standard packetizer written with the correction field can accurately classify and localize the medical data.
In some optional implementations of this embodiment, after the step of determining whether the first result sequence and the second result sequence are identical, the method further includes:
when the first result sequence is consistent with the second result sequence, reversely inquiring the grouping result according to the standard grouping device to obtain a third result sequence, and forwardly inquiring the local medical record data according to the standard grouping device to obtain a fourth result sequence;
determining whether the third result sequence is consistent with the fourth result sequence, and when the third result sequence is consistent with the fourth result sequence, performing reverse query on the grouping result according to the standard grouping device to obtain a fifth result sequence, and performing forward query on the local medical record data according to the standard grouping device to obtain a sixth result sequence;
and determining whether the fifth result sequence is consistent with the sixth result sequence, determining that the standard grouping device is a first grouping device when the fifth result sequence is consistent with the sixth result sequence, and grouping the target medical records according to the first grouping device when the target medical records are received, so as to obtain localized data corresponding to the target medical records.
In this embodiment, when the first result sequence and the second result sequence are consistent, a third result sequence (i.e., ADRG1, core disease diagnosis related packet) is obtained by performing reverse query on the packet result according to the standard packet, and a fourth result sequence (i.e., ADRG2, core disease diagnosis related packet) is obtained by performing forward query on the local medical record data according to the standard packet. Determining whether the third result sequence (ADRG 1) and the fourth result sequence (ADRG 2) are consistent, when the third result sequence (ADRG 1) and the fourth result sequence (ADRG 2) are consistent, performing reverse query on the grouping result according to the standard grouping device to obtain a fifth result sequence (namely DRG1 and a disease diagnosis related group), performing forward query on the local medical record data according to the standard grouping device to obtain a sixth result sequence (namely DRG2 and a disease diagnosis related group), and determining whether the fifth result sequence (DRG 1) and the sixth result sequence (DRG 2) are consistent; when the fifth result sequence (DRG 1) and the sixth result sequence (DRG 2) coincide, the standard packetizer is determined to be the first packetizer. The first result sequence and the second result sequence are the same type of result sequence and are obtained according to different data queries; the third result sequence and the fourth result sequence are the same type of result sequence and are obtained according to different data queries; the fifth result sequence and the sixth result sequence are the same type of result sequence and are obtained according to different data queries. The first result sequence, the third result sequence and the fifth result sequence are progressive relations of sequential reverse query. And when receiving the target medical records, grouping the target medical records according to the first grouping device to obtain localized data corresponding to the target medical records.
According to the embodiment, when the first result sequence is consistent with the second result sequence, the third result sequence is judged with the fourth result sequence, and the fifth result sequence is judged with the sixth result sequence in sequence, so that the accurate determination of the target grouping device is realized, and the accuracy and the efficiency of the localization of the medical data are further improved.
In some optional implementations of this embodiment, after the step of determining whether the third result sequence and the fourth result sequence are identical, the method further includes:
when the third result sequence is inconsistent with the fourth result sequence, grouping the local medical record data according to the third result sequence to obtain a first subsequence;
calculating a first sub-information entropy of each first sub-sequence, and selecting a sequence field of the first sub-sequence corresponding to the minimum first sub-information entropy as a first preferred sub-field;
and reversely writing field contents of the first preferred subfields serving as knowledge base data into the standard grouping device to obtain a second grouping device, and grouping the target medical records according to the second grouping device when the target medical records are received to obtain localized data corresponding to the target medical records.
In this embodiment, when the third result sequence (ADRG 1) and the fourth result sequence (ADRG 2) are inconsistent, the local medical records data are grouped according to the third result sequence, so as to obtain the first subsequence. And calculating a first sub-information entropy of each first sub-sequence, wherein the first sub-information entropy is the total information entropy corresponding to the first sub-sequence. Specifically, counting the occurrence times of the classification variables corresponding to each field in the first subsequence, and normalizing the occurrence times to obtain the field information entropy corresponding to the field. Accumulating field information entropy of each first sub-sequence to obtain total information entropy corresponding to each first sub-sequence; and selecting a sequence field of the first sub-sequence corresponding to the minimum total information entropy as a first preferred sub-field. And reversely writing the field content of the first preferred subfield into a standard packet device as knowledge base data to obtain a second packet device. And when the target medical records data are received, grouping the target medical records data according to the second grouping device to obtain localized data.
According to the embodiment, when the third result sequence is inconsistent with the fourth result sequence, the local medical records are grouped according to the third result sequence, the first preferred sub-field is determined according to the first sub-sequence obtained by grouping, and the field content of the first preferred sub-field is written into the standard grouping device, so that the determination of the first preferred sub-field when grouping logic is inconsistent with local grouping logic is realized, and the accuracy of the localization of medical data is further improved.
In some optional implementations of this embodiment, after the step of determining whether the fifth result sequence and the sixth result sequence are identical, the method further includes:
when the fifth result sequence is inconsistent with the sixth result sequence, grouping the local medical record data according to the fifth result sequence to obtain a second subsequence;
calculating a second sub-information entropy of each second sub-sequence, and selecting a sequence field of the second sub-sequence corresponding to the minimum second sub-information entropy as a second preferred sub-field;
and reversely writing field contents of the second preferred subfields serving as knowledge base data into the standard grouping device to obtain a third grouping device, and grouping the target medical records according to the third grouping device when receiving the target medical records to obtain localized data corresponding to the target medical records.
In this embodiment, when the fifth result sequence (DRG 1) and the sixth result sequence (DRG 2) are inconsistent, the local medical record data is grouped according to the fifth result sequence, so as to obtain the second subsequence. And calculating a second sub-information entropy of each second sub-sequence, wherein the second sub-information entropy is the total information entropy corresponding to the second sub-sequence. Specifically, counting the occurrence times of the classification variables corresponding to each field in the second subsequence, and normalizing the occurrence times to obtain the field information entropy corresponding to the field. Accumulating field information entropy of each second sub-sequence to obtain total information entropy corresponding to each second sub-sequence; and selecting a sequence field of a second sub-sequence corresponding to the minimum total information entropy as a second preferred sub-field. And reversely writing the field content of the second preferred subfield into the standard packetizer as knowledge base data to obtain a third packetizer. And when the target medical records data are received, grouping the target medical records data according to the third grouping device to obtain localized data.
According to the embodiment, when the fifth result sequence is inconsistent with the sixth result sequence, the second preferred subfield is determined, so that accurate determination of the grouping field for localization of the medical data is further realized, and the accuracy rate of localization of the medical data is improved.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by computer readable instructions stored in a computer readable storage medium that, when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
With further reference to fig. 3, as an implementation of the method shown in fig. 2, the present application provides an embodiment of a medical data localization apparatus, where an embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 3, the medical data localization apparatus 300 according to the present embodiment includes: a query module 301, a first grouping module 302, a calculation module 303, and a second grouping module 304. Wherein:
the query module 301 is configured to obtain local medical records data and a grouping result corresponding to the local medical records data, perform a reverse query on the standard grouping result according to a standard grouping device to obtain a first result sequence, and perform a forward query on the local medical records data according to the standard grouping device to obtain a second result sequence;
in this embodiment, the local medical records data are data of a first medical records page, and the local medical records data and the grouping result corresponding to the local medical records data are obtained, where the grouping result is a grouping result stored in the local medical records data, and the grouping result is not necessarily obtained by local grouping, and the grouping result corresponding to the local medical records data can be obtained from other medical institutions. And carrying out reverse query on the standard grouping result according to the standard grouping device to obtain a first result sequence, and carrying out forward query on the local medical record data according to the standard grouping device to obtain a second result sequence. Specifically, the standard packet device is a packet device set in advance according to a standard packet specification, and the data under different packets such as a DRG (Diagnosis Related Groups, disease diagnosis related group), an MDC (major diagnosis major class), an ADRG (Adjacent-DRG, core disease diagnosis related group) and the like can be obtained by forward querying local medical record data according to the standard packet device. When a grouping result corresponding to the local medical record data is obtained, reversely inquiring DRG in the grouping result according to the standard grouping device to obtain corresponding MDC data, wherein the MDC data obtained by reversely inquiring is a first result sequence; and forward inquiring the local medical record data according to the standard packet device to obtain MDC data, wherein the MDC data obtained by forward inquiring is the second result sequence.
A first grouping module 302, configured to determine whether the first result sequence and the second result sequence are consistent, and group the local medical record data according to the first result sequence when the first result sequence and the second result sequence are inconsistent, so as to obtain a grouping sequence;
in some alternative implementations of the present embodiment, the first grouping module 302 includes:
the acquisition unit is used for acquiring the number of medical records in each grouping sequence and a preset threshold value;
and the first confirmation unit is used for determining whether the number of the medical records is smaller than or equal to the preset threshold value, taking the grouping sequence of which the number of the medical records is smaller than or equal to the preset threshold value as an abnormal sequence, and deleting the abnormal sequence.
In this embodiment, when the first result sequence and the second result sequence are obtained, the first result sequence and the second result sequence are compared, and whether field contents of the first result sequence and the second result sequence are consistent is determined. And when the first result sequence is inconsistent with the second result sequence, grouping the local medical record data according to the first result sequence to obtain a plurality of grouping sequences.
The calculating module 303 is configured to calculate a total information entropy of the packet sequence, select a packet sequence corresponding to a minimum total information entropy as a preferred sequence, and determine a sequence field of the preferred sequence as a classification preferred field;
In some alternative implementations of the present embodiment, the computing module 303 includes:
the statistics unit is used for acquiring preset classification variables, counting the occurrence times of the classification variables in each grouping sequence, and converting the occurrence times into occurrence probability through a preset normalization function;
and the calculating unit is used for calculating field information entropy of the grouping sequence according to the occurrence probability, and accumulating the field information entropy to obtain the total information entropy.
In this embodiment, when the packet sequence is obtained, the total information entropy of the packet sequence is calculated, where the total information entropy is an uncertainty representation of the packet sequence, and the total information entropy may be determined according to the field information entropy of the field content in the packet sequence. Specifically, when a grouping sequence is obtained, obtaining the occurrence times of the classification variable corresponding to each field content in the grouping sequence, and normalizing the occurrence times to obtain the field information entropy corresponding to the field content; wherein the classification variable is a preset classification field. And accumulating field information entropy of each group sequence to obtain total information entropy corresponding to each group sequence. And selecting a grouping sequence corresponding to the minimum total information entropy as a preferred sequence, and taking a sequence field corresponding to the preferred sequence as a classification preferred field. For example, if the sequence field corresponding to the preferred sequence is "age", then it is determined that "age" is the classification preferred field.
And the second grouping module 304 is configured to reversely write field contents of the classification preferred fields into the standard grouping device as knowledge base data to obtain a target grouping device, and when receiving target medical record data, group the target medical record data according to the target grouping device to obtain localized data corresponding to the target medical record data.
In some alternative implementations of the present embodiment, the second packet module 304 includes:
the generation unit is used for acquiring the field content of the classified preferred field and generating a check medical record according to the field content;
the comparison unit is used for comparing the check medical records with the local medical records data and counting the number of medical records which are consistent with the check medical records in the local medical records data;
and the second confirmation unit is used for determining that the field content corresponding to the check cases with the number of cases being greater than or equal to the preset standard number is a correction field, and writing the correction field serving as knowledge base data into the standard grouping device.
In this embodiment, when the classification preferred field is obtained, the field content of the classification preferred field is reversely written into the standard packet as knowledge base data to obtain the target packet; the target packetizer is the packetizer after the standard packetizer is subjected to the localization modification of the grouping logic. And when receiving the target medical records, grouping the target medical records according to the target grouping device to obtain localized data corresponding to the target medical records. The target medical record data is the received data which needs to be subjected to localization processing.
It is emphasized that to further guarantee the privacy and security of the localized data, the localized data may also be stored in a blockchain node.
The blockchain referred to in the application is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
In some optional implementations of this embodiment, the medical data localization apparatus 300 further includes:
the acquisition module is used for carrying out reverse query on the grouping result according to the standard grouping device to obtain a third result sequence when the first result sequence is consistent with the second result sequence, and carrying out forward query on the local medical record data according to the standard grouping device to obtain a fourth result sequence;
the first confirmation module is used for determining whether the third result sequence is consistent with the fourth result sequence, and when the third result sequence is consistent with the fourth result sequence, the grouping result is reversely inquired according to the standard grouping device to obtain a fifth result sequence, and the local medical record data is positively inquired according to the standard grouping device to obtain a sixth result sequence;
And the second confirmation module is used for determining whether the fifth result sequence is consistent with the sixth result sequence, determining that the standard grouping device is a first grouping device when the fifth result sequence is consistent with the sixth result sequence, and grouping the target medical records according to the first grouping device when the target medical records are received, so as to obtain localized data corresponding to the target medical records.
In some optional implementations of this embodiment, the first confirmation module includes:
a first grouping unit, configured to group the local medical record data according to the third result sequence when the third result sequence is inconsistent with the fourth result sequence, so as to obtain a first subsequence;
the first selecting unit is used for calculating the first sub-information entropy of each first sub-sequence and selecting a sequence field of the first sub-sequence corresponding to the minimum first sub-information entropy as a first preferred sub-field;
and the first writing unit is used for reversely writing the field content of the first preferred subfield into the standard grouping device as knowledge base data to obtain a second grouping device, and grouping the target medical records data according to the second grouping device when the target medical records data are received to obtain localized data corresponding to the target medical records data. In some optional implementations of this embodiment, the second confirmation module includes:
The second grouping unit is used for grouping the local medical record data according to the fifth result sequence when the fifth result sequence is inconsistent with the sixth result sequence, so as to obtain a second subsequence;
the second selecting unit is used for calculating the second sub-information entropy of each second sub-sequence and selecting the sequence field of the second sub-sequence corresponding to the minimum second sub-information entropy as a second preferred sub-field;
and the second writing unit is used for reversely writing the field content of the second preferred subfield into the standard grouping device as knowledge base data to obtain a third grouping device, and grouping the target medical records data according to the third grouping device when the target medical records data are received to obtain localized data corresponding to the target medical records data.
In this embodiment, when the first result sequence and the second result sequence are consistent, a third result sequence (i.e., ADRG1, core disease diagnosis related packet) is obtained by performing reverse query on the packet result according to the standard packet, and a fourth result sequence (i.e., ADRG2, core disease diagnosis related packet) is obtained by performing forward query on the local medical record data according to the standard packet. Determining whether the third result sequence (ADRG 1) and the fourth result sequence (ADRG 2) are consistent, when the third result sequence (ADRG 1) and the fourth result sequence (ADRG 2) are consistent, performing reverse query on the grouping result according to the standard grouping device to obtain a fifth result sequence (namely DRG1 and a disease diagnosis related group), performing forward query on the local medical record data according to the standard grouping device to obtain a sixth result sequence (namely DRG2 and a disease diagnosis related group), and determining whether the fifth result sequence (DRG 1) and the sixth result sequence (DRG 2) are consistent; when the fifth result sequence (DRG 1) and the sixth result sequence (DRG 2) coincide, the standard packetizer is determined to be the first packetizer. The first result sequence and the second result sequence are the same type of result sequence and are obtained according to different data queries; the third result sequence and the fourth result sequence are the same type of result sequence and are obtained according to different data queries; the fifth result sequence and the sixth result sequence are the same type of result sequence and are obtained according to different data queries. The first result sequence, the third result sequence and the fifth result sequence are progressive relations of sequential reverse query. And when receiving the target medical records, grouping the target medical records according to the first grouping device to obtain localized data corresponding to the target medical records.
The medical data localization device provided by the embodiment improves the localization efficiency and accuracy of the medical data, enables adaptive data extension to be performed according to the localized medical data, and further improves the data processing efficiency.
In order to solve the technical problems, the embodiment of the application also provides computer equipment. Referring specifically to fig. 4, fig. 4 is a basic structural block diagram of a computer device according to the present embodiment.
The computer device 6 comprises a memory 61, a processor 62, a network interface 63 communicatively connected to each other via a system bus. It should be noted that only the computer device 6 having components 61-63 is shown in fig. 4, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may alternatively be implemented. It will be appreciated by those skilled in the art that the computer device herein is a device capable of automatically performing numerical calculations and/or information processing in accordance with predetermined or stored instructions, the hardware of which includes, but is not limited to, microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASICs), programmable gate arrays (fields-Programmable Gate Array, FPGAs), digital processors (Digital Signal Processor, DSPs), embedded devices, etc.
The computer equipment can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The computer equipment can perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad or voice control equipment and the like.
The memory 61 includes at least one type of readable storage media including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage 61 may be an internal storage unit of the computer device 6, such as a hard disk or a memory of the computer device 6. In other embodiments, the memory 61 may also be an external storage device of the computer device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the computer device 6. Of course, the memory 61 may also comprise both an internal memory unit of the computer device 6 and an external memory device. In this embodiment, the memory 61 is typically used to store an operating system and various application software installed on the computer device 6, such as computer readable instructions of a medical data localization method. Further, the memory 61 may be used to temporarily store various types of data that have been output or are to be output.
The processor 62 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 62 is typically used to control the overall operation of the computer device 6. In this embodiment, the processor 62 is configured to execute computer readable instructions stored in the memory 61 or process data, such as computer readable instructions for executing the medical data localization method.
The network interface 63 may comprise a wireless network interface or a wired network interface, which network interface 63 is typically used for establishing a communication connection between the computer device 6 and other electronic devices.
The computer equipment provided by the embodiment improves the localization efficiency and accuracy of the medical record data, so that the data can be adaptively extended according to the localized medical record data, and the data processing efficiency is further improved.
The present application also provides another embodiment, namely, a computer-readable storage medium storing computer-readable instructions executable by at least one processor to cause the at least one processor to perform the steps of a medical data localization method as described above.
The computer readable storage medium provided by the embodiment improves the localization efficiency and accuracy of the medical records data, so that the data can be adaptively extended according to the localized medical records data, and the data processing efficiency is further improved.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
It is apparent that the embodiments described above are only some embodiments of the present application, but not all embodiments, the preferred embodiments of the present application are given in the drawings, but not limiting the patent scope of the present application. This application may be embodied in many different forms, but rather, embodiments are provided in order to provide a more thorough understanding of the present disclosure. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing, or equivalents may be substituted for elements thereof. All equivalent structures made by the specification and the drawings of the application are directly or indirectly applied to other related technical fields, and are also within the protection scope of the application.
Claims (8)
1. A method of localizing medical data, comprising the steps of:
acquiring local medical records data and grouping results corresponding to the local medical records data, carrying out reverse query on the standard grouping results according to a standard grouping device to obtain a first result sequence, and carrying out forward query on the local medical records data according to the standard grouping device to obtain a second result sequence;
determining whether the first result sequence is consistent with the second result sequence, and grouping the local medical record data according to the first result sequence when the first result sequence is inconsistent with the second result sequence to obtain a grouping sequence;
calculating the total information entropy of the group sequence, selecting the group sequence corresponding to the minimum total information entropy as a preferred sequence, and determining the sequence field of the preferred sequence as a classified preferred field;
the field content of the classification preferred field is used as knowledge base data to be reversely written into the standard packet device to obtain a target packet device, and when target medical record data is received, the target medical record data is grouped according to the target packet device to obtain localized data corresponding to the target medical record data;
The step of grouping the local medical records according to the first result sequence to obtain a grouping sequence comprises the following steps:
acquiring the number of medical records in each grouping sequence and a preset threshold value;
determining whether the number of the medical records is smaller than or equal to the preset threshold value, taking a grouping sequence of which the number of the medical records is smaller than or equal to the preset threshold value as an abnormal sequence, and deleting the abnormal sequence;
after the step of determining whether the first result sequence and the second result sequence are identical, further comprising:
when the first result sequence is consistent with the second result sequence, reversely inquiring the grouping result according to the standard grouping device to obtain a third result sequence, and forwardly inquiring the local medical record data according to the standard grouping device to obtain a fourth result sequence;
determining whether the third result sequence is consistent with the fourth result sequence, and when the third result sequence is consistent with the fourth result sequence, performing reverse query on the grouping result according to the standard grouping device to obtain a fifth result sequence, and performing forward query on the local medical record data according to the standard grouping device to obtain a sixth result sequence;
And determining whether the fifth result sequence is consistent with the sixth result sequence, determining that the standard grouping device is a first grouping device when the fifth result sequence is consistent with the sixth result sequence, and grouping the target medical records according to the first grouping device when the target medical records are received, so as to obtain localized data corresponding to the target medical records.
2. The method of localization of medical data of claim 1, wherein the step of calculating the total information entropy of the sequence of packets comprises:
acquiring preset classification variables, counting the occurrence times of the classification variables in each grouping sequence, and converting the occurrence times into occurrence probability through a preset normalization function;
and calculating field information entropy of the grouping sequence according to the occurrence probability, and accumulating the field information entropy to obtain the total information entropy.
3. The method of claim 1, wherein the step of reversely writing field contents of the classification preference field as knowledge base data to the standard packetizer to obtain the target packetizer comprises:
acquiring field content of the classified preferred field, and generating a check medical record according to the field content;
Comparing the check medical records with the local medical records data, and counting the number of medical records which are consistent with the check medical records in the local medical records data;
and determining the field content corresponding to the check cases with the number of cases being greater than or equal to the preset standard number as a correction field, and writing the correction field serving as knowledge base data into the standard grouping device.
4. The method of localization of medical data of claim 1, further comprising, after the step of determining whether the third result sequence and the fourth result sequence are identical:
when the third result sequence is inconsistent with the fourth result sequence, grouping the local medical record data according to the third result sequence to obtain a first subsequence;
calculating a first sub-information entropy of each first sub-sequence, and selecting a sequence field of the first sub-sequence corresponding to the minimum first sub-information entropy as a first preferred sub-field;
and reversely writing field contents of the first preferred subfields serving as knowledge base data into the standard grouping device to obtain a second grouping device, and grouping the target medical records according to the second grouping device when the target medical records are received to obtain localized data corresponding to the target medical records.
5. The method of localization of medical data of claim 1, further comprising, after the step of determining whether the fifth result sequence and the sixth result sequence are identical:
when the fifth result sequence is inconsistent with the sixth result sequence, grouping the local medical record data according to the fifth result sequence to obtain a second subsequence;
calculating a second sub-information entropy of each second sub-sequence, and selecting a sequence field of the second sub-sequence corresponding to the minimum second sub-information entropy as a second preferred sub-field;
and reversely writing field contents of the second preferred subfields serving as knowledge base data into the standard grouping device to obtain a third grouping device, and grouping the target medical records according to the third grouping device when receiving the target medical records to obtain localized data corresponding to the target medical records.
6. A medical data localization apparatus, comprising:
the query module is used for acquiring local medical records data and grouping results corresponding to the local medical records data, carrying out reverse query on the standard grouping results according to a standard grouping device to obtain a first result sequence, and carrying out forward query on the local medical records data according to the standard grouping device to obtain a second result sequence;
The first grouping module is used for determining whether the first result sequence is consistent with the second result sequence, and grouping the local medical records according to the first result sequence when the first result sequence is inconsistent with the second result sequence to obtain a grouping sequence;
the calculation module is used for calculating the total information entropy of the grouping sequence, selecting the grouping sequence corresponding to the minimum total information entropy as a preferred sequence, and determining a sequence field of the preferred sequence as a classified preferred field;
the second grouping module is used for reversely writing field contents of the classification preferred fields into the standard grouping device as knowledge base data to obtain a target grouping device, and grouping the target medical records according to the target grouping device when receiving the target medical records to obtain localized data corresponding to the target medical records;
the grouping the local medical records data according to the first result sequence, and obtaining a grouping sequence includes:
acquiring the number of medical records in each grouping sequence and a preset threshold value;
determining whether the number of the medical records is smaller than or equal to the preset threshold value, taking a grouping sequence of which the number of the medical records is smaller than or equal to the preset threshold value as an abnormal sequence, and deleting the abnormal sequence;
After said determining if said first result sequence and said second result sequence are identical, further comprising:
when the first result sequence is consistent with the second result sequence, reversely inquiring the grouping result according to the standard grouping device to obtain a third result sequence, and forwardly inquiring the local medical record data according to the standard grouping device to obtain a fourth result sequence;
determining whether the third result sequence is consistent with the fourth result sequence, and when the third result sequence is consistent with the fourth result sequence, performing reverse query on the grouping result according to the standard grouping device to obtain a fifth result sequence, and performing forward query on the local medical record data according to the standard grouping device to obtain a sixth result sequence;
and determining whether the fifth result sequence is consistent with the sixth result sequence, determining that the standard grouping device is a first grouping device when the fifth result sequence is consistent with the sixth result sequence, and grouping the target medical records according to the first grouping device when the target medical records are received, so as to obtain localized data corresponding to the target medical records.
7. A computer device comprising a memory having stored therein computer readable instructions which when executed by the processor implement the steps of the medical data localization method of any one of claims 1 to 5.
8. A computer readable storage medium having stored thereon computer readable instructions which when executed by a processor implement the steps of the medical data localization method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111013845.0A CN113658711B (en) | 2021-08-31 | 2021-08-31 | Medical data localization method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111013845.0A CN113658711B (en) | 2021-08-31 | 2021-08-31 | Medical data localization method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113658711A CN113658711A (en) | 2021-11-16 |
CN113658711B true CN113658711B (en) | 2024-04-05 |
Family
ID=78482542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111013845.0A Active CN113658711B (en) | 2021-08-31 | 2021-08-31 | Medical data localization method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113658711B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115640597B (en) * | 2022-09-09 | 2023-07-21 | 南京审计大学 | Audit data validity verification method for block chain low storage overhead |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106845098A (en) * | 2017-01-17 | 2017-06-13 | 天津艾登科技有限公司 | A kind of implementation method of the medical diagnosis on disease packet based on decision Tree algorithms |
CN109801693A (en) * | 2018-12-14 | 2019-05-24 | 平安医疗健康管理股份有限公司 | Medical record group technology and device, terminal and computer readable storage medium |
CN111312345A (en) * | 2019-09-06 | 2020-06-19 | 北京交通大学 | Intelligent visualization method and device for medical data |
CN111414356A (en) * | 2019-01-07 | 2020-07-14 | 北京京东尚科信息技术有限公司 | Data storage method and device, non-relational database system and storage medium |
CN111724136A (en) * | 2020-06-23 | 2020-09-29 | 平安医疗健康管理股份有限公司 | Method and device for entering information of first page of medical record and computer equipment |
CN111785382A (en) * | 2020-06-28 | 2020-10-16 | 平安医疗健康管理股份有限公司 | Grouping judgment method and device for DRGs (data records groups) grouping and computer equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10810223B2 (en) * | 2018-06-14 | 2020-10-20 | Accenture Global Solutions Limited | Data platform for automated data extraction, transformation, and/or loading |
-
2021
- 2021-08-31 CN CN202111013845.0A patent/CN113658711B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106845098A (en) * | 2017-01-17 | 2017-06-13 | 天津艾登科技有限公司 | A kind of implementation method of the medical diagnosis on disease packet based on decision Tree algorithms |
CN109801693A (en) * | 2018-12-14 | 2019-05-24 | 平安医疗健康管理股份有限公司 | Medical record group technology and device, terminal and computer readable storage medium |
CN111414356A (en) * | 2019-01-07 | 2020-07-14 | 北京京东尚科信息技术有限公司 | Data storage method and device, non-relational database system and storage medium |
CN111312345A (en) * | 2019-09-06 | 2020-06-19 | 北京交通大学 | Intelligent visualization method and device for medical data |
CN111724136A (en) * | 2020-06-23 | 2020-09-29 | 平安医疗健康管理股份有限公司 | Method and device for entering information of first page of medical record and computer equipment |
CN111785382A (en) * | 2020-06-28 | 2020-10-16 | 平安医疗健康管理股份有限公司 | Grouping judgment method and device for DRGs (data records groups) grouping and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113658711A (en) | 2021-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112181835B (en) | Automatic test method, device, computer equipment and storage medium | |
CN112131322B (en) | Time sequence classification method and device | |
WO2021196935A1 (en) | Data checking method and apparatus, electronic device, and storage medium | |
WO2020232902A1 (en) | Abnormal object identification method and apparatus, computing device, and storage medium | |
CN112507212A (en) | Intelligent return visit method and device, electronic equipment and readable storage medium | |
CN113658711B (en) | Medical data localization method, device, computer equipment and storage medium | |
CN113254673B (en) | Data management method, system, equipment and medium based on knowledge graph | |
CN115660686A (en) | Transaction risk assessment method, apparatus, device, storage medium and program product | |
CN114741384A (en) | Patient information processing method and device and computer readable storage medium | |
CN117094729A (en) | Request processing method, device, computer equipment and storage medium | |
CN116956326A (en) | Authority data processing method and device, computer equipment and storage medium | |
CN112182107B (en) | List data acquisition method, device, computer equipment and storage medium | |
CN112084408B (en) | List data screening method, device, computer equipment and storage medium | |
WO2021169356A1 (en) | Voice file repairing method and apparatus, computer device, and storage medium | |
CN113780855A (en) | Medical institution supervision method and device, computer equipment and storage medium | |
CN112086154A (en) | Intelligent pediatric information filing method, device, equipment and storage medium | |
CN115250200B (en) | Service authorization authentication method and related equipment thereof | |
CN113806372B (en) | New data information construction method, device, computer equipment and storage medium | |
CN117853241A (en) | Risk service provider identification method, apparatus, device and storage medium thereof | |
CN114372889A (en) | Method and device for monitoring underwriting, computer equipment and storage medium | |
CN116719854A (en) | Data comparison method, device, computer equipment and storage medium | |
CN116796093A (en) | Interface data setting method and device, computer equipment and storage medium | |
CN116663003A (en) | Attack detection method, attack detection device, computer equipment and storage medium | |
CN113806422A (en) | Data processing method and device, electronic equipment and storage medium | |
CN116842541A (en) | Data encryption and decryption processing method and device, computer equipment and storage medium |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220526 Address after: 518000 China Aviation Center 2901, No. 1018, Huafu Road, Huahang community, Huaqiang North Street, Futian District, Shenzhen, Guangdong Province Applicant after: Shenzhen Ping An medical and Health Technology Service Co.,Ltd. Address before: Room 12G, Area H, 666 Beijing East Road, Huangpu District, Shanghai 200001 Applicant before: PING AN MEDICAL AND HEALTHCARE MANAGEMENT Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |