Method and device for acquiring inquiry sheet
By analyzing the query request parameters and obtaining heterogeneous data identification, the process of obtaining consultation orders is simplified, and the problem of low efficiency in the acquisition of consultation orders in the existing technology is solved, efficient and safe acquisition of consultation orders is achieved, and business processes are ensured. high availability.
Patent Information
- Application Number
- CN202310722460.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-16
- Publication Date
- 2024-12-17
AI Technical Summary
In the prior art, determining the process of obtaining the consultation form based on business scenarios leads to cumbersome access to the consultation form and low efficiency. In addition, the synchronization of the database interface between different business scenarios is prone to network resource preemption, blocking the process of obtaining the consultation form, and it is impossible to guarantee that the High availability of core business processes.
By analyzing the parameters carried by the query request, a heterogeneous data identification is obtained, and the associated heterogeneous data set is determined based on the heterogeneous data identification, and the target consultation form that meets the query conditions is obtained, and asynchronously when receiving an order or a consultation request is received. Organize consultation forms and update heterogeneous data sets in real time to avoid network resource seizure.
The process of obtaining consultation orders has been simplified, the efficiency and accuracy of obtaining consultation orders has been improved, the cost of research and development and maintenance has been reduced, information security has been enhanced, and the high availability of the consultation process has been ensured.
Smart Images

