CN111475449A - HIS system and external program interface adaptation method, system, interface adapter and comprehensive medical system - Google Patents

HIS system and external program interface adaptation method, system, interface adapter and comprehensive medical system Download PDF

Info

Publication number
CN111475449A
CN111475449A CN202010146952.XA CN202010146952A CN111475449A CN 111475449 A CN111475449 A CN 111475449A CN 202010146952 A CN202010146952 A CN 202010146952A CN 111475449 A CN111475449 A CN 111475449A
Authority
CN
China
Prior art keywords
parameters
external program
interface
parameter
converting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202010146952.XA
Other languages
Chinese (zh)
Inventor
高强
莫仁超
张虎
曹兴会
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Financial Information Technology Co Ltd
Original Assignee
Inspur Financial Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Financial Information Technology Co Ltd filed Critical Inspur Financial Information Technology Co Ltd
Priority to CN202010146952.XA priority Critical patent/CN111475449A/en
Publication of CN111475449A publication Critical patent/CN111475449A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4009Coupling between buses with data restructuring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices

Abstract

The invention discloses an interface adaptation method, an interface adaptation system, an interface adapter and a comprehensive medical system for an HIS (hardware in the system), wherein an external program and the HIS are firstly converted into an intermediate file in a standard format, then the calling format of the external program and the HIS is judged through a configuration file, and then the standard format file is converted into corresponding input parameters, so that the development relationship between the external program and the HIS can be decoupled, the HIS with different external programs and different platforms can be conveniently docked, and the later maintenance and updating are also facilitated.

Description

HIS system and external program interface adaptation method, system, interface adapter and comprehensive medical system
Technical Field
The invention relates to the technical field of hospital HIS systems, in particular to a method and a system for adapting an HIS system and an external program interface, an interface adapter and a comprehensive medical system.
Background
The hospital HIS system, as a basic system of the whole hospital, needs to be interconnected with a plurality of external programs and systems, such as self-service devices, mobile APPs, electronic medical records, wechat public numbers, and the like, and the interface definition mode and the interface parameter type naming of the external access system are different, but the interface functions that different programs may need are very different, so that different programs develop different interfaces and need to be repeatedly operated, and the calling of each program interface is not uniform. Different HIS systems are generally used by different hospitals, the HIS system interface definition modes of different manufacturers are different, and the common modes include database direct connection, HTTP access, WebService, Socket and the like. And when other external systems access the HIS system, different calling methods are needed to be used according to different HIS system interface modes and the access parameters are matched. Therefore, matching between different external programs and different HIS interfaces generates a large amount of workload, and if one interface changes at a later stage, multiple parties need to be docked and modified, and system upgrading and maintenance are not facilitated.
Disclosure of Invention
The invention aims to overcome the defects and provide an HIS system and external program interface adapting method which is self-adaptive to the connection between HIS systems of different hospitals and different external programs.
The technical scheme adopted by the invention is as follows:
the invention provides a method for adapting an HIS system and an external program interface, which comprises the following steps:
receiving an incoming parameter called by an external program;
converting the incoming parameters of the external program into first standard format parameters;
judging the calling format of the HIS system interface;
converting the first standard format parameter into a format parameter required by an HIS system interface;
calling an HIS interface and transmitting the parameters to an HIS system;
receiving parameters returned by the HIS system;
converting the parameters returned by the HIS system into second standard format parameters;
judging an interface calling form of an external program;
converting the second standard format parameter into a format parameter required by an interface of an external program;
and calling an external interface and returning the parameters to the external program.
Specifically, the standard format parameters include JSON format parameters, Table format parameters, XM L format parameters, and HTM L format parameters.
Specifically, in the process of calling the HIS system interface, the method converts the incoming parameters of the external program into JSON format parameters; and in the process of calling the external program interface, converting the parameters returned by the HIS system into the parameters in the Table format.
Specifically, the external program of the invention comprises automatic equipment, mobile terminal software, a Web page, a WeChat public number and a WeChat applet.
Specifically, the access mode database of the HIS system is directly connected, HTTP is accessed, WebService and Socket are accessed.
The invention also provides a HIS system and external program interface adaptation system, which is characterized in that: the system comprises a parameter configuration module, a parameter configuration module and a parameter judgment module; wherein:
in the process of data request to the HIS system by the external program:
the parameter configuration module is used for converting the parameters of different formats transmitted by the external program into the parameters of a first standard format;
the parameter judgment module is used for judging the interface calling mode of the HIS system and transmitting the judgment result to the parameter configuration module;
the parameter configuration module is used for converting standard format parameters into parameters required by the HIS system;
in the return of external program data by the HIS system:
the parameter configuration module is used for converting the parameters returned by the HIS system into second standard format parameters;
the parameter judgment module is used for judging the interface calling mode of an external program and transmitting the judgment result to the parameter configuration module;
the parameter configuration module is used for converting the standard format parameters into parameters required by an external program.
As a further optimization, the parameter name, the variable type, the key function and the called function of the different external programs and the HIS systems for converting different parameter formats into standard parameters are defined in the parameter configuration module, the variable name, the variable type, the key function and the called function of the different external access programs and the HIS systems for converting the standard parameter formats into different parameter formats are defined in the parameter configuration module, and the access modes of the different external programs and the access modes of the different HIS systems are defined in the parameter judgment module.
Specifically, in the process of requesting data from the HIS system by the external program, the parameter configuration module is used for converting parameters with different formats transmitted by the external program into JSON format parameters;
in the return of external program data by the HIS system: the parameter configuration module is used for converting the parameters with different formats transmitted by the external program into the parameters with the Table format.
The invention also provides an HIS system and external program interface adapter, which comprises a processor and a readable storage medium, wherein one or more programs are stored in the readable storage medium, and the one or more programs can be executed by the processor to realize the HIS system out-of-domain program interface adaptation method.
The invention also provides an internet-based comprehensive medical system, which comprises a plurality of external programs of the same/different platforms, a plurality of HIS systems of the same/different platforms and the interface adapter; wherein:
the external program is used for interfacing with user operation requirements, sending a user request to the interface adapter and receiving data returned by the interface adapter;
the interface adapter is used for receiving request data of an external program and converting the request data into a data format corresponding to the HIS system; the system comprises a HIS system, a data processing system and a data processing system, wherein the HIS system is used for receiving data returned by the HIS system and converting the returned data into a data format corresponding to an external program;
and the HIS system is used for receiving the data of the interface adapter and returning the corresponding data.
The invention has the following advantages:
1. the interface adaptation method and the system provided by the invention can decouple the development relationship between the external program and the HIS system by converting the external program and the HIS system into the intermediate file with the standard format, judging the calling format through the configuration file, and converting the standard format file into the corresponding input parameters, thereby facilitating the butt joint of different external programs and HIS systems of different platforms and facilitating the later maintenance and update;
2. the interface adapter provided by the invention is applied between the external program and the HIS system, decouples the development relationship between the external program and the HIS system, and facilitates the butt joint between the external program and the HIS system, so that the requirement for the HIS system is not required to be met intentionally during the development process of the external program, and the development cost and communication requirement of the external program are reduced;
3. the comprehensive medical system provided by the invention utilizes the interface adapter to connect the external program and the HIS system, decouples the development relationship between the external program and the HIS system, facilitates the establishment and later expansion of the system and facilitates the later maintenance of the system.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
The invention is further described below with reference to the accompanying drawings:
FIG. 1 is a flow chart of an interface adaptation method according to the present invention;
fig. 2 is a system composition diagram of the internet integrated medical system of the present invention.
Detailed Description
The present invention is further described in the following with reference to the drawings and the specific embodiments so that those skilled in the art can better understand the present invention and can implement the present invention, but the embodiments are not to be construed as limiting the present invention, and the embodiments and the technical features of the embodiments can be combined with each other without conflict.
It is to be understood that the terms first, second, and the like in the description of the embodiments of the invention are used for distinguishing between the descriptions and not necessarily for describing a sequential or chronological order. The "plurality" in the embodiment of the present invention means two or more.
The term "and/or" in the embodiment of the present invention is only an association relationship describing an associated object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, B exists alone, and A and B exist at the same time. In addition, the character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship.
Example one
The embodiment provides an HIS system interface calling method, which comprises the following steps:
receiving an incoming parameter of an external program;
converting the incoming parameters of the external program into standard format parameters, and preferably, converting the incoming parameters into JSON format parameters;
judging the calling mode of the HIS system interface; in the step, the judgment is carried out through a configuration file, and the configuration file judges the calling form of the HIS system interface through an HIS system interface label
And converting the standard format parameters into a format required by an HIS system interface according to an HIS system calling mode.
Example two
Based on the above-mentioned HIS system interface calling manner, this embodiment provides a method for adapting an interface between an HIS system and an external program, as shown in fig. 1, including the following steps:
receiving an incoming parameter called by an external program; the external program can be automatic equipment, mobile terminal software, a Web webpage, a WeChat public number and a WeChat applet;
converting the incoming parameters of the external program into standard format parameters, wherein the general standard format parameters comprise JSON format parameters, Table format parameters, XM L format parameters and HTM L format parameters, and the step preferentially selects to convert the incoming parameters of the external program into the JSON format parameters;
judging the calling format of the HIS system interface; the access mode database of the HIS system is directly connected, HTTP is accessed, WebService and Socket
Converting the JSON format parameter into a format parameter required by an HIS system interface;
calling an HIS interface and transmitting the parameters to an HIS system;
receiving parameters returned by the HIS system;
converting parameters returned by the HIS system into Table format parameters;
judging an interface calling form of an external program;
converting the Table format parameter into a format parameter required by an interface of an external program;
and calling an external interface and returning the parameters to the external program.
Third embodiment
The embodiment provides an HIS system and external program interface adaptation system, which comprises a parameter configuration module, a parameter configuration module and a parameter judgment module; wherein:
in the process of data request to the HIS system by the external program:
the parameter configuration module is used for converting parameters of different formats transmitted by an external program into standard format parameters and converting the standard format parameters into JSON format parameters preferentially; defining variable names, variable types, calling functions and called functions of different external program parameters converted into JSON format parameters in the parameter configuration module;
the parameter judgment module is used for judging the interface calling mode of the HIS system and transmitting the judgment result to the parameter configuration module; the parameter judgment module defines access modes of different external programs;
the parameter configuration module is used for converting JSON format parameters into parameters required by the HIS system; the parameter configuration module defines variable names, variable types, calling functions and called functions for converting the JSON parameter format into parameter formats of different HIS systems;
in the return of external program data by the HIS system:
the parameter configuration module is used for converting the parameters returned by the HIS system into standard format parameters and preferentially and selectively converting the standard format parameters into Table format parameters; the parameter configuration module also defines the variable name, variable type, calling function and called function of different HIS system converted into Table format parameter
The parameter judgment module is used for judging the interface calling mode of an external program and transmitting the judgment result to the parameter configuration module, and the parameter judgment module defines the access modes of different HIS systems;
the parameter configuration module is used for converting the Table format parameters into parameters required by the external program, and defines variable names, variable types, calling functions and called functions for converting the Table format parameters into different external access program parameter formats.
Example four
The present embodiment provides an HIS system and external program interface adapter, which includes a readable storage medium, where one or more programs are stored in the readable storage medium, and the one or more programs can be executed by a processor, so as to implement the method for adapting an external program interface of an HIS system as described in the second embodiment.
EXAMPLE five
Based on the fourth embodiment, the present embodiment provides an internet-based integrated medical platform, as shown in fig. 2, including a plurality of external programs on the same/different platforms, a plurality of HIS systems on the same/different platforms, and an interface adapter as described in the fourth embodiment, wherein:
the external program is used for interfacing with user operation requirements, sending a user request to the interface adapter and receiving data returned by the interface adapter;
the interface adapter is used for receiving request data of an external program and converting the request data into a data format corresponding to the HIS system; the system comprises a HIS system, a data processing system and a data processing system, wherein the HIS system is used for receiving data returned by the HIS system and converting the returned data into a data format corresponding to an external program;
and the HIS system is used for receiving the data of the interface adapter and returning the corresponding data.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.

Claims (10)

1. A HIS system and external program interface adaptation method is characterized in that: the method comprises the following steps:
receiving an incoming parameter called by an external program;
converting the incoming parameters of the external program into first standard format parameters;
judging the calling format of the HIS system interface;
converting the first standard format parameter into a format parameter required by an HIS system interface;
calling an HIS interface and transmitting the parameters to an HIS system;
receiving parameters returned by the HIS system;
converting the parameters returned by the HIS system into second standard format parameters;
judging an interface calling form of an external program;
converting the second standard format parameter into a format parameter required by an interface of an external program;
and calling an external interface and returning the parameters to the external program.
2. The adaptation method according to claim 1, wherein the standard format parameters include JSON format parameters, Table format parameters, XM L format parameters, and HTM L format parameters.
3. The adaptation method according to claim 2, characterized in that: in the process of calling the HIS system interface, converting the incoming parameters of the external program into JSON format parameters; and in the process of calling the external program interface, converting the parameters returned by the HIS system into the parameters in the Table format.
4. The adaptation method according to claim 1, characterized in that: the external programs comprise automatic equipment, mobile terminal software, Web pages, WeChat public numbers and WeChat applets.
5. The adaptation method according to claim 1, characterized in that: the access mode of the HIS system comprises database direct connection, HTTP access, WebService and Socket.
6. A HIS system and external program interface adaptation system is characterized in that: the system comprises a parameter configuration module, a parameter configuration module and a parameter judgment module; wherein:
in the process of data request to the HIS system by the external program:
the parameter configuration module is used for converting the parameters of different formats transmitted by the external program into the parameters of a first standard format;
the parameter judgment module is used for judging the interface calling mode of the HIS system and transmitting the judgment result to the parameter configuration module;
the parameter configuration module is used for converting standard format parameters into parameters required by the HIS system;
in the return of external program data by the HIS system:
the parameter configuration module is used for converting the parameters returned by the HIS system into second standard format parameters;
the parameter judgment module is used for judging the interface calling mode of an external program and transmitting the judgment result to the parameter configuration module;
the parameter configuration module is used for converting the standard format parameters into parameters required by an external program.
7. The interface adaptation system of claim 6, wherein: the parameter configuration module defines variable names, variable types, calling functions and called functions of different external programs and HIS systems for converting different parameter formats into standard parameters, the parameter configuration module defines variable names, variable types, calling functions and called functions of different external access programs and HIS systems for converting standard parameter formats into different parameter formats, and the parameter judgment module defines access modes of different external programs and access modes of different HIS systems.
8. The interface adaptation system of claim 7, wherein: in the process of requesting the HIS system data from the external program, the parameter of different formats transmitted by the external program is converted into a JSON format parameter by the parameter access configuration module;
in the return of external program data by the HIS system: the parameter configuration module is used for converting the parameters with different formats transmitted by the external program into the parameters with the Table format.
9. An HIS system and external program interface adapter comprising a processor and a readable storage medium, wherein: the readable storage medium has stored therein one or more programs, which are executable by a processor, to implement the HIS system out-of-domain program interface adaptation method as recited in claims 1-5.
10. An integrated medical system based on the internet is characterized in that: an external program comprising a plurality of identical/different platforms, an HIS system comprising a plurality of identical/different platforms, and an interface adaptor according to claim 9; wherein:
the external program is used for interfacing with user operation requirements, sending a user request to the interface adapter and receiving data returned by the interface adapter;
the interface adapter is used for receiving request data of an external program and converting the request data into a data format corresponding to the HIS system; the system comprises a HIS system, a data processing system and a data processing system, wherein the HIS system is used for receiving data returned by the HIS system and converting the returned data into a data format corresponding to an external program;
and the HIS system is used for receiving the data of the interface adapter and returning the corresponding data.
CN202010146952.XA 2020-03-05 2020-03-05 HIS system and external program interface adaptation method, system, interface adapter and comprehensive medical system Withdrawn CN111475449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010146952.XA CN111475449A (en) 2020-03-05 2020-03-05 HIS system and external program interface adaptation method, system, interface adapter and comprehensive medical system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010146952.XA CN111475449A (en) 2020-03-05 2020-03-05 HIS system and external program interface adaptation method, system, interface adapter and comprehensive medical system

