Information processing method, device and equipment between hospital APP and hospital information system
By acquiring and adapting the scripts of the Internet Hospital APP, and using Groovy scripts and script engines for processing, the problem of uncoordinated information processing between the Internet Hospital application APP and the hospital information system was solved, ensuring smooth and timely information processing and development efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- KANG JIAN INFORMATION TECH (SHENZHEN) CO LTD
- Filing Date
- 2022-11-08
- Publication Date
- 2026-07-31
AI Technical Summary
The lack of smooth information processing between the Internet hospital application (APP) and the hospital information system increases the workload of APP development and affects the efficiency of use.
By obtaining the script of the Internet Hospital APP, we determine whether its data structure and interface protocol are compatible with the script template of the hospital information system. If they are compatible, we import the script template and execute the new format script. The execution result is sent to the hospital information system, where Groovy scripts and script engines are used for processing, and rate limiting is performed to ensure stable data transmission.
It enables smooth and timely information processing between the Internet Hospital application (APP) and the hospital information system, avoiding extensive changes in data structure and interface protocols, reducing the workload of APP development, and improving usage efficiency.
Smart Images

Figure CN115904357B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of digital healthcare technology, specifically to a method, processing device, and electronic device for information processing between a hospital app and a hospital information system. Background Technology
[0002] With the development of internet and digital healthcare technologies, an increasing number of physical hospitals are building internet hospital applications (APPs). Healthcare informatization has developed rapidly in recent years, evolving from the "integrated HIS era" to the "HIS+ era" with numerous vendors' systems, and now to the "Internet+ era of interconnected internal and external systems." Information exchange technologies are also constantly developing and innovating. Currently, there are issues with the smooth processing of script data between internet hospital applications and hospital information systems. Internet hospital applications require significant modifications to integrate with hospital information systems, increasing development workload and impacting usability. Summary of the Invention
[0003] The purpose of this application is to provide a method, processing device, and electronic device for information processing between a hospital app and a hospital information system. This addresses the technical problems of inefficient information processing between the script data of the internet hospital app and the hospital information system, the need for extensive modifications to the internet hospital app to integrate with the hospital information system, increased app development workload, and reduced app usability. To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general description, nor is it intended to identify key / important components or describe the scope of protection of these embodiments. Its sole purpose is to present some concepts in a simple form as a prelude to the detailed description that follows.
[0004] According to one aspect of the embodiments of this application, a method for information processing between a hospital APP and a hospital information system is provided, including:
[0005] Obtain the APP script for the Internet Hospital APP;
[0006] Determine whether the data structure and interface protocol of the APP script are compatible with the data structure and interface protocol of the hospital information system script template;
[0007] If compatible, the data from the APP script is imported into the script template to obtain a new format script for the Internet Hospital APP;
[0008] The new format script is executed, and the execution result is sent to the hospital information system.
[0009] In some embodiments of this application, before executing the new format script, the method further includes:
[0010] The data in the new format script is subjected to flow limiting.
[0011] In some embodiments of this application, the rate limiting processing of the data in the new format script includes:
[0012] Calculate the amount of data transmitted in the new format script;
[0013] Determine whether the transmission volume exceeds a preset threshold;
[0014] If the threshold is exceeded, the transmission of the new format script data will be stopped until the transmission amount is less than or equal to the preset threshold, at which point the new format script data will be retransmitted.
[0015] In some embodiments of this application, the method further includes:
[0016] If the data structure and interface protocol of the APP script are not fully compatible with the data structure and interface protocol of the hospital information system script template, a reminder message will be issued indicating that the APP script is not compatible with the script template.
[0017] In some embodiments of this application, executing the new format script includes:
[0018] Determine the business logic in the new format script;
[0019] The script engine executes the content of the new format script according to the business logic to obtain the execution result.
[0020] In some embodiments of this application, determining the business logic in the new format script includes:
[0021] Parse the new format script to determine whether the business logic in the script content of the new format script is a synchronous call method or an asynchronous call method.
[0022] In some embodiments of this application, the new format script is a Groovy script, and the script engine is a script engine used to execute Groovy scripts.
[0023] According to another aspect of the embodiments of this application, an information processing apparatus for communication between a hospital APP and a hospital information system is provided, comprising:
[0024] The acquisition module is used to acquire the APP script of the Internet Hospital APP;
[0025] The determination module is used to determine whether the data structure and interface protocol of the APP script are compatible with the data structure and interface protocol of the hospital information system script template.
[0026] The import module is used to import the data of the APP script into the script template if it is compatible, so as to obtain the new format script of the Internet Hospital APP.
[0027] The execution module is used to execute the new format script and send the execution result to the hospital information system.
[0028] According to another aspect of the embodiments of this application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the information processing method between the hospital APP and the hospital information system described above.
[0029] According to another aspect of the embodiments of this application, a computer-readable storage medium is provided, on which a computer program is stored, which is executed by a processor to implement the information processing method between the hospital APP and the hospital information system of any of the above claims.
[0030] One aspect of the technical solution provided in this application embodiment may include the following beneficial effects:
[0031] The information processing method between a hospital APP and a hospital information system provided in this application embodiment obtains the APP script of the Internet hospital APP, determines whether the data structure and interface protocol of the APP script are compatible with the data structure and interface protocol of the hospital information system script template, and if compatible, imports the data of the APP script into the script template to obtain a new format script of the Internet hospital APP, executes the new format script, and sends the execution result to the hospital information system. This ensures smooth and timely information processing between the Internet hospital application APP and the hospital information system, avoids a large number of changes to the data structure and interface protocol of the Internet hospital application APP, and solves the technical problems of poor information processing between the Internet hospital application APP and the hospital information system in the prior art, as well as the need for a large number of changes to the Internet hospital application APP to access the hospital information system, which increases the workload of APP development and affects the efficiency of the Internet hospital application APP.
[0032] Other features and advantages of this application will be set forth in the following description and will be apparent in part from the description, or some features and advantages may be inferred from the description or determined without doubt, or may be learned by practicing embodiments of this application. Attached Figure Description
[0033] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0034] Figure 1 This illustration shows an application environment diagram of the information processing method between a hospital APP and a hospital information system according to an embodiment of this application.
[0035] Figure 2 A flowchart illustrating an embodiment of this application shows a method for information processing between a hospital app and a hospital information system.
[0036] Figure 3 A schematic diagram of an example circuit breaker scheme of this application is shown.
[0037] Figure 4 A block diagram of an information processing device between a hospital APP and a hospital information system according to an embodiment of this application is shown.
[0038] Figure 5 A block diagram of an electronic device structure according to an embodiment of this application is shown.
[0039] Figure 6 A schematic diagram of a computer-readable storage medium according to an embodiment of this application is shown.
[0040] The purpose, functional features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0041] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0042] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have a meaning consistent with their meaning in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined as herein.
[0043] HIS (Hospital Information System) refers to an information system that uses modern means such as computer hardware and software technology and network communication technology to comprehensively manage the flow of people, materials, and finances of a hospital and its departments. It collects, stores, processes, extracts, transmits, and summarizes data generated at each stage of medical activities, and processes it into various types of information, thereby providing comprehensive automated management and various services for the overall operation of the hospital.
[0044] Hospital information systems collect, store, process, extract, transmit, summarize, and process data generated at each stage of medical activities to produce various types of information, thereby providing a comprehensive and automated management and various services for the overall operation of the hospital. Among the related technologies, the information processing between Internet hospital APP and hospital information system is not smooth and urgently needs to be resolved.
[0045] The inventors of this application have discovered that, in related technologies, internet hospital companies often face the following problems regarding information exchange between hospital information systems: 1. The physical hospital information system and network stability are poor, failing to provide reliable and stable services. 2. There are numerous hospital information system vendors offering different data exchange protocols and data structures, leading to complexity in interface integration. 3. Launching each internet hospital requires significant investment of personnel and time in writing server-side code, and frequent version releases are common.
[0046] The above issues often lead to a significant investment of personnel and time in information exchange between internet companies and physical hospitals, as well as frequent releases due to subsequent modifications.
[0047] To address the problem of inefficient information processing between internet hospital apps and hospital information systems in related technologies, this application provides a method for information processing between a hospital app and a hospital information system. For example... Figure 1 As shown in the embodiments of this application, the information processing method between a hospital APP and a hospital information system can be applied to, for example, Figure 1In this application environment, the client communicates with the server via a network. The Internet Hospital App can be developed on the client side or installed on the client side. The server can obtain the App script from the client, determine whether the data structure and interface protocol of the App script are compatible with the data structure and interface protocol of the hospital information system script template, and if compatible, import the App script data into the script template to obtain a new format script for the Internet Hospital App. The server executes the new format script and sends the execution result to the hospital information system, ensuring smooth and timely information processing between the Internet Hospital App and the hospital information system. This avoids significant changes to the data structure and interface protocol of the Internet Hospital App, solving the technical problems of poor information processing between the Internet Hospital App and the hospital information system in the prior art, as well as the need for extensive modifications to the Internet Hospital App to access the hospital information system, which increases the workload of App development and affects the efficiency of the Internet Hospital App. The client can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The server can be implemented using a separate server or a server cluster consisting of multiple servers. The following detailed description of specific embodiments further illustrates this invention.
[0048] like Figure 2 As shown, one embodiment of this application provides an information processing method between a hospital APP and a hospital information system, including:
[0049] S10. Obtain the APP script of the Internet Hospital APP.
[0050] For example, a resultful interface can be called to obtain relevant information data of the physical hospital, and a Groovy script can be called and sent based on the hospital code + business code.
[0051] Specifically, the APP script of the Internet hospital application includes various business service data from multiple applications, such as consultation business data, prescription business data, cloud pharmacy business data, and payment business data.
[0052] S20. Determine whether the data structure and interface protocol of the APP script are compatible with the data structure and interface protocol of the hospital information system script template.
[0053] Every computer programming language has its own data structures. JavaScript's data structures include identifiers, constants, variables, and reserved words. The data structures and interface protocols of the APP script are extracted from the script. The APP script's data structure is compared with the data structure of the hospital information system script template to obtain the first comparison result; the APP script's interface protocol is compared with the hospital information system script template's interface protocol to obtain the second comparison result. If the first comparison result shows they are the same (i.e., the APP script's data structure is completely identical to the hospital information system script template's data structure), and the second comparison result shows they are the same (i.e., the APP script's interface protocol is completely identical to the hospital information system script template's interface protocol), then compatibility is determined. The APP script can be, for example, a Groovy script.
[0054] For example, the script template data includes multiple configuration items, such as online consultation, prescription services, cloud pharmacy services, and payment services. If the APP script data also includes multiple configuration items for online consultation, prescription services, cloud pharmacy services, and payment services, then the two have the same data structure. If both use the same interface protocol, then the second comparison result is determined to be identical.
[0055] S30. If compatible, import the data from the APP script into the script template to obtain the new format script for the Internet Hospital APP.
[0056] Using the example above, if the interface protocol and data structure of the script template in the hospital information system are the same as those of the Groovy script, then business data can be requested directly through the general script template; otherwise, a corresponding Groovy script should be written to handle the data flow separately.
[0057] Groovy is an agile development language based on the JVM (Java Virtual Machine). It combines many powerful features of Python, Ruby, and Smalltalk. Groovy code integrates well with Java code and can be used to extend existing code. Due to its JVM-based nature, Groovy can also use libraries written in other non-Java languages. Groovy is an alternative language to the JVM (meaning it allows Java programming on the Java platform), and its usage is largely the same as using Java code. It is particularly well-suited for use with Spring's dynamic language support and was designed with Java integration in mind, making interoperability between Groovy and Java code very easy.
[0058] S40. Execute the new format script and send the execution results to the hospital information system.
[0059] Using the example above, execute the Groovy script and send the execution result to the hospital information system.
[0060] Specifically, step S40 can be executed through a script engine. A script engine is an interpreter for a computer programming language, such as ASP or PHP used for building websites. Its function is to interpret and execute the user's program text, translating it into machine code that the computer can execute, and completing a series of functions.
[0061] If a new internet hospital app is launched, developers do not need to write server-side code or release a new version. They only need to write the corresponding Groovy information processing HIS data interface and the corresponding protocol, and then configure the script template.
[0062] Using the example above, execute the Groovy script and send the execution result to the hospital information system.
[0063] For example, executing a new format script includes: determining the business logic in the new format script; executing the content of the new format script according to the business logic through a script engine to obtain an execution result.
[0064] Business logic refers to the process of implementing specific functions. Specifically, determining the business logic in the new format script includes: parsing the new format script and determining whether the business logic in the script content of the new format script is called synchronously or asynchronously.
[0065] Specifically, the system locates the calling function within the new script format and determines whether the corresponding business logic is invoked synchronously or asynchronously based on the function's type. If the calling function is synchronous, the corresponding business logic is invoked synchronously; if it is asynchronous, the corresponding business logic is invoked asynchronously. Each scripting language has corresponding identifiers for synchronous and asynchronous calling functions; identifying these identifiers determines whether a function is synchronous or asynchronous.
[0066] Synchronous invocation is the most basic invocation method. It's a way to invoke a function. When a function is invoked synchronously, an event directly triggers the function, the function computes, runs the function, and waits for a response. Once the function call is complete, the function computes return the result directly. For example, if a method in object b directly calls a method in object a, the program will wait for object a's method to finish executing and return a result before continuing.
[0067] Asynchronous invocation is a mode that does not block the calling thread while waiting for the task result. This mode provides parallel processing of multiple independent tasks and retrieves the result through callbacks. In asynchronous invocation, when a method in object b calls a method in object a, the program does not need to wait for the method in object a to return a result value and can continue to the next step.
[0068] For example, the new format script can be a Groovy script, and the script engine can be a script engine used to execute the Groovy script.
[0069] In some embodiments, prior to step S40, the method further includes:
[0070] S30': Perform flow limiting on the data of the new format script.
[0071] Specifically, from the hospital's perspective, traffic monitoring is conducted on the interfaces in the hospital information system to promptly disconnect problematic interfaces, preventing the disruption of online services and thus affecting information exchange between other interconnected hospitals and physical hospitals.
[0072] The system's information processing and conversion capabilities can provide clients with a consistent data structure and request protocol, addressing the different data structures and protocols offered by various HIS vendors and avoiding the need for multiple front-end interface connections.
[0073] Developers accessing the new internet hospital's server only need to write relevant Groovy code to process data streams, eliminating the need for server-side releases and achieving information exchange with physical hospitals with zero releases.
[0074] If the data structure of the hospital information system is modified, the system only needs to follow the modification script to process the changed data and quickly meet the change requirements.
[0075] From the hospital's perspective, traffic monitoring should be conducted on the interfaces in the hospital information system to promptly disconnect problematic interfaces, avoid disrupting online services, and prevent impacting information exchange between other normal internet hospitals and physical hospitals, thus ensuring the reliable and stable operation of the internet hospital enterprise system.
[0076] In some implementations, uniform rate limiting of data in the new format script may include:
[0077] Calculate the amount of data transmitted in the new format script; determine whether the amount of data transmitted exceeds a preset threshold. If it exceeds the preset threshold, stop the transmission of the new format script data to achieve circuit breaking, and retransmit the new format script data when the amount of data transmitted is less than or equal to the preset threshold; if it does not exceed the preset threshold, continue the transmission of the new format script data.
[0078] From the hospital's perspective, traffic monitoring should be conducted on the interfaces in the hospital information system to promptly disconnect problematic interfaces, avoid disrupting online services, and prevent impacting information exchange between other normal internet hospitals and physical hospitals, thus ensuring the reliable and stable operation of the internet hospital enterprise system.
[0079] In a specific example, the following was used: Figure 3 The circuit breaker scheme shown includes parameter configuration, circuit breaker process, and scheduled task statistics. The parameter configuration includes whether to enable the circuit breaker, whether the circuit breaker is open, request threshold, sliding window, automatic recovery time, and error rate. The circuit breaker process uses the Dubbo service and includes steps such as sending HTTP or HTTPS requests, receiving HTTP or HTTPS responses, and receiving and processing the HIS response results.
[0080] In some embodiments, the method may further include:
[0081] S50. If the data structure and interface protocol of the APP script are not fully compatible with the data structure and interface protocol of the hospital information system script template, a reminder message will be issued indicating that the APP script and the script template are incompatible.
[0082] By sending reminder messages, staff are alerted that the APP script and script template are incompatible, thus prompting them to make adjustments to resolve the incompatibility issue.
[0083] This system addresses the issue of different data structures and protocols offered by various HIS vendors by providing a unified data structure and request protocol to clients through its information processing and conversion capabilities, thus avoiding the need for multiple front-end interface integrations. Developers accessing the new internet hospital server only need to write relevant Groovy information processing data streams, eliminating the need for server-side releases and achieving zero-release information exchange with the physical hospital. If the hospital information system's data structure changes, the system can quickly adapt to the changes by simply following the change scripts.
[0084] The information processing method between a hospital APP and a hospital information system provided in this application embodiment obtains the APP script of the Internet hospital APP, determines whether the data structure and interface protocol of the APP script are compatible with the data structure and interface protocol of the hospital information system script template, and if compatible, imports the data of the APP script into the script template to obtain a new format script of the Internet hospital APP, executes the new format script, and sends the execution result to the hospital information system. This ensures smooth and timely information processing between the Internet hospital application APP and the hospital information system, avoids a large number of changes to the data structure and interface protocol of the Internet hospital application APP, and solves the technical problems of poor information processing between the Internet hospital application APP and the hospital information system in the prior art, as well as the need for a large number of changes to the Internet hospital application APP to access the hospital information system, which increases the workload of APP development and affects the efficiency of the Internet hospital application APP.
[0085] like Figure 4 As shown, another embodiment of this application provides an information processing device for communication between a hospital app and a hospital information system, comprising:
[0086] The acquisition module is used to acquire the APP script of the Internet Hospital APP;
[0087] The determination module is used to determine whether the data structure and interface protocol of the APP script are compatible with the data structure and interface protocol of the hospital information system script template.
[0088] The import module is used to import the data of the APP script into the script template if it is compatible, so as to obtain the new format script of the Internet Hospital APP.
[0089] The execution module is used to execute the new format script and send the execution result to the hospital information system.
[0090] In some embodiments, the information processing device between the hospital APP and the hospital information system provided in this embodiment further includes a flow limiting module, which is used to perform flow limiting processing on the data of the new format script before executing the new format script.
[0091] In some implementations, the rate limiting module includes:
[0092] A calculation unit is used to calculate the amount of data transmitted in the new format script;
[0093] A judgment unit is used to determine whether the transmission amount exceeds a preset threshold.
[0094] A transmission control unit is used to stop the transmission of the new format script data if the transmission amount exceeds the preset threshold, and to resume the transmission of the new format script data when the transmission amount is less than or equal to the preset threshold.
[0095] In some embodiments, the information processing device between the hospital APP and the hospital information system provided in this embodiment further includes:
[0096] The reminder module is used to issue a reminder message indicating that the APP script is not compatible with the script template if the data structure and interface protocol of the APP script are not fully compatible with the data structure and interface protocol of the hospital information system script template.
[0097] In some implementations, executing the new format script includes: determining the business logic in the new format script; and executing the content of the new format script according to the business logic using a script engine to obtain an execution result.
[0098] In some implementations, determining the business logic in the new format script includes:
[0099] Parse the new format script to determine whether the business logic in the script content of the new format script is a synchronous call method or an asynchronous call method.
[0100] In some implementations, the new format script is a Groovy script, and the script engine is a script engine used to execute Groovy scripts.
[0101] The information processing device between a hospital APP and a hospital information system provided in this application embodiment can obtain the APP script of the Internet hospital APP, determine whether the data structure and interface protocol of the APP script are compatible with the data structure and interface protocol of the hospital information system script template, and if compatible, import the data of the APP script into the script template to obtain a new format script of the Internet hospital APP, execute the new format script, and send the execution result to the hospital information system. This ensures smooth and timely information processing between the Internet hospital application APP and the hospital information system, avoids a large number of changes to the data structure and interface protocol of the Internet hospital application APP, and solves the technical problems of poor information processing between the Internet hospital application APP and the hospital information system in the prior art, as well as the need for a large number of changes to the Internet hospital application APP to access the hospital information system, which increases the workload of APP development and affects the efficiency of the Internet hospital application APP.
[0102] Another embodiment of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor executes the program to implement the information processing method between the hospital APP and the hospital information system according to any of the above embodiments.
[0103] like Figure 5 As shown, the electronic device 10 may include: a processor 100, a memory 101, a bus 102 and a communication interface 103. The processor 100, the communication interface 103 and the memory 101 are connected through the bus 102. The memory 101 stores a computer program that can run on the processor 100. When the processor 100 runs the computer program, it executes the method provided in any of the foregoing embodiments of this application.
[0104] The memory 101 may include high-speed random access memory (RAM), and may also include non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 103 (which can be wired or wireless), such as the Internet, wide area network, local area network, metropolitan area network, etc.
[0105] Bus 102 can be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. Memory 101 is used to store programs. After receiving an execution instruction, processor 100 executes the program. The methods disclosed in any of the foregoing embodiments of this application can be applied to processor 100, or implemented by processor 100.
[0106] Processor 100 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 100 or by instructions in software form. The processor 100 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), an Off-the-shelf Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 101. The processor 100 reads the information in memory 101 and, in conjunction with its hardware, completes the steps of the above method.
[0107] The electronic devices and methods provided in the embodiments of this application are based on the same inventive concept and have the same beneficial effects as the methods they employ, operate, or implement.
[0108] Another embodiment of this application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the information processing method between the hospital APP and the hospital information system described in any of the above embodiments.
[0109] refer to Figure 6 As shown, the computer-readable storage medium is an optical disc 20, on which a computer program (i.e., a program product) is stored. When the computer program is run by a processor, it executes the methods provided in any of the aforementioned embodiments.
[0110] It should be noted that examples of computer-readable storage media may also include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical and magnetic storage media, which will not be elaborated here.
[0111] The computer-readable storage medium provided in the above embodiments of this application and the method provided in the embodiments of this application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the applications stored therein.
[0112] It should be noted that:
[0113] The term "module" is not intended to be limited to a specific physical form. Depending on the application, a module can be implemented as hardware, firmware, software, and / or a combination thereof. Furthermore, different modules may share common components or even be implemented using the same components. Clear boundaries may or may not exist between different modules.
[0114] The algorithms and displays provided herein are not inherently related to any particular computer, virtual device, or other equipment. Various general-purpose devices can also be used with the examples based on this. The required structure for constructing such devices is obvious from the above description. Furthermore, this application is not directed to any particular programming language. It should be understood that the content of this application described herein can be implemented using various programming languages, and the above description of specific languages is for the purpose of disclosing the best mode of implementation of this application.
[0115] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0116] The embodiments described above merely illustrate the implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for information processing between a hospital APP and a hospital information system, characterized in that, include: Obtain the APP script for the Internet Hospital APP; Determine whether the data structure and interface protocol of the APP script are compatible with the data structure and interface protocol of the hospital information system script template; If compatible, the data from the APP script is imported into the script template to obtain a new format script for the Internet Hospital APP; The APP script includes various business service data; The various business service data include consultation business data, prescription business data, cloud pharmacy business data, and payment business data; the script template data includes various configuration items, including consultation business, prescription business, cloud pharmacy business, and payment business. Execute the new format script and send the execution result to the hospital information system; Executing the new format script includes: finding the calling function from the new format script, and determining whether the corresponding business logic is a synchronous or asynchronous calling method based on the type of the calling function; The script engine executes the content of the new format script according to the synchronous or asynchronous calling method to obtain the execution result.
2. The method according to claim 1, characterized in that, Before executing the new format script, the method further includes: The data in the new format script is subjected to flow limiting.
3. The method according to claim 2, characterized in that, The rate limiting process for the data in the new format script includes: Calculate the amount of data transmitted in the new format script; Determine whether the transmission volume exceeds a preset threshold; If the threshold is exceeded, the transmission of the new format script data will be stopped until the transmission amount is less than or equal to the preset threshold, at which point the new format script data will be retransmitted.
4. The method according to claim 1, characterized in that, The method further includes: If the data structure and interface protocol of the APP script are not fully compatible with the data structure and interface protocol of the hospital information system script template, a reminder message will be issued indicating that the APP script is not compatible with the script template.
5. The method according to claim 1, characterized in that, The new format script is a Groovy script, and the script engine is a script engine used to execute Groovy scripts.
6. An information processing device for communication between a hospital app and a hospital information system, characterized in that, include: The acquisition module is used to acquire the APP script of the Internet Hospital APP; The determination module is used to determine whether the data structure and interface protocol of the APP script are compatible with the data structure and interface protocol of the hospital information system script template. The import module is used to import the data of the APP script into the script template if it is compatible, so as to obtain the new format script of the Internet Hospital APP. The APP script includes various business service data; The various business service data include consultation business data, prescription business data, cloud pharmacy business data, and payment business data; the script template data includes various configuration items, including consultation business, prescription business, cloud pharmacy business, and payment business. The execution module is used to execute the new format script and send the execution result to the hospital information system; Executing the new format script includes: finding the calling function from the new format script, and determining whether the corresponding business logic is a synchronous or asynchronous calling method based on the type of the calling function; The script engine executes the content of the new format script according to the synchronous or asynchronous calling method to obtain the execution result.
7. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the information processing method between the hospital APP and the hospital information system as described in any one of claims 1-5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the information processing method between the hospital APP and the hospital information system as described in any one of claims 1-5.