CN106484825B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN106484825B
CN106484825B CN201610859973.XA CN201610859973A CN106484825B CN 106484825 B CN106484825 B CN 106484825B CN 201610859973 A CN201610859973 A CN 201610859973A CN 106484825 B CN106484825 B CN 106484825B
Authority
CN
China
Prior art keywords
data
data item
xsd
template
service program
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.)
Active
Application number
CN201610859973.XA
Other languages
Chinese (zh)
Other versions
CN106484825A (en
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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201610859973.XA priority Critical patent/CN106484825B/en
Publication of CN106484825A publication Critical patent/CN106484825A/en
Application granted granted Critical
Publication of CN106484825B publication Critical patent/CN106484825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/93Document management systems

Abstract

The application relates to a data processing method and a device, wherein the method comprises the following steps: establishing a document structure description XSD data item model according to a pre-established data template; establishing a mapping relation between the XSD data item model and a cross index comparison table; the cross index comparison table stores the corresponding relation between the first data set and the second data set and is used for realizing format conversion of the first data set and the second data set; and generating a constructed data service program and an analyzed data service program according to the XSD data item model and the cross index comparison table, wherein the constructed data service program is used for responding to the calling of the constructed data service program to construct data, and the analyzed data service program is used for responding to the calling of the constructed data service program to analyze data. The method and the device can reduce data development and interaction cost, and are high in universality.

Description

Data processing method and device
Technical Field
The present application relates to the field of medical technology, and in particular, to a data processing method and apparatus.
Background
With the development of medical technology, in order to facilitate data interaction between medical information systems, data exchange formats of the medical information systems need to be unified. HL7 (full name Health Level 7) is a standard Health information transmission protocol, and is an electronic transmission protocol between different applications in the medical field. HL7 formulates medical data information transmission protocol and standard, standardizes clinical medicine and management information format, reduces the cost of medical information system interconnection, and improves the data sharing degree among medical information systems.
There is no uniform method and product in the prior art for constructing and parsing HL7 messages. Each medical manufacturer is localized according to the examples given by the hospital or standard manufacturer. However, each manufacturer often adopts a local data standard when constructing a message, so that the constructed message does not conform to the national data set standard, and inconvenience is brought to information interaction of each medical system. Therefore, there is a need in the art for a universal HL7 message construction and parsing method to reduce the data interaction cost between systems.
Disclosure of Invention
In order to solve the existing technical problems, the present application is expected to provide a data processing method and apparatus, which can generate a simple data model according to a pre-established data template to provide data construction and analysis services, have strong universality, and reduce data development and interaction costs.
according to a first aspect of embodiments of the present application, there is provided a data processing method, including: establishing a document structure description XSD data item model according to a pre-established data template; establishing a mapping relation between the XSD data item model and a cross index comparison table; the cross index comparison table stores the corresponding relation between the first data set and the second data set and is used for realizing format conversion of the first data set and the second data set; and generating a constructed data service program and an analyzed data service program according to the XSD data item model and the cross index comparison table, wherein the constructed data service program is used for responding to the calling of the constructed data service program to construct data, and the analyzed data service program is used for responding to the calling of the constructed data service program to analyze data.
Optionally, the data template is a hygiene information exchange standard HL7 message template or an HL7 clinical document structure CDA document template.
Optionally, the establishing a document structure description XSD data item model according to a pre-established data template includes: acquiring a positioning path of each data item contained in a data template and a data type of the data item according to the pre-established data template; acquiring an identifier of a first data set corresponding to the data type of the data item according to the data type of the data item, and storing the corresponding relation between the data item and the identifier; and establishing an XSD data item model according to the positioning path of each data item contained in the data template and the data type of the data item, and associating the positioning path of each data item of the XSD data item model with the positioning path of each data item of the data template.
optionally, the method further comprises: responding to a request for calling the data service construction program, acquiring an XSD data item model corresponding to the data type and the cross index comparison table according to the data type corresponding to the request, and generating an HL7 message or a CDA document; wherein the HL7 message or CDA document is data that conforms to a first data set standard.
Optionally, the method further comprises: responding to a request for calling the analysis data service program, acquiring an XSD data item model corresponding to the data type and the cross index comparison table according to the data type corresponding to the request, and analyzing an HL7 message or a CDA document to generate data meeting a second data set standard; wherein the HL7 message or CDA document is data that conforms to a first data set standard.
Optionally, the method further comprises: and converting the XSD data item model into a hypertext markup language (HTML) code to generate a data construction page.
optionally, the method further comprises: in response to a request to construct a page for the data, the user input data is converted to an HL7 message or a CDA document.
according to a second aspect of embodiments of the present application, there is provided a data processing apparatus, the apparatus including: the XSD data item model establishing module is used for establishing a document structure description XSD data item model according to a pre-established data template; the mapping relation establishing module is used for establishing the mapping relation between the XSD data item model and the cross index comparison table; the cross index comparison table stores the corresponding relation between the first data set and the second data set and is used for realizing format conversion of the first data set and the second data set; and the service program generating module is used for generating a constructed data service program and an analyzed data service program according to the XSD data item model and the cross index comparison table, wherein the constructed data service program is used for responding to the calling of the constructed data service program to construct data, and the analyzed data service program is used for responding to the calling of the constructed data service program to analyze data.
optionally, the XSD data item model building module is specifically configured to build an XSD data item model according to a pre-established hygiene information exchange standard HL7 message template or an HL7 clinical document structure CDA document template.
optionally, the XSD data item model building module specifically includes: the acquisition submodule is used for acquiring the positioning path of each data item contained in the data template and the data type of the data item according to a pre-established data template; the matching submodule is used for acquiring the identifier of a first data set corresponding to the data type of the data item according to the data type of the data item and storing the corresponding relation between the data item and the identifier; and the establishing sub-module is used for establishing an XSD data item model according to the positioning path of each data item contained in the data template and the data type of the data item, and associating the positioning path of each data item of the XSD data item model with the positioning path of each data item of the data template.
Optionally, the apparatus further comprises: the construction module is used for responding to a request for calling the constructed data service program, acquiring an XSD data item model corresponding to the data type and the cross index comparison table according to the data type corresponding to the request, and generating an HL7 message or a CDA document; wherein the HL7 message or CDA document is data that conforms to a first data set standard.
Optionally, the apparatus further comprises: the analysis module is used for responding to a request for calling the analysis data service program, acquiring an XSD data item model corresponding to the data type and the cross index comparison table according to the data type corresponding to the request, and analyzing an HL7 message or a CDA document to generate data meeting a second data set standard; wherein the HL7 message or CDA document is data that conforms to a first data set standard.
Optionally, the apparatus further comprises: and the page generation module is used for converting the XSD data item model into a hypertext markup language (HTML) code and generating a data construction page.
Optionally, the apparatus further comprises: a conversion module to convert user input data to an HL7 message or a CDA document in response to a request to construct a page for the data.
According to a third aspect of embodiments herein there is provided apparatus for data processing comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by the one or more processors to include instructions for: establishing a document structure description XSD data item model according to a pre-established data template; establishing a mapping relation between the XSD data item model and a cross index comparison table; the cross index comparison table stores the corresponding relation between the first data set and the second data set and is used for realizing format conversion of the first data set and the second data set; and generating a constructed data service program and an analyzed data service program according to the XSD data item model and the cross index comparison table, wherein the constructed data service program is used for responding to the calling of the constructed data service program to construct data, and the analyzed data service program is used for responding to the calling of the constructed data service program to analyze data.
optionally, the processor is specifically further configured to execute the one or more programs including instructions for: the XSD data item model is built according to a pre-established hygiene information exchange standard HL7 message template or an HL7 clinical document structure CDA document template.
Optionally, the processor is specifically further configured to execute the one or more programs including instructions for: acquiring a positioning path of each data item contained in a data template and a data type of the data item according to the pre-established data template; acquiring an identifier of a first data set corresponding to the data type of the data item according to the data type of the data item, and storing the corresponding relation between the data item and the identifier; and establishing an XSD data item model according to the positioning path of each data item contained in the data template and the data type of the data item, and associating the positioning path of each data item of the XSD data item model with the positioning path of each data item of the data template.
optionally, the processor is specifically further configured to execute the one or more programs including instructions for: responding to a request for calling the data service construction program, acquiring an XSD data item model corresponding to the data type and the cross index comparison table according to the data type corresponding to the request, and generating an HL7 message or a CDA document; wherein the HL7 message or CDA document is data that conforms to a first data set standard.
optionally, the processor is specifically further configured to execute the one or more programs including instructions for: responding to a request for calling the analysis data service program, acquiring an XSD data item model corresponding to the data type and the cross index comparison table according to the data type corresponding to the request, and analyzing an HL7 message or a CDA document to generate data meeting a second data set standard; wherein the HL7 message or CDA document is data that conforms to a first data set standard.
Optionally, the processor is specifically further configured to execute the one or more programs including instructions for: and converting the XSD data item model into a hypertext markup language (HTML) code to generate a data construction page.
Optionally, the processor is specifically further configured to execute the one or more programs including instructions for: in response to a request to construct a page for the data, the user input data is converted to an HL7 message or a CDA document.
According to the data processing method and device provided by the embodiment of the application, an XSD data item model can be established according to a pre-established data template, a mapping relation between the data item model and a cross index comparison table is established, and a constructed data service program and an analysis data service program can be generated according to the XSD data item model and the cross index comparison table, so that data can be constructed in response to a request for calling the constructed data service program, for example, HL7 information or CDA documents can be constructed; and parsing data, such as parsing an HL7 message or a CDA document, in response to invoking the build data service. According to the method and the device, the XSD data item model can be established according to the pre-established data template, the data construction and data analysis service is generated by using the XSD data item model, and the data which is not in the national standard can be converted into the national standard data when the data is constructed by using the cross index comparison table, so that the HL7 message or the CDA document which meets the national standard can be automatically generated. Similarly, when the data is analyzed, the national standard data can be converted into the non-national standard data, and the data conversion and analysis in various formats are convenient. Therefore, the method provided by the application provides a general HL7 message or CDA document construction and analysis method, and development and data interaction cost is reduced.
drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
fig. 1 is a flowchart of a data processing method according to an embodiment of the present application;
FIG. 2 is a flow chart of a data processing method according to another embodiment of the present application;
Fig. 3 is a schematic diagram of a data processing apparatus according to an embodiment of the present application;
Fig. 4 is a block diagram of a data processing apparatus according to another embodiment of the present application.
Detailed Description
The data processing method and the data processing device can generate a simple data model according to a pre-established data template so as to provide data construction and data analysis services, have strong universality and reduce data development and interaction cost. .
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
as shown in fig. 1, a flowchart of a data processing method according to an embodiment of the present application may specifically include:
s101, establishing a document structure description XSD data item model according to a pre-established data template.
in particular, a data template, specifically, an HL7 message template and/or an HL7 clinical document structure CDA document template, may be pre-established. In the HL7 communication protocol, various types of HL7 messages and CDA documents are defined. Since the structures of HL7 messages and CDA documents are very complex, a message template can be established for each type of HL7 messages, and a document template can be established for each type of CDA documents. In specific implementation, various types of message templates and document templates can be established according to the medical data processing scene corresponding to each hospital information system. For example, for the examination order, an examination order message template may be established according to each data item included in the examination order and the data type of the data item; for the hospitalization registration message, a hospitalization registration message template can be established according to each data item included in the hospitalization registration message and the data type of the data item; for the inspection report document, an inspection report document template or the like may be created according to each data item included in the inspection report document and the data type of the data item.
When the XSD data item model is established, the method can be specifically realized through the following steps:
S101A, according to the pre-established data template, obtaining the positioning path of each data item contained in the data template and the data type of the data item.
For example, according to a pre-established HL7 message template, all data items contained in the template are recursively searched, and the location path of the data item and the data type of the data item are saved. For another example, all data items contained in the CDA document template may be recursively searched according to a pre-established CDA document template, and a location path of the data item and a data type of the data item are saved. By way of example, data items that may be included with a medical record summary document may include, for example, a document serial number, a document generation date, a town and country resident health record number, a patient identification document number, a patient name, a gender code, a medical organization code, and the like. The data type of the data item may include, for example, integer, numeric, character, boolean, and the like. For example, for data item gender, the type is numerical, with a value of 0 or 1, where 0 represents gender as female and 1 represents gender as male. As another example, for a data item date, the type is numeric, with a special format. Because the structure of HL7 messages and CDA documents is relatively complex, the nodes are nested in a layer level. Therefore, it is desirable to preserve the location path of a data item in order to obtain the location where the data item is stored. For example, in an XML (chinese name is extensible markup language, english name) file, each data node is represented by a tag, and the location path of a data item can be described as how to obtain the position of a child node under a layer-by-layer tag.
S101B, acquiring the identifier of the first data set corresponding to the data type of the data item according to the data type of the data item, and storing the corresponding relation between the data item and the identifier.
It is noted that the first data set may be a national standard data set. In order to enable the constructed HL7 message and the CDA document to conform to the national standard data set, when constructing the data item model, the data type of each data item may be matched with the identifier of the national standard data set, and the corresponding relationship between the data item and the identifier of the national standard data set may be established. For example, for a treatment category, the identification of the corresponding national standard data set may be CV0600225, the identification of the corresponding national standard data set may be CV0755, and the like. According to the corresponding relation, the data items can be automatically matched with the identifications of the corresponding national standard data sets, so that each data item can accord with the values of the national standard data sets. It should be noted that, since the location path of each data item is acquired in S101A, the correspondence relationship among the data item, the location path, and the national standard data set identifier may be further stored. According to the corresponding relation, the identification of the national standard data set matched with the data item can be directly found, and whether the value of the data item accords with the value range of the national standard data set or not is further judged.
S101C, establishing an XSD data item model according to the positioning path of each data item contained in the data template and the data type of the data item, and associating the positioning path of each data item of the XSD data item model with the positioning path of each data item of the data template.
It should be noted that XSD (chinese name is document structure Definition, english name is XML schema Definition) is generally used to describe the structure of an XML document, and generally defines the content of elements, attributes of the elements, data types of the elements and attributes, default values of the elements and attributes, and the like appearing in the document. In the concrete implementation of the application, each data item contained in the established XSD data item model has a corresponding relation with the data item of the data template. Therefore, the positioning path of each data item of the XSD data item model is associated with the positioning path of each data item of the data template, so that the positioning of each data item can be realized.
s102, establishing a mapping relation between the XSD data item model and a cross index comparison table.
In specific implementation, the cross index comparison table stores the corresponding relationship between the first data set and the second data set, and is used for implementing format conversion of the first data set and the second data set. For example, when the first data set is a national standard data set and the second data set is a non-national standard data set, the cross-index lookup table stores the corresponding relationship between the national standard data set and the non-national standard data set. For example, for the sex of the data item, 0 is used for female and 1 is used for male in the national standard data set. And in the non-national standard data set, F (corresponding to Female) can be used for representing Female, and M (corresponding to Male) can be used for representing Male. In the cross-index lookup table, this mapping relationship is preserved. And then, establishing a mapping relation between the XSD data item model and the cross index comparison table. In this way, for each data item of the XSD data item model, a corresponding lookup table can be found, and the conversion of the data between the first data set and the second data set can be realized. For example, in constructing an HL7 message or a CDA document, data entered by a user may be converted into data that conforms to a first data set, such as a national standard data set. In parsing an HL7 message or CDA document, a standard HL7 message or CDA document may be converted into data that conforms to a second data set, such as a non-national standard data set. For example, using the cross-reference table, the data F input by the user at the data item "gender" may be converted into a numerical value of 0 meeting the national standard, and the data M input by the user at the data item "gender" may be converted into a numerical value of 1 meeting the national standard.
S103, generating a constructed data service program and an analyzed data service program according to the XSD data item model and the cross index comparison table.
in the present application, a build data service and a parse data service may be generated from the XSD data item model and the cross-index lookup table to build data in response to a request to invoke the build data service, such as building an HL7 message or a CDA document; and parsing data, such as parsing an HL7 message or a CDA document, in response to invoking the build data service. According to the method and the device, the XSD data item model can be established according to the pre-established data template, the data construction and data analysis service is generated by using the XSD data item model, and the data which is not in the national standard can be converted into the national standard data when the data is constructed by using the cross index comparison table, so that the HL7 message or the CDA document which meets the national standard can be automatically generated. Similarly, when the data is analyzed, the national standard data can be converted into the non-national standard data, and the data conversion and analysis in various formats are convenient. Therefore, the method provided by the application provides a general HL7 message or CDA document construction and analysis method, and development and data interaction cost is reduced.
In specific implementation, a built data service program and an analysis data service program can be generated by using the XSD data item model and the cross index comparison table based on an SOA (service oriented architecture). Among them, the SOA is a component model that relates different functional units of an application (called services) through well-defined interfaces and contracts between these services. The interface is defined in a neutral manner, and is independent of a hardware platform, an operating system and a programming language for realizing the service, so that various services can interact in a uniform and universal manner. In the application, the built XSD data item model is used for generating the building service and the analyzing service respectively. It should be noted that, when the built XSD data item model is used to generate the build service and the parsing service, the WSDL file may be built according to the built XSD file, and then a program for receiving WSDL submission may be generated. The association relationship between the positioning path of each data item of the XSD data item model and the positioning path of each data item of the data template is stored before, so that the data submitted by the WSDL can be processed. Specifically, the creation and construction service and the analysis service generated by using the established XSD data item model can also be implemented by using a method in the prior art, and are not described herein again.
in some embodiments, reference is made to fig. 2, which is a schematic illustration of another embodiment of the present application. After S103, the following steps may be further included:
and S104, responding to the request for calling the constructed data service program, and generating an HL7 message or a CDA document.
It should be noted that, for each message type or document type, an XSD data item model is established in one-to-one correspondence with the message type or document type. Therefore, when a request for calling a build data service program is received, an XSD data item model corresponding to a data type corresponding to the request and the cross index comparison table can be obtained according to the data type, and an HL7 message or a CDA document is generated. For example, in response to the medication order calling request, the medication order XSD data item model corresponding to the request and the corresponding cross-index lookup table may be obtained, and a medication order message may be generated. In specific implementation, a service interface may be provided to receive a request from a user, and invoke a corresponding message model or document model and a corresponding rule base (including, for example, a cross-index comparison table, a correspondence relationship of data item location paths, etc.) according to the type of the request to generate a corresponding message or document. It should be noted that the present application may convert data input by a user into data conforming to a first data set, for example, a national standard data set, when constructing an HL7 message or a CDA document.
And S105, responding to the request for calling the analysis data service program, analyzing the HL7 message or the CDA document to generate data meeting the second data set standard.
corresponding to S104, the present application may also parse HL7 messages or CDA documents. Due to the fact that the HL7 message or the CDA document is complex in structure and poor in readability, the method and the device can respond to a request for calling the analysis data service program, obtain an XSD data item model corresponding to the data type and the cross index comparison table according to the data type corresponding to the request, analyze the HL7 message or the CDA document to generate data meeting the standard of a second data set, and for example, convert the standard HL7 message or the CDA document into data meeting a non-national standard data set. For example, the value 0 in the gender of the data item can be converted into F and the value 1 can be converted into M according to the cross-index lookup table. Alternatively, the value 0 in the sex of the data item is converted into a female, and the value 1 is converted into a male, etc.
In some implementations, a data build page can be provided when building an HL7 message or a CDA document. For example, the XSD data item model may be converted to hypertext markup language (HTML) code to generate a data build page. The user input data is then converted into an HL7 message or a CDA document in response to a request to construct a page for the data. For example, for a medication order message, a build page may be provided for the user to input the values of the corresponding data items, and then convert the values of the data items input by the user into values conforming to the national standard data set to generate an HL7 message. In this way, an intuitive user interface is provided, and the use by a user is convenient.
in the present application, each message template and document template created are managed in a unified manner. Once the structure and the data items of the message or the document are changed, the template is uniformly updated by the system, and the method is simple, convenient and easy to maintain. In addition, each message template and the document template can be in a self-defined split hierarchical structure relationship, a simple data model can be generated according to the templates, the simple data model is matched and corresponds to a national data set automatically, and data items can be automatically converted in national standards and non-national standards during construction or analysis, so that the use by users is facilitated, and the cost of developing and interacting data by the users is reduced.
The above is a detailed description of the data processing method provided in the embodiments of the present application, and the following is a detailed description of the data processing apparatus provided in the present application.
Fig. 3 is a schematic diagram of a data processing apparatus according to an embodiment of the present application.
A data processing apparatus 300, said apparatus 300 comprising:
An XSD data item model building module 301, configured to build a document structure description XSD data item model according to a pre-built data template.
A mapping relationship establishing module 302, configured to establish a mapping relationship between the XSD data item model and a cross index comparison table; the cross index comparison table stores the corresponding relation between the first data set and the second data set and is used for realizing format conversion of the first data set and the second data set.
A service program generating module 303, configured to generate a constructed data service program and an parsed data service program according to the XSD data item model and the cross index lookup table, where the constructed data service program is configured to construct data in response to invoking the constructed data service program, and the parsed data service program is configured to parse data in response to invoking the constructed data service program.
In some embodiments, the XSD data item model building module is specifically configured to build an XSD data item model according to a pre-established hygiene information exchange standard HL7 message template or an HL7 clinical document structure CDA document template.
in some embodiments, the XSD data item model building module specifically includes: the acquisition submodule is used for acquiring the positioning path of each data item contained in the data template and the data type of the data item according to a pre-established data template; the matching submodule is used for acquiring the identifier of a first data set corresponding to the data type of the data item according to the data type of the data item and storing the corresponding relation between the data item and the identifier; and the establishing sub-module is used for establishing an XSD data item model according to the positioning path of each data item contained in the data template and the data type of the data item, and associating the positioning path of each data item of the XSD data item model with the positioning path of each data item of the data template.
in some embodiments, the apparatus further comprises: the construction module is used for responding to a request for calling the constructed data service program, acquiring an XSD data item model corresponding to the data type and the cross index comparison table according to the data type corresponding to the request, and generating an HL7 message or a CDA document; wherein the HL7 message or CDA document is data that conforms to a first data set standard.
In some embodiments, the apparatus further comprises: the analysis module is used for responding to a request for calling the analysis data service program, acquiring an XSD data item model corresponding to the data type and the cross index comparison table according to the data type corresponding to the request, and analyzing an HL7 message or a CDA document to generate data meeting a second data set standard; wherein the HL7 message or CDA document is data that conforms to a first data set standard.
In some embodiments, the apparatus further comprises: and the page generation module is used for converting the XSD data item model into a hypertext markup language (HTML) code and generating a data construction page.
In some embodiments, the apparatus further comprises: a conversion module to convert user input data to an HL7 message or a CDA document in response to a request to construct a page for the data.
the functions of the modules may correspond to the processing steps of the data processing method described in detail in fig. 1, and are not described herein again.
referring to fig. 4, a block diagram of a data processing apparatus according to another embodiment of the present application is shown. The method comprises the following steps: at least one processor 401 (e.g., CPU), memory 402, and at least one communication bus 403 for enabling communications among the devices. The processor 401 is adapted to execute executable modules, such as computer programs, stored in the memory 402. The Memory 402 may comprise a high-speed Random Access Memory (RAM) and may further comprise a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. One or more programs are stored in the memory and configured to be executed by the one or more processors 401 include instructions for:
establishing a document structure description XSD data item model according to a pre-established data template; establishing a mapping relation between the XSD data item model and a cross index comparison table; the cross index comparison table stores the corresponding relation between the first data set and the second data set and is used for realizing format conversion of the first data set and the second data set; and generating a constructed data service program and an analyzed data service program according to the XSD data item model and the cross index comparison table, wherein the constructed data service program is used for responding to the calling of the constructed data service program to construct data, and the analyzed data service program is used for responding to the calling of the constructed data service program to analyze data.
In some embodiments, processor 401 is specifically configured to execute the one or more programs including instructions for:
the XSD data item model is built according to a pre-established hygiene information exchange standard HL7 message template or an HL7 clinical document structure CDA document template.
in some embodiments, processor 401 is specifically configured to execute the one or more programs including instructions for:
Acquiring a positioning path of each data item contained in a data template and a data type of the data item according to the pre-established data template; acquiring an identifier of a first data set corresponding to the data type of the data item according to the data type of the data item, and storing the corresponding relation between the data item and the identifier; and establishing an XSD data item model according to the positioning path of each data item contained in the data template and the data type of the data item, and associating the positioning path of each data item of the XSD data item model with the positioning path of each data item of the data template.
In some embodiments, processor 401 is specifically configured to execute the one or more programs including instructions for:
Responding to a request for calling the data service construction program, acquiring an XSD data item model corresponding to the data type and the cross index comparison table according to the data type corresponding to the request, and generating an HL7 message or a CDA document; wherein the HL7 message or CDA document is data that conforms to a first data set standard.
In some embodiments, processor 401 is specifically configured to execute the one or more programs including instructions for:
Responding to a request for calling the analysis data service program, acquiring an XSD data item model corresponding to the data type and the cross index comparison table according to the data type corresponding to the request, and analyzing an HL7 message or a CDA document to generate data meeting a second data set standard; wherein the HL7 message or CDA document is data that conforms to a first data set standard.
In some embodiments, processor 401 is specifically configured to execute the one or more programs including instructions for: and converting the XSD data item model into a hypertext markup language (HTML) code to generate a data construction page.
in some embodiments, processor 401 is specifically configured to execute the one or more programs including instructions for: in response to a request to construct a page for the data, the user input data is converted to an HL7 message or a CDA document.
Those of skill would further appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
the above-mentioned embodiments, objects, technical solutions and advantages of the present application are described in further detail, it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present application, and are not intended to limit the scope of the present application, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present application should be included in the scope of the present application.

Claims (14)

1. A method of data processing, the method comprising:
Establishing a document structure description XSD data item model according to a pre-established data template; establishing a mapping relation between the XSD data item model and a cross index comparison table; the cross index comparison table stores the corresponding relation between the first data set and the second data set and is used for realizing format conversion of the first data set and the second data set;
generating a constructed data service program and an analyzed data service program according to the XSD data item model and the cross index comparison table, wherein the constructed data service program is used for responding to calling the constructed data service program to construct data, and the analyzed data service program is used for responding to calling the constructed data service program to analyze data;
Wherein the establishing of the document structure description XSD data item model according to the pre-established data template comprises:
Acquiring a positioning path of each data item contained in a data template and a data type of the data item according to the pre-established data template;
Acquiring an identifier of a first data set corresponding to the data type of the data item according to the data type of the data item, and storing the corresponding relation between the data item and the identifier;
And establishing an XSD data item model according to the positioning path of each data item contained in the data template and the data type of the data item, and associating the positioning path of each data item of the XSD data item model with the positioning path of each data item of the data template.
2. The method according to claim 1, wherein the data template is a hygiene information exchange standard HL7 message template or an HL7 clinical document Structure CDA document template.
3. the method of claim 2, further comprising:
Responding to a request for calling the data service construction program, acquiring an XSD data item model corresponding to the data type and the cross index comparison table according to the data type corresponding to the request, and generating an HL7 message or a CDA document; wherein the HL7 message or CDA document is data that conforms to a first data set standard.
4. The method of claim 2, further comprising:
Responding to a request for calling the analysis data service program, acquiring an XSD data item model corresponding to the data type and the cross index comparison table according to the data type corresponding to the request, and analyzing an HL7 message or a CDA document to generate data meeting a second data set standard; wherein the HL7 message or CDA document is data that conforms to a first data set standard.
5. the method of any one of claims 1 to 4, wherein the first data set is a national standard data set and the second data set is a non-national standard data set.
6. The method of claim 1, further comprising:
And converting the XSD data item model into a hypertext markup language (HTML) code to generate a data construction page.
7. the method of claim 6, further comprising:
In response to a request to construct a page for the data, the user input data is converted to an HL7 message or a CDA document.
8. A data processing apparatus, characterized in that the apparatus comprises:
The XSD data item model establishing module is used for establishing a document structure description XSD data item model according to a pre-established data template;
The mapping relation establishing module is used for establishing the mapping relation between the XSD data item model and the cross index comparison table; the cross index comparison table stores the corresponding relation between the first data set and the second data set and is used for realizing format conversion of the first data set and the second data set;
A service program generating module, configured to generate a constructed data service program and an analysis data service program according to the XSD data item model and the cross index comparison table, where the constructed data service program is configured to construct data in response to invoking the constructed data service program, and the analysis data service program is configured to analyze data in response to invoking the constructed data service program;
The XSD data item model establishing module specifically comprises:
The acquisition submodule is used for acquiring the positioning path of each data item contained in the data template and the data type of the data item according to a pre-established data template;
The matching submodule is used for acquiring the identifier of a first data set corresponding to the data type of the data item according to the data type of the data item and storing the corresponding relation between the data item and the identifier;
And the establishing sub-module is used for establishing an XSD data item model according to the positioning path of each data item contained in the data template and the data type of the data item, and associating the positioning path of each data item of the XSD data item model with the positioning path of each data item of the data template.
9. the apparatus according to claim 8, wherein the XSD data item model building module is specifically configured to:
the XSD data item model is built according to a pre-established hygiene information exchange standard HL7 message template or an HL7 clinical document structure CDA document template.
10. The apparatus of claim 9, further comprising:
The construction module is used for responding to a request for calling the constructed data service program, acquiring an XSD data item model corresponding to the data type and the cross index comparison table according to the data type corresponding to the request, and generating an HL7 message or a CDA document; wherein the HL7 message or CDA document is data that conforms to a first data set standard.
11. the apparatus of claim 9, further comprising:
The analysis module is used for responding to a request for calling the analysis data service program, acquiring an XSD data item model corresponding to the data type and the cross index comparison table according to the data type corresponding to the request, and analyzing an HL7 message or a CDA document to generate data meeting a second data set standard; wherein the HL7 message or CDA document is data that conforms to a first data set standard.
12. The apparatus of claim 8, further comprising:
And the page generation module is used for converting the XSD data item model into a hypertext markup language (HTML) code and generating a data construction page.
13. the apparatus of claim 12, further comprising:
A conversion module to convert user input data to an HL7 message or a CDA document in response to a request to construct a page for the data.
14. An apparatus for data processing, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by one or more processors the one or more programs including instructions for:
Establishing a document structure description XSD data item model according to a pre-established data template;
Establishing a mapping relation between the XSD data item model and a cross index comparison table; the cross index comparison table stores the corresponding relation between the first data set and the second data set and is used for realizing format conversion of the first data set and the second data set;
generating a constructed data service program and an analyzed data service program according to the XSD data item model and the cross index comparison table, wherein the constructed data service program is used for responding to calling the constructed data service program to construct data, and the analyzed data service program is used for responding to calling the constructed data service program to analyze data;
Wherein the establishing of the document structure description XSD data item model according to the pre-established data template comprises:
Acquiring a positioning path of each data item contained in a data template and a data type of the data item according to the pre-established data template;
Acquiring an identifier of a first data set corresponding to the data type of the data item according to the data type of the data item, and storing the corresponding relation between the data item and the identifier;
and establishing an XSD data item model according to the positioning path of each data item contained in the data template and the data type of the data item, and associating the positioning path of each data item of the XSD data item model with the positioning path of each data item of the data template.
CN201610859973.XA 2016-09-28 2016-09-28 Data processing method and device Active CN106484825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610859973.XA CN106484825B (en) 2016-09-28 2016-09-28 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610859973.XA CN106484825B (en) 2016-09-28 2016-09-28 Data processing method and device

Publications (2)

Publication Number Publication Date
CN106484825A CN106484825A (en) 2017-03-08
CN106484825B true CN106484825B (en) 2019-12-13

Family

ID=58268132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610859973.XA Active CN106484825B (en) 2016-09-28 2016-09-28 Data processing method and device

Country Status (1)

Country Link
CN (1) CN106484825B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109672673A (en) * 2018-12-17 2019-04-23 武汉烽火信息集成技术有限公司 HL7V3 introduces WebService method, storage medium, electronic equipment and system
CN109739915B (en) * 2018-12-27 2021-04-13 中国电子科技集团公司第三十研究所 Cross-domain shared data model construction method
CN111179464A (en) * 2020-01-03 2020-05-19 深圳市瑞达飞行科技有限公司 Flight data processing method, file construction, processing device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308490A (en) * 2008-04-28 2008-11-19 北京航空航天大学 Dynamic report generation method and platform
CN101464865A (en) * 2007-12-19 2009-06-24 新奥特(北京)视频技术有限公司 System for implementing catalogue information format conversion based on XML
CN101464866A (en) * 2007-12-19 2009-06-24 新奥特(北京)视频技术有限公司 System for implementing catalogue information format conversion based on XML

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7587415B2 (en) * 2005-03-14 2009-09-08 Microsoft Corporation Single-pass translation of flat-file documents into XML format including validation, ambiguity resolution, and acknowledgement generation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101464865A (en) * 2007-12-19 2009-06-24 新奥特(北京)视频技术有限公司 System for implementing catalogue information format conversion based on XML
CN101464866A (en) * 2007-12-19 2009-06-24 新奥特(北京)视频技术有限公司 System for implementing catalogue information format conversion based on XML
CN101308490A (en) * 2008-04-28 2008-11-19 北京航空航天大学 Dynamic report generation method and platform

Also Published As

Publication number Publication date
CN106484825A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
US8572157B2 (en) Configuration based approach to unify web services
CN107257969B (en) Semantic annotation and semantic repository for M2M systems
US7584499B2 (en) Policy algebra and compatibility model
Begoyan An overview of interoperability standards for electronic health records
JP5268220B2 (en) Method, system and computer product for analyzing binary data
Chaari et al. Adaptation in context‐aware pervasive information systems: the SECAS project
CN106484825B (en) Data processing method and device
KR101602099B1 (en) System for Service inter-working based REST in Internet of Things and Method thereof
US7945893B2 (en) Mapping web services description language documents to XQuery functions
Li et al. IoT healthcare communication system for IEEE 11073 PHD and IHE PCD-01 integration using CoAP
US20070050394A1 (en) Method and apparatus for automated database creation from Web Services Description Language (WSDL)
CN110704200A (en) Method and device for converting call interface
Zhao et al. Generating XML schemas for DICOM structured reporting templates
CN105516269A (en) Application configuration method and application configuration device
US9183294B2 (en) Meta-data approach to querying multiple biomedical ontologies
Misbah et al. Towards a standard WSDL implementation of Multiview web services
Sharma et al. Towards XML interoperability
KR20030094241A (en) System and method for dynamic web page generation
KR20080057473A (en) Biological integration retrieval systmem and method thereof
Farkas et al. Data interoperability across IoT domains
KR20040045149A (en) Registry system and management method for by using uddi web service based on the ebxml registry
Di Martino et al. Towards an integrated internet of things: current approaches and challenges
Vengadeswaran et al. Semantically Annotated Metadata: Interconnecting Samply. MDR and MDM-Portal.
Troschütz Web Service Test Framework with TTCN-3
CN115168365B (en) Data storage method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant