The content of the invention
The present invention provides a kind of medical treatment guidance method, device and server based on clinical data, for overcoming existing skill
The defect of art, it is intended to provide medical treatment for patient according to clinical data and instruct, be that one is set up between patient and outstanding doctor, section office
Efficiently, sensitive reliable information bridge, simplifies unnecessary link, improves efficiency.
To achieve the above object, the present invention provides a kind of medical treatment guidance method based on clinical data, comprises the following steps:
Obtain the clinical data of all Diseases;
The index data base related to a certain Disease is set up by limiting keyword;
Set up the data target for weighing a certain disease validity described in medical treatment;
According to the index data base, ID, doctor, section office, the life entity of each patient is extracted from the clinical data
Levy, diagnose, checking information;
Weighting isomery star data model is built according to the information of extraction and the data target;
Ranking is carried out to the weighting isomery star data model, the medical treatment for being adapted to a certain Disease is obtained
The ranking information of level.
Preferably, in the acquisition clinical database after the clinical data of all Diseases, in addition to:
The clinical data is cleaned.
Preferably, it is described that the clinical data is cleaned, including:
When the shortage of data rate of the record data of patient is more than predetermined threshold value, the record data of the patient is removed;
When the shortage of data rate of the record data of patient is less than predetermined threshold value, the record data to the patient is mended
Together;
One that the clinical data selection time of each patient is nearest records;
By the numerical discretization of the assay of patient to default interval.
Preferably, the data target includes:
The checking information of patient's different phase and the state of an illness lapse to type.
Preferably, it is described that the weighting star-like data mould of isomery is built according to the relevant database and the data target
Type, including:
According to the information of extraction, set up using the id information of the patient as major key, with the doctor of the patient, section office, life
Life sign, diagnosis, the isomery star data model that checking information is attributes object;
According to the data target, the weight of each attributes object of isomery star data model is calculated.
Preferably, it is described that ranking is carried out to the weighting isomery star data model, obtain a certain Disease
The ranking information of medical treatment level, including:
Using MedRank rank algorithms, computing is iterated by the first formula, it is real until result converges on stationary value
Now to the ranking of the weighting isomery star data model, so that obtain the medical treatment level of a certain Disease
Ranking information;
Wherein, the first described formula is:
Wherein, t ∈ { 1 ..., n-1 }, n are the positive integer more than 1, X1For target type, drug information, X are representedtFor t
Type centered on secondary object type, C, represents patient,For X1Object type is when the rank score of time iteration, and U is | X1|×|
X1| unit matrix, | X1| it is X1The sum of type object, ɑ is decision U/ | X1| the weight of item, WABFor object A and B weighting
Adjacency matrix, represents weight link between the two,For the diagonal matrix to traveling professional etiquette, wherein the diagonal values of the i-th row
For WABI-th row sum.
To achieve the above object, the present invention also provides a kind of medical treatment guiding device based on clinical data, including:
Data acquisition module, the clinical data for obtaining all Diseases;
Index data module, for setting up the index data base related to the patient of a certain disease by limiting keyword;
Measurement index module, the data target of a certain disease validity described in medical treatment is weighed for setting up;
Information extraction modules, for according to the index data base, extracted from the clinical data each patient ID,
Doctor, section office, vital sign, diagnosis, checking information;
Model module, weighting isomery star data model is built for the information according to extraction and the data target;
Ranking module, for carrying out ranking to the weighting isomery star data model, obtains the doctor of a certain disease
The ranking information of raw treatment level.
Preferably, the medicine recommendation apparatus based on clinical data also includes:
Data cleansing module, for being cleaned to the clinical data;
The model module includes:
Module is built, for the information according to extraction, is set up using the id information of the patient as major key, with the patient's
Doctor, section office, vital sign, diagnosis, the isomery star data model that checking information is attributes object;
Weight module, for according to the data target, calculating the power of each attributes object of isomery star data model
Weight.
Preferably, the ranking module, for using MedRank rank algorithms, computing is iterated by the first formula,
Until result converges on stationary value, the ranking to the weighting isomery star data model is realized, so as to obtain described a certain kind
The ranking information of the medical treatment level of Disease;
Wherein, the first described formula is:
Wherein, t ∈ { 1 ..., n-1 }, n are the positive integer more than 1, X1For target type, drug information, X are representedtFor t
Type centered on secondary object type, C, represents patient,For X1Object type is when the rank score of time iteration, and U is | X1|×|
X1| unit matrix, | X1| it is X1The sum of type object, ɑ is decision U/ | X1| the weight of item, WABFor object A and B weighting
Adjacency matrix, represents weight link between the two,For the diagonal matrix to traveling professional etiquette, wherein the diagonal values of the i-th row
For WABI-th row sum.
To achieve the above object, the present invention also provides a kind of server, including the above-mentioned medical treatment based on clinical data refers to
Lead device.
Medical treatment guidance method, device and the server based on clinical data that the present invention is provided, gather all diseases first
The clinical data of patient, then sets up index data base by limiting the keyword related to a certain disease, resettles measurement
The data target of the above-mentioned disease validity of medical treatment;Further according to the mapping relations of index data base and clinical database, from facing
The relevant information of patient is extracted in bed database;Data model is built in the information according to extraction and data target;Finally lead to
Mathematical method is crossed to data model analysis, processing, ranking, it is final to obtain the doctor's ranking information for treating the Disease level;
Realize according to clinical data for patient selection doctor aid decision is provided so that be built between patient and outstanding doctor, section office
Vertical one efficiently, sensitive reliable information bridge, simplify unnecessary link, shorten Waiting time, improve medical treatment
Efficiency.
Embodiment one
As shown in figure 1, the present invention provides a kind of medical treatment guidance method based on clinical data, comprise the following steps:
Step S10, obtains the clinical data of all Diseases;Here clinical data derives from existing data, can
To be the clinical data of one or multiple hospitals.These clinical datas use unified form on the information of every patient.
Mainly include:Patient ID (identification number), diagnose the illness, examined after assay, vital sign, doctor, section office, medication before medication
Test result, lapse to situation etc..
Step S20, the index data base related to a certain Disease is set up by limiting keyword;Here keyword
Can be the word related to the title of disease, for the retrieval of the progress for the information that diagnoses the illness, such as hypertension, heart disease, hat
Worry etc..Wherein, the clinical data that all patients relevant with keyword are contained in index data base is linked, and passes through index
Mapping relations in database can find the clinical data with keyword or all patients relevant with MeSH, rope
Draw the information included in database and come from content in clinical database.
Clinical data in the present embodiment, gathers administration time big from the refined three hospital medical informations system in Central South University Hunan
There are blood pressure measurement twice and vital sign, the diagnosis information of the hyperpietic of assay in 5 days, and before and after medication.Data
In comprising representing No. ID of patient, doctor, section office, essential information, blood pressure, medicine before and after vital sign medication, lapse to feelings
The Back ground Informations such as condition, age, sex, smoking, blood fat, blood glucose, BMI, EGFR, CRP, creatinine, microalbuminuria and inspection refer to
It is marked with and the diagnosis such as heart failure, coronary heart disease, diabetes, wherein not including the privacy information of patient.
Medicine used in hyperpietic mainly considers diuretics, beta-blocker, α ARBs, vasotonia
Plain converting enzyme inhibitor (ACEI), calcium channel blocker (CCB), angiotensin receptor antagonist (ARB), vasodilator,
Ganglionic block agents single medicine or composite reagent.
The clinical data of all hyperpietics in hospital information system is analyzed, collection includes relaxing before and after patient ID, medication
Open the clinical data information of the patients such as pressure/systolic pressure, the doctor in charge, section office, antihypertensive drugs.
Step S30, sets up the data target for weighing a certain disease validity described in medical treatment;The data target includes
The checking information of patient's different phase and the state of an illness lapse to type, by taking high blood pressure disease patient as an example:1) antihypertensive drug therapy
Period diastolic pressure/contraction is pressed with obvious reduction;2) sb.'s illness took a favorable turn when leaving hospital.During once being gone to a doctor with hyperpietic in the present invention
Before and after medication the reduction situation of blood pressure and the state of an illness lapse to situation jointly come weigh it is medical during decompression scheme or antihypertensive drugs
Validity, a threshold value can be set, whether the reduction of blood pressure reaches threshold before and after medication during hyperpietic once goes to a doctor
Value;Sb.'s illness took a favorable turn can set several rating-types, such as slightly, moderate, good, recovery from illness.
Step S40, according to the index data base, extracts the ID, doctor, section of each patient from the clinical data
Room, vital sign, diagnosis, checking information;, can be after step slo to clinic if the information of these in clinical data is not complete
Data are cleaned, and are removed the excessive attribute of missing data rate and patient's record, are adopted for the less attribute of missing data rate
Take Data-parallel language measure.
Step S50, weighting isomery star data model is built according to the information of extraction and the data target;Including following
Step:
Step S51, according to the information of extraction, sets up using the id information of the patient as major key, with the doctor of the patient,
Section office, vital sign, diagnosis, the star-like Feature Between Heterogeneous Data Model that checking information is attributes object;Referring to Fig. 2;
Step S52, according to the data target, calculates the weight of each attributes object of isomery star data model.
The object centered on patient is built for the clinical data of each patient, is relaxed before and after doctor, section office, age, medication
The relational data structure that pressure, systolic pressure, heart rate, hemoglobin etc. are characterized as attributes object is opened, is calculated further according to data target
The weight of the attributes object of each relational data structure, forms multiple weighting isomery star data models.
Wherein vital sign includes systolic pressure/diastolic pressure before age, medication, and assay includes EGFR, urea, blood red egg
White test value.The weight of the attributes object at star-like Feature Between Heterogeneous Data Model edge is to rely on calculating on the basis of following two factors
Obtain:
Patients' blood reduces situation:If diastolic pressure before patient medication<90 and systolic pressure<140:
A) medication after-contraction pressure<140 and diastolic pressure<90, weight=0;
B) medication after-contraction pressure>=140 or diastolic pressure>=90, weight=-1;
If diastolic pressure before medication>=90 or systolic pressure>=140:
A) medication after-contraction pressure<140 and diastolic pressure<90, weight=1;
B) systolic pressure is reduced>20 or diastolic pressure reduction>10, weight=0.5;
C) systolic pressure is reduced<20 and diastolic pressure reduction<10, weight=0;
D) systolic pressure or diastolic pressure rise, weight=-1;
Conditions of patients lapses to situation:
If conditions of patients is taken a turn for the better, weight=1;
If conditions of patients is not cured, weight=-0.5;
If death, weight=-1;
If conditions of patients belongs to other situations, weight=0;
Other index weights of last patient:
Weight=(1-a) * weight_ lapse to+a*weight_ blood pressures reduction situation
The weight of doctor:The average value for all patient weight that the doctor cures;
The weight of section office:The average value for all patient weight that the section office cure.
Step S60, carries out ranking to the weighting isomery star data model, obtains the medical treatment of the Disease
The ranking information of level.
Ranking is carried out to the weighting isomery star data model built in step S50 using MedRank rank algorithms, obtained
The ranking of each medical treatment high blood pressure disease level.MedRank algorithms are to the star-like data of weighting isomery constructed by each patient
Model is iterated computing based on following algorithm, until result converges on stable matter:
XtFor tthObject type, X1For target type, refer to type, this implementation centered on decompression scheme, C in our current research
Refer to patient, W in exampleABFor object A and B weighted adjacent matrix, weight link between the two is represented,For to row progress
The diagonal matrix of ruleization, wherein the diagonal values of the i-th row are WABI-th row sum.Following table 1 is all hypertension in clinical data
The ranking result of patient doctor in charge's treatment level:
Table 1
The solution of the present invention can be calculated the related doctor of various diseases, section office and be controlled by the analysis to clinical data
The ranking for the treatment of level, can also be evaluated the treatment level of section office and doctor, and providing medical treatment during for patient assessment refers to
Lead, help the scientific and reasonable selection section office of patient, physician visits, shorten its consultation time.
In an embodiment of the present invention, referring to Fig. 3, also include after step slo:
Step S11, is cleaned to the clinical data;By taking high blood pressure disease as an example:Must in clinical data after clear
Must there are blood pressure, doctor, section office, antihypertensive drugs before and after medication.
Step step S11 includes:
Step S111, when the shortage of data rate of the record data of patient is more than predetermined threshold value, removes the note of the patient
Record data;When the shortage of data rate of the record data of patient is less than predetermined threshold value, the record data to the patient is mended
Together;If the data message in clinical data on that must have is lacked, judge whether miss rate is more than threshold value, if it does,
Then remove the record of this patient;If it is less, median (average value) polishing of the Numeric Attributes attribute value, mark
The mode polishing of the random generation label value of label type attribute;
Step S112, a nearest record of selection time in the clinical data of each patient;
Step S113, by the numerical discretization of the assay of patient to default interval.
Data through over cleaning are more complete, and for obvious distortion or the data with error are removed, use
Data with generality, it is possible to increase the accuracy of calculating, reduce because of the error that initial data is brought.
The embodiment of the present invention also provides a kind of medical treatment guiding device based on clinical data, including:
Data acquisition module 10, the clinical data for obtaining all Diseases;
Index data module 20, for setting up the index data related to the patient of a certain disease by limiting keyword
Storehouse;
Measurement index module 30, the data target of a certain disease effect property described in medical treatment is weighed for setting up;
Information extraction modules 40, for according to the index data base, extracting each patient's from the clinical data
ID, doctor, section office, vital sign, diagnosis, checking information;
Model module 50, weighting isomery star data model is built for the information according to extraction and the data target;
Ranking module 60, for carrying out ranking to the weighting isomery star data model, obtains a certain disease and suffers from
The ranking information of the medical treatment level of person.
The medicine recommendation apparatus based on clinical data also includes:
Data cleansing module 11, for being cleaned to the clinical data;
The model module 50 includes:
Module 51 is built, for the information according to extraction, is set up using the id information of the patient as major key, with the patient
Doctor, section office, vital sign, diagnosis, checking information be attributes object star-like Feature Between Heterogeneous Data Model;
Weight module 52, for according to the data target, calculating star-like each attributes object of Feature Between Heterogeneous Data Model
Weight.
The ranking module 60, for using MedRank rank algorithms, computing is iterated by the first formula, until
As a result stationary value is converged on, the ranking to the weighting isomery star data model is realized, so as to obtain a certain disease
The ranking information of the medical treatment level of patient;
Wherein, the first described formula is:
Wherein, t ∈ { 1 ..., n-1 }, n are the positive integer more than 1, X1For target type, drug information, X are representedtFor t
Type centered on secondary object type, C, represents patient,For X1Object type is when the rank score of time iteration, and U is | X1|×|
X1| unit matrix, | X1| it is X1The sum of type object, ɑ is decision U/ | X1| the weight of item, WABFor object A and B weighting
Adjacency matrix, represents weight link between the two,For the diagonal matrix to traveling professional etiquette, wherein the diagonal values of the i-th row
For WABI-th row sum.
The data acquisition module 10 of the present apparatus is according to all data of patient in patient in hospital diagnosis information, during collection medication
Between be more than 5 days, and have the blood pressure measurement data related to the hyperpietic of vital sign, assay twice before and after medication,
Including data messages such as diastolic pressure/systolic pressure, antihypertensive drugs before and after age, doctor, medication.Data cleansing Index Establishment module,
Set up and weigh the related index of clinical data validity:Gathered patient record in must have doctor, section office, Treatment of Hypertension,
Essential information (age, sex, BMI), vital sign (blood pressure, heart rate before medication), assay, the attribute such as diagnose, lapse to;
When cleaning data, the zone of reasonableness of property value is defined;For the data of missing, the place of deletion record or polishing missing values is carried out
Reason;According to the clinical data collected, weighting isomery Star Network model is built;Using MedRank rank algorithms, to weighting
Isomery Star Network model carries out ranking, obtains the ranking information of medical treatment level, patient or family members can be according to rankings
The height selection doctor in charge, realizes the recommendation of hypertension therapeutic doctor.
The embodiment of the present invention also provides a kind of server, including in above-described embodiment it is any described based on clinical data
Medical treatment guiding device.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.