Processing method and equipment for butt joint of intelligent medicine dispensing system and medical informatization system
By using preset RESTful API interface and adapter collection in the intelligent drug distribution system for data format conversion and adaptation, the problem of low docking efficiency between the intelligent drug distribution system and the medical information system is solved, efficient integration and interaction is achieved, and medical information interaction capabilities in medical institutions are improved.
Patent Information
- Application Number
- CN202411586469.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-03-25
AI Technical Summary
The intelligent drug distribution system is less efficient in connecting with other medical information systems, making it difficult to achieve efficient medical information interaction in medical institutions.
By responding to access requests from the medical information system based on the preset RESTful API interface, the data format of the intelligent drug distribution system is determined, and the data format conversion and adaptation is used to use the preset adapter set to achieve efficient integration and interaction between the intelligent drug distribution system and the medical information system.
The docking efficiency between the intelligent drug distribution system and the medical information system has been improved, and flexible adaptation and seamless docking between different intelligent drug distribution systems and the medical information system has been achieved, which has enhanced the medical information interaction capabilities in medical institutions.
Smart Images

Figure CN119694509A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of digital medical technology, and in particular to a processing method, device, computer equipment and computer-readable storage medium for connecting an intelligent medicine dispensing system with a medical information system. Background Art
[0002] The intelligent medicine dispensing system is a solution that uses information technology and automation technology to improve the efficiency of medicine management, reduce human errors and ensure the safety of patient medication. Such systems have been used in hospitals, nursing homes and other medical institutions. Intelligent medicine dispensing systems include but are not limited to automated pharmacy systems, smart medicine boxes, robot-assisted medicine dispensing systems, and cloud-based pharmacy management systems. Among them, automated pharmacy systems can automatically handle the distribution of prescription drugs, including storage, classification, packaging and other processes. Automated pharmacy systems include Omnicell, MedDispense, and PharmacyOne. Smart medicine boxes can help patients manage their daily medications by reminding users of medication time, monitoring medication compliance and other functions. Smart medicine boxes include but are not limited to PillPack, Hero, etc. Robot-assisted medicine dispensing systems use robotic technology to improve the speed and accuracy of medicine dispensing. Robot-assisted medicine dispensing systems include but are not limited to Takeda's RxP Dispensing Robot and YUYAMA. Cloud-based pharmacy management systems provide remote monitoring, data analysis and other functions to help pharmacy managers better control inventory and provide patient services. Cloud-based pharmacy management systems include but are not limited to pharmacy modules of electronic health record (EHR) systems such as Epic and Cerner.
[0003] With the development of digital medical technology, intelligent medicine dispensing systems have become an indispensable part of medicine dispensing or drug management in modern medical institutions. However, other departments in medical institutions, including but not limited to operating rooms, radiology departments, surgical anesthesia, etc., except for pharmacies, will adopt medical information systems (such as HIS, LIS, EMR, PACS, RIS, etc.) different from the above-mentioned intelligent medicine dispensing systems for digital medical processing, and different medical institutions may adopt different medical information systems. In this case, facing the above-mentioned numerous intelligent medicine dispensing systems, due to the differences between different intelligent medicine dispensing systems and the differences between many medical information systems, when pharmacies in medical institutions need to perform corresponding medical information interaction based on including but not limited to the above-mentioned intelligent medicine dispensing systems and the medical information systems adopted by other departments in medical institutions except pharmacies, it is difficult for the intelligent medicine dispensing system to be effectively and smoothly connected with the medical information system.
[0004] Therefore, how to efficiently connect the intelligent medicine distribution system with other medical information systems has become a technical problem that digital medicine urgently needs to solve. Summary of the invention
[0005] The present application provides a processing method, device, computer equipment and computer-readable storage medium for connecting an intelligent medicine dispensing system with a medical information system, which can solve the technical problem of low efficiency in connecting an intelligent medicine dispensing system with other medical information systems in traditional technologies in the field of digital medicine.
[0006] In the first aspect, the present application provides a processing method for connecting an intelligent medicine dispensing system with a medical information system, including: based on a preset RESTful API interface corresponding to the preset intelligent medicine dispensing system, responding to an access request from the preset medical information system, and determining a preset first data format used by the preset intelligent medicine dispensing system for data exchange; identifying a preset second data format of the input data corresponding to the access request; based on a preset adapter set, and according to the preset first data format and the preset second data format, determining a target preset first adapter; based on the target preset first adapter, converting the access request into target request data corresponding to the preset first data format; processing the access request according to the target request data to obtain target response data corresponding to the access request; and returning the target response data to the preset medical information system corresponding to the access request.
[0007] In the second aspect, the present application provides a processing device for docking an intelligent medicine dispensing system with a medical information system, comprising: a first determination unit, for responding to an access request of a preset medical information system based on a preset RESTful API interface corresponding to the preset intelligent medicine dispensing system, and determining a preset first data format adopted by the preset intelligent medicine dispensing system for data exchange; a first identification unit, for identifying a preset second data format of input data corresponding to the access request; a second determination unit, for determining a target preset first adapter based on a preset adapter set and according to the preset first data format and the preset second data format; a first conversion unit, for converting the access request into target request data corresponding to the preset first data format based on the target preset first adapter; a first processing unit, for processing the access request according to the target request data, and obtaining target response data corresponding to the access request; and a return unit, for returning the target response data to the preset medical information system corresponding to the access request.
[0008] In a third aspect, the present application provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, it implements the steps of a processing method for connecting the intelligent medicine dispensing system with a medical information system.
[0009] In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor executes the steps of a processing method for connecting the intelligent medicine dispensing system with a medical information system.
[0010] The present application provides a processing method, apparatus, computer equipment and computer-readable storage medium for docking an intelligent medicine dispensing system with a medical information system. The method responds to an access request from a preset medical information system through a preset RESTful API interface, determines a preset first data format corresponding to the preset intelligent medicine dispensing system, identifies a preset second data format corresponding to the access request, determines an adapter based on a preset adapter set and according to the preset first data format and the preset second data format, and adapts the intelligent medicine dispensing system to the medical information system based on the adapter, thereby combining the open nature of the RESTful API interface with the flexible adaptability of the preset adapter set, and realizing efficient integration and convenient interaction between different intelligent medicine dispensing systems involving different medical institutions and corresponding medical information systems based on a set of adapter components, thereby improving the docking efficiency of the intelligent medicine dispensing system with the medical information system. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0012] Figure 1 A flowchart of a method for connecting an intelligent medicine dispensing system with a medical information system provided in an embodiment of the present application;
[0013] Figure 2 A schematic diagram of the adaptation relationship of the processing method for connecting the intelligent medicine dispensing system and the medical information system provided in the embodiment of the present application;
[0014] Figure 3 A schematic diagram of the first sub-flow of the processing method for connecting the intelligent medicine dispensing system with the medical information system provided in the embodiment of the present application;
[0015] Figure 4A schematic diagram of a second sub-flow of a processing method for connecting an intelligent medicine dispensing system with a medical information system provided in an embodiment of the present application;
[0016] Figure 5 A schematic block diagram of a processing device for connecting an intelligent medicine dispensing system and a medical information system provided in an embodiment of the present application;
[0017] Figure 6 A schematic block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0019] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0020] The embodiment of the present application provides a processing method for connecting an intelligent medicine dispensing system with a medical information system. The method can be applied to computer devices including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like, and can be used in the field of digital medicine, including but not limited to the processing of connecting an intelligent medicine dispensing system with a medical information system.
[0021] In the face of the technical problem of low efficiency in connecting the intelligent medicine dispensing system with other medical information systems in traditional technologies in the field of digital medicine, the inventor proposes a processing method for connecting the intelligent medicine dispensing system with the medical information system in the embodiment of the present application. The core idea of the embodiment of the present application is: on the basis of the intelligent medicine dispensing system adopting an open RESTful API interface based on a standardized protocol, an adapter component is integrated that includes several pairs of adaptation relationships to adapt different intelligent medicine dispensing systems to different medical information systems, and the adapter involved in the adapter component can dynamically update the adapter mapping rules based on the configuration interface corresponding to the preset adaptation middle platform included in the preset operation and maintenance middle platform, so as to further flexibly adapt to the data format differences between different intelligent medicine dispensing systems and different medical information systems on the basis of the open RESTful API interface, so as to realize efficient integration and convenient interaction between different intelligent medicine dispensing systems and different medical information systems, and improve the connection efficiency of the intelligent medicine dispensing system with other medical information systems.
[0022] Some embodiments of the present application are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0023] See also Figure 1 and Figure 2 , Figure 1 A flowchart of a method for connecting an intelligent medicine dispensing system with a medical information system provided in an embodiment of the present application is provided. Figure 2 The following is a schematic diagram of the adaptation relationship between the intelligent medicine dispensing system and the medical information system provided in the embodiment of the present application. Figure 1 and Figure 2 As shown, the method is applied to a preset intelligent medicine dispensing system, and the method includes but is not limited to the following steps S11-S16:
[0024] S11. Based on a preset RESTful API interface corresponding to the preset intelligent medicine dispensing system, respond to an access request from a preset medical information system and determine a preset first data format used by the preset intelligent medicine dispensing system for data exchange.
[0025] Explanatory, for preset intelligent medicine dispensing systems including but not limited to automated pharmacy systems, smart medicine boxes, robot-assisted medicine dispensing systems, and cloud-based pharmacy management systems, a RESTful API interface is pre-set as the API interface of the intelligent medicine dispensing system, i.e., a preset RESTful API interface. Based on the preset RESTful API interface, it is easier for other preset medical information systems to call the preset intelligent medicine dispensing system through the HTTP protocol, including but not limited to functions of querying drug inventory and obtaining patient prescription information, which can improve the efficient integration and convenient interaction between the intelligent medicine dispensing system and the medical information system to a certain extent. Furthermore, the preset intelligent medicine dispensing system adopts standardized protocols including but not limited to HL7 FHIR (Fast Healthcare Interoperability Resources) as the basis for data exchange, and the standardized protocol supports RESTful API, making data exchange more convenient.
[0026] Based on the above settings, and then based on the preset RESTful API interface corresponding to the preset intelligent medicine dispensing system, when other preset medical information systems send access requests through the HTTP protocol to perform functions including but not limited to querying drug inventory and obtaining patient prescription information, the preset intelligent medicine dispensing system responds to the access request of the preset medical information system and determines the preset first data format used for data exchange. The preset first data format includes but is not limited to HL7v2.x, FHIR, and custom JSON. For the only preset intelligent medicine dispensing system used by a pharmacy of a single medical institution, the preset first data format corresponding to the preset intelligent medicine dispensing system is determined and fixed. However, in the case where pharmacies of different medical institutions use different preset intelligent medicine dispensing systems, when the technical solution of the embodiment of the present application is used to connect the intelligent medicine dispensing system with the medical information system, it is necessary to first determine the preset first data format corresponding to the specific preset intelligent medicine dispensing system used by the medical institution.
[0027] S12: Identify a preset second data format of the input data corresponding to the access request.
[0028] Explanatoryly, since the preset medical information system is a system different from the preset intelligent medicine dispensing system, the preset medical information system and the preset intelligent medicine dispensing system may adopt different data formats. Therefore, the preset second data format of the input data corresponding to the access request is identified. The preset second data format is the data format adopted by the preset medical information system for data exchange. The preset second data format includes but is not limited to HL7 v2.x, FHIR, and custom JSON. The preset second data format corresponding to the access request can be determined by checking the message header or specific field corresponding to the access request.
[0029] S13: Based on the preset adapter set and according to the preset first data format and the preset second data format, determine a target preset first adapter.
[0030] Explanatory, please continue to see Figure 2 ,like Figure 2 As shown, a preset adapter set, namely a preset adapter set, can be represented in the form of an adapter component. The preset adapter set includes adapters corresponding to the data formats corresponding to different preset intelligent medicine dispensing systems and the data formats corresponding to the corresponding preset medical information systems, so that the preset adapter set can meet the adaptation between different preset intelligent medicine dispensing systems of different medical institutions and the corresponding preset medical information systems. Figure 2As shown, in this exemplary preset adapter set, at least adapter 1, adapter 2, ..., adapter 7 are included, wherein adapter 1 and adapter 2 are suitable for the adaptation between the intelligent medicine dispensing system 1 in the first medical institution and its corresponding medical information system, and adapter 3, adapter 4 and adapter 5 are suitable for the adaptation between the intelligent medicine dispensing system 2 in the second medical institution and its corresponding medical information system.
[0031] It should be noted that in the same medical institution, different departments may use different medical information systems due to their different businesses and characteristics. Therefore, the same intelligent drug dispensing system in the same medical institution may need to be connected and integrated with different medical information systems, such as Figure 2 As shown, the intelligent medicine dispensing system 1 needs to be connected with the medical information system 1 and the medical information system 2 respectively, and the intelligent medicine dispensing system 2 needs to be connected with the medical information system 3, the medical information system 4, and the medical information system 5 respectively.
[0032] Based on the above description, after determining the preset first data format corresponding to the preset intelligent medicine dispensing system and the preset second data format corresponding to the access request, based on the preset adapter set and according to the preset first data format and the preset second data format, the adapter corresponding to the adaptation between the preset intelligent medicine dispensing system and the medical information system corresponding to the access request can be determined, that is, the target preset first adapter is determined. Exemplarily, if the data format corresponding to the access request is the HL7 v2.x format, the HL7 v2.x adapter is selected, and if the data format corresponding to the access request is the FHIR format, the FHIR adapter is selected.
[0033] S14. Based on the target preset first adapter, convert the access request into target request data corresponding to the preset first data format.
[0034] Explanatory, based on the target preset first adapter, the access request is converted into the target request data corresponding to the preset first data format, thereby converting the preset second data format corresponding to the access request into the preset first data format that the preset intelligent medicine dispensing system can support and process. The target preset first adapter converts the access request into the target request data corresponding to the preset first data format, generally involving but not limited to parsing the original data corresponding to the access request, extracting key information, and reorganizing the data structure to obtain the target request data. Exemplarily, in one example, based on the HL7 v2.x adapter, the patient information and drug information in the HL7 message may be extracted and converted into the standard object inside the preset intelligent medicine dispensing system, namely the target request data, and then the preset intelligent medicine dispensing system performs corresponding processing of the patient information and drug information according to the target request data.
[0035] S15. Process the access request according to the target request data to obtain target response data corresponding to the access request.
[0036] Explanatoryally, the preset intelligent medicine dispensing system processes the access request according to the specific request content corresponding to the target request data, including but not limited to querying the drug inventory and obtaining the patient prescription information, and obtains the target response data corresponding to the access request.
[0037] S16. Return the target response data to the preset medical information system corresponding to the access request.
[0038] Explanatoryly, after obtaining the target response data corresponding to the access request, the target response data is returned to the preset medical information system corresponding to the access request, thereby realizing the connection between the preset intelligent medicine dispensing system and the preset medical information system, that is, integrating the preset intelligent medicine dispensing system and the preset medical information system in the same medical institution.
[0039] In an embodiment of the present application, based on a preset RESTful API interface corresponding to a preset intelligent medicine dispensing system, responds to an access request from a preset medical information system, determines a preset first data format used by the preset intelligent medicine dispensing system for data exchange, identifies a preset second data format of the input data corresponding to the access request, and based on a preset adapter set and according to the preset first data format and the preset second data format, determines a target preset first adapter, and based on the target preset first adapter, converts the access request into target request data corresponding to the preset first data format, and then processes the access request according to the target request data to obtain the target response data corresponding to the access request, and returns the target response data to the preset medical information system corresponding to the access request, thereby combining the open nature of the RESTful API interface with the flexible adaptability of the preset adapter set, not only based on RESTful The API interface facilitates external systems to call the intelligent drug dispensing system through the HTTP protocol, and based on the preset adapter set, it can flexibly adapt the intelligent drug dispensing system to different medical information systems. In addition, since it is necessary to determine the preset first data format used by the preset intelligent drug dispensing system for data exchange, and based on the preset adapter set, and according to the preset first data format and the preset second data format, the target preset first adapter is determined, that is, the preset adapter set can be applicable to the data formats corresponding to different preset intelligent drug dispensing systems. Therefore, based on a set of adapter components, it can be used in many medical institution scenarios using different intelligent drug dispensing systems. It can flexibly adapt the specific intelligent drug dispensing systems of different medical institutions to the corresponding medical information systems for seamless docking and integration. It can not only improve the flexibility and efficiency of the adaptation of a single intelligent drug dispensing system under a single medical institution to multiple medical information systems, but also improve the flexibility and efficiency of the adaptation of different intelligent drug dispensing systems under multiple medical institutions to the corresponding medical information systems. Therefore, whether it is a single medical institution or multiple medical structures, it can be based on a set of adapter components to achieve efficient integration and convenient interaction between the intelligent drug dispensing system and several medical information systems, so as to improve the docking efficiency between the intelligent drug dispensing system and the medical information system.
[0040] In one embodiment, see Figure 3 , Figure 3 This is a schematic diagram of the first sub-flow of the processing method for connecting the intelligent medicine dispensing system with the medical information system provided in the embodiment of the present application. Figure 3 As shown, in this embodiment, the access request is processed according to the target request data to obtain the target response data corresponding to the access request, including:
[0041] S31, processing the access request according to the target request data to obtain initial response data corresponding to the access request;
[0042] S32, determining a target preset second adapter based on the preset adapter set and according to the preset first data format and the preset second data format;
[0043] S33: Based on the target preset second adapter, convert the initial response data into target response data corresponding to the preset second data format.
[0044] Explanatory, according to the target request data, the preset intelligent medicine dispensing system processes the access request and obtains the initial response data corresponding to the access request. The initial response data is in the data format supported by the preset intelligent medicine dispensing system, that is, the initial response data is in the preset first data format. However, as mentioned above, the preset medical information system corresponding to the access request is in the preset second data format, and the preset medical information system does not necessarily support the preset first data format. Therefore, similarly to the target preset first adapter, based on the preset adapter set and according to the preset first data format and the preset second data format, the target preset second adapter is determined. The target preset second adapter is the reverse adaptation process of the target preset first adapter, that is, the target preset first adapter converts the data format corresponding to the access request from the preset second data format to the preset first data format, and the target preset second adapter converts the data format corresponding to the initial response data from the preset first data format to the preset second data format, and then based on the target preset second adapter, the initial response data is converted into the target response data corresponding to the preset second data format. The data format of the target response data is consistent with the data format corresponding to the access request, and the target response data is data that can be directly supported and processed by the preset medical information system corresponding to the access request.
[0045] In an embodiment of the present application, by converting the original initial response data into target response data corresponding to a preset second data format, the data returned to the preset medical information system corresponding to the access request is in a data format that can be directly supported by the above-mentioned preset medical information system. The above-mentioned preset medical information system can directly receive and use the returned target response data, thereby based on a set of preset adapter sets and only requiring adaptive processing at the preset intelligent medicine dispensing system end, to achieve flexible adaptation and seamless docking between the intelligent medicine dispensing system and different medical information systems, thereby based on a set of adapter components, further improving the efficient integration and convenient interaction between the intelligent medicine dispensing system and several medical information systems, thereby improving the docking efficiency between the intelligent medicine dispensing system and the medical information system.
[0046] In one embodiment, based on the target preset first adapter, converting the access request into target request data corresponding to the preset first data format includes:
[0047] Running the target preset first adapter, wherein the target preset first adapter includes a parameter reading instruction corresponding to a preset configuration parameter;
[0048] According to the parameter reading instruction and based on a preset adapter parameter configuration file, read the configuration information corresponding to the preset configuration parameters;
[0049] According to the configuration information, the access request is converted into target request data corresponding to the preset first data format.
[0050] Explanatoryly, the adapter is set based on the template principle, that is, the target preset first adapter is set, whereby the target preset first adapter includes two parts, one part is the adapter framework and template where the preset configuration parameters and their corresponding parameter reading instructions contained in the target preset first adapter are located, and the other part is the specific configuration information corresponding to the above configuration parameters. The parameter reading instruction is an instruction to retrieve the specific above configuration information, and the above configuration information is independently stored outside the configuration parameters contained in the target preset first adapter. The above configuration information can be stored through the corresponding preset adapter parameter configuration file, and can be maintained by maintaining the corresponding preset adapter parameter configuration file, wherein the preset adapter parameter configuration file represents a file containing the parameter configurations corresponding to all adapters and their corresponding configuration information, and the parameters of these adapters may include but are not limited to data mapping rules, conversion logic, and authentication information.
[0051] Based on the above settings, the target preset first adapter is run, wherein the target preset first adapter includes parameter reading instructions corresponding to corresponding preset configuration parameters, and according to the parameter reading instructions and based on the preset adapter parameter configuration file, the configuration information corresponding to the preset configuration parameters is read, and then according to the specific content corresponding to the configuration information including but not limited to data mapping rules, conversion logic, and authentication information, the access request is converted into the target request data corresponding to the preset first data format, thereby realizing the conversion of the access request into the target request data corresponding to the preset first data format supported by the preset intelligent medicine distribution system, so that the preset intelligent medicine distribution system processes the access request according to the target request data.
[0052] In an embodiment of the present application, a preset adapter parameter configuration file is set, and the configuration information corresponding to the preset configuration parameters is stored through the preset adapter parameter configuration file to maintain the independence of the configuration information. Then, based on the preset adapter parameter configuration file, the configuration information corresponding to the preset configuration parameters is read in a timely manner to convert the access request into target request data corresponding to the preset first data format. Based on the preset adapter parameter configuration file, dynamic configuration of the configuration information involved in the adapter can be achieved, and the dynamics and flexibility of adapter updates can be improved. Then, the latest adapter is used to adapt different intelligent medicine dispensing systems to different medical information systems, which can further improve the flexibility, seamless connection and efficiency of the adaptation, and further improve the connection efficiency between the intelligent medicine dispensing system and the medical information system.
[0053] In one embodiment, based on the preset adapter parameter configuration file, before reading the configuration information corresponding to the preset configuration parameters, the method further includes:
[0054] Based on the preset adapter operation and maintenance center, respond to the configuration operation of the configuration information corresponding to the preset configuration parameters, and obtain the target configuration information corresponding to the configuration operation;
[0055] According to the target configuration information, the configuration information corresponding to the corresponding preset configuration parameters contained in the preset adapter parameter configuration file is updated.
[0056] Explanatory, please continue to see Figure 2 ,like Figure 2 As shown, an adapter operation and maintenance middle station is pre-set, that is, a preset adapter operation and maintenance middle station. The preset adapter operation and maintenance middle station represents a middle station for operating and maintaining the adapter. The preset adapter operation and maintenance middle station provided in the embodiment of the present application represents a middle station including but not limited to maintaining and updating the configuration information corresponding to the configuration parameters based on the above-mentioned preset adapter parameter configuration file. The preset adapter operation and maintenance middle station sets a preset configuration interface or a preset configuration tool for performing configuration operations on the above-mentioned configuration information.
[0057] Based on the above settings, Figure 2 As shown, based on the preset adapter operation and maintenance center, relevant personnel perform configuration operations on the configuration information corresponding to the preset configuration parameters. The preset adapter operation and maintenance center responds to the above configuration operations, obtains the target configuration information corresponding to the configuration operations, and updates the configuration information corresponding to the corresponding preset configuration parameters contained in the preset adapter parameter configuration file according to the target configuration information, thereby realizing the update of the target preset first adapter and obtaining the corresponding latest adapter.
[0058] In an embodiment of the present application, a preset adapter operation and maintenance middle platform is set up, and based on the preset adapter operation and maintenance middle platform, the configuration information corresponding to the preset configuration parameters contained in the preset adapter parameter configuration file independent of the adapter is updated, and then the latest adapter is used to adapt different intelligent medicine dispensing systems to different medical information systems. The dynamics and flexibility of adapter updates can be achieved, and the flexibility, seamless connection and efficiency of adaptation can be further improved, so as to further improve the connection efficiency between the intelligent medicine dispensing system and the medical information system.
[0059] In one embodiment, updating the configuration information corresponding to the corresponding preset configuration parameters contained in the preset adapter parameter configuration file according to the target configuration information includes:
[0060] According to the target configuration information and based on a preset hot update method, the configuration information corresponding to the corresponding preset configuration parameters contained in the preset adapter parameter configuration file is updated.
[0061] Explanatoryly, the pre-set hot update mode is called the preset hot update mode. The preset hot update mode means that the configuration information corresponding to the new preset configuration parameters can be applied without restarting the service. The hot update needs to be implemented using specific technologies or frameworks. The specific technologies include but are not limited to reflection, dynamic proxy, and class loader. The hot update framework includes but is not limited to React Native, Firebase Remote Config, and JSPatch.
[0062] Based on the above description, when updating the configuration information corresponding to the corresponding preset configuration parameters contained in the preset adapter parameter configuration file according to the target configuration information, the configuration information corresponding to the corresponding preset configuration parameters contained in the preset adapter parameter configuration file is updated based on the preset hot update method, thereby realizing real-time update of the target preset first adapter, obtaining the corresponding latest adapter in real time, and using the latest adapter to perform docking and adaptation between the preset intelligent medicine dispensing system and the preset medical information system, which can improve the efficiency and effect of the docking.
[0063] In the embodiment of the present application, by updating the configuration information corresponding to the preset configuration parameters contained in the preset adapter parameter configuration file based on a preset hot update method, the adapter can be dynamically updated in a timely manner during the operation of the system corresponding to the adapter. There is no need to suspend the connection between the intelligent medicine dispensing system and the medical information system. The latest adapter can be used to adapt different intelligent medicine dispensing systems to different medical information systems. The dynamics and flexibility of the adapter update can be further realized, thereby further improving the flexibility, efficiency, and adaptability of the adaptation to achieve seamless docking, and further improving the docking efficiency between the intelligent medicine dispensing system and the medical information system.
[0064] In one embodiment, see Figure 4 , Figure 4 This is a schematic diagram of the second sub-flow of the processing method for connecting the intelligent medicine dispensing system with the medical information system provided in the embodiment of the present application. Figure 4 As shown, in this embodiment, the access request is processed according to the target request data to obtain the target response data corresponding to the access request, including:
[0065] S41, determining a preset request method corresponding to the access request according to the target request data;
[0066] S42. Determine a preset endpoint corresponding to the preset RESTful API interface according to the preset request method;
[0067] S43, determining a preset access path of the response data corresponding to the access request according to the preset endpoint;
[0068] S44. Acquire corresponding data according to the preset access path to obtain target response data corresponding to the access request.
[0069] Explanatory, based on the preset RESTful API interface, the correspondence between the preset request method and the preset endpoint is preset, and the preset request method includes but is not limited to GET, POST, PUT, and DELETE, wherein different HTTP methods including but not limited to GET, POST, PUT, and DELETE are used to perform different operations, for example, GET is used to obtain resources, POST is used to create resources, PUT is used to update resources, and DELETE is used to delete resources. The preset endpoint (Endpoints in English) is the URL access path defined in the preset RESTful API interface, and each endpoint corresponds to a specific function or resource, thereby corresponding the preset request method, preset endpoint, preset function or resource, and can meet the access requirements of different medical information systems. Exemplarily, the patients endpoint and medications can be defined as follows: / api / patients, used to obtain patient information, / api / medications, used to obtain drug information.
[0070] Based on the above settings, an access request is received, and target request data corresponding to the access request is obtained. According to the target request data, the preset request method corresponding to the access request is determined. Then, according to the preset request method, the preset endpoint corresponding to the preset RESTful API interface is determined. Then, according to the preset endpoint, the preset access path of the response data corresponding to the access request is determined. According to the preset access path, the corresponding resources are obtained or the corresponding functions are implemented. According to the preset access path, the corresponding data is obtained according to the results corresponding to the obtained resources or the implemented functions, and the target response data corresponding to the access request is obtained.
[0071] In the embodiment of the present application, a clear preset endpoint and a corresponding request method are defined by a preset RESTful API interface. When an access request is received, the corresponding preset endpoint can be clearly and accurately determined according to the preset request method corresponding to the access request. Then, according to the preset endpoint, the preset access path is determined. Then, according to the preset access path, the corresponding data is obtained, and the target response data corresponding to the access request is obtained. This can improve the accuracy and efficiency of obtaining the target response data corresponding to the access request, thereby further improving the docking efficiency between the intelligent medicine dispensing system and the medical information system.
[0072] In one embodiment, based on the preset adapter set and according to the preset first data format and the preset second data format, before determining the target preset first adapter, the method further includes:
[0073] Determining whether the preset first data format and the preset second data format are the same data format;
[0074] In a case where the preset first data format and the preset second data format are not the same data format, determining a target preset first adapter based on a preset adapter set and according to the preset first data format and the preset second data format;
[0075] In a case where the preset first data format and the preset second data format are the same data format, the access request is directly processed to obtain target response data corresponding to the access request.
[0076] Explanatoryly, before determining the target preset first adapter, first determine whether the preset first data format and the preset second data format are the same data format, that is, determine whether the data format corresponding to the preset intelligent medicine dispensing system is consistent with the data format of the preset medical information system corresponding to the access request. In the case that the preset first data format and the preset second data format are not the same data format, then based on the preset adapter set and according to the preset first data format and the preset second data format, determine the target preset first adapter, and then based on the target preset first adapter, perform adaptation between the preset intelligent medicine dispensing system and the preset medical information system corresponding to the access request. In the case that the preset first data format and the preset second data format are the same data format, that is, the data format corresponding to the preset intelligent medicine dispensing system is consistent with the data format of the preset medical information system corresponding to the access request, the access request can be directly processed, and the target response data corresponding to the access request can be directly obtained, and there is no need to perform adaptation between the preset intelligent medicine dispensing system and the preset medical information system corresponding to the access request.
[0077] In an embodiment of the present application, by pre-determining whether the preset first data format and the preset second data format are the same data format, when the preset first data format and the preset second data format are the same data format, directly processing the access request to obtain the target response data corresponding to the access request, and when the preset first data format and the preset second data format are not the same data format, then based on the preset adapter set and according to the preset first data format and the preset second data format, determining the target preset first adapter, and then adapting the intelligent medicine dispensing system to the medical information system according to the target preset first adapter, can take into account the docking efficiency and adaptability of the intelligent medicine dispensing system and the medical information system, so as to ensure the docking efficiency of the intelligent medicine dispensing system and the medical information system as much as possible, take into account the efficient integration and convenient interaction of the intelligent medicine dispensing system and several medical information systems, and through the adaptability between the intelligent medicine dispensing system and several medical information systems, realize the efficient integration and convenient interaction of the intelligent medicine dispensing system and several medical information systems, so as to further improve the docking efficiency of the intelligent medicine dispensing system and the medical information system as much as possible.
[0078] It should be noted that the processing methods for connecting the intelligent medicine dispensing system with the medical information system described in the above embodiments can recombine the technical features contained in different embodiments as needed to obtain a combined implementation plan, but they are all within the scope of protection required by this application.
[0079] See also Figure 5 , Figure 5A schematic block diagram of a processing device for connecting an intelligent medicine dispensing system with a medical information system provided in an embodiment of the present application. Corresponding to the processing method for connecting an intelligent medicine dispensing system with a medical information system, an embodiment of the present application also provides a processing device for connecting an intelligent medicine dispensing system with a medical information system. Figure 5 As shown, the processing device for connecting the intelligent medicine dispensing system with the medical information system includes a unit for executing the processing method for connecting the intelligent medicine dispensing system with the medical information system, and the processing device for connecting the intelligent medicine dispensing system with the medical information system can be configured in a computer device. Figure 5 The processing device 50 for connecting the intelligent medicine dispensing system with the medical information system includes a first determination unit 51, a first identification unit 52, a second determination unit 53, a first conversion unit 54, a first processing unit 55 and a return unit 56.
[0080] The first determining unit 51 is used to respond to the access request of the preset medical information system based on the preset RESTful API interface corresponding to the preset intelligent medicine dispensing system, and determine the preset first data format adopted by the preset intelligent medicine dispensing system for data exchange;
[0081] A first identification unit 52, used to identify a preset second data format of input data corresponding to the access request;
[0082] A second determining unit 53, configured to determine a target preset first adapter based on the preset adapter set and according to the preset first data format and the preset second data format;
[0083] A first conversion unit 54, configured to convert the access request into target request data corresponding to the preset first data format based on the target preset first adapter;
[0084] A first processing unit 55 is used to process the access request according to the target request data to obtain target response data corresponding to the access request;
[0085] The returning unit 56 is used to return the target response data to the preset medical information system corresponding to the access request.
[0086] In one embodiment, the first processing unit 55 includes:
[0087] A first processing subunit, configured to process the access request according to the target request data, and obtain initial response data corresponding to the access request;
[0088] A first determining subunit, configured to determine a target preset second adapter based on the preset adapter set and according to the preset first data format and the preset second data format;
[0089] The first conversion subunit is configured to convert the initial response data into target response data corresponding to the preset second data format based on the target preset second adapter.
[0090] In one embodiment, the first conversion unit 54 includes:
[0091] An operation subunit, configured to operate the target preset first adapter, wherein the target preset first adapter includes a parameter reading instruction corresponding to a preset configuration parameter;
[0092] A reading subunit, configured to read the configuration information corresponding to the preset configuration parameters according to the parameter reading instruction and based on a preset adapter parameter configuration file;
[0093] The second conversion subunit is used to convert the access request into target request data corresponding to the preset first data format according to the configuration information.
[0094] In one embodiment, the first conversion unit 54 further includes:
[0095] A first acquisition subunit is used to respond to the configuration operation of the configuration information corresponding to the preset configuration parameters based on the preset adapter operation and obtain the target configuration information corresponding to the configuration operation;
[0096] The updating subunit is used to update the configuration information corresponding to the corresponding preset configuration parameters contained in the preset adapter parameter configuration file according to the target configuration information.
[0097] In one embodiment, the updating subunit is specifically configured to update the configuration information corresponding to the corresponding preset configuration parameters contained in the preset adapter parameter configuration file according to the target configuration information and based on a preset hot update method.
[0098] In one embodiment, the first processing unit 55 includes:
[0099] A second determining subunit, configured to determine a preset request method corresponding to the access request according to the target request data;
[0100] A third determination subunit is used to determine a preset endpoint corresponding to the preset RESTful API interface according to the preset request method;
[0101] A fourth determining subunit, configured to determine a preset access path for the response data corresponding to the access request according to the preset endpoint;
[0102] The second acquisition subunit is used to acquire corresponding data according to the preset access path to obtain target response data corresponding to the access request.
[0103] In one embodiment, the processing device 50 for connecting the intelligent medicine dispensing system with the medical information system further includes:
[0104] A judging unit, used for judging whether the preset first data format and the preset second data format are the same data format;
[0105] A third determining unit, configured to determine a target preset first adapter based on a preset adapter set and according to the preset first data format and the preset second data format when the preset first data format and the preset second data format are not the same data format;
[0106] The second processing unit is used to directly process the access request to obtain target response data corresponding to the access request when the preset first data format and the preset second data format are the same data format.
[0107] It should be noted that technical personnel in the relevant field can clearly understand that the specific implementation process of the processing device and each unit of the above-mentioned intelligent medicine dispensing system and the medical information system can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and conciseness of the description, it will not be repeated here.
[0108] At the same time, the division and connection method of each unit in the processing device for connecting the above-mentioned intelligent medicine dispensing system with the medical information system is only used for illustration. In other embodiments, the processing device for connecting the intelligent medicine dispensing system with the medical information system can be divided into different units as needed, and the units in the processing device for connecting the intelligent medicine dispensing system with the medical information system can also be connected in a different order and method to complete all or part of the functions of the processing device for connecting the above-mentioned intelligent medicine dispensing system with the medical information system.
[0109] The processing device for connecting the above-mentioned intelligent medicine dispensing system with the medical information system can be implemented in the form of a computer program. The computer program can be used in Figure 6 Runs on the computer device shown.
[0110] See also Figure 6 , Figure 6 1 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a computer device such as a desktop computer or a server, or may be a component or part in other devices.
[0111] See also Figure 6The computer device 500 includes a processor 502, a memory and a network interface 505 connected via a system bus 501, wherein the memory may include a non-volatile storage medium 503 and an internal memory 504, and the memory may also be a volatile storage medium.
[0112] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can execute a processing method for docking the above-mentioned intelligent medicine dispensing system with the medical information system.
[0113] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .
[0114] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a processing method for connecting the above-mentioned intelligent medicine dispensing system with the medical information system.
[0115] The network interface 505 is used to communicate with other devices over the network. Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the present application scheme, and does not constitute a limitation on the computer device 500 to which the present application scheme is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components. For example, in some embodiments, the computer device may only include a memory and a processor. In such an embodiment, the structure and function of the memory and the processor are the same as those of the present application scheme. Figure 6 The embodiments shown are consistent and will not be described again here.
[0116] Among them, the processor 502 is used to run a computer program 5032 stored in the memory to implement the following steps: based on the preset RESTful API interface corresponding to the preset intelligent medicine dispensing system, respond to the access request of the preset medical information system, and determine the preset first data format adopted by the preset intelligent medicine dispensing system for data exchange; identify the preset second data format of the input data corresponding to the access request; based on the preset adapter set, and according to the preset first data format and the preset second data format, determine the target preset first adapter; based on the target preset first adapter, convert the access request into the target request data corresponding to the preset first data format; according to the target request data, process the access request to obtain the target response data corresponding to the access request; return the target response data to the preset medical information system corresponding to the access request.
[0117] In one embodiment, when the processor 502 processes the access request according to the target request data and obtains the target response data corresponding to the access request, the processor 502 specifically implements the following steps:
[0118] Processing the access request according to the target request data to obtain initial response data corresponding to the access request;
[0119] Based on the preset adapter set and according to the preset first data format and the preset second data format, determining a target preset second adapter;
[0120] Based on the target preset second adapter, the initial response data is converted into target response data corresponding to the preset second data format.
[0121] In one embodiment, when the processor 502 converts the access request into target request data corresponding to the preset first data format based on the target preset first adapter, the processor 502 specifically implements the following steps:
[0122] Running the target preset first adapter, wherein the target preset first adapter includes a parameter reading instruction corresponding to a preset configuration parameter;
[0123] According to the parameter reading instruction and based on a preset adapter parameter configuration file, read the configuration information corresponding to the preset configuration parameters;
[0124] According to the configuration information, the access request is converted into target request data corresponding to the preset first data format.
[0125] In one embodiment, the processor 502 further implements the following steps before reading the configuration information corresponding to the preset configuration parameters based on the preset adapter parameter configuration file:
[0126] Based on the preset adapter operation and maintenance center, respond to the configuration operation of the configuration information corresponding to the preset configuration parameters, and obtain the target configuration information corresponding to the configuration operation;
[0127] According to the target configuration information, the configuration information corresponding to the corresponding preset configuration parameters contained in the preset adapter parameter configuration file is updated.
[0128] In one embodiment, when the processor 502 updates the configuration information corresponding to the corresponding preset configuration parameters contained in the preset adapter parameter configuration file according to the target configuration information, the processor 502 specifically implements the following steps:
[0129] According to the target configuration information and based on a preset hot update method, the configuration information corresponding to the corresponding preset configuration parameters contained in the preset adapter parameter configuration file is updated.
[0130] In one embodiment, when the processor 502 processes the access request according to the target request data and obtains the target response data corresponding to the access request, the processor 502 specifically implements the following steps:
[0131] Determining a preset request method corresponding to the access request according to the target request data;
[0132] According to the preset request method, determining a preset endpoint corresponding to the preset RESTful API interface;
[0133] Determining, according to the preset endpoint, a preset access path for the response data corresponding to the access request;
[0134] According to the preset access path, corresponding data is acquired to obtain target response data corresponding to the access request.
[0135] In one embodiment, before determining the target preset first adapter based on the preset adapter set and according to the preset first data format and the preset second data format, the processor 502 further implements the following steps:
[0136] Determining whether the preset first data format and the preset second data format are the same data format;
[0137] In a case where the preset first data format and the preset second data format are not the same data format, determining a target preset first adapter based on a preset adapter set and according to the preset first data format and the preset second data format;
[0138] In a case where the preset first data format and the preset second data format are the same data format, the access request is directly processed to obtain target response data corresponding to the access request.
[0139] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0140] Those skilled in the art will appreciate that all or part of the processes in the method for implementing the above embodiment can be completed by a computer program, which can be stored in a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.
[0141] Therefore, the present application also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, and the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the following steps:
[0142] A computer program product, when running on a computer, enables the computer to execute the steps of the processing method for connecting the intelligent medicine dispensing system with the medical information system described in the above embodiments.
[0143] The computer-readable storage medium may be an internal storage unit of the aforementioned device, such as a hard disk or memory of the device. The computer-readable storage medium may also be an external storage device of the device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the device. Furthermore, the computer-readable storage medium may also include both an internal storage unit of the device and an external storage device.
[0144] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described equipment, devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0145] The storage medium is a physical, non-transient storage medium, for example, it can be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk, etc., which can store computer programs.
[0146] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0147] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0148] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present application can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0149] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for an electronic device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
[0150] The software tools or components not provided by our company that appear in the embodiments of this application are merely examples and do not represent actual use.
[0151] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A processing method for connecting an intelligent medicine dispensing system with a medical information system, characterized in that: include: Based on the preset RESTful API interface corresponding to the preset intelligent medicine dispensing system, respond to the access request of the preset medical information system, and determine the preset first data format adopted by the preset intelligent medicine dispensing system for data exchange; identifying a preset second data format of input data corresponding to the access request; Based on the preset adapter set and according to the preset first data format and the preset second data format, determining a target preset first adapter; Based on the target preset first adapter, converting the access request into target request data corresponding to the preset first data format; Processing the access request according to the target request data to obtain target response data corresponding to the access request; The target response data is returned to the preset medical information system corresponding to the access request.
2. The processing method for connecting the intelligent medicine dispensing system with the medical information system according to claim 1 is characterized in that: Processing the access request according to the target request data to obtain target response data corresponding to the access request includes: Processing the access request according to the target request data to obtain initial response data corresponding to the access request; Based on the preset adapter set and according to the preset first data format and the preset second data format, determining a target preset second adapter; Based on the target preset second adapter, the initial response data is converted into target response data corresponding to the preset second data format.
3. The processing method for connecting the intelligent medicine dispensing system with the medical information system according to claim 1 or 2 is characterized in that: Based on the target preset first adapter, converting the access request into target request data corresponding to the preset first data format includes: Running the target preset first adapter, wherein the target preset first adapter includes a parameter reading instruction corresponding to a preset configuration parameter; According to the parameter reading instruction and based on a preset adapter parameter configuration file, read the configuration information corresponding to the preset configuration parameters; According to the configuration information, the access request is converted into target request data corresponding to the preset first data format.
4. The processing method for connecting the intelligent medicine dispensing system with the medical information system according to claim 3 is characterized in that: Based on the preset adapter parameter configuration file, before reading the configuration information corresponding to the preset configuration parameters, the method further includes: Based on the preset adapter operation and maintenance center, respond to the configuration operation of the configuration information corresponding to the preset configuration parameters, and obtain the target configuration information corresponding to the configuration operation; According to the target configuration information, the configuration information corresponding to the corresponding preset configuration parameters contained in the preset adapter parameter configuration file is updated.
5. The processing method for connecting the intelligent medicine dispensing system with the medical information system according to claim 4 is characterized in that: According to the target configuration information, updating the configuration information corresponding to the corresponding preset configuration parameters contained in the preset adapter parameter configuration file includes: According to the target configuration information and based on a preset hot update method, the configuration information corresponding to the corresponding preset configuration parameters contained in the preset adapter parameter configuration file is updated.
6. The processing method for connecting the intelligent medicine dispensing system with the medical information system according to claim 1 or 2, characterized in that: Processing the access request according to the target request data to obtain target response data corresponding to the access request includes: Determining a preset request method corresponding to the access request according to the target request data; According to the preset request method, determining the preset endpoint corresponding to the preset RESTful API interface; Determining, according to the preset endpoint, a preset access path for the response data corresponding to the access request; According to the preset access path, corresponding data is acquired to obtain target response data corresponding to the access request.
7. The processing method for connecting the intelligent medicine dispensing system with the medical information system according to claim 1 or 2, characterized in that: Based on the preset adapter set and according to the preset first data format and the preset second data format, before determining the target preset first adapter, the method further includes: Determining whether the preset first data format and the preset second data format are the same data format; In a case where the preset first data format and the preset second data format are not the same data format, determining a target preset first adapter based on a preset adapter set and according to the preset first data format and the preset second data format; In a case where the preset first data format and the preset second data format are the same data format, the access request is directly processed to obtain target response data corresponding to the access request.
8. A processing device for connecting an intelligent medicine dispensing system with a medical information system, characterized in that: include: A first determination unit is used to respond to an access request from a preset medical information system based on a preset RESTful API interface corresponding to the preset intelligent medicine dispensing system, and determine a preset first data format used by the preset intelligent medicine dispensing system for data exchange; A first identification unit, used to identify a preset second data format of input data corresponding to the access request; A second determining unit, configured to determine a target preset first adapter based on a preset adapter set and according to the preset first data format and the preset second data format; A first conversion unit, configured to convert the access request into target request data corresponding to the preset first data format based on the target preset first adapter; A first processing unit, configured to process the access request according to the target request data, and obtain target response data corresponding to the access request; A returning unit is used to return the target response data to the preset medical information system corresponding to the access request.
9. A computer device, characterized in that: The computer device comprises a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program to execute the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 can be implemented.
Citation Information
Patent Citations
A medical system large data stand-alone integration method and device
CN109460433A
Information processing platform, method and device for Internet hospital
CN113782164A
Medical data processing method and medical information system
CN115718775A
Request processing method, intermediate layer, electronic device, storage medium and program product
CN115756525A