CN117609369A - Data synchronization method, device, equipment and storage medium of hospital information system - Google Patents
Data synchronization method, device, equipment and storage medium of hospital information system Download PDFInfo
- Publication number
- CN117609369A CN117609369A CN202311460909.0A CN202311460909A CN117609369A CN 117609369 A CN117609369 A CN 117609369A CN 202311460909 A CN202311460909 A CN 202311460909A CN 117609369 A CN117609369 A CN 117609369A
- Authority
- CN
- China
- Prior art keywords
- data
- target
- interface
- information system
- hospital information
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000004891 communication Methods 0.000 claims abstract description 86
- 230000001360 synchronised effect Effects 0.000 claims abstract description 29
- 238000003032 molecular docking Methods 0.000 claims abstract description 28
- 238000013507 mapping Methods 0.000 claims abstract description 19
- 238000013506 data mapping Methods 0.000 claims abstract description 9
- 238000012360 testing method Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 12
- 238000007405 data analysis Methods 0.000 claims description 7
- 238000004458 analytical method Methods 0.000 abstract description 7
- 238000012216 screening Methods 0.000 abstract description 6
- 238000007726 management method Methods 0.000 description 22
- 230000008569 process Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 9
- 239000003814 drug Substances 0.000 description 8
- 229940079593 drug Drugs 0.000 description 7
- 238000012545 processing Methods 0.000 description 6
- 230000004044 response Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 201000010099 disease Diseases 0.000 description 2
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 2
- 230000036541 health Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000009193 crawling Effects 0.000 description 1
- 238000013497 data interchange Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000007721 medicinal effect Effects 0.000 description 1
- 239000000344 soap Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000001356 surgical procedure Methods 0.000 description 1
- 238000011282 treatment Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H50/00—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
- G16H50/70—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for mining of medical data, e.g. analysing previous cases of other patients
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Medical Informatics (AREA)
- Public Health (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Biomedical Technology (AREA)
- Pathology (AREA)
- Computing Systems (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The application provides a data synchronization method, device, equipment and medium of a hospital information system, wherein the method calls corresponding analysis nodes to inquire, read and analyze target data in a target HIS system according to the communication type of a communication interface of the target HIS system, realizes accurate interface connection and accurate screening of the target data, and improves the accuracy of data screening; according to the preset configuration field, mapping the target data into the service data table to obtain the synchronous data table, and further warehousing and storing the synchronous data table into the target database, and according to different service data, calling the corresponding service data table to perform data configuration and mapping, so that the operation difficulty of interface docking and data mapping is reduced, and the data synchronization efficiency of the HIS system is improved.
Description
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a medium for synchronizing data in a hospital information system.
Background
The coming of the information age enables hospitals to have own information systems, and the HIS (Hospital information System) system enables hospitals to store patient cases and manage hospital resources so as to reasonably allocate medical resources.
On the system, the hospital also has a plurality of third-party systems which are distributed in different departments of the disease areas based on the HIS system of the hospital, so that the intelligent management of medical resources in the ward is facilitated, and the systems are required to be correctly deployed and operated and are required to be consistent with the HIS system of the hospital.
However, the different hospitals or departments adopt HIS systems developed by different HIS manufacturers, and the communication modes are also different, so that when data synchronization is required, the corresponding data communication interfaces are required to be developed according to the communication modes of the HIS systems, so that the HIS systems and the database can be connected in a communication mode. Meanwhile, the data types among different departments are different, the data synchronization modes are also different, and when medical service data of different departments are synchronized, corresponding data interfaces and data service tables are required to be developed according to the service data types. Therefore, the data synchronization operation between different HIS systems is inconvenient, and the dependency on professional developers is high, so that the data synchronization efficiency of the HIS systems is low.
Therefore, how to solve the problem of low data synchronization efficiency of the existing HIS system is a technical problem to be solved.
Disclosure of Invention
The invention mainly aims to provide a data synchronization method, device, equipment and storage medium of a hospital information system, and aims to solve the technical problem that the data synchronization efficiency of the existing HIS system is low.
To achieve the above object, an embodiment of the present invention provides a data synchronization method of a hospital information system, the method including:
acquiring a communication docking interface of a target hospital information system HIS;
accessing the communication docking interface based on a preconfigured data analysis node to inquire target data in the target HIS system;
based on a preset configuration field, mapping and configuring the target data to a service data table of a target database to obtain a synchronous data table;
and storing the synchronous data table to the target database based on a database storage instruction so as to finish data synchronization of the hospital information system.
Optionally, the communication docking interface for acquiring the target hospital information system HIS includes:
acquiring a communication connection mode of the target HIS system and a service data type of the target data;
determining a target interface document based on the communication connection mode of the target HIS system and the service data type, and sending the target interface document to the target HIS system;
and determining the communication docking interface based on interface information fed back by the target HIS system based on the target interface document.
Optionally, the communication connection mode includes at least one of the following: database view, webService, HTTP protocol, ibmmq, rabbitMQ, and HL7.
Optionally, after the obtaining the communication connection mode of the target HIS system and the service data type of the target data, the method further includes:
and determining the target database and the service data table corresponding to the target database based on the service data type of the target data.
Optionally, the mapping and configuring the target data to the service data table of the target database based on a preset configuration field to obtain a synchronous data table includes:
acquiring a preset configuration field in the service data table;
and mapping and configuring the target data into the service data table based on the corresponding relation between the data field in the target data and the preset configuration field to obtain the synchronous data table.
Optionally, the acquiring a preset configuration field in the service data table includes:
configuring a standard data field corresponding to the target data based on the service data type of the service data table to obtain the preset configuration field; or,
and configuring the data field corresponding to each data field name based on the data field name in the target data, and obtaining the preset configuration field.
In order to achieve the above object, an embodiment of the present invention further provides a data synchronization device of a hospital information system, where the data synchronization device of the hospital information system includes:
the interface acquisition module is used for acquiring a communication docking interface of the HIS of the target hospital information system;
the data query module is used for accessing the communication docking interface based on a preconfigured data analysis node to query target data in the target HIS system;
the data mapping module is used for mapping and configuring the target data to a service data table of a target database based on a preset configuration field to obtain a synchronous data table;
and the data synchronization module is used for storing the synchronous data table into the target database based on a database storage instruction so as to complete the data synchronization of the hospital information system.
To achieve the above object, an embodiment of the present invention further provides a computer device, including a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of the data synchronization method of the hospital information system as described above.
To achieve the above object, an embodiment of the present invention further provides a computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the data synchronization method of the hospital information system as described above.
The embodiment of the invention provides a data synchronization method, a device, equipment and a storage medium of a hospital information system, wherein the method comprises the steps of obtaining a communication docking interface of a target hospital information system HIS; accessing the communication docking interface based on a preconfigured data analysis node to inquire target data in the target HIS system; based on a preset configuration field, mapping and configuring the target data to a service data table of a target database to obtain a synchronous data table; and storing the synchronous data table to the target database based on a database storage instruction so as to finish data synchronization of the hospital information system. According to the mode, according to the communication type of the communication interface of the target HIS system, the corresponding analysis node is called to inquire, read and analyze the target data in the target HIS system, so that accurate interface docking and accurate screening of the target data are realized, and the accuracy of data screening is improved; according to the preset configuration field, mapping the target data into the service data table to obtain the synchronous data table, and further warehousing and storing the synchronous data table into the target database, and according to different service data, calling the corresponding service data table to perform data configuration and mapping, so that the operation difficulty of interface docking and data mapping is reduced, and the data synchronization efficiency of the HIS system is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a first embodiment of a data synchronization method of a hospital information system according to the present invention;
fig. 2 is a schematic flow chart of a second embodiment of a data synchronization method of a hospital information system according to the present invention;
FIG. 3 is a flow chart of a multi-interface communication mode of a data synchronization method of a hospital information system according to the present invention;
fig. 4 is a schematic structural diagram of a first embodiment of a data synchronization device of a hospital information system according to the present invention;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a flowchart of a first embodiment of a data synchronization method of a hospital information system provided in the present application.
As shown in fig. 1, the data synchronization method of the hospital information system includes steps S101 to S104.
S101, acquiring a communication docking interface of a target hospital information system HIS;
generally, an HIS (hospital information management system) is used for supporting all informationized tools, information systems, etc. of services such as diagnosis and treatment, management, logistics, etc. The HIS system utilizes modern technical means such as computer software and hardware, network communication and the like to comprehensively manage the people stream, logistics and financial stream of the hospital and departments to which the hospital belongs, and collects, stores, processes, extracts, transmits, gathers and processes the data generated in the medical activity stage to generate various information, so that a comprehensive and automatic management and various service information system is provided for the integral operation of the hospital.
In one embodiment, the HIS uses financial information, patient information, material information, etc. as main data, and provides comprehensive and accurate data for hospital leaders and management staff in time through collecting, storing, transmitting, counting, analyzing, comprehensive inquiring, report outputting and information sharing. And different hospitals and departments respectively have different corresponding business data types and data contents. In addition, the HIS systems applicable to different hospitals or departments may be different, and the different HIS systems have different communication modes and different communication interfaces, so that when communicating with the target HIS system, the information of the communication interface of the target HIS system needs to be acquired.
In an embodiment, the communication interface information includes a communication mode, a communication interface address, and the like.
S102, accessing the communication docking interface based on a preconfigured data analysis node to inquire target data in the target HIS system;
in one embodiment, a data parsing node is configured according to a standard XML parsing specification, and data in a target HIS system is queried and parsed through the parsing node.
XML is known as extensible markup language (XML), which is a common data interchange format. In many applications XML encoded format data is used to construct, store, and transfer data between systems. Data in Json and XML formats, which are now used to interact with servers, are commonly used for web page data crawling and parsing structured documents.
In one embodiment, the parsing node may read the addressable URL resource file and parse it into DOM trees, which are then serialized into strings. Where the URL represents a uniform resource locator (uniformeresource locator), i.e., an address on the Web for a given unique resource. DOM (DocumentObjectModel) is a document object model, is a standard interface specification formulated by W3C, and is a standard API for processing HTML and XML files.
In one embodiment, the DOM provides an access model for the entire document, with the document as a tree structure, each node of the tree representing an HTML tag or text item within the tag. The DOM tree structure accurately describes the interrelationship between tags in an HTML document. The process of converting an HTML or XML document into a DOM tree is called parsing.
S103, mapping and configuring the target data to a service data table of a target database based on a preset configuration field to obtain a synchronous data table;
in an embodiment, a data field in the target data is extracted, and the target data is copied to the service data table according to a corresponding relation between the name of the data field and a preset configuration field to generate a synchronous data table.
Further, based on the service data type of the service data table, configuring a standard data field corresponding to the target data to obtain the preset configuration field; or configuring the data field corresponding to each data field name based on the data field name in the target data, and obtaining the preset configuration field.
In an embodiment, the preset configuration field may be preconfigured according to a service data type of the service data table, for example, if it is determined that the service data is drug data, all field names related to the drug data may be preconfigured to be used as the preset configuration field.
In an embodiment, the preset configuration field may be further configured according to a data field name in the target data, and the data field name in the target data is extracted as the preset configuration field. Such as doctor number, clinic number, department number, patient name, and cabinet number.
Further, a preset configuration field in the service data table is obtained; and mapping and configuring the target data into the service data table based on the corresponding relation between the data field in the target data and the preset configuration field to obtain the synchronous data table.
In an embodiment, according to a corresponding relation between a preset configuration field and a data field in the target data, configuring data content in the target data into a service data table, and generating a synchronous data table.
Or directly searching for the data field name in the target data according to the preset configuration field in the service data table, then reading the data content corresponding to the data field name, filling the data content into the data column corresponding to the data field name in the service data table, and generating the synchronous data table.
And S104, storing the synchronous data table to the target database based on a database warehousing instruction so as to finish data synchronization of the hospital information system.
In an embodiment, after the table data is configured, the synchronous data table is put into the target database for storage, if the putting is successful, the data synchronization is completed, and if the putting is failed, the data synchronization operation needs to be executed again.
Further, based on an interface testing tool, testing whether the communication docking interface is normal in communication; and when the communication interface is normal in communication, the target HIS system is in communication connection with the communication interface.
In one embodiment, the target database may be a SQL database.
In one embodiment, the database warehouse entry test includes a data correctness test (such as whether the data has messy codes, whether the page is added or deleted, whether the database successfully displays corresponding data, etc.), a database structure (such as whether the database configuration file is modified to access the database, whether the data with abnormal structure can be displayed on the page, whether the encrypted field is displayed in ciphertext, etc.), a data synchronization test (such as whether the repeated data is constructed to see whether the database can be deduplicated, whether a fault-tolerant processing mechanism for abnormal data has a history data processing mechanism, whether the value of the sensitive field is subjected to safe encryption processing according to requirements, etc.).
In one embodiment, if the data synchronization test has an exception, normal data may be successfully binned, and the exception data binned failed and stored separately in an exception data table while presented in the page.
The embodiment provides a data synchronization method of a hospital information system, which calls a corresponding analysis node to inquire, read and analyze target data in a target HIS system according to the communication type of a communication interface of the target HIS system, realizes accurate interface connection and accurate screening of the target data, and improves the accuracy of data screening; according to the preset configuration field, mapping the target data into the service data table to obtain the synchronous data table, and further warehousing and storing the synchronous data table into the target database, and according to different service data, calling the corresponding service data table to perform data configuration and mapping, so that the operation difficulty of interface docking and data mapping is reduced, and the data synchronization efficiency of the HIS system is improved.
Referring to fig. 2, fig. 2 is a flowchart of a second embodiment of a data synchronization method of a hospital information system provided in the present application.
In this embodiment, based on the embodiment shown in fig. 1, the step S101 specifically includes:
s201, acquiring a communication connection mode of the target HIS system and a service data type of the target data;
in an embodiment, the communication connection manner includes at least one of the following: database view, webService, HTTP protocol, IBM MQ, rabitmq, HL7.
In an embodiment, as shown in fig. 3, the data communication modes of different HIS systems are different, and the corresponding data interfaces are also different, but the processing flow of data synchronization is the same, the target data in the HIS system is read through the different data communication modes, the target data is configured into a service data table through analysis and field mapping of the target data, and then the table data is stored into a database, so as to realize the data synchronization of the data in the HIS system.
In one embodiment, the database view comprises oracle, mysql, sqlsever, sybase, cache. A database view is a virtual table derived from a table or tables in the database that serves to facilitate user manipulation of data, the contents of which are defined by a query. As with the real table, the view contains a series of columns and rows with names. However, only the definition of the view is stored in the database, and the data in the view is not stored, and the data is stored in the original table. When view query data is used, the database system will fetch the corresponding data from the original table. Thus, the data in the view is dependent on the data in the original table.
The WebService approach, SOAP, uses XML messages to invoke remote methods. The WebSocket protocol is an application layer network protocol based on TCP. It enables browser to server full-duplex (full-duplex) communication-allowing the server to actively send information to the client. WebService uses the HTTP protocol to transfer data and encapsulates the data in XML format (i.e., which method of calling the remote service object is described in XML, what the parameters passed are, and what the returned results of the service object are).
And the post and get method of the HTTP protocol, the movable connection of the resource is designated by the URL, the resource data is acquired from the server, and the HTTP protocol is adopted. HTTP is an application layer that delivers data (HTML files, picture files, query results, etc.) based on the TCP/IP communication protocol. The communication mode is generally that a browser is used as an HTTP client to send a request to an HTTP server, namely a WEB server, through a URL; and the Web server sends response information to the client according to the received request.
IBM MQ is a message queuing technique of IBM; IBM MQ supports the exchange of information between applications, systems, services, and files by sending and receiving message data through a messaging queue.
RabbitMQ, rabbitMQ is an open source AMQP implementation, message queue single item. The AMQP (advanced message queuing protocol) is an application layer protocol specification used by asynchronous message transmission, is designed for message middleware, and a client and the message middleware based on the protocol can transmit messages regardless of message sources and are not limited by conditions such as the client, the message middleware, different development language environments and the like.
The HL7 health information exchange standard is a standardized health information transmission protocol, and is a protocol for electronic transmission between different applications in the medical field. HL7 aggregates the standard formats used by different vendors to design interfaces between application software, allowing individual medical institutions to interact with data between heterogeneous systems. In the HL7 communication protocol, messages (messages) are the basic unit of data exchange. The HL7 message is automatically generated, which automatically translates HL7 standard documents into an HL7 rules database and partial program data structure code. A specific effort to implement a communication standard is to generate data structures, and to implement a constructor (Builder) and a Parser (Parser). The data structure represents the interrelationship of the individual data objects in the standard. The constructor converts the data in the data structure into a data string that can be transmitted in the electronic data exchange medium. And the parser can parse the data string back into the original data structure.
In one embodiment, business data types may be differentiated according to different departments, such as outpatient management, hospitalization management, medical technology management, drug management, financial management, and patient management.
For example, the out-patient management may include functions of registering, scheduling, out-patient doctor workstations, out-patient billing, etc., for managing out-patient business processes of the hospital. Hospitalization management may include functions of case management, bed management, nurse workstations, order management, etc., for managing hospital hospitalization business processes. Medical technology management may include inspection, examination, surgery, pharmacy, etc. functions for managing medical technology business processes in hospitals. Drug management may include functions of drug procurement, inventory management, pharmacy dispensing, etc., for managing the drug business processes of a hospital. Financial management may include functions such as fee settlement, statement statistics, financial analysis, etc., for managing the financial processes of a hospital. Patient management may include functions of patient archive management, appointment registration, doctor's records, etc., for managing hospital to patient relationships and information. Further, the target database and the service data table corresponding to the target database are determined based on the service data type of the target data.
S202, determining a target interface document based on the communication connection mode of the target HIS system and the service data type, and sending the target interface document to the target HIS system;
generally, the interface is a software component or an application program interface for interaction between a Web service and the outside world, and is a set of protocols that define the interaction mode, i.e. how to send requests and receive responses. And the interface document is an illustration of the interface standard definition.
In one embodiment, the interface document is generally divided into interface description, interface address, request method, request parameters, response content, error code, and instance.
Wherein the interface description is used to simply describe the logic and roles of the interface, such as the manner of communication protocols, etc.
The interface address comprises the official url of the interface and the url of the interface test, and the requesting party obtains the response content by calling the interface url. Such as the interface address of the HIS system.
The request method generally comprises two modes, namely a read interface and a write interface, namely a GET and a POST, and the data can be added, deleted and changed through the two modes.
Request parameters are the name and rules of the field name that needs to be requested: which fields are, what the type of field is, whether fields have to be filled, etc. Such as the need to view a department case, including case number, patient name, patient disease name, medication name, etc.
The response content specifies the returned field names and rules. For example, the return field is specified in json et al.
The error code classifies the error code of the interface so as to quickly find the error cause and solve the problem.
An example is the content of the response when actually called, such as the medicine consumption data in a week of a department.
S203, determining the communication docking interface based on interface information fed back by the target HIS system based on the target interface document.
In an embodiment, the interface information may include information such as an interface address, an interface communication mode, an interface type, and a return data type.
In an embodiment, after receiving the target interface document, the target HIS system configures a corresponding interface according to the target interface document and feeds back interface information to the requester, so that the requester can access the HIS system to perform data query and analysis according to the interface information configuration analysis node.
The embodiment of the invention also provides a data synchronization device of the hospital information system.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a first embodiment of a data synchronization device of a hospital information system provided in the present application, where the data synchronization device of the hospital information system is used for executing the foregoing data synchronization method of the hospital information system. The data synchronization device of the hospital information system can be configured in a server.
As shown in fig. 4, the data synchronization apparatus 300 of the hospital information system includes: an interface acquisition module 301, a data query module 302, a data mapping module 303 and a data synchronization module 304.
An interface acquisition module 301, configured to acquire a communication docking interface of the target hospital information system HIS;
the data query module 302 is configured to access the communication interface based on a preconfigured data analysis node, and query target data in the target HIS system;
the data mapping module 303 is configured to map and configure the target data to a service data table of a target database based on a preset configuration field, so as to obtain a synchronous data table;
and the data synchronization module 304 is configured to store the synchronization data table to the target database based on a database entry instruction, so as to complete data synchronization of the hospital information system.
In one embodiment, the interface obtaining module 301 includes:
a communication mode obtaining unit, configured to obtain a communication connection mode of the target HIS system and a service data type of the target data;
an interface document determining unit, configured to determine a target interface document based on the communication connection mode of the target HIS system and the service data type, and send the target interface document to the target HIS system;
and the interface determining unit is used for determining the communication docking interface based on the interface information fed back by the target HIS system based on the target interface document.
In one embodiment, the communication connections include database views, webService, HTTP protocols, ibmmq, rabbitMQ, and HL7.
In an embodiment, the interface obtaining module 301 further includes:
and the database determining unit is used for determining the target database and the service data table corresponding to the target database based on the service data type of the target data.
In one embodiment, the data mapping module 303 includes:
a preset configuration field obtaining unit, configured to obtain a preset configuration field in the service data table;
and the data mapping unit is used for mapping and configuring the target data into the service data table based on the corresponding relation between the data field in the target data and the preset configuration field to obtain the synchronous data table.
In an embodiment, the preset configuration field obtaining unit includes:
a preset configuration field configuration first unit, configured to configure a standard data field corresponding to the target data based on a service data type of the service data table, so as to obtain the preset configuration field;
the preset configuration field configuration second unit is configured to configure the data field corresponding to each data field name based on the data field name in the target data, and obtain the preset configuration field.
In one embodiment, the data synchronization device 300 of the hospital information system further includes a communication test module, including:
the interface test unit is used for testing whether the communication interface is normal or not based on an interface test tool;
and the communication connection unit is used for being in communication connection with the target HIS system through the communication docking interface when the communication of the communication docking interface is normal.
It should be noted that, as those skilled in the art can clearly understand, the specific implementation of the data synchronization device of the hospital information system of the present invention is substantially the same as the embodiments of the data synchronization method of the hospital information system, and the functions and implementation processes thereof are not described in detail herein.
The embodiment of the invention also provides a data synchronization device of the hospital information system.
Referring to fig. 5, fig. 5 is a schematic device configuration diagram of a hardware running environment related to a data synchronization device of a hospital information system according to the present invention.
The data synchronization device of the hospital information system in the embodiment of the invention can be a server, or can be terminal devices such as a PC (Personal Computer ), a tablet computer, a portable computer, a mobile terminal and the like.
As shown in fig. 5, the apparatus may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., wi-Fi interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the apparatus structure shown in fig. 5 is not limiting of the invention and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components.
As shown in fig. 5, an operating system, a network communication module, a user interface module, and a computer program may be included in the memory 1005, which is a type of computer storage medium.
In the device shown in fig. 5, the network interface 1004 is mainly used to connect to a background server and/or a database, and is in data communication with the background server and/or the database; the user interface 1003 is mainly used for connecting a client and communicating data with the client; and the processor 1001 may be used to call up a computer program stored in the memory 1005 and perform the steps of the data synchronization method of the hospital information system of the present invention described above.
The specific implementation mode of the data synchronization device of the hospital information system is basically the same as the above embodiments of the data synchronization method of the hospital information system, and the functions and implementation processes thereof are not described in detail herein.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, the computer program comprises program instructions, and the processor executes the program instructions to realize the data synchronization method of any hospital information system provided by the embodiment of the application.
The computer readable storage medium may be an internal storage unit of the computer device according to the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk provided on the computer device, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash memory card (FlashCard), etc.
The specific implementation manner of the computer readable storage medium of the present invention is basically the same as the above embodiments of the data synchronization method of the hospital information system, and the functions and implementation processes thereof are not described in detail herein.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A method for synchronizing data of a hospital information system, the method comprising:
acquiring a communication docking interface of a target hospital information system HIS;
accessing the communication docking interface based on a preconfigured data analysis node to inquire target data in the target HIS system;
based on a preset configuration field, mapping and configuring the target data to a service data table of a target database to obtain a synchronous data table;
and storing the synchronous data table to the target database based on a database storage instruction so as to finish data synchronization of the hospital information system.
2. The method for synchronizing data of a hospital information system according to claim 1, wherein the acquiring the communication docking interface of the target hospital information system HIS comprises:
acquiring a communication connection mode of the target HIS system and a service data type of the target data;
determining a target interface document based on the communication connection mode of the target HIS system and the service data type, and sending the target interface document to the target HIS system;
and determining the communication docking interface based on interface information fed back by the target HIS system based on the target interface document.
3. The method for synchronizing data of a hospital information system according to claim 2, wherein the communication connection means comprises at least one of: database view, webService, HTTP protocol, ibmmq, rabbitMQ, and HL7.
4. The method for synchronizing data in a hospital information system according to claim 2, wherein after the acquiring the communication connection mode of the target HIS system and the service data type of the target data, the method further comprises:
and determining the target database and the service data table corresponding to the target database based on the service data type of the target data.
5. The method for synchronizing data of a hospital information system according to claim 4, wherein mapping the target data into a service data table of a target database based on a preset configuration field, and obtaining a synchronization data table comprises:
acquiring a preset configuration field in the service data table;
and mapping and configuring the target data into the service data table based on the corresponding relation between the data field in the target data and the preset configuration field to obtain the synchronous data table.
6. The method for synchronizing data of a hospital information system according to claim 5, wherein said obtaining a preset configuration field in said service data table comprises:
configuring a standard data field corresponding to the target data based on the service data type of the service data table to obtain the preset configuration field; or,
and configuring the data field corresponding to each data field name based on the data field name in the target data, and obtaining the preset configuration field.
7. The method for synchronizing data of a hospital information system according to any of the claims 1-6, wherein after the acquiring the communication docking interface of the target hospital information system HIS, further comprises:
based on an interface testing tool, testing whether the communication docking interface is normal in communication;
and when the communication interface is normal in communication, the target HIS system is in communication connection with the communication interface.
8. A data synchronization device of a hospital information system, the data synchronization device of the hospital information system comprising:
the interface acquisition module is used for acquiring a communication docking interface of the HIS of the target hospital information system;
the data query module is used for accessing the communication docking interface based on a preconfigured data analysis node to query target data in the target HIS system;
the data mapping module is used for mapping and configuring the target data to a service data table of a target database based on a preset configuration field to obtain a synchronous data table;
and the data synchronization module is used for storing the synchronous data table into the target database based on a database storage instruction so as to complete the data synchronization of the hospital information system.
9. A computer device, characterized in that it comprises a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when being executed by the processor, realizes the steps of the data synchronization method of the hospital information system according to any of claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program, wherein the computer program, when being executed by a processor, realizes the steps of the data synchronization method of the hospital information system according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311460909.0A CN117609369A (en) | 2023-11-03 | 2023-11-03 | Data synchronization method, device, equipment and storage medium of hospital information system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311460909.0A CN117609369A (en) | 2023-11-03 | 2023-11-03 | Data synchronization method, device, equipment and storage medium of hospital information system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117609369A true CN117609369A (en) | 2024-02-27 |
Family
ID=89947080
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311460909.0A Pending CN117609369A (en) | 2023-11-03 | 2023-11-03 | Data synchronization method, device, equipment and storage medium of hospital information system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117609369A (en) |
-
2023
- 2023-11-03 CN CN202311460909.0A patent/CN117609369A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20090150439A1 (en) | Common extensible data exchange format | |
Genereaux et al. | DICOMweb™: Background and application of the web standard for medical imaging | |
US20050273365A1 (en) | Generalized approach to structured medical reporting | |
Gadde et al. | XCEDE: an extensible schema for biomedical data | |
RU2409858C2 (en) | Connections control system based on messaging | |
US20070044069A1 (en) | Development System with Methodology Providing Optimized Message Parsing and Handling | |
CN109524070B (en) | Data processing method and device, electronic equipment and storage medium | |
CN101131747A (en) | Method, device and system for catching and/or analyzing Web page events at client terminal | |
JP2010508610A (en) | Health integration platform API | |
KR101609716B1 (en) | Method and system for collecting clinical data service based on integrated data hub | |
Byun et al. | Oliot EPCIS: New EPC information service and challenges towards the Internet of Things | |
CN110784509B (en) | Medical information processing method and system and related components | |
Lee et al. | Comparison and analysis of ISO/IEEE 11073, IHE PCD-01, and HL7 FHIR messages for personal health devices | |
KR100932711B1 (en) | Medical Information Integrated Management System and Method | |
Shukla et al. | Blockiot-retel: Blockchain and iot based read-execute-transact-erase-loop environment for integrating personal health data | |
EP1729235A1 (en) | Structured reporting report data manager | |
CN117609369A (en) | Data synchronization method, device, equipment and storage medium of hospital information system | |
JP2002117137A (en) | Examination system | |
US20140101280A1 (en) | Generic serializer framework | |
CN115691773A (en) | Hospital data access method, system, storage medium and electronic equipment | |
CN114334051A (en) | Medical data synchronization method, device, electronic device and storage medium | |
KR20050000735A (en) | Database based system for forming and transmitting Health Level 7 messages in real-time and method thereof | |
CN115269228A (en) | Data adaptive transmission method, device, equipment and medium | |
Chen et al. | Performance evaluation of continuity of care records (CCRs): parsing models in a mobile health management system | |
KR101524181B1 (en) | A system for exchanging clinical information based on lazy response model and the method thereof |
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 |