Publications (1)

Publication Number Publication Date
CN111475449A true CN111475449A (en) 2020-07-31

Family

ID=71748071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010146952.XA Withdrawn CN111475449A (en) 2020-03-05 2020-03-05 HIS system and external program interface adaptation method, system, interface adapter and comprehensive medical system

Country Status (1)

Country Link
CN (1) CN111475449A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113782164A (en) * 2021-03-29 2021-12-10 北京京东拓先科技有限公司 Information processing platform, method and device for internet hospital
CN117573762A (en) * 2024-01-15 2024-02-20 杭州数云信息技术有限公司 Data processing method and device of data connection platform, storage medium and server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113782164A (en) * 2021-03-29 2021-12-10 北京京东拓先科技有限公司 Information processing platform, method and device for internet hospital
CN117573762A (en) * 2024-01-15 2024-02-20 杭州数云信息技术有限公司 Data processing method and device of data connection platform, storage medium and server
CN117573762B (en) * 2024-01-15 2024-04-16 杭州数云信息技术有限公司 Data processing method and device of data connection platform, storage medium and server

Similar Documents

Publication Publication Date Title
CN105808365A (en) HIS (Hospital Information System) interface calling method and HIS interface configuration method
CN110351325B (en) Data processing method and related equipment
KR100880536B1 (en) Open framework system for heterogeneous computing and service integration
CN111475449A (en) HIS system and external program interface adaptation method, system, interface adapter and comprehensive medical system
CN110489440A (en) Data query method and apparatus
US7925788B2 (en) Systems and methods for universal protocol for case management systems
CN114500481A (en) Service request processing method, system and device
CN102404356B (en) Long-distance function call transmission adapter and data reading method thereof
CN111045928A (en) Interface data testing method, device, terminal and storage medium
JP5648273B2 (en) Storage system, access management device, data transfer method and program
EP1715653B1 (en) A system and method for mediating within a network
CN113342845A (en) Data synchronization method, computer device and readable storage medium
US6823390B1 (en) Method of setting up data communication with a communication means and furthermore program modules and means therefor
KR20050083406A (en) Server-client system and its method for the same
CN113778560B (en) Method, system, equipment and medium for custom development and execution of hospital treatment process
KR101547346B1 (en) Synchronous/asynchronous communication for business integration, interoperation of dynamic professional management system
CN117135011B (en) Method for adapting gateway to multiple cloud platforms based on MQTT communication and gateway system
CN113347284B (en) Resource access method, resource access device, electronic equipment and storage medium
CN108111612B (en) Online registration method and device for book self-service equipment
CN116088852A (en) Function registration method and device, electronic equipment and storage medium
CN114388117A (en) Data transmission method and device of medical platform
JP2002041293A (en) Program control method and program control system
KR20240016709A (en) Device management method and apparatus using smart repeater
CN116107655A (en) Data docking method, device and system based on SaaS platform
CN117880394A (en) Communication control method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20200731

WW01 Invention patent application withdrawn after publication