Method and system for assisting in counting the work efficiency of outpatient doctors based on triage system
By constructing a hierarchical linear model through the triage system and combining factors such as doctor's title, diagnosis and treatment time, and case conversion rate, it solves the problem of the traditional HIS system's inaccurate assessment of doctor work efficiency, improves the accuracy of assessment, and assists medical decision-making.
Patent Information
- Application Number
- CN202410925309.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-07-11
AI Technical Summary
When the traditional HIS system evaluates the work efficiency of outpatient doctors, it relies on the number of registrations and visits, ignoring important factors such as case complexity, consultation time, and patient satisfaction, resulting in inaccurate evaluation, and data quality issues affect the accuracy of the calculation results.
A triage system is used to assist in statistics on the work efficiency of outpatient doctors. By obtaining basic business data and triage data of the hospital, a hierarchical linear model is constructed, taking into account factors such as doctor titles, patient diagnosis and treatment time, case priority and conversion rate, and setting weight coefficients and Intercept,train the model to evaluate physician productivity.
It improves the accuracy of the assessment of doctors' work efficiency. Through careful feature selection and model optimization, it provides a more accurate assessment of work efficiency and helps make more reasonable medical decisions.
Smart Images

Figure CN118471454B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of medical data processing, and in particular, relates to a method and system for assisting in counting the work efficiency of outpatient doctors based on a triage system. Background Art
[0002] In the medical field, work efficiency usually refers to the efficiency of doctors in providing medical services, including diagnosis and treatment quality, time management, resource utilization, etc. Usually, the evaluation of doctors' work efficiency usually involves multiple indicators, such as patient satisfaction, diagnosis and treatment time, diagnosis and treatment quality and resource utilization efficiency. Traditionally, the proportion of doctors' working time is calculated by workload statistics (counting the number of outpatients, etc.) and the case quality assessment method is used to count the quality of doctors' diagnosis and treatment.
[0003] The existing method of using the outpatient doctor's registration number and the doctor's visit number in the HIS system and then using the workload statistics method to calculate the outpatient doctor's work efficiency has the following defects:
[0004] (1) Although the workload statistics method is relatively intuitive and easy to understand, this method mainly relies on two data points: the number of registered patients and the number of patient visits. The accuracy of the evaluation is limited by the data source and ignores other important aspects of the doctor's work, such as case complexity, consultation time and patient satisfaction, resulting in an incomplete evaluation of work efficiency.
[0005] (2) The data quality and integrity of the HIS system directly affect the accuracy of the calculation results. Data entry errors or missing information can directly lead to errors in the calculation results.
[0006] (3) The complexity of different patients’ conditions and the time required by doctors are different. Simple consultation and treatment of complex diseases cannot be treated the same, such as follow-up visits or reading reports. This method does not take into account the differences in case complexity.
[0007] (4) Doctors also need to participate in some administrative management and meetings. These tasks also take up doctors’ working time, but are often overlooked in workload statistics.
[0008] Therefore, the traditional HIS system is not accurate enough to evaluate the work efficiency of doctors. If the data results are biased, the impact on the results will be relatively large, and the accuracy of data statistics is low. It is necessary to use the triage system to provide more accurate data to solve these problems. Summary of the invention
[0009] In order to solve the above technical problems, the present invention provides a method and system for assisting in counting the work efficiency of outpatient doctors based on a triage system.
[0010] In a first aspect, the present invention provides a method for assisting in calculating the work efficiency of outpatient doctors according to a triage system, comprising:
[0011] Obtain basic hospital business data, including doctor's title information, clinic information, registration information and each patient's diagnosis and treatment time data;
[0012] The triage system collects triage data; triage data includes primary triage data, secondary triage data, tertiary triage data, patient switching doctor visit data and historical doctor work efficiency quantitative indicators; primary triage data includes registration information synchronously obtained from the HIS system as the basic data for primary triage; secondary triage data includes using the triage function of the triage system to mark the patient's priority and case differences, and record the corresponding data; tertiary triage data includes using the triage system's call function to count the time doctors call different patients; patient switching doctor visit data includes using the secondary triage function of the triage system to record the data of patients switching to other doctors and mark the patient's visit information;
[0013] Preprocess the basic business data and triage data of the hospital to extract numerical feature data; the feature data includes the doctor's professional title data, the patient's diagnosis and treatment time data, the conversion rate of the first-level triage, the conversion rate of the second-level triage, and the conversion rate of the third-level triage; the quantitative indicator of the doctor's work efficiency is the number of patients the doctor sees per unit time;
[0014] Using feature data and historical quantitative indicators of physician work efficiency, a sample data set was constructed;
[0015] Taking the characteristic data as factors, setting the weight coefficients and intercepts of the factors, taking the pre-processed historical quantitative indicators of doctors' work efficiency as output, and constructing a hierarchical linear model of doctors' work efficiency;
[0016] The sample data set is used to train the hierarchical linear model, and the weight coefficient of the factor is trained for each doctor to obtain the doctor's work efficiency evaluation model;
[0017] The current basic business data of the hospital and the statistical triage data of the triage system are obtained, and after pre-processing, they are coded and classified to extract the characteristic data of the current doctor. The characteristic data of the current doctor is input into the doctor's work efficiency evaluation model to obtain the quantitative indicators of the current doctor's work efficiency.
[0018] In a second aspect, the present invention provides a system for assisting in counting the work efficiency of outpatient doctors according to a triage system, comprising an acquisition unit, a statistics unit, a preprocessing unit, a sample data set construction unit, a hierarchical linear model construction unit, a model training unit and a data processing unit;
[0019] The acquisition unit is used to obtain the basic business data of the hospital, including the doctor's title information, clinic information, registration information and the diagnosis and treatment time data of each patient;
[0020] The statistical unit is used for the triage system to collect triage data; triage data includes primary triage data, secondary triage data, tertiary triage data, patient switching doctor visit data and historical doctor work efficiency quantitative indicators; primary triage data includes registration information synchronously obtained from the HIS system as the basic data for primary triage; secondary triage data includes using the triage function of the triage system to mark the patient's priority and case differences, and record the corresponding data; tertiary triage data includes using the call function of the triage system to count the time doctors call different patients; patient switching doctor visit data includes using the secondary triage function of the triage system to record the data of patients switching to other doctors and mark the patient's visit information; the doctor's work efficiency quantitative indicator is the number of patients the doctor sees per unit time;
[0021] The preprocessing unit is used to preprocess the basic business data and triage data of the hospital and extract numerical feature data; the feature data includes the doctor's professional title data, the patient's diagnosis and treatment time data, the conversion rate of the first-level triage, the conversion rate of the second-level triage and the conversion rate of the third-level triage;
[0022] A sample data set construction unit, used to construct a sample data set using feature data and historical quantitative indicators of doctor work efficiency;
[0023] A hierarchical linear model building unit is used to take the characteristic data as factors, set the weight coefficients and intercepts of the factors, take the pre-processed historical quantitative indicators of doctors' work efficiency as output, and build a hierarchical linear model of doctors' work efficiency;
[0024] A model training unit is used to train a hierarchical linear model using a sample data set, train a weight coefficient of a factor for each doctor, and obtain a doctor's work efficiency evaluation model;
[0025] The data processing unit is used to obtain the current basic business data of the hospital and the statistical triage data of the triage system, encode and classify them after pre-processing, extract the characteristic data of the current doctor, input the characteristic data of the current doctor into the doctor's work efficiency evaluation model, and obtain the quantitative index of the current doctor's work efficiency.
[0026] Based on the above technical solution, the present invention can also be improved as follows.
[0027] Furthermore, the patient's medical information includes the patient's medical priority, the patient's medical department, the patient's intended doctor, the doctor to be switched to, and the reason why the patient switched doctors.
[0028] Furthermore, the hospital's basic business data and triage data are pre-processed, classified and coded, including one-hot encoding of doctors' professional title data, non-linear transformation of patients' diagnosis and treatment time data, and standardized processing of conversion rate data at all levels of triage.
[0029] Furthermore, the one-hot encoding of the doctor's professional title data includes dividing the doctor's professional title data into several levels and assigning values to the doctor's professional title data corresponding to each level.
[0030] Furthermore, the nonlinear transformation of the patient's treatment time data includes applying a natural logarithmic transformation or a Box-Cox transformation to each patient's treatment time data point; assuming that the patient's treatment time data is x, the constant is c, and log is the logarithmic transformation function, then the transformed patient's treatment time data is ; Let λ be the transformation parameter, and use the Box-Cox function in Python's SciPy library to confirm the optimal λ value through maximum likelihood estimation.
[0031] Furthermore, the Z-score method was used to standardize the conversion rate data of each level of triage; the conversion rate of the first-level triage was , the conversion rate of secondary triage is The conversion rate of the third-level triage is , n is the total number of samples of conversion rate at each level of triage, is the conversion rate of the i-th level triage, is the conversion rate of the i-th level triage The value of the jth sample among n conversion rate samples, is the mean conversion rate of the i-th level triage, is the standard deviation of the conversion rate of the i-th level triage, is the standardized value of the conversion rate of the i-th level triage, which is used to characterize With the mean The difference is:
[0032] ;
[0033] ;
[0034] .
[0035] Furthermore, a hierarchical linear model was built using Python’s statsmodels library.
[0036] Furthermore, a hierarchical linear model of doctors’ work efficiency is constructed, assuming that doctors’ work efficiency is Y, is the intercept term, is the coefficient of the doctor’s professional title data, is the coefficient of the patient's treatment time data, is the coefficient of the conversion rate of the first-level triage, is the coefficient of the conversion rate of secondary triage, is the coefficient of the conversion rate of the three-level triage, and the doctor's title data is , the patient's diagnosis and treatment time data is The conversion rate of primary triage is The conversion rate of secondary triage is The conversion rate of the third-level triage is , is the error term, then:
[0037] .
[0038] The beneficial effects of the present invention are as follows: the present invention can improve the accuracy of statistically analyzing the work efficiency of doctors, construct a hierarchical linear model through careful feature selection and optimize it, thereby improving the accuracy of the model in predicting the work efficiency of doctors, and helping to make more reasonable medical decisions based on the work efficiency of doctors; the present invention provides an intuitive understanding of the degree of influence of each feature data on the work efficiency of doctors through a hierarchical linear model. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A schematic diagram of a method for assisting in calculating the work efficiency of outpatient doctors according to a triage system provided in Embodiment 1 of the present invention;
[0040] Figure 2 A schematic diagram of a system for assisting in calculating the work efficiency of outpatient doctors based on a triage system provided in Example 2 of the present invention. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0042] Example 1
[0043] As an example, Figure 1 As shown, in order to solve the above technical problems, this embodiment provides a method for assisting in counting the work efficiency of outpatient doctors according to the triage system, including:
[0044] Obtain basic hospital business data, including doctor's title information, clinic information, registration information and each patient's diagnosis and treatment time data;
[0045] The triage system counts triage data; triage data includes primary triage data, secondary triage data, tertiary triage data, patient switching doctor visit data and historical doctor work efficiency quantitative indicators; primary triage data includes registration information synchronously obtained from the HIS system as the basic data for primary triage; secondary triage data includes using the triage function of the triage system to mark the patient's priority and case differences, and record the corresponding data; tertiary triage data includes using the triage system's call function to count the time the doctor calls different patients; patient switching doctor visit data includes using the secondary triage function of the triage system to record the patient's switching to other doctors and mark the patient's visit information; the doctor's work efficiency quantitative indicator is the number of patients per unit time, such as the number of patients per hour; the historical doctor's work efficiency quantitative indicator is the number of patients per unit time;
[0046] Preprocess the basic business data and triage data of the hospital to extract numerical feature data; the feature data includes the doctor's professional title data, the patient's diagnosis and treatment time data, the conversion rate of the first-level triage, the conversion rate of the second-level triage, and the conversion rate of the third-level triage;
[0047] Using feature data and historical quantitative indicators of physician work efficiency, a sample data set was constructed;
[0048] Taking the characteristic data as factors, setting the weight coefficients and intercepts of the factors, taking the pre-processed historical quantitative indicators of doctors' work efficiency as output, and constructing a hierarchical linear model of doctors' work efficiency;
[0049] The sample data set is used to train the hierarchical linear model, and the weight coefficient of the factor is trained for each doctor to obtain the doctor's work efficiency evaluation model;
[0050] The current basic business data of the hospital and the statistical triage data of the triage system are obtained, and after pre-processing, they are coded and classified to extract the characteristic data of the current doctor. The characteristic data of the current doctor is input into the doctor's work efficiency evaluation model to obtain the quantitative indicators of the current doctor's work efficiency.
[0051] In the actual application process, basic data is obtained from the HIS system (Hospital Information System), specifically: obtaining the doctor's title information, the doctor's clinic location information, the patient's registration information and the doctor's visit time to the patient.
[0052] Use the registration information synchronously obtained from the HIS system as the basic data for primary triage, and perform statistics and record it; use the triage function of the triage system to mark and record the patient's priority and case differences; use the calling function of the triage system to count the time the doctor calls different patients and record it; use the secondary triage function of the triage system to record the data of patients switching to other doctors, and mark the patient's related information, such as: patient priority, patient's treatment department, patient's intended doctor, and the doctor to be switched, and the reason why the patient switches doctors (such as different doctor titles, too many people waiting, and urgent to see the report, etc.).
[0053] Optionally, the patient's medical information includes the patient's medical priority, the patient's medical department, the patient's intended doctor, the doctor to whom the patient is switched, and the reason why the patient switched doctors.
[0054] Optionally, the hospital's basic business data and triage data can be pre-processed, classified and coded, including one-hot encoding of doctors' professional title data, non-linear transformation of patients' diagnosis and treatment time data, and standardized processing of conversion rate data at all levels of triage.
[0055] Optionally, performing one-hot encoding on the doctor's professional title data includes dividing the doctor's professional title data into several levels and assigning values to the doctor's professional title data corresponding to each level.
[0056] Assign values to the doctor's professional title, such as 1 for assistant physician, 2 for physician, 3 for deputy chief physician, and 4 for chief physician. Create a feature column for assistant physicians. When the doctor is an assistant physician, the column value is 1, otherwise it is 0. Similarly, create a separate feature column for other professional titles. Use the one-hot encoding function in the data processing tool (such as the get_dummies function of the pandas library in Python) to convert the original professional title data and generate a corresponding one-hot encoding vector for each doctor. After the conversion, the original single "doctor professional title" column is replaced by four new columns, representing different professional title levels.
[0057] Optionally, the nonlinear transformation of the patient's treatment time data includes applying a natural logarithmic transformation or a Box-Cox transformation to each patient's treatment time data point; assuming that the patient's treatment time data is x, the constant is c, and log is the logarithmic transformation function, then the transformed patient's treatment time data is ; Let λ be the transformation parameter, and use the Box-Cox function in Python's SciPy library to confirm the optimal λ value through maximum likelihood estimation.
[0058] For the treatment time data of patients that contain extreme values or do not conform to the normal distribution, use logarithmic transformation or Box-Cox transformation to make the distribution closer to the normal distribution and reduce the impact of extreme values. Or confirm the optimal λ value through maximum likelihood estimation so that the transformed data is closest to the normal distribution. Maximum likelihood estimation (MLE) is a statistical method used to estimate the values of model parameters that can best explain or generate the observed data. The basic principle of MLE is to find the model parameter values that can generate the observed data with the highest probability.
[0059] Use specialized libraries and functions (such as the boxcox function in Python's SciPy library) to automatically find the optimal λ value. Before using the transformation function, first process the data with zero or negative values, such as adding a constant to make all data values positive, and use the transformed data for training the hierarchical linear model.
[0060] Optionally, the Z-score method is used to standardize the conversion rate data of each level of triage; assuming that the conversion rate of the first level of triage is , the conversion rate of secondary triage is The conversion rate of the third-level triage is , n is the total number of samples of conversion rate at each level of triage, is the conversion rate of the i-th level triage, is the conversion rate of the i-th level triage The value of the jth sample among n conversion rate samples, is the mean conversion rate of the i-th level triage, is the standard deviation of the conversion rate of the i-th level triage, is the standardized value of the conversion rate of the i-th level triage, which is used to characterize With the mean The difference is:
[0061] ;
[0062] ;
[0063] .
[0064] The conversion rate of primary triage is the proportion of patients who are transferred from primary triage to actual treatment, the conversion rate of secondary triage is the proportion of patients who are transferred from secondary triage to actual treatment, and the conversion rate of tertiary triage is the proportion of patients who are transferred from tertiary triage to actual treatment.
[0065] The mean is used to measure the center of the data, and the standard deviation is used to measure the dispersion of the data. Replace the corresponding values in the original data to train and analyze the model. The mean of the data after Z-score standardization is 0 and the standard deviation is 1, which helps to speed up the convergence speed during the training of the hierarchical linear model and improve the generalization ability of the model.
[0066] Optionally, use Python's statsmodels library to build a hierarchical linear model.
[0067] Optionally, construct a hierarchical linear model of the doctor's work efficiency, assuming that the doctor's work efficiency is Y, is the intercept term, is the coefficient of the doctor’s professional title data, is the coefficient of the patient's treatment time data, is the coefficient of the conversion rate of the first-level triage, is the coefficient of the conversion rate of secondary triage, is the coefficient of the conversion rate of the three-level triage, and the doctor's title data is , the patient's diagnosis and treatment time data is The conversion rate of primary triage is The conversion rate of secondary triage is The conversion rate of the third-level triage is , is the error term, then:
[0068] .
[0069] In actual application, the intercept term represents the baseline work efficiency when all input features are 0, and the coefficient of each feature data represents the change in doctor's work efficiency when the feature data changes by one unit. The error term represents other factors that affect the doctor's work efficiency besides the feature data.
[0070] Simplifying or adding random effect structures can achieve parameter adjustment of hierarchical linear models, such as adding random slopes to only some variables or adjusting random intercepts.
[0071] The present invention can improve the accuracy of statistically analyzing doctors' work efficiency, construct a hierarchical linear model through careful feature selection and optimization, improve the accuracy of the model in predicting doctors' work efficiency, and help make more reasonable medical decisions based on doctors' work efficiency.
[0072] The present invention provides an intuitive understanding of the degree of influence of each feature data on the target variable (i.e., the doctor's work efficiency) through a hierarchical linear model. For example, it can be clearly seen how factors such as professional title, patient treatment time, and conversion rate of each level of triage affect the doctor's work efficiency.
[0073] Example 2
[0074] Based on the same principle as the method described in Example 1, as shown in the attached Figure 2 As shown, this embodiment provides a system for assisting in counting the work efficiency of outpatient doctors according to the triage system, including an acquisition unit, a statistics unit, a preprocessing unit, a sample data set construction unit, a hierarchical linear model construction unit, a model training unit and a data processing unit;
[0075] The acquisition unit is used to obtain the basic business data of the hospital, including the doctor's title information, clinic information, registration information and the diagnosis and treatment time data of each patient;
[0076] The statistical unit is used for the triage system to collect triage data; triage data includes primary triage data, secondary triage data, tertiary triage data, patient switching doctor visit data and historical doctor work efficiency quantitative indicators; primary triage data includes registration information synchronously obtained from the HIS system as the basic data for primary triage; secondary triage data includes using the triage function of the triage system to mark the patient's priority and case differences, and record the corresponding data; tertiary triage data includes using the call function of the triage system to count the time doctors call different patients; patient switching doctor visit data includes using the secondary triage function of the triage system to record the data of patients switching to other doctors and mark the patient's visit information; the doctor's work efficiency quantitative indicator is the number of patients the doctor sees per unit time;
[0077] The preprocessing unit is used to preprocess the basic business data and triage data of the hospital and extract numerical feature data; the feature data includes the doctor's professional title data, the patient's diagnosis and treatment time data, the conversion rate of the first-level triage, the conversion rate of the second-level triage and the conversion rate of the third-level triage;
[0078] A sample data set construction unit, used to construct a sample data set using feature data and historical quantitative indicators of doctor work efficiency;
[0079] A hierarchical linear model building unit is used to take the characteristic data as factors, set the weight coefficients and intercepts of the factors, take the pre-processed historical quantitative indicators of doctors' work efficiency as output, and build a hierarchical linear model of doctors' work efficiency;
[0080] A model training unit is used to train a hierarchical linear model using a sample data set, train a weight coefficient of a factor for each doctor, and obtain a doctor's work efficiency evaluation model;
[0081] The data processing unit is used to obtain the current basic business data of the hospital and the statistical triage data of the triage system, encode and classify them after pre-processing, extract the characteristic data of the current doctor, input the characteristic data of the current doctor into the doctor's work efficiency evaluation model, and obtain the quantitative index of the current doctor's work efficiency.
[0082] Optionally, the patient's medical information includes the patient's medical priority, the patient's medical department, the patient's intended doctor, the doctor to whom the patient is switched, and the reason why the patient switched doctors.
[0083] Optionally, the hospital's basic business data and triage data can be pre-processed, classified and coded, including one-hot encoding of doctors' professional title data, non-linear transformation of patients' diagnosis and treatment time data, and standardized processing of conversion rate data at all levels of triage.
[0084] Optionally, performing one-hot encoding on the doctor's professional title data includes dividing the doctor's professional title data into several levels and assigning values to the doctor's professional title data corresponding to each level.
[0085] Optionally, the nonlinear transformation of the patient's treatment time data includes applying a natural logarithmic transformation or a Box-Cox transformation to each patient's treatment time data point; assuming that the patient's treatment time data is x, the constant is c, and log is the logarithmic transformation function, then the transformed patient's treatment time data is ; Let λ be the transformation parameter, and use the Box-Cox function in Python's SciPy library to confirm the optimal λ value through maximum likelihood estimation.
[0086] Optionally, the Z-score method is used to standardize the conversion rate data of each level of triage; assuming that the conversion rate of the first level of triage is , the conversion rate of secondary triage is The conversion rate of the third-level triage is , n is the total number of samples of conversion rate at each level of triage, is the conversion rate of the i-th level triage, is the conversion rate of the i-th level triage The value of the jth sample among n conversion rate samples, is the mean conversion rate of the i-th level triage, is the standard deviation of the conversion rate of the i-th level triage, is the standardized value of the conversion rate of the i-th level triage, which is used to characterize With the mean The difference is:
[0087] ;
[0088] ;
[0089] .
[0090] Optionally, use Python's statsmodels library to build a hierarchical linear model.
[0091] Optionally, construct a hierarchical linear model of the doctor's work efficiency, assuming that the doctor's work efficiency is Y, is the intercept term, is the coefficient of the doctor’s professional title data, is the coefficient of the patient's treatment time data, is the coefficient of the conversion rate of the first-level triage, is the coefficient of the conversion rate of secondary triage, is the coefficient of the conversion rate of the three-level triage, and the doctor's title data is , the patient's diagnosis and treatment time data is The conversion rate of primary triage is The conversion rate of secondary triage is The conversion rate of the third-level triage is , is the error term, then:
[0092] .
[0093] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for assisting in counting the work efficiency of outpatient doctors based on a triage system, characterized in that: include: Obtain basic hospital business data, including doctor's title information, clinic information, registration information and each patient's diagnosis and treatment time data; The triage system counts triage data; triage data includes primary triage data, secondary triage data, tertiary triage data, patient switching doctor visit data and historical doctor work efficiency quantitative indicators; primary triage data includes registration information synchronously obtained from the HIS system as the basic data for primary triage; secondary triage data includes using the triage function of the triage system to mark the patient's priority and case differences, and record the corresponding data; tertiary triage data includes using the triage system's call function to count the time the doctor calls different patients; patient switching doctor visit data includes using the secondary triage function of the triage system to record the data of patients switching to other doctors, and marking the patient's visit information; the doctor's work efficiency quantitative indicator is the number of visits per unit time; patient visit information includes patient visit priority, patient visit department, patient's intended doctor, the doctor to be switched and the reason for the patient switching doctors; Preprocess the basic business data and triage data of the hospital to extract numerical feature data; the feature data includes the doctor's professional title data, the patient's diagnosis and treatment time data, the conversion rate of the first-level triage, the conversion rate of the second-level triage, and the conversion rate of the third-level triage; Using feature data and historical quantitative indicators of physician work efficiency, a sample data set was constructed; Taking the characteristic data as factors, setting the weight coefficients and intercepts of the factors, taking the pre-processed historical quantitative indicators of doctors' work efficiency as output, and constructing a hierarchical linear model of doctors' work efficiency; The sample data set is used to train the hierarchical linear model, and the weight coefficient of the factor is trained for each doctor to obtain the doctor's work efficiency evaluation model; The current basic business data of the hospital and the statistical triage data of the triage system are obtained, and after pre-processing, they are coded and classified to extract the characteristic data of the current doctor. The characteristic data of the current doctor is input into the doctor's work efficiency evaluation model to obtain the quantitative indicators of the current doctor's work efficiency.
2. The method for assisting in calculating the work efficiency of outpatient doctors based on the triage system according to claim 1, characterized in that: Pre-process the hospital's basic business data and triage data for classification and coding, including one-hot coding of doctors' professional title data, non-linear transformation of patients' diagnosis and treatment time data, and standardized processing of triage conversion rate data.
3. The method for assisting in calculating the work efficiency of outpatient doctors based on the triage system according to claim 2, characterized in that: The one-hot encoding of the doctor's professional title data includes dividing the doctor's professional title data into several levels and assigning values to the doctor's professional title data corresponding to each level.
4. The method for assisting in calculating the work efficiency of outpatient doctors based on the triage system according to claim 2, characterized in that: The nonlinear transformation of the patient's treatment time data includes applying natural logarithmic transformation or Box-Cox transformation to each patient's treatment time data point; assuming that the patient's treatment time data is x, the constant is c, and log is the logarithmic transformation function, then the transformed patient's treatment time data is ; Let λ be the transformation parameter, and use the Box-Cox function in Python's SciPy library to confirm the optimal λ value through maximum likelihood estimation.
5. The method for assisting in calculating the work efficiency of outpatient doctors based on the triage system according to claim 2, characterized in that: The Z-score method is used to standardize the conversion rate data of each level of triage; the conversion rate of the first-level triage is , the conversion rate of secondary triage is The conversion rate of the third-level triage is , n is the total number of samples of conversion rate at each level of triage, is the conversion rate of the i-th level triage, is the conversion rate of the i-th level triage The value of the jth sample among n conversion rate samples, is the mean conversion rate of the i-th level triage, is the standard deviation of the conversion rate of the i-th level triage, is the standardized value of the conversion rate of the i-th level triage, which is used to characterize With the mean The difference is: ; ; 。 6. The method for assisting in calculating the work efficiency of outpatient doctors based on the triage system according to claim 1, characterized in that: Hierarchical linear models were built using Python’s statsmodels library.
7. The method for assisting in calculating the work efficiency of outpatient doctors based on a triage system according to claim 1, characterized in that: Construct a hierarchical linear model of doctors' work efficiency, assuming that doctors' work efficiency is Y, is the intercept term, is the coefficient of the doctor’s professional title data, is the coefficient of the patient's treatment time data, is the coefficient of the conversion rate of the first-level triage, is the coefficient of the conversion rate of secondary triage, is the coefficient of the conversion rate of the three-level triage, and the doctor's title data is , the patient's diagnosis and treatment time data is The conversion rate of primary triage is The conversion rate of secondary triage is The conversion rate of the third-level triage is , is the error term, then: 。 8. The triage system assists in the statistical work efficiency of outpatient doctors, characterized by: It includes an acquisition unit, a statistics unit, a preprocessing unit, a sample data set construction unit, a hierarchical linear model construction unit, a model training unit and a data processing unit; The acquisition unit is used to obtain the basic business data of the hospital, including the doctor's title information, consulting room information, registration information and the diagnosis and treatment time data of each patient; The statistical unit is used for the triage system to count triage data; triage data includes primary triage data, secondary triage data, tertiary triage data, patient switching doctor visit data and historical doctor work efficiency quantitative indicators; primary triage data statistics include registration information synchronously obtained from the HIS system as the basic data for primary triage; secondary triage data statistics include using the triage function of the triage system to mark the patient's priority and case differences, and record the corresponding data; tertiary triage data statistics include using the triage system's call function to count the time the doctor calls different patients; patient switching doctor visit data statistics include using the secondary triage function of the triage system to record the patient switching to other doctors and mark the patient's visit information; the doctor's work efficiency quantitative indicator is the number of visits per unit time; patient visit information includes the patient's visit priority, the patient's visit department, the patient's intended visit doctor, the doctor to be switched and the reason for the patient switching doctors; The preprocessing unit is used to preprocess the basic business data and triage data of the hospital and extract numerical feature data; the feature data includes the doctor's professional title data, the patient's diagnosis and treatment time data, the conversion rate of the first-level triage, the conversion rate of the second-level triage and the conversion rate of the third-level triage; A sample data set construction unit, used to construct a sample data set using feature data and historical quantitative indicators of doctor work efficiency; A hierarchical linear model building unit is used to take the characteristic data as factors, set the weight coefficients and intercepts of the factors, take the pre-processed historical quantitative indicators of doctors' work efficiency as output, and build a hierarchical linear model of doctors' work efficiency; A model training unit is used to train a hierarchical linear model using a sample data set, train a weight coefficient of a factor for each doctor, and obtain a doctor's work efficiency evaluation model; The data processing unit is used to obtain the current basic business data of the hospital and the statistical triage data of the triage system, encode and classify them after pre-processing, extract the characteristic data of the current doctor, input the characteristic data of the current doctor into the doctor's work efficiency evaluation model, and obtain the quantitative index of the current doctor's work efficiency.