Figure CN119153007A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet medical technology, and in particular to a method and device for obtaining a medical questionnaire. Background Art
[0002] The core business processes of Internet hospitals include: doctor consultation, doctor-patient communication, doctor prescription, etc. Before the doctor provides consultation services to the patient, he needs to obtain the consultation form corresponding to this consultation process, and then the doctor communicates with the patient based on the consultation form. When obtaining the consultation form, the corresponding consultation form acquisition logic is usually executed according to different business scenarios. For example, the consultation form acquisition logic is set according to the consultation stages such as the initial visit and follow-up visit, or the consultation form acquisition logic is set according to the disease specialists such as ophthalmology and dermatology; the consultation form is obtained synchronously between different business scenarios.
[0003] In the process of implementing the present invention, the inventors found that the prior art has at least the following problems:
[0004] The process of obtaining medical questionnaires is determined according to the business scenario, which results in a cumbersome process and low efficiency. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a method and device for obtaining a medical questionnaire, which can simplify the process of obtaining a medical questionnaire and improve the efficiency and accuracy of obtaining a medical questionnaire.
[0006] To achieve the above object, according to a first aspect of an embodiment of the present invention, a method for obtaining a medical questionnaire is provided, comprising:
[0007] In response to receiving the query request, parsing the parameters carried in the query request to obtain a heterogeneous data identifier;
[0008] Determining the associated heterogeneous data set according to the heterogeneous data identifier;
[0009] Determine a query condition corresponding to the query request, and obtain a target medical consultation form that meets the query condition from the heterogeneous data set.
[0010] Optionally, before receiving the query request, the method further includes:
[0011] In response to receiving the order request, parsing the parameters carried in the order request to obtain a first medical consultation form;
[0012] In the case where the first medical questionnaire is a directional medical questionnaire, the first medical questionnaire is stored in a corresponding heterogeneous data set.
[0013] Optionally, before receiving the query request, the method further includes:
[0014] In response to receiving the consultation request, parsing the parameters carried in the consultation request to obtain a second consultation form;
[0015] In the case where the second medical questionnaire is a non-directional medical questionnaire, the second medical questionnaire is stored in a corresponding heterogeneous data set.
[0016] Optionally, the parameters carried in the query request are parsed to obtain a heterogeneous data identifier, including:
[0017] The parameter parsing order is determined according to the preset data category priority, and the parameters carried by the query request are parsed according to the parameter parsing order to obtain the heterogeneous data identifier.
[0018] Optionally, the method further comprises:
[0019] The data category priority is modified according to the heterogeneous data identifiers corresponding to the historical query requests.
[0020] Optionally, the heterogeneous data set includes a medical questionnaire set, and obtaining a target medical questionnaire that meets the query condition from the heterogeneous data set includes:
[0021] Determining the heterogeneous data indicated by the heterogeneous data identifier;
[0022] Determine the set of medical consultations associated with the heterogeneous data according to a preset association relationship template;
[0023] Obtain target medical questionnaires that meet the query condition from the medical questionnaire set.
[0024] Optionally, after obtaining a target medical questionnaire that meets the query condition from the heterogeneous data set, the method further includes:
[0025] According to the medical questionnaire information included in the target medical questionnaire, the permission of the initiator of the query request to use the target medical questionnaire is determined.
[0026] According to a second aspect of an embodiment of the present invention, there is provided a device for obtaining a medical questionnaire, comprising:
[0027] A parsing module, configured to parse the parameters carried in the query request in response to receiving the query request, and obtain a heterogeneous data identifier;
[0028] A determination module, used to determine the associated heterogeneous data set according to the heterogeneous data identifier;
[0029] The acquisition module is used to determine the query condition corresponding to the query request and acquire the target medical questionnaire that meets the query condition from the heterogeneous data set.
[0030] Optionally, the device further comprises:
[0031] A first pre-analysis module is used for, in response to receiving an order request, parsing the parameters carried in the order request to obtain a first medical consultation form;
[0032] The first storage module is used to store the first medical questionnaire in a corresponding heterogeneous data set when the first medical questionnaire is a directional medical questionnaire.
[0033] Optionally, the device further comprises:
[0034] A second pre-analysis module is used for, in response to receiving a consultation request, parsing the parameters carried in the consultation request to obtain a second consultation form;
[0035] The second storage module is used to store the second medical questionnaire in a corresponding heterogeneous data set when the second medical questionnaire is a non-directional medical questionnaire.
[0036] Optionally, the parameters carried in the query request are parsed to obtain a heterogeneous data identifier, including:
[0037] The parameter parsing order is determined according to the preset data category priority, and the parameters carried by the query request are parsed according to the parameter parsing order to obtain the heterogeneous data identifier.
[0038] Optionally, the device further comprises:
[0039] The modification module is used to modify the data category priority according to the heterogeneous data identifier corresponding to the historical query request.
[0040] Optionally, the heterogeneous data set includes a medical questionnaire set, and obtaining a target medical questionnaire that meets the query condition from the heterogeneous data set includes:
[0041] Determining the heterogeneous data indicated by the heterogeneous data identifier;
[0042] Determine the set of medical consultations associated with the heterogeneous data according to a preset association relationship template;
[0043] Obtain target medical questionnaires that meet the query condition from the medical questionnaire set.
[0044] Optionally, the device further comprises:
[0045] A limiting module is used to determine the use authority of the initiator of the query request to the target medical questionnaire based on the medical questionnaire information included in the target medical questionnaire.
[0046] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, including:
[0047] one or more processors;
[0048] a storage device for storing one or more programs,
[0049] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any one of the above embodiments.
[0050] According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method described in any one of the above embodiments is implemented.
[0051] An embodiment of the above invention has the following advantages or beneficial effects: determining the associated heterogeneous data set according to the heterogeneous data identifier, and obtaining the target medical questionnaire from the heterogeneous data set according to the query conditions, which can simplify the medical questionnaire acquisition process and improve the efficiency and accuracy of medical questionnaire acquisition; obtaining the first medical questionnaire according to the order request, storing the first medical questionnaire in the corresponding heterogeneous data set, and obtaining the second medical questionnaire according to the consultation request, storing the second medical questionnaire in the corresponding heterogeneous data set, and being able to asynchronously sort the medical questionnaire before receiving the query request, updating the heterogeneous data set in real time, improving the efficiency of medical questionnaire acquisition, and avoiding network resource preemption; determining the parameter parsing order according to the data category priority, parsing the parameters of the query request according to the parameter parsing order, and obtaining the heterogeneous data identifier, which can meet the medical questionnaire acquisition requirements of multiple scenarios, provide standardized medical questionnaire acquisition request specifications, and improve the generalization of medical questionnaire acquisition. Universal applicability improves the efficiency and accuracy of obtaining heterogeneous data identifiers; according to the heterogeneous data identifiers corresponding to historical query requests, the data category priority is modified, and the data category priority can be adjusted in real time, thereby improving the flexibility of the data category priority, facilitating the modification of the parsing strategy of the heterogeneous data identifier according to the actual situation, and further improving the efficiency of obtaining heterogeneous data identifiers; the heterogeneous data indicated by the heterogeneous data identifier is determined, and the set of medical questionnaires associated with the heterogeneous data is determined according to the association relationship template, and the target medical questionnaire that meets the query conditions is obtained from the medical questionnaire set, which can provide a unified target medical questionnaire acquisition process, reduce R&D costs and maintenance costs, and improve the flexibility and scalability of target medical questionnaire acquisition; according to the medical questionnaire information included in the target medical questionnaire, the query request initiator's use authority to the target medical questionnaire is determined, which can improve the information security of the medical questionnaire, avoid information leakage, and ensure the high availability of the consultation process.
[0052] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0054] Figure 1 is a schematic diagram of the main process of the method for obtaining a medical consultation form according to an embodiment of the present invention;
[0055] Figure 2 It is a schematic diagram of the overall process of a method for obtaining a medical consultation form according to a reference embodiment of the present invention;
[0056] Figure 3 It is a schematic diagram of a business scenario of a method for obtaining a medical consultation form according to a reference embodiment of the present invention;
[0057] Figure 4 It is a schematic diagram of heterogeneous data association relationships according to a method for obtaining a medical consultation form that can be used as a reference in an embodiment of the present invention;
[0058] Figure 5 It is a schematic diagram of the main process of a method for obtaining a medical consultation form according to a reference embodiment of the present invention;
[0059] Figure 6 is a schematic diagram of the main process of a method for obtaining a medical consultation form according to another reference embodiment of the present invention;
[0060] Figure 7 is a schematic diagram of the main process of a method for obtaining a medical consultation form according to another reference embodiment of the present invention;
[0061] Figure 8 is a schematic diagram of main modules of a device for obtaining a medical consultation form according to an embodiment of the present invention;
[0062] Fig. 9 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0063] Fig.10 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0064] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0065] It should be noted that in the technical solution of the present invention, the collection, use, storage, sharing and transfer of user personal information involved are in compliance with the provisions of relevant laws and regulations, and it is necessary to inform the user and obtain the user's consent or authorization. When applicable, the user's personal information is de-identified and / or anonymized and / or encrypted.
[0066] Internet hospitals provide an online communication platform for doctors and patients to meet the diverse medical needs of patients. The core business processes of Internet hospitals include: doctor consultation, doctor-patient communication, doctor prescription, etc. Among them, the medical questionnaire that links doctors and patients is an important basis for the above core business processes. During each consultation, the doctor needs to open the consultation page first and then provide medical services to the patient. Therefore, for the consultation process, it is very important to obtain the medical questionnaire in a timely and efficient manner. When obtaining the medical questionnaire, the corresponding medical questionnaire acquisition logic is usually executed according to different business scenarios. The database interface is called synchronously between different business scenarios to obtain the medical questionnaire. The medical questionnaire acquisition process of each business scenario can be used as an independent service.
[0067] Setting corresponding medical questionnaire acquisition logic for different business scenarios results in a cumbersome medical questionnaire acquisition process, low acquisition efficiency, and increased R&D and maintenance costs; synchronously calling database interfaces between different business scenarios is prone to network resource preemption, blocking the medical questionnaire acquisition process; and the high availability of core business processes cannot be guaranteed.
[0068] In view of this, according to a first aspect of an embodiment of the present invention, a method for obtaining a medical questionnaire is provided.
[0069] Figure 1 FIG. 1 is a schematic diagram of the main process of the method for obtaining a medical questionnaire according to an embodiment of the present invention. Figure 1 As shown, the method for obtaining a medical questionnaire according to an embodiment of the present invention mainly includes the following steps S101 to S103.
[0070] Step S101, in response to receiving a query request, parsing the parameters carried in the query request to obtain a heterogeneous data identifier.
[0071] When a doctor provides consultation services to a patient, the doctor needs to first obtain the medical questionnaire corresponding to this consultation service, and then communicate with the patient; when the doctor reviews the condition or treatment process and analyzes the condition, it also involves obtaining medical questionnaires at different stages of development or treatment of the condition. When obtaining a medical questionnaire, a query request will be initiated. The query request is a request to query the medical questionnaire. After receiving the query request, the execution subject of the embodiment of the present invention parses the parameters carried by the query request according to a pre-set parsing method, for example, configuring method input parameters on the interface method for receiving the query request, using annotations to define the path of the query request and bind the path parameters, or using parameter parsing methods such as request.getParameter() to parse the query request.
[0072] Parse the parameters carried by the query request to obtain heterogeneous data identifiers. Heterogeneous data identifiers are used to indicate heterogeneous data, and one heterogeneous data identifier corresponds to one heterogeneous data. Heterogeneous data is the medical data involved in the process of obtaining medical questionnaires, such as basic patient information, doctor-patient relationship data, doctor-patient conversation data, medical questionnaire information, etc., where each medical questionnaire has corresponding medical questionnaire information, and the medical questionnaire information includes: patient self-description of the condition, previous medical information, medication information, etc. The data type of the medical questionnaire information includes: text, pictures, audio, video, etc. The data type and data structure of heterogeneous data with different data content can be the same or different. Heterogeneous data identifiers are composed of numbers, English letters, special symbols, etc. Heterogeneous data identifiers are indicative and unique.
[0073] Figure 2 FIG. 1 is a schematic diagram of the overall process of a method for obtaining a medical questionnaire according to a reference embodiment of the present invention. Figure 2 As shown, the overall process of the method for obtaining the medical questionnaire includes 4 modules, namely: a multi-dimensional parameter input module, an asynchronous heterogeneous data module, a multi-dimensional parameter conversion and a permission configuration module. In the multi-dimensional parameter input module, after receiving the query request, the execution subject of the embodiment of the present invention parses the parameters of the query request to obtain a heterogeneous data identifier; specifically, a query request from the medical questionnaire list is received, and the heterogeneous data identifier corresponding to the medical questionnaire information is obtained by parsing, a query request from the doctor-patient conversation list is received, and the heterogeneous data identifier corresponding to the doctor-patient conversation data is obtained by parsing, and a query request from the patient list is received, and the heterogeneous data identifier corresponding to the doctor-patient relationship data is obtained by parsing, and the obtained heterogeneous data identifier is transmitted to the multi-dimensional parameter conversion module to execute subsequent steps.
[0074] As another example, after receiving the query request, the @RequestParam("patMsgId") annotation pre-set in the method parameters is used to receive a heterogeneous data identifier with a parameter name of "patMsgId", and the resulting heterogeneous data identifier is "patMsg_001". The heterogeneous data identifier indicates a heterogeneous data, and the data content of the heterogeneous data is the patient's basic information. The patient's basic information includes: name, age, gender, contact information, medical history, etc. The data type of the heterogeneous data is a string, and the data structure of the heterogeneous data is an array.
[0075] The parameters carried in the query request are parsed to obtain heterogeneous data identifiers, which can quickly determine the heterogeneous data identifiers and facilitate subsequent acquisition of the target medical consultation form based on the heterogeneous data identifiers.
[0076] According to a reference embodiment of the present invention, before receiving the query request, the method also includes: in response to receiving the order request, parsing the parameters carried by the order request to obtain a first medical inquiry form; when the first medical inquiry form is a targeted medical inquiry form, storing the first medical inquiry form in a corresponding heterogeneous data set.
[0077] An order request is a request for generating a medical consultation form. For example, after a patient who needs a medical consultation enters the medical consultation form information on a smartphone or a webpage, he clicks the "Apply for Medical Consultation" button to send an order request to the executive body of the embodiment of the present invention; or, after the customer service staff communicates with the patient online or by phone, with the patient's knowledge, they enter the medical consultation form information on behalf of the patient and send an order request to the executive body of the embodiment of the present invention. After receiving the order request, the executive body of the embodiment of the present invention parses the parameters carried by the order request to obtain a first medical consultation form including the medical consultation form information.
[0078] Determine whether the first medical questionnaire is a directed medical questionnaire. A directed medical questionnaire refers to a medical questionnaire with a designated doctor, that is, the medical questionnaire includes doctor information in addition to patient information. Therefore, after placing the order, the consultation relationship between the doctor and the patient corresponding to the directed medical questionnaire can be determined; traverse the medical questionnaire information included in the first medical questionnaire to find out whether the doctor information is included. The doctor information includes: doctor identification, doctor name, doctor's hospital information and department information, doctor's professional title information, etc. If the doctor information is found, determine that the first medical questionnaire is a directed medical questionnaire, otherwise, determine that the first medical questionnaire is a non-directed medical questionnaire. If the first medical questionnaire is a directed medical questionnaire (that is, a designated doctor has been consulted), perform the following steps.
[0079] Determine the medical-patient relationship data included in the first medical questionnaire, the medical-patient relationship data includes doctor information and patient information, and the medical-patient relationship data, as heterogeneous data, also has a heterogeneous data identifier, for example, randomly generate a heterogeneous data identifier of the medical-patient relationship data, or obtain the doctor identifier and patient identifier included in the first medical questionnaire, and combine the doctor identifier and the patient identifier to obtain the heterogeneous data identifier corresponding to the medical-patient relationship data. Determine whether there is a heterogeneous data set including the above medical-patient relationship data, or determine whether there is a heterogeneous data set associated with the heterogeneous data identifier corresponding to the above medical-patient relationship data. A heterogeneous data set is a collection of heterogeneous data, wherein each heterogeneous data included in the heterogeneous data set has a corresponding heterogeneous data identifier. When a heterogeneous data set including the above medical-patient relationship data is found, or a heterogeneous data set associated with the above heterogeneous data identifier is found, the first medical questionnaire is stored in the heterogeneous data set; when the corresponding heterogeneous data set is not found, a heterogeneous data set including the above medical-patient relationship data is created, and the first medical questionnaire is stored in the newly created heterogeneous data set; a heterogeneous data identifier of the first medical questionnaire is generated, and is associated and stored with the first medical questionnaire. For example, heterogeneous data sets can be stored in a database and backed up regularly, or stored in a distributed cache system to improve the search and acquisition efficiency of heterogeneous data sets.
[0080] For example, Figure 2 As shown, in the asynchronous heterogeneous data module, the execution subject of the embodiment of the present invention monitors the targeted order event, that is, monitors the order event carrying the targeted medical consultation form, and judges whether there is a heterogeneous data set including the medical consultation data according to the medical consultation form. If so, the medical consultation form is stored in the heterogeneous data set associated with the medical consultation data. If not, a heterogeneous data set associated with the medical consultation data is created, and then the medical consultation form is stored in the heterogeneous data set.
[0081] As another example, the received order request is parsed to obtain the first medical consultation form, the medical consultation form information of the first medical consultation form includes: the patient identifier is "patId_123", the patient's self-report of the condition is "symptom A appeared first and then symptom B", the previous medical information is "had been to hospital C for treatment, obtained medical imaging D", the medication information is "currently using medication E", and the doctor identifier of the doctor expected to be consulted is "docId_321"; the first medical consultation form including the doctor identifier and the patient identifier is combined to obtain the heterogeneous data identifier "docId_321#patId_123", and the judgment is made. Determine whether there is a heterogeneous data set associated with the heterogeneous data identifier "docId_321#patId_123"; after searching, it is determined that there is an associated heterogeneous data set, which means that the patient has had a consultation with the doctor before, and therefore the associated heterogeneous data set can be found; generate a heterogeneous data identifier "ygData_321123" corresponding to the first medical consultation form, and store the first medical consultation form and the corresponding heterogeneous data identifier "ygData_321123" in the heterogeneous data set, which is stored in a relational database management system (for example, a MySQL database).
[0082] The first medical questionnaire is obtained according to the order request, and is stored in the corresponding heterogeneous data set. The medical questionnaire can be asynchronously sorted before receiving the query request, and the heterogeneous data set can be updated in real time, thereby improving the efficiency of obtaining the medical questionnaire and avoiding network resource preemption.
[0083] According to another reference embodiment of the present invention, before receiving the query request, the method also includes: in response to receiving the consultation request, parsing the parameters carried by the consultation request to obtain a second medical questionnaire; if the second medical questionnaire is a non-directional medical questionnaire, storing the second medical questionnaire in a corresponding heterogeneous data set.
[0084] The consultation request is a request for receiving a consultation form. For example, in the absence of a consultation task, the doctor selects the consultation form to be received from the unreceived consultation forms; or the doctor's assistant selects the consultation form to be received according to the doctor's instructions to help the doctor make consultation arrangements. Determine the consultation form to be received, that is, send a consultation request to the execution subject of the embodiment of the present invention. After receiving the order request, the execution subject of the embodiment of the present invention parses the parameters carried by the consultation request to obtain a second consultation form including the consultation form information.
[0085] Each doctor has a corresponding consultation pool, which is used to store unreceived consultation forms, including targeted consultation forms and non-targeted consultation forms. For targeted consultation forms, both doctor information and patient information have been determined, so targeted consultation forms only appear in the consultation pool of the doctor corresponding to the targeted consultation form; for non-targeted consultation forms, the patient information has been determined, and the doctor information is determined based on the consultation request, that is, after the doctor receives the non-targeted consultation form, the doctor information of the non-targeted consultation form is determined, so the non-targeted consultation form appears in all consultation pools, and after a doctor receives the non-targeted consultation form, the non-targeted consultation form is deleted or hidden in the consultation pools of other doctors.
[0086] In the case where the second medical questionnaire is a non-directional medical questionnaire, determine the doctor information carried by the consultation request and the patient information included in the second medical questionnaire, and search for a heterogeneous data set including the above doctor information and patient information; or determine the doctor identifier included in the doctor information and the patient identifier included in the patient information, form a corresponding heterogeneous data identifier based on the doctor identifier and the patient identifier, and search whether there is a heterogeneous data set associated with the above heterogeneous data identifier. In the case where the second medical questionnaire is a directional medical questionnaire, the second medical questionnaire includes both doctor information and patient information, and then directly search for the corresponding heterogeneous data set. In the case where the corresponding heterogeneous data set is found, the second medical questionnaire is stored in the heterogeneous data set; in the case where the heterogeneous data set is not found, create a heterogeneous data set corresponding to the second medical questionnaire, and store the second medical questionnaire in the heterogeneous data set; generate a heterogeneous data identifier for the second medical questionnaire, and store it in association with the second medical questionnaire.
[0087] For example, Figure 2 As shown, in the asynchronous heterogeneous data module, the execution subject of the embodiment of the present invention monitors non-directional consultation events, that is, monitors consultation events carrying non-directional consultation forms, generates corresponding doctor-patient relationship data according to the patient information included in the non-directional consultation form and the doctor information carried in the consultation event, and determines whether there is a heterogeneous data set including the doctor-patient relationship data. If so, the consultation form is stored in the heterogeneous data set associated with the doctor-patient relationship data. If not, a heterogeneous data set associated with the doctor-patient relationship data is created, and then the consultation form is stored in the heterogeneous data set.
[0088] As another example, the received consultation request is parsed to obtain a second consultation form and doctor information, wherein the consultation form information of the second consultation form includes: the patient identifier is "staff03-456", the patient's self-reported condition is "currently experiencing symptom F", the previous medical information is "had been to hospital G for treatment, had undergone treatment method H", and the medication information is "currently using medication I". The second consultation form does not include doctor information, so it is determined that the second consultation form is a non-directional consultation form; the doctor information includes: the doctor identifier is "staff01-432", the hospital and department to which he belongs "Hospital J Department K"; search for a heterogeneous data set including the above patient information and doctor information; after searching, it is determined that there is no corresponding heterogeneous data set, indicating that the patient has not had a consultation with the doctor before, so a corresponding heterogeneous data set is created, and a heterogeneous data identifier "struData-234" corresponding to the second consultation form is generated, and the second consultation form and the corresponding heterogeneous data identifier "struData-234" are stored in the heterogeneous data set, which is stored in a distributed memory object cache system (for example, a Memcached cache system).
[0089] A second medical questionnaire is obtained according to the consultation request, and the second medical questionnaire is stored in the corresponding heterogeneous data set. The medical questionnaire can be asynchronously sorted before receiving the query request, and the heterogeneous data set can be updated in real time, thereby improving the efficiency of obtaining the medical questionnaire and avoiding network resource preemption.
[0090] According to another reference embodiment of the present invention, the parameters carried by the query request are parsed to obtain a heterogeneous data identifier, including: determining a parameter parsing order according to a preset data category priority, and parsing the parameters carried by the query request according to the parameter parsing order to obtain a heterogeneous data identifier.
[0091] The heterogeneous data indicated by the heterogeneous data identifier includes a variety of data contents, such as doctor-patient relationship data, doctor-patient conversation data, medical questionnaire information, doctor information, patient information, etc. Multiple initiation entries for medical questionnaire query requests are pre-set, such as initiating a query request from a patient list, initiating a query request from a doctor-patient conversation list, initiating a query request from a medical questionnaire list, etc. The query requests corresponding to different initiation entries carry different heterogeneous data identifiers, for example, the heterogeneous data identifier of the query request corresponding to the patient list is a heterogeneous data identifier indicating patient information or doctor-patient relationship data, the heterogeneous data identifier of the query request corresponding to the doctor-patient conversation list is a heterogeneous data identifier indicating doctor-patient conversation data, and the heterogeneous data identifier of the query request corresponding to the medical questionnaire list is a heterogeneous data identifier indicating medical questionnaire information.
[0092] Setting the corresponding priority according to the data content of heterogeneous data, that is, the data category priority, is equivalent to setting the corresponding priority according to the initiation entry of the query request. Sort the data categories of heterogeneous data according to the data category priority from high to low or from low to high to obtain the parameter parsing order. The parameter parsing order indicates the order in which the parameters carried by the query request are parsed. The query request is parsed in sequence according to the parameter parsing order. For example, corresponding parsing methods (for example, path binding methods, annotation declaration methods, methods for parsing request objects, etc.) are set for parameters of different data categories, and the corresponding parsing methods are used when parsing the parameters according to the parameter parsing order; or corresponding parameter names are set for parameters of different data categories, and the corresponding parameter names are set in the method input or method annotation according to the parameter parsing order, so as to achieve parsing of the parameters carried by the query request according to the parameter parsing order.
[0093] Figure 3 FIG. 1 is a schematic diagram of a business scenario of a method for obtaining a medical consultation form according to a reference embodiment of the present invention. Figure 3 As shown, the business scenario of sending a query request to the execution subject of the embodiment of the present invention includes a patient list, a medical consultation list and a session list, wherein the patient list includes: patient information such as patient number, age, gender, contact information, wherein gender "F" indicates female and gender "M" indicates male; the medical consultation list includes: medical consultation number, medical consultation status, medical consultation time and other medical consultation information, wherein "y1-m1-d1" indicates the time "y1 year m1 month d1 day", and other times are analogous; the session list includes: session number, session time, session duration and other session information; click on any patient record displayed on the patient list to initiate a query request, and carry the heterogeneous data identifier corresponding to the patient information; click on any medical consultation record displayed on the medical consultation list to initiate a query request, and carry the heterogeneous data identifier corresponding to the medical consultation information; click on any session record displayed on the session list to initiate a query request, and carry the heterogeneous data identifier corresponding to the session information. After receiving the above query request, the execution subject of the embodiment of the present invention parses the parameters of the query request to obtain the corresponding heterogeneous data identifier.
[0094] As another example, the pre-set data category priorities are arranged from high to low to obtain "doctor-patient conversation data, medical questionnaire information, and patient information"; after receiving the query request, the query request is parsed according to the parsing method corresponding to the doctor-patient conversation data, and if the parsing is successful and a heterogeneous data identifier indicating the doctor-patient conversation data is obtained, the subsequent parsing process is stopped.
[0095] The parameter parsing order is determined according to the data category priority, and the parameters of the query request are parsed according to the parameter parsing order to obtain heterogeneous data identification. This can meet the medical questionnaire acquisition needs of multiple scenarios, provide standardized medical questionnaire acquisition request specifications, improve the universal applicability of medical questionnaire acquisition, and improve the acquisition efficiency and accuracy of heterogeneous data identification.
[0096] According to another reference embodiment of the present invention, the method further includes: modifying the data category priority according to the heterogeneous data identifier corresponding to the historical query request.
[0097] A historical query request refers to a query request that has been processed before a query request is received. The heterogeneous data identifier carried by each historical query request is determined, and classified and counted according to the data categories corresponding to the heterogeneous data identifiers. The data category priority is updated in real time according to the statistical results; the more heterogeneous data identifiers corresponding to a data category, the higher the priority of the corresponding data category. If the data type corresponding to a data category has a high priority, the heterogeneous data identifier corresponding to the data category will be parsed first when parsing the query request.
[0098] Exemplarily, there are currently 100 historical query requests, and the data categories and quantities of heterogeneous data identifiers carried by the 100 historical query requests include: 15 medical consultation form information, 20 patient information and 65 medical-patient conversation data. Therefore, the data category priorities are "medical-patient conversation data, patient information, medical consultation form information" from high to low, that is, it is more common to initiate a query request from the medical consultation form list, and it is relatively rare to initiate a query request from the medical consultation form list or the patient list; 10 query requests are received within one day, that is, 10 historical query requests are added after one day, among which the data categories and quantities of heterogeneous data identifiers carried by the query requests include: 8 medical consultation form information and 2 medical-patient conversation data. Therefore, there are 110 historical query requests after one day, and the data categories and quantities of heterogeneous data identifiers carried by the 110 historical query requests include: 23 medical consultation form information, 20 patient information and 67 medical-patient conversation data. Therefore, the data category priorities are "medical-patient conversation data, medical consultation form information, patient information" from high to low.
[0099] The data category priority is modified according to the heterogeneous data identifiers corresponding to the historical query requests. The data category priority can be adjusted in real time, which improves the flexibility of the data category priority and facilitates the modification of the parsing strategy of the heterogeneous data identifier according to the actual situation, thereby further improving the efficiency of obtaining heterogeneous data identifiers.
[0100] Step S102: determining the associated heterogeneous data set according to the heterogeneous data identifier.
[0101] After determining the heterogeneous data identifier, determine the heterogeneous data indicated by the heterogeneous data identifier, search based on the heterogeneous data identifier, and query the heterogeneous data set including the heterogeneous data; or pre-set the heterogeneous data set identifier of the heterogeneous data set, associate the heterogeneous data set identifier indicated by the heterogeneous data with the heterogeneous data set identifier of the heterogeneous data set to store, determine the associated heterogeneous data set identifier based on the heterogeneous data identifier, and then determine the corresponding heterogeneous data set based on the heterogeneous data set identifier.
[0102] For example, Figure 2 As shown, in the multi-dimensional parameter conversion module, the execution subject of the embodiment of the present invention receives the heterogeneous data identifier sent by the multi-dimensional parameter input module, and determines the associated heterogeneous data set according to the heterogeneous data identifier. As another example, the heterogeneous data set identifier of the heterogeneous data set L is pre-set as "group-567", and according to the heterogeneous data included in the heterogeneous data set L, it is determined that the heterogeneous data identifiers corresponding to the heterogeneous data set identifier include "data-930, data-207, data-843"; the parameters carried by the query request are parsed, and the heterogeneous data identifier is obtained as "data-207". Since the heterogeneous data identifier is associated with the heterogeneous data set identifier "group-567", it is determined that the heterogeneous data set associated with the heterogeneous data identifier "data-207" is the heterogeneous data set L.
[0103] Determining the associated heterogeneous data sets according to heterogeneous data identifiers can improve the acquisition efficiency and accuracy of heterogeneous data sets, and facilitate the subsequent rapid and accurate acquisition of target medical consultation forms.
[0104] Step S103, determining the query condition corresponding to the query request, and obtaining the target medical consultation form that meets the query condition from the heterogeneous data set.
[0105] The parameters carried by the query request also include query conditions, which are conditions for querying the target medical questionnaire. The query condition items corresponding to the query conditions include: the creation time of the medical questionnaire, the start time and end time of the medical questionnaire, the symptom information corresponding to the medical questionnaire, the status of the medical questionnaire, etc., among which the status of the medical questionnaire includes: waiting for consultation, completed consultation, consultation in progress, etc. After parsing the query request, determine the query conditions of the target medical questionnaire, and the query conditions include one or more of the above query condition items. Determine in turn whether the medical questionnaires included in the heterogeneous data set meet the query conditions. If the query conditions are not met, continue to judge other medical questionnaires. If the query conditions are met, determine that the current medical questionnaire is the target medical questionnaire.
[0106] Exemplarily, a doctor wants to conduct a medical consultation with a patient, and sends a query request to the execution subject of the embodiment of the present invention. The query conditions carried in the query request include: obtaining a target medical consultation form whose status is "pending consultation" and whose creation time is closest to the current time point; determining the associated heterogeneous data set M according to the heterogeneous data identifier, the heterogeneous data set M includes 3 medical consultation forms, among which the medical consultation form with the heterogeneous data identifier "m1" was created "1 month ago" and the status is "completed consultation"; the medical consultation form with the heterogeneous data identifier "m2" was created "1 hour ago" and the status is "pending consultation"; the medical consultation form with the heterogeneous data identifier "m3" was created "20 minutes ago" and the status is "pending consultation"; judging the above 3 medical consultation forms, it is determined that the medical consultation form with the heterogeneous data identifier "m3" meets the query conditions, and then obtaining the medical consultation form with the heterogeneous data identifier "m3".
[0107] Acquiring target medical questionnaires that meet the query conditions in heterogeneous data sets can improve the efficiency and accuracy of acquiring target medical questionnaires, provide a standard and unified method for acquiring medical questionnaires, and reduce R&D and maintenance costs.
[0108] According to a reference embodiment of the present invention, the heterogeneous data set includes a medical inquiry set, and obtaining a target medical inquiry that meets the query conditions from the heterogeneous data set includes: determining the heterogeneous data indicated by the heterogeneous data identifier; determining the medical inquiry set associated with the heterogeneous data based on a pre-set association relationship template; and obtaining the target medical inquiry that meets the query conditions from the medical inquiry set.
[0109] The heterogeneous data set includes a medical consultation set, and the medical consultation set is used to store the medical consultations included in the heterogeneous data set. The association relationship template is used to illustrate the association relationship between heterogeneous data of different data categories, and determine the association relationship between the heterogeneous data indicated by the heterogeneous data identifier and the medical consultation according to the association relationship between the heterogeneous data, that is, how to determine the corresponding medical consultation set according to the heterogeneous data, and the association relationship between heterogeneous data of different categories and the medical consultation set is different; for example, heterogeneous data with a data category of "doctor-patient conversation data" is directly associated with the medical consultation set, and heterogeneous data with a data category of "patient information" is directly associated with heterogeneous data with a data category of "doctor-patient conversation data". Therefore, heterogeneous data with a data category of "patient information" is indirectly associated with the medical consultation set. After determining the medical consultation set, it is judged in turn whether the medical consultations included in the medical consultation set meet the query conditions. If the query conditions are not met, other medical consultations are judged. If the query conditions are met, the current medical consultation is determined to be the target medical consultation. The association relationship template is configurable, and the association relationships included in the association relationship template can be added, deleted or modified according to the data categories of the heterogeneous data included in the heterogeneous data set.
[0110] For example, Figure 2As shown, in the multi-dimensional parameter conversion module, the execution subject of the embodiment of the present invention determines the heterogeneous data indicated by the heterogeneous data identifier after determining the associated heterogeneous data sets. The heterogeneous data can be medical inquiry form information, doctor-patient conversation data or doctor-patient relationship data. The corresponding medical inquiry form set is determined according to the heterogeneous data, and the target medical inquiry form is obtained from the medical inquiry form set.
[0111] Figure 4 Schematic diagram of heterogeneous data association relationship of a method for obtaining a medical consultation form according to a reference embodiment of the present invention. Figure 4 As shown, the heterogeneous data sets of the method for obtaining medical questionnaires in an embodiment of the present invention include: doctor-patient relationship data, doctor-patient conversation data and a medical questionnaire set, wherein the bidirectional arrow between the doctor-patient relationship data and the doctor-patient conversation data indicates that the two are interrelated, one doctor-patient relationship data corresponds to one doctor-patient conversation data, and the corresponding doctor-patient conversation data can be determined based on the doctor-patient relationship data, and the corresponding doctor-patient relationship data can be determined based on the doctor-patient conversation data; the bidirectional arrow between the doctor-patient conversation data and each medical questionnaire included in the medical questionnaire set indicates that the doctor-patient conversation data and a single medical questionnaire are interrelated, and any medical questionnaire included in the medical questionnaire set can be determined based on the doctor-patient conversation data, and the corresponding doctor-patient conversation data can be determined based on any medical questionnaire included in the medical questionnaire set. In the above data association relationship, when the parameter carried by the query request is the heterogeneous data identifier corresponding to the doctor-patient conversation data, after determining the associated heterogeneous data set, the target medical consultation form included in the medical consultation form set is directly determined according to the doctor-patient conversation data corresponding to the heterogeneous data identifier; when the parameter carried by the query request is the heterogeneous data identifier corresponding to the doctor-patient relationship data, after determining the associated heterogeneous data set, first determine the corresponding doctor-patient conversation data according to the doctor-patient relationship data corresponding to the heterogeneous data identifier, and then determine the target medical consultation form included in the medical consultation form set according to the doctor-patient conversation data; when the parameter carried by the query request is the heterogeneous data identifier corresponding to the medical consultation form information, after determining the associated heterogeneous data set, first determine the corresponding doctor-patient conversation data according to the medical consultation form information corresponding to the heterogeneous data identifier, and then determine the target medical consultation form included in the medical consultation form set according to the doctor-patient conversation data. It can be seen that in the above data association relationship, the doctor-patient conversation data is the core data for finding the target medical consultation form, and any query request needs to determine the doctor-patient conversation data, and then determine the corresponding target medical consultation form according to the doctor-patient conversation data.
[0112] As another example, the heterogeneous data indicated by the heterogeneous data identifier is the doctor-patient relationship data N, and a pre-set association relationship template is obtained to obtain "doctor-patient relationship data-doctor-patient conversation data-medical inquiry form set". According to the above association relationship template, when the doctor-patient relationship data is known, the corresponding doctor-patient conversation data is first determined, and then the corresponding medical inquiry form set is determined; according to the doctor-patient relationship data N, the corresponding doctor-patient conversation data is determined to be the doctor-patient conversation data O, and then the corresponding medical inquiry form set is determined to be the medical inquiry form set P, and whether the medical inquiry forms included in the medical inquiry form set P meet the query conditions is determined in turn, and the medical inquiry forms that meet the query conditions are used as target medical inquiry forms.
[0113] Determine the heterogeneous data indicated by the heterogeneous data identifier, determine the set of medical consultation forms associated with the heterogeneous data according to the association relationship template, and obtain the target medical consultation form that meets the query conditions from the medical consultation form set. This can provide a unified target medical consultation form acquisition process, reduce R&D costs and maintenance costs, and improve the flexibility and scalability of target medical consultation form acquisition.
[0114] According to another reference embodiment of the present invention, after obtaining the target medical questionnaire that meets the query conditions from the heterogeneous data set, the method further includes: determining the use rights of the initiator of the query request to the target medical questionnaire based on the medical questionnaire information included in the target medical questionnaire.
[0115] After obtaining the target medical questionnaire, determine the role information of the query request initiator, which includes: doctor, nurse, doctor assistant, etc., among which the doctor role can also be subdivided into: part-time doctor, full-time doctor, etc.; pre-set the corresponding medical questionnaire usage permissions for different role information, for example, the doctor's usage permissions include: adding medical questionnaire information, communicating with patients based on medical questionnaires, modifying medical questionnaire status, prescribing for patients based on medical questionnaires, etc.; the doctor's assistant's usage permissions include: sending consultation requests to doctors with the doctor's authorization, sending consultation reminders to doctors to avoid doctors missing consultation time, backing up medical questionnaire information, etc.; the nurse's usage permissions include: viewing medical questionnaire information and corresponding prescription information, viewing medical questionnaire status, etc. Determine the medical questionnaire processing permissions of the query request initiator according to its role information.
[0116] The status of the medical questionnaire is determined based on the medical questionnaire information included in the medical questionnaire. Different medical questionnaire statuses correspond to different usage permissions. For example, the usage permissions corresponding to the status of waiting for consultation and the status of consultation in progress include: communicating with the patient, updating the consultation process and patient symptom changes in the medical questionnaire information, etc. The usage permissions corresponding to the status of completed consultation include: browsing the medical questionnaire information corresponding to the medical questionnaire, backing up the medical questionnaire information, etc. In the status of waiting for consultation, the communication mode of the medical questionnaire is determined based on the medical questionnaire information, for example, one-on-one communication between the patient and the doctor, or multi-person communication between the patient, the doctor, and a third party invited by the doctor or the patient.
[0117] For example, Figure 2 As shown, in the permission configuration module, after obtaining the target medical questionnaire, a comprehensive judgment is made based on the medical questionnaire information such as the medical questionnaire type, medical questionnaire status, identity information or role information of the query request initiator, to determine the query request initiator's permission to use the target medical questionnaire, where the medical questionnaire types include: one-on-one consultation, general doctor consultation, expert consultation, limited-time consultation, etc.; usage permissions include: whether the permission to view the medical questionnaire is allowed, whether the permission to participate in the session is allowed, functional permissions during the session, etc.
[0118] As another example, the role information of the initiator of the query request is a doctor, the status of the obtained medical questionnaire is pending for consultation, and neither the patient nor the doctor has invited other people to participate in the consultation. Therefore, the communication mode corresponding to the medical questionnaire is one-to-one communication, and the query request initiator's access rights to the medical questionnaire include: adding medical questionnaire information, communicating with the patient based on the medical questionnaire, modifying the status of the medical questionnaire, and prescribing for the patient based on the medical questionnaire.
[0119] Determining the use authority of the query request initiator to the target medical questionnaire based on the medical questionnaire information included in the target medical questionnaire can improve the information security of the medical questionnaire, avoid information leakage, and ensure the high availability of the consultation process.
[0120] Figure 5 FIG. 1 is a schematic diagram of the main process of a method for obtaining a medical consultation form according to a reference embodiment of the present invention. Figure 5 As shown, the method for obtaining the medical questionnaire may include:
[0121] Step S501, in response to receiving a query request, obtaining a preset data category priority, and determining a corresponding parameter parsing order according to the data type priority;
[0122] Step S502, parsing the parameters carried in the query request according to the parameter parsing order to obtain a heterogeneous data identifier;
[0123] Step S503, determining the heterogeneous data indicated by the heterogeneous data identifier;
[0124] Step S504, searching according to the heterogeneous data identifier to query the heterogeneous data set including the heterogeneous data;
[0125] Step S505, obtaining the query conditions carried in the query request;
[0126] Step S506, determining the set of medical consultations associated with the heterogeneous data according to a preset association relationship template;
[0127] Step S507, determine whether there is a medical consultation form that meets the query conditions, if yes, jump to step S509, otherwise jump to step S508;
[0128] Step S508, prompting the initiator of the query request that no medical questionnaire meeting the query conditions is found;
[0129] Step S509, obtaining target medical questionnaires that meet the query conditions from the medical questionnaire set.
[0130] The specific implementation content of the method for obtaining a medical questionnaire in the above-mentioned reference embodiment of the present invention has been described in detail in the method for obtaining a medical questionnaire described above, so the repeated content will not be described here.
[0131] Figure 6 FIG. 1 is a schematic diagram of the main process of a method for obtaining a medical consultation form according to another reference embodiment of the present invention. Figure 6 As shown, the method for obtaining the medical questionnaire may include:
[0132] Step S601, in response to receiving an order request, parsing the parameters carried in the order request to obtain a first medical consultation form;
[0133] Step S602, determine whether the first medical consultation form is a directional medical consultation form, if so, jump to step S604, otherwise jump to step S603;
[0134] Step S603, storing the first medical consultation form in the medical consultation pool, so that the doctor sends a consultation request according to the first medical consultation form;
[0135] Step S604, storing the first medical consultation form into a corresponding heterogeneous data set;
[0136] Step S605, in response to receiving the query request, parsing the parameters carried in the query request to obtain a heterogeneous data identifier;
[0137] Step S606, determining a heterogeneous data set identifier associated with the heterogeneous data identifier;
[0138] Step S607, determining the corresponding heterogeneous data set according to the heterogeneous data set identifier;
[0139] Step S608, determining the heterogeneous data indicated by the heterogeneous data identifier;
[0140] Step S609, searching according to the heterogeneous data identifier to query the heterogeneous data set including the heterogeneous data;
[0141] Step S610, obtaining the query condition carried in the query request;
[0142] Step S611, determining the set of medical consultations associated with the heterogeneous data according to a preset association relationship template;
[0143] Step S612, determine whether there is a medical questionnaire that meets the query conditions in the medical questionnaire set, if yes, jump to step S614, otherwise jump to step S613;
[0144] Step S613, prompting the initiator of the query request that no medical questionnaire meeting the query conditions is found;
[0145] Step S614, obtaining target medical questionnaires that meet the query conditions from the medical questionnaire set;
[0146] Step S615: Determine the use authority of the initiator of the query request for the target medical questionnaire based on the medical questionnaire information included in the target medical questionnaire.
[0147] The specific implementation content of the method for obtaining a medical questionnaire in another reference embodiment of the present invention has been described in detail in the method for obtaining a medical questionnaire described above, so the repeated content will not be described here.
[0148] Figure 7 FIG. 1 is a schematic diagram of the main process of a method for obtaining a medical consultation form according to another reference embodiment of the present invention. Figure 7 As shown, the method for obtaining the medical questionnaire may include:
[0149] Step S701, in response to receiving a consultation request, parsing the parameters carried in the consultation request to obtain a second consultation form;
[0150] Step S702, determine whether the second medical consultation form is a directional medical consultation form, if so, jump to step S704, otherwise jump to step S703;
[0151] Step S703, determining a heterogeneous data set corresponding to the second medical questionnaire according to the patient information included in the second medical questionnaire and the doctor information carried in the consultation request;
[0152] Step S704, storing the second medical questionnaire into a corresponding heterogeneous data set;
[0153] Step S705, in response to receiving the query request, obtaining a preset data category priority, and determining a corresponding parameter parsing order according to the data type priority;
[0154] Step S706, parsing the parameters carried in the query request according to the parameter parsing order to obtain a heterogeneous data identifier;
[0155] Step S707, determining the corresponding heterogeneous data set according to the heterogeneous data set identifier;
[0156] Step S708, determining the heterogeneous data indicated by the heterogeneous data identifier;
[0157] Step S709, searching according to the heterogeneous data identifier to query the heterogeneous data set including the heterogeneous data;
[0158] Step S710, obtaining the query condition carried in the query request;
[0159] Step S711, determining a set of medical consultations associated with the heterogeneous data according to a preset association relationship template;
[0160] Step S712, determine whether there is a medical questionnaire that meets the query conditions in the medical questionnaire set, if yes, jump to step S714, otherwise jump to step S713;
[0161] Step S713, prompting the initiator of the query request that no medical questionnaire meeting the query conditions is found;
[0162] Step S714, obtaining a target medical questionnaire that meets the query condition from the medical questionnaire set;
[0163] Step S715, determining the use authority of the initiator of the query request for the target medical questionnaire according to the medical questionnaire information included in the target medical questionnaire;
[0164] Step S716: The query request is regarded as a historical query request, and the data category priority is modified according to the heterogeneous data identifiers corresponding to all the historical query requests.
[0165] The specific implementation content of the method for obtaining a medical questionnaire in another reference embodiment of the present invention has been described in detail in the method for obtaining a medical questionnaire described above, so the repeated content will not be described here.
[0166] According to a second aspect of an embodiment of the present invention, a device for obtaining a medical questionnaire is provided.
[0167] Figure 8 is a schematic diagram of the main modules of the apparatus for obtaining a medical questionnaire according to an embodiment of the present invention, such as Figure 8 As shown, the medical questionnaire acquisition device 800 mainly includes:
[0168] The parsing module 801 is used to parse the parameters carried in the query request in response to receiving the query request to obtain a heterogeneous data identifier;
[0169] A determination module 802, configured to determine an associated heterogeneous data set according to the heterogeneous data identifier;
[0170] The acquisition module 803 is used to determine the query condition corresponding to the query request, and acquire the target medical questionnaire that meets the query condition from the heterogeneous data set.
[0171] According to a reference embodiment of the present invention, the medical questionnaire acquisition device 800 further includes:
[0172] A first pre-analysis module is used for, in response to receiving an order request, parsing the parameters carried in the order request to obtain a first medical consultation form;
[0173] The first storage module is used to store the first medical questionnaire in a corresponding heterogeneous data set when the first medical questionnaire is a directional medical questionnaire.
[0174] According to another reference embodiment of the present invention, the medical questionnaire acquisition device 800 further includes:
[0175] A second pre-analysis module is used for, in response to receiving a consultation request, parsing the parameters carried in the consultation request to obtain a second consultation form;
[0176] The second storage module is used to store the second medical questionnaire in a corresponding heterogeneous data set when the second medical questionnaire is a non-directional medical questionnaire.
[0177] According to another reference embodiment of the present invention, the parameters carried in the query request are parsed to obtain a heterogeneous data identifier, including:
[0178] The parameter parsing order is determined according to the preset data category priority, and the parameters carried by the query request are parsed according to the parameter parsing order to obtain the heterogeneous data identifier.
[0179] According to another reference embodiment of the present invention, the medical questionnaire acquisition device 800 further includes:
[0180] The modification module is used to modify the data category priority according to the heterogeneous data identifier corresponding to the historical query request.
[0181] According to a reference embodiment of the present invention, the heterogeneous data set includes a medical consultation form set, and obtaining a target medical consultation form that meets the query condition from the heterogeneous data set includes:
[0182] Determining the heterogeneous data indicated by the heterogeneous data identifier;
[0183] Determine the set of medical consultations associated with the heterogeneous data according to a preset association relationship template;
[0184] Obtain target medical questionnaires that meet the query condition from the medical questionnaire set.
[0185] According to another reference embodiment of the present invention, the medical questionnaire acquisition device 800 further includes:
[0186] A limiting module is used to determine the use authority of the initiator of the query request to the target medical questionnaire based on the medical questionnaire information included in the target medical questionnaire.
[0187] It should be noted that the specific implementation content of the device for obtaining the medical questionnaire in the embodiment of the present invention has been described in detail in the method for obtaining the medical questionnaire described above, so the repeated content will not be described here.
[0188] According to the technical solution of the embodiment of the present invention, the associated heterogeneous data set is determined according to the heterogeneous data identifier, and the target medical questionnaire is obtained from the heterogeneous data set according to the query condition, which can simplify the medical questionnaire acquisition process and improve the efficiency and accuracy of medical questionnaire acquisition; the first medical questionnaire is obtained according to the order request, and the first medical questionnaire is stored in the corresponding heterogeneous data set, and the second medical questionnaire is obtained according to the consultation request, and the second medical questionnaire is stored in the corresponding heterogeneous data set. Before receiving the query request, the medical questionnaire can be asynchronously sorted, and the heterogeneous data set can be updated in real time, so as to improve the efficiency of medical questionnaire acquisition and avoid network resource preemption; the parameter parsing order is determined according to the data category priority, and the parameters of the query request are parsed according to the parameter parsing order to obtain the heterogeneous data identifier, which can meet the medical questionnaire acquisition requirements of multiple scenarios, provide a standardized medical questionnaire acquisition request specification, and improve the universal applicability of medical questionnaire acquisition. Improve the acquisition efficiency and accuracy of heterogeneous data identification; modify the data category priority according to the heterogeneous data identification corresponding to the historical query request, be able to adjust the data category priority in real time, improve the flexibility of the data category priority, and facilitate the modification of the parsing strategy of the heterogeneous data identification according to the actual situation, and further improve the acquisition efficiency of heterogeneous data identification; determine the heterogeneous data indicated by the heterogeneous data identification, determine the set of medical consultation forms associated with the heterogeneous data according to the association relationship template, and obtain the target medical consultation form that meets the query conditions from the medical consultation form set, which can provide a unified target medical consultation form acquisition process, reduce R&D costs and maintenance costs, and improve the flexibility and scalability of target medical consultation form acquisition; determine the query request initiator's use authority for the target medical consultation form according to the medical consultation form information included in the target medical consultation form, which can improve the information security of the medical consultation form, avoid information leakage, and ensure the high availability of the consultation process.
[0189] According to a third aspect of an embodiment of the present invention, there is provided an electronic device for obtaining a medical history sheet, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method provided by the first aspect of the embodiment of the present invention.
[0190] According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method provided by the first aspect of the embodiment of the present invention is implemented.
[0191] Fig. 9 An exemplary system architecture 900 is shown to which the method for obtaining medical questionnaire or the apparatus for obtaining medical questionnaire according to the embodiments of the present invention may be applied.
[0192] like Fig. 9 As shown, system architecture 900 may include terminal devices 901, 902, 903, network 904 and server 905. Network 904 is used to provide a medium for communication links between terminal devices 901, 902, 903 and server 905. Network 904 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0193] The user can use the terminal devices 901, 902, 903 to interact with the server 905 through the network 904 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 901, 902, 903, such as medical consultation form browsing applications, medical consultation form storage applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).
[0194] The terminal devices 901 , 902 , and 903 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.
[0195] Server 905 may be a server that provides various services, such as a background management server (only an example) that provides support for the request for obtaining medical questionnaires sent by the upstream terminal devices 901, 902, and 903. In response to receiving the query request, the background management server may parse the parameters carried by the query request to obtain a heterogeneous data identifier; determine the associated heterogeneous data set according to the heterogeneous data identifier; determine the query condition corresponding to the query request, and obtain the target medical questionnaire that meets the query condition from the heterogeneous data set; and feedback the medical questionnaire acquisition situation (only an example) to the terminal device.
[0196] It should be noted that the method for obtaining the medical questionnaire provided in the embodiment of the present invention is generally executed by the server 905, and accordingly, the device for obtaining the medical questionnaire is generally set in the server 905. The method for obtaining the medical questionnaire provided in the embodiment of the present invention can also be executed by the terminal devices 901, 902, and 903, and accordingly, the device for obtaining the medical questionnaire can be set in the terminal devices 901, 902, and 903.
[0197] It should be understood that Fig. 9 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0198] Reference below Fig.10 , which shows a schematic diagram of the structure of a computer system 1000 of a terminal device suitable for implementing an embodiment of the present invention. Fig.10 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0199] like Fig.10 As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the system 1000 are also stored. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0200] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.
[0201] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1009, and / or installed from the removable medium 1011. When the computer program is executed by the central processing unit (CPU) 1001, the above-mentioned functions defined in the system of the embodiment of the present invention are executed.
[0202] It should be noted that the computer-readable medium shown in the embodiment of the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In an embodiment of the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In an embodiment of the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0203] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0204] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, they may be described as: a processor includes a parsing module, a determination module, and an acquisition module, wherein the names of these modules do not constitute a limitation on the modules themselves in certain circumstances, for example, the determination module may also be described as "a module for determining associated heterogeneous data sets according to heterogeneous data identifiers".
[0205] As another aspect, an embodiment of the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device implements the following method: in response to receiving a query request, the parameters carried by the query request are parsed to obtain a heterogeneous data identifier; the associated heterogeneous data set is determined according to the heterogeneous data identifier; the query condition corresponding to the query request is determined, and the target medical consultation form that meets the query condition is obtained from the heterogeneous data set.
[0206] According to the technical solution of the embodiment of the present invention, the associated heterogeneous data set is determined according to the heterogeneous data identifier, and the target medical questionnaire is obtained from the heterogeneous data set according to the query condition, which can simplify the medical questionnaire acquisition process and improve the efficiency and accuracy of medical questionnaire acquisition; the first medical questionnaire is obtained according to the order request, and the first medical questionnaire is stored in the corresponding heterogeneous data set, and the second medical questionnaire is obtained according to the consultation request, and the second medical questionnaire is stored in the corresponding heterogeneous data set. Before receiving the query request, the medical questionnaire can be asynchronously sorted, and the heterogeneous data set can be updated in real time, so as to improve the efficiency of medical questionnaire acquisition and avoid network resource preemption; the parameter parsing order is determined according to the data category priority, and the parameters of the query request are parsed according to the parameter parsing order to obtain the heterogeneous data identifier, which can meet the medical questionnaire acquisition requirements of multiple scenarios, provide a standardized medical questionnaire acquisition request specification, and improve the universal applicability of medical questionnaire acquisition. Improve the acquisition efficiency and accuracy of heterogeneous data identification; modify the data category priority according to the heterogeneous data identification corresponding to the historical query request, be able to adjust the data category priority in real time, improve the flexibility of the data category priority, and facilitate the modification of the parsing strategy of the heterogeneous data identification according to the actual situation, and further improve the acquisition efficiency of heterogeneous data identification; determine the heterogeneous data indicated by the heterogeneous data identification, determine the set of medical consultation forms associated with the heterogeneous data according to the association relationship template, and obtain the target medical consultation form that meets the query conditions from the medical consultation form set, which can provide a unified target medical consultation form acquisition process, reduce R&D costs and maintenance costs, and improve the flexibility and scalability of target medical consultation form acquisition; determine the query request initiator's use authority for the target medical consultation form according to the medical consultation form information included in the target medical consultation form, which can improve the information security of the medical consultation form, avoid information leakage, and ensure the high availability of the consultation process.
[0207] The above specific implementations do not constitute a limitation on the protection scope of the embodiments of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.
Claims
1. A method for obtaining a medical questionnaire. It is characterized in that include: In response to receiving the query request, parsing the parameters carried in the query request to obtain a heterogeneous data identifier; Determining the associated heterogeneous data set according to the heterogeneous data identifier; Determine a query condition corresponding to the query request, and obtain a target medical consultation form that meets the query condition from the heterogeneous data set.
2. The method according to claim 1, It is characterized in that Before receiving the query request, the method further includes: In response to receiving the order request, parsing the parameters carried in the order request to obtain a first medical consultation form; In the case where the first medical questionnaire is a directional medical questionnaire, the first medical questionnaire is stored in a corresponding heterogeneous data set.
3. The method according to claim 1, It is characterized in that Before receiving the query request, the method further includes: In response to receiving the consultation request, parsing the parameters carried in the consultation request to obtain a second consultation form; In the case where the second medical questionnaire is a non-directional medical questionnaire, the second medical questionnaire is stored in a corresponding heterogeneous data set.
4. The method according to claim 1, It is characterized in that Parse the parameters carried in the query request to obtain heterogeneous data identifiers, including: The parameter parsing order is determined according to the preset data category priority, and the parameters carried by the query request are parsed according to the parameter parsing order to obtain the heterogeneous data identifier.
5. The method according to claim 4, It is characterized in that The method further comprises: The data category priority is modified according to the heterogeneous data identifiers corresponding to the historical query requests.
6. The method according to claim 1, It is characterized in that The heterogeneous data set includes a medical questionnaire set, and obtaining a target medical questionnaire that meets the query condition from the heterogeneous data set includes: Determining the heterogeneous data indicated by the heterogeneous data identifier; Determine the set of medical consultations associated with the heterogeneous data according to a preset association relationship template; Obtain target medical questionnaires that meet the query condition from the medical questionnaire set.
7. The method according to claim 1, It is characterized in that After obtaining the target medical questionnaire that meets the query condition from the heterogeneous data set, the method further includes: According to the medical questionnaire information included in the target medical questionnaire, the permission of the initiator of the query request to use the target medical questionnaire is determined.
8. A device for obtaining a medical questionnaire, It is characterized in that include: A parsing module, configured to parse the parameters carried in the query request in response to receiving the query request, and obtain a heterogeneous data identifier; A determination module, used to determine the associated heterogeneous data set according to the heterogeneous data identifier; The acquisition module is used to determine the query condition corresponding to the query request and acquire the target medical questionnaire that meets the query condition from the heterogeneous data set.
9. An electronic device, It is characterized in that include: One or more processors; A storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer readable medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
