SYSTEM AND METHOD FOR AUTOMATED MAPPING FROM A SOURCE SCHEMA TO A TARGET SCHEMA
The present disclosure relates to a method and system for mapping data columns from a source schema to a target schema. The method, performed by a server system includes, receiving the source schema including a source data column. The method includes evaluating the source data column based on a statistical technique. Furthermore, the method includes analyzing the source data column and a corresponding data field based on implementation of a Generative Artificial Intelligence (AI) Language Model. The method includes calculating a similarity score between the at least one descriptive source column name and target column description based on at least one of a sentence embedding and a cosine similarity. The method includes mapping the source schema to the target schema based on at least one of the calculated similarity score or a predefined rule.
This application claims benefit of India Application Serial No. 202511049928 filed May 23, 2025, the entire disclosure of which is incorporated herein by reference.
TECHNICAL FIELDEmbodiments of the present disclosure generally relate to the field of schema mapping. More particularly, embodiments of the present disclosure relate to mapping data columns from a source schema to a target schema based on Generative Artificial Intelligence (AI) technologies.
BACKGROUNDSchema mapping, a critical step in data integration workflows like Extract, Transform, and Load (ETL), involves matching source schema columns to a target schema, such as a Unified Data Model (UDM). This process is traditionally manual and requires data engineers to profile source data, interpret column headers and values, and reference data dictionaries to understand the context of each column. This task is both time-consuming and error-prone, especially when dealing with large, heterogeneous datasets with inconsistent or abbreviated column names.
Writing ETL scripts for schema mapping can take days or weeks, with much of the time spent resolving ambiguities in source-to-target mappings. Manual efforts are often required to analyze patterns, infer semantic relationships, and ensure the mapped columns align with business requirements. These challenges are amplified in scenarios with incomplete metadata or dynamic schema changes. Ontologies may be disparate. A particular data field may have unknown data composition and variability. Within the US healthcare ecosystem, payer systems and clinical platforms expose highly heterogenous data models, making traditional ETL and manual mapping both error-prone and unscalable. Analytics, reporting, and care coordination across providers are difficult.
In light of the above, there is a need in the art for an advanced automated schema mapping platform that is accurate, scalable, and performs efficient data integration.
SUMMARYIn an aspect, a method for mapping data columns from a source schema to a target schema is disclosed. The method includes receiving, by a server system, the source schema having a source data column, from at least one entity.
The method further includes evaluating, by the server system, the source data column based on at least one statistical technique.
Furthermore, the method includes analyzing, by the server system, the source data column and a corresponding data field using an implementation of a Generative Artificial Intelligence (AI) Language Model. The analyzing step includes assigning, by the server system, a semantic label to the source data column based on at least one of: an ontology-based rule, natural language processing (NLP), and a machine learning (ML) model.
Moreover, the method includes calculating, by the server system, a similarity score between at least one descriptive source column name and a target column description based at least one of a sentence embedding or a cosine similarity. The similarity score is calculated to determine the at least one descriptive source column name from the descriptive target column name.
Also, the method includes mapping, by the server system, the source schema to the target schema based on at least one of the similarity score or a predefined rule.
In another aspect, a server system for mapping data columns from a source schema to a target schema is disclosed. The server system includes a non-transitory memory configured to store instructions; a communication interface; and a processor in communication with the non-transitory memory and the communication interface.
The processor is configured to execute the instructions stored in the non-transitory memory.
The instructions include receiving, by an input/output (I/O) engine, the source schema. The source schema has a source data column from at least one entity.
The instructions further include evaluating, by an evaluation engine, the source data column with at least one statistical technique.
Furthermore, the instructions include analyzing, with an analysis engine, the source data column and a corresponding data fields based at least on i a Generative Artificial Intelligence (AI) Language Model. The analysis engine is configured to assign a semantic label to the source data column based on at least one of an ontology-based rule, a natural language processing (NLP), or a machine learning (ML) model.
Moreover, the instructions include calculating, with a calculation engine, a similarity score between the at least one descriptive column name and a target column description based on at least one of a sentence embedding or a cosine similarity. The similarity score determines the at least one descriptive source column name from the descriptive target column name.
Also, the instructions include mapping, with a mapping engine, the source schema to the target schema based on at least one of the similarity score or a predefined rule.
The accompanying drawings, which are incorporated herein, and constitute a part of this disclosure, illustrate exemplary embodiments of the disclosed methods and systems in which like reference numerals refer to the same parts throughout the different drawings. Components in the drawings are not necessarily to scale; emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Also, the embodiments shown in the figures are not to be construed as limiting the disclosure, but the possible variants of the method and system according to the disclosure are illustrated herein to highlight the advantages of the disclosure. It will be appreciated that disclosure of such drawings includes disclosure of electrical components or circuitry commonly used to implement such components.
The foregoing shall be more apparent from the following more detailed description of the disclosure.
In the following description, for the purposes of explanation, various specific details are set forth in order to provide a thorough understanding of embodiments of the present disclosure. It will be apparent, however, that embodiments of the present disclosure may be practiced without these specific details. Several features described hereafter may each be used independently of one another or with any combination of other features. An individual feature may not address any of the problems discussed above or might address only some of the problems discussed above.
The ensuing description provides exemplary embodiments only, and is not intended to limit the scope, applicability, or configuration of the disclosure. Rather, the ensuing description of the exemplary embodiments will provide an enabling description for implementing an exemplary embodiment. It should be understood that various changes may be made in the function and arrangement of elements without departing from the spirit and scope of the disclosure as set forth.
Specific details are given in the following description to provide a thorough understanding of the embodiments. However, it will be understood by one of ordinary skill in the art that the embodiments may be practiced without these specific details. For example, circuits, systems, processes, and other components may be shown as components in block diagram form in order not to obscure the embodiments in unnecessary detail.
Also, it is noted that individual embodiments may be described as a process which is depicted as a flowchart, a flow diagram, a data flow diagram, a structure diagram, or a block diagram. Although a flowchart may describe the operations as a sequential process, many of the operations may be performed in parallel or concurrently. In addition, the order of the operations may be re-arranged. A process is terminated when its operations are completed but could have additional steps not included in a figure.
The word “exemplary” and/or “demonstrative” is used herein to mean serving as an example, instance, or illustration. For the avoidance of doubt, the subject matter disclosed herein is not limited by such examples. In addition, any aspect or design described herein as “exemplary” and/or “demonstrative” is not necessarily to be construed as preferred or advantageous over other aspects or designs, nor is it meant to preclude equivalent exemplary structures and techniques known to those of ordinary skill in the art. Furthermore, to the extent that the terms “includes,” “has,” “contains,” and other similar words are used in either the detailed description or the claims, such terms are intended to be inclusive—in a manner similar to the term “comprising” as an open transition word—without precluding any additional or other elements.
As used herein, a “processing unit” or “processor” or “operating processor” includes at least one processors, wherein processor refers to any logic circuitry for processing instructions. A processor may be a general-purpose processor, a special purpose processor, a conventional processor, a digital signal processor, a plurality of microprocessors, at least one microprocessors in association with a DSP core, a controller, a microcontroller, Application Specific Integrated Circuits, Field Programmable Gate Array circuits, any other type of integrated circuits, etc. The processor may perform signal coding data processing, input/output processing, and/or any other functionality that enables the working of the system according to the present disclosure. More specifically, the processor or processing unit is a hardware processor.
As used herein, “a computing unit”, “a user equipment”, “a user device”, “a smart-user-device”, “a smart-device”, “an electronic device”, “a mobile device”, “a handheld device”, “a wireless communication device”, “a mobile communication device”, “a communication device”, “a server system”, may be any electrical, electronic and/or computing device or equipment, capable of implementing the features of the present disclosure. The user equipment/device may include, but is not limited to, a mobile phone, smart phone, laptop, a general-purpose computer, desktop, personal digital assistant, tablet computer, wearable device or any other computing device which is capable of implementing the features of the present disclosure. Also, the user device may contain at least one input means configured to receive an input from at least one of a transceiver unit, a processing unit, a storage unit, a detection unit and any other such unit(s) which are required to implement the features of the present disclosure.
As used herein, “storage unit” or “memory unit” refers to a machine or computer-readable medium including any mechanism for storing information in a form readable by a computer or similar machine. For example, a computer-readable medium includes read-only memory (“ROM”), random access memory (“RAM”), magnetic disk storage media, optical storage media, flash memory devices or other types of machine-accessible storage media. The storage unit stores at least the data that may be required by at least one units of the system to perform their respective functions.
As discussed in the background section, the current known solutions for schema mapping require manual intervention, and thus, have several shortcomings such as time consuming and resource intensive. In particular, data engineers manually need to profile source data, examine column headers, analyze sample values, and refer to a data dictionary to understand the semantics and context of each column.
A semantic meaning refers to the dictionary level sense, or the literal meaning of the word, phrase or description. Contextual meaning refers to the meaning that arises when the same phrase/description is used in a different situation/context. In a way, semantic meaning can be meant to refer to "what is said" and contextual meaning can be meant to refer to "what is meant". Therefore, while semantic meaning is generally constant, the contextual meaning is highly fluid.
The present disclosure aims to overcome the above-mentioned and other existing problems in this field of technology by utilizing an efficient and automated Artificial Intelligence (AI) based system and method for performing schema mapping. The resulting acceleration of the claims integration, from a few weeks/months to days, may allow a much faster turnaround time for identifying any gaps within data received from the providers, and also much faster delivery of analytics based products/models that run on top of the data transformed after the ETL, which is not practically accomplished by the human mind. Hereinafter, exemplary embodiments of the present disclosure will be described with reference to the accompanying drawings.
The server system 102 may be adapted to map data columns from a source schema to a target schema. The server system 102 may include at least one non-transitory memory 104, at least one communication interface 106, and at least one processor 108. The processor 108 further may include an input/output (I/O) engine 108a, an evaluation engine 108b, an analysis engine 108c, a calculation engine 108e, and a mapping engine 108f. In another example, the server system 102 may also include an expansion engine 108d. The processor 108 may be configured to execute instructions stored in the non-transitory memory 104. Custom software may work in tandem with proprietary knowledge-bases. The software may be hosted on a cloud (AWS/Azure/GCP), and may run on two machines (one for communications, handling I/O, and queuing incoming requests using a Restful API and a second for performing the bulk of processing and computations). Each may have at least a single core CPU with at least 2-4GBs of RAM.
Also, all of the components/units depicted in the block diagram 100 may be connected to each other unless otherwise indicated below. Also, in
Further, in an implementation, the server system 102 may be present in a user device to implement the features of the present disclosure. The server system 102 may be a part of the user device/or may be independent of but in communication with the user device. In another implementation, the server system 102 may be a remote server. In yet another implementation, a first portion of the server system 102 may reside in the server and a second portion may reside in the user device.
The non-transitory memory 104 may be configured to store instructions. In one implementation, the processor 108 may be in communication with the memory 104 and the communication interface 106. The processor 108 may be configured to execute the instructions stored in the memory 104 and thereby cause the processor to implement the engines 108a-108f to perform automated schema mapping.
The I/O engine 108a may includes suitable logic and/or interfaces to receive a source schema from the at least one entity 105. The source schema may include a source data column, which further may include the data to be processed. The data may be in a column or a corresponding data field. The I/O engine 108a may receive the source schema from the at least one entity 105 via the communication medium 110. The at least one entity 105 may correspond to external facilities, warehouses, organizations, institutions, and the like. In one example, the entity 105 may be a medical facility (e.g., hospital, clinic, etc.). In particular, a database associated with the hospital may provide the source schema including a data column such as a patient identifier (ID), medical history, test results, and the like.
In one implementation, the at least one entity 105 may include cloud-based data storage solutions, enterprise systems, or external Application Programming Interfaces (APIs). The I/O engine 108a may ensure seamless communication between the server system 102 and the external sources (e.g., the at least one entity 105) through a predefined communication medium, such as RESTful APIs, secure file transfers (e.g., SFTP), or direct database queries, that may enable real-time data retrieval from relational or non-relational databases. For instance, if the external entity (e.g., the entity 105) is a cloud-based electronic health record (EHR) system, the I/O engine 108a may use RESTful APIs to fetch patient demographics and clinical data as part of the source schema.
In one implementation, the at least one entity 105 may correspond to cloud-based data storage solutions, enterprise systems, or external APIs. For example, a cloud-based storage solution may store raw transactional data in files, which the I/O engine 108a retrieves using predefined secure credentials. Similarly, an enterprise resource planning (ERP) system may serve as the at least one entity 105, providing a source schema with columns such as inventory data, sales records, or financial transactions.
In one example, when an organization stores its data in an on-premise warehouse, the I/O engine 108a may use SFTP to fetch structured datasets, such as sales logs or employee records, in the form of source schemas. The source schema may include column names or field names like "Patient ID," "Patient Name," or "Medical history." As used herein, the terms column name, column header and field name may be used interchangeably.
Depending on the source, column names may be descriptive, or may be cryptic, or in snakecase, camelcase, or be abbreviated of usual domain-specific terminologies (for example, a field called RNDRNG_PRVDR_NPI denotes "Rendering Provider NPI", where NPI is the National Provider Identifier, which is a unique ID assigned by NPPES in US healthcare to all certified healthcare practitioners or entities).
In some cases, the incoming files may have a column name. However, where the source may not include column name. A human may suffer to map the schema correctly, and intense manual scrutiny may be required in such cases. As such, the result may be error prone.
The evaluation engine 108b may include suitable logic and/or interfaces to evaluate the source data columns based on at least one statistical technique. In particular, the evaluation engine 108b may be configured to perform a task such as data distribution, data normalization, detecting an anomaly, and evaluating data completeness and consistency. In other words, the server system 102 may be configured to perform statistical column profiling for each column in the source schema.
For example, when the source schema includes columns representing numerical data, such as "sugar readings of a patient", the evaluation engine 108b may compute the distribution of values, such as mean, median, and standard deviation, to identify trends or irregularities. Additionally, the evaluation engine 108b may normalize the data to ensure compatibility across varying scales, such as transforming body temperature values from Fahrenheit to Celsius.
The statistical technique may include at least one of calculating a metric such as a fill rate, a value count, or data format categorization based on at least one of a regular expression, an ontology, or a sequence. These metrics computed using the statistical techniques may serve as the input features to the models within the server system, which may improve the accuracy of the model. Thus, the overall efficiency of performing ETL on the input data increases as the turnaround time reduces. The metrics may refer to the data quality observed in various fields. Depending on the field type being considered, the standards may be more or less generalisable across various payer sources. For example, for a "Patient DOB" field within in a payer source, the field may have a high fill rate, and may have date values lower than any other date field within the file, and may not be higher than the present date. Similarly, when it is known that the file type may be an institutional claim, then the Revenue Center Code (RCC) (which may be a part of the US healthcare claims received from hospitals and other institutions) may contain valid RCC values. These data standards are essentially what may be expected from certain fields, and may be quantified within a knowledge base.
In particular, the evaluation engine 108b may ensures that the input data (e.g., the source schema) meets the required standards for subsequent analysis and processing, improving accuracy, efficiency, and scalability.
In an example, the evaluation engine 108b may calculates the proportion of non-empty values in a column. For instance, if a column "Patient Age" has missing values for 20 out of 100 rows, the fill rate becomes 80%. This helps assess the completeness of the dataset.
In another example, the evaluation engine 108b may count the occurrence of unique values within a column. For example, in a column "Payment Method," the evaluation engine 108b may identify that "Credit Card" appears 60% of the time, while "Cash" appears 40%. This analysis may help understand the data's composition and variability. Computing metrics that relay information around the data composition and variability within a given column/field may serve as a feature of that field. This information may be utilised by the models within the server system, to accurately map the source to the target schema. For example, a bill-type code received in a healthcare claims may have a high number of "111" and "131" bill-type codes, which may represent inpatient and outpatient medical claim respectively. A field having such a composition of values may therefore indicate a presence of bill-type codes, and should be mapped to its respectively field within the target schema.
Data composition and variability within a field or column may be a feature that conveys information. This information may be used within the models to further improve accuracy.
The analysis engine 108c may include suitable logic and/or interfaces to analyze the source data column and a corresponding data field based at least on implementation of a Generative Artificial Intelligence (AI) Language Model. The analysis engine 108c may be configured to perform the analyze step to assign a semantic label to the source data column based on at least one of an ontology-based rule, natural language processing (NLP), or a machine learning (ML) model. Semantic labels may interchangeably be referred to as tags. The semantic labels may be assigned to understand the context and meaning of the data fields in order to correctly align the source schema with the target schema. For example, each column may be assigned a tag or semantic label derived from its name, values, or a combination of name and values.
The language model may be trained based on past historical ETL data retrieved from years of ingestion across various US healthcare providers/payers. The ETL data may have been de-identified to comply with HIPAA guidelines. In a non-limiting example, these training datasets may include historically observed source-target schema-mappings and source schema profiles.
Commercially available language models may be used to perform inference using prompt-engineering and LLM prompt-chaining. Prompt engineering may be used to provide the necessary healthcare context within the prompt. Features may be encoded within the context provided to the LLM. The output of the LLM may be fed into the learning algorithm as inputs. The knowledge base that may be used to augment the contexts may be improved in a subsequent iteration.
In one example in accordance with this disclosure, the expansion engine 108d may include suitable logic and/or interfaces to expand each abbreviated source column name into at least one descriptive column names based at least on implementation of the Generative AI Language Model, for a source data column with an abbreviated source column name. In particular, the expansion engine 108d may implement the Generative AI Language Model to decipher an abbreviation in the source column name and generate the at least one descriptive column names. The field names received within payer-files are often cryptic or abbreviated, and deciphering them requires additional context, making manual mapping error-prone and unscalable, as described in the background section. For example, in a field containing claims data, there might be fields containing "PROC_CD" which denotes CPT/HCPCS procedure codes within US healthcare. Now, in another field, for instance - "PROC_DATE" when viewed in isolation, might indicate "process date", and might be falsely mapped/dropped as a result. But with the additional context of procedure codes contained within the file, the logical expansion of "PROC_DATE" may be "procedure date", and therefore it may be mapped this field to the correct target schema. The column-expansions (or the column descriptions) which may be generated by the expansion-engine may therefore be used as additional features for the models used within the server system.
In an example in accordance with this disclosure, the instructions may include expanding, with an expansion engine, an abbreviated source column name into at least one descriptive source column name using the Generative AI Language Model when the source data column has the abbreviated source column name.
In one implementation, the analysis engine 108c and the expansion engine 108d may work in conjunction with each other and may be used interchangeably.
The ontology-based rules may use predefined domain knowledge to infer the semantic meaning of data columns. A semantic meaning may be an inherent information contained within a field. A semantic label may be a quantification of that semantic meaning. For example, given a healthcare claims file with a field called "DGNS_CD" that contains values like "I10," "E11.9," and "E78.5," the semantic meaning of this field may indicate that this field contains ICD-10 diagnosis codes for hypertension, diabetes and hyperlipidemia respectively. The semantic meaning may be confirmable by looking at internally maintained knowledge base, or www.icd10data.com. The semantic meaning may also indicate the presence of these values pertains to claims data. Therefore, the semantic meaning may suggest assigning tags, such as "diagnosis," "codes," and "claims" against this field. In another example, a column labelled (or with a semantic label) "DOB" is mapped to the concept "Date of Birth" based on a healthcare ontology that recognizes abbreviations commonly used in medical datasets. Similarly, a column labelled "Patient_ID" may be mapped to "Patient Identifier" in a medical-specific ontology.
In one implementation, the analysis engine 108c may be configured to utilize an ontology metadata table to assign tags to columns based on their alignment with domain-specific ontology rules. Domain specific ontology rules may be the domain-specific human knowledge quantified in the form of certain rules. In healthcare context, these may pertain to trends/distributions observed in various ontologies specific to healthcare like diagnosis codes (ICD-9, ICD-10), procedure codes (CPT/HCPCS), revenue codes, bill type codes, service location codes, medication codes (e.g,. RXNORM), Discharge Disposition Codes, NPIs, Amount Columns, Date Columns, etc. Depending on the domain, these ontology rules may be hand curated. For example, implementing such a server-system in a finance domain may require a separate set of rules since finance has its own set of ontologies.
In addition, columns satisfying the respective ontology-based criteria may be assigned corresponding tags. For example, a column containing values such as "A00.1," "B01.2," and "C15.0" may be tagged as Diagnosis Codes. In another example, a column with entries like "0012" or "0711" may be tagged as Revenue Center Codes.
In one implementation, the analysis engine 108c may be configured to utilize a regex-based tag generator that uses regular expressions (Regex) to identify patterns within column values and assign relevant tags. For example, a column with entries like "2025-01-17," "2023-10-10," and "2024-12-31" may be tagged as Date.
NLP may enable the analysis engine 108c to process and analyze textual information within column headers or metadata. For instance, a column labelled "Patient_Name" may be analyzed and semantically labelled as "Patient Name" by recognizing abbreviations and contextual clues.
In one implementation, the analysis engine 108c may employ ML models trained on large datasets to recognize patterns and assign labels even in cases where explicit rules or linguistic clues are absent. For example, a column containing values such as "12345" and "54321" could be semantically labelled as "ZIP Code" by recognizing the pattern of five-digit numerical sequences common to postal codes. In another example, a column with continuous numerical data, such as "37.5," "38.2," and "36.9," may be labelled as "Temperature" based on training data and learned correlations.
In an example, a column named "BP" with values like "120/80" may be analyzed and labelled as "Blood Pressure" using ontology-based rules and NLP to interpret the abbreviation. In another example, a column named "ApptDate" with values in "MM/DD/YYYY" format may be labelled as "Appointment Date" by combining NLP techniques and ontology mappings.
For instance, an abbreviated column name like “DOB” may be expanded to “Date of birth”. This step may be performed to ensure that the source schema becomes more interpretable and aligned with the target schema.
The calculation engine 108e may include suitable logic and/or interfaces to calculate a similarity score between the at least one descriptive column name and a target column description based on at least one of a sentence embedding or a cosine similarity. The similarity score may be calculated to determine the at least one descriptive source column name from the descriptive target column name. The sentence embeddings and cosine similarity may measure the contextual alignment between textual representations. A source column that has a description similar to a given target column may have a high cosine similarity, which will translate to higher confidence in taking the decision to map that particular target column to the given source column, improving the accuracy of the schema mapping platform as described in the background.
In one implementation, Sentence Bidirectional Encoder Representations from Transformers (SBERT) model may be used to generate the sentence embedding or a similarity score.
For example, a sentence embedding may transform the textual data into high-dimensional vectors. These embeddings may capture the semantic and contextual meaning of the text, enabling the system to understand nuances in naming conventions.
For instance, the descriptive column name "Patient Name" and the target column description "Client Full Name" may be converted into embeddings that reflect their contextual similarity. In another example, "MEMBER_ID" in healthcare context may refer to the patient or beneficiary ID, while in another context, such as Netflix Subscriptions Database, it may refer to the ID of the person who purchased the subscription. In another example, a column called "PROC_DATE" may be observed in two separate files, one containing payments data and the other containing procedure and diagnosis codes data. In a simplified case where we only look at the column-name and not its distribution, semantic meaning of this column may in both cases indicate the presence of date-type values, but the contextual meaning with respect to the first file may indicate that the column contains claims-processing-date, while in the second case it may indicate that this column contains date on which the surgical-procedure was performed.
In addition, cosine similarity may quantify the angular distance between vectors to determine their relatedness. By quantifying the angular distance, the calculation engine 108e may be configured to identify the most descriptive source column name that aligns with the target schema, ensuring accurate schema mapping.
For instance, a higher cosine similarity score may indicate a closer alignment between the two textual representations. For example, if the cosine similarity between the vectors for "Patient Name" and "Client Full Name" is 0.95, it may suggest a high degree of semantic alignment.
In an example, consider that the descriptive source column name may be "Patient DOB". In addition, the target column description may be "Date of Birth". The calculation engine 108e may process both terms using sentence embeddings, recognizing that "DOB" may be an abbreviation for "Date of Birth." In addition, Cosine similarity may yield a high score (e.g., 0.97), confirming the contextual equivalence.
The mapping engine 108f may include suitable logic and/or interfaces to map the source schema to the target schema based on at least one of the calculated similarity score or a predefined rule. In particular, the mapping engine 108f may be configured to perform column-to-column mapping. The predefined rule may include a domain-specific constraint or a user-defined preference. The predefined rule may be integrated to ensure that the mappings align with business logic and operational requirements. As per above example, the mapping engine 108f may map the “Patient DOB” to “Date of Birth” based on the sentence embeddings and cosine similarity.
The term “domain-specific constraints” herein may correspond to rules based on the specific requirements of the industry or application. For example, in a healthcare dataset, the source column "MRN" (Medical Record Number) may always map to the target column "Patient Identifier".
The term “user-defined preferences” herein may correspond to rules set by an administrator to enforce custom mappings. For instance, an administrator may map "Patient ID" in the source schema to "Patient Identifier" in the target schema, overriding other suggestions. In an example in accordance with this disclosure, the predefined rule may include a custom rule set by an administrator. The custom rule may override the similarity score.
The mapping engine 108f may be configured to perform the mapping of the source schema to the target schema based on a hierarchy of confidence levels. The hierarchy may prioritize: a. an exact match between the at lease one descriptive source column name and the descriptive target column name; b. assigning the semantic label based on a sequence-based ordering; c. a historical mapping from a prior source-target schema mapping; d. a rule-based mapping from the predefined rule, which may be tag-based or based on the semantic label; and e. a similarity score from the sentence embedding based semantic analysis. The “a” may denote a highest priority and “e” may denote lowest priority.
For source column names and target column names that are identical, the mapping engine 108f may performs direct mapping without additional processing. For example, a source column "Date of Birth" may be directly mapped to the target column "Date of Birth".
When semantic labels are assigned to columns, the mapping engine 108f may use sequence-based ordering to align similar columns. For example, when a source column labelled "Medicine Description" appears in the same relative order as a target column "Medicine Details," the mapping may be prioritized based on their sequence.
In one implementation, the mapping engine 108f may reference historical mappings from prior source-to-target schema integrations to inform and prioritize current mappings. For example, in a previous mapping, one particular column, "APMNT_Date," in the source schema may have been mapped to one particular column, "Appointment Date," in the target schema. The mapping engine 108f may use this historical precedent to prioritize the same mapping in subsequent integrations.
The mapping engine 108f may apply a tag-based rule or a predefined constraint to ensure that mappings align with domain logic. For example, a rule may dictate that any source column labelled "DOB" must map to "Birth Date" in the target schema, regardless of similarity scores. In an example, aligning the source schema and the target schema may use a predefined constraint or the predefined rule, and the predefined rule may be based on the semantic label of the at least one descriptive source column name.
In one implementation, the mapping engine 108f may rely on a similarity score from a sentence embedding to handle ambiguous mappings or cases without prior rules or exact matches.
For example, a source column "Ptnt_Name" may map to "Patient Name" in the target schema with a similarity score of 0.89, indicating a reasonable match.
In one implementation, the mapping engine 108f may be configured to utilize a historical data mapping to prioritize a source-to-target mapping suggestion to perform the mapping of the source schema to the target schema.
For identical column names in the source schema and the target schema, or an exact match, the mapping engine 108f may be configured to perform direct mapping without any processing. In other words, when the at least one descriptive source column name and the descriptive target column name are the same, the mapping engine directly maps the at least one descriptive source column name to the descriptive target column name.
Prior to a calculation of the similarity score, the mapping engine 108f may be configured to generate a semantic embedding for each source column name and target column name using a pre-trained natural language processing model configured to capture the semantic meaning of text. In addition, the mapping engine 108f may be configured to calculate similarity scores between the semantic embedding of each source column name and semantic embedding of each target column name based at least on the cosine similarity.
In another example, the instructions may include generating, by the server system and prior to calculating, the at least one descriptive source column name and the descriptive target column name using a pre-trained natural language processing model configured to capture a semantic meaning of text. Further, the method may include calculating, by the server system, the similarity score using the at least one descriptive source column name and the descriptive target column name based at least on the cosine similarity.
In an implementation, the method 200 may be performed by the server system 102. As shown in
At step 204, the method 200 may include receiving, by the server system 102, the source schema having a source data column, from the at least one entity 105.
Next, at step 206, the method 200 may include evaluating, by the server system 102, the source data columns based on at least one statistical technique. The statistical technique may include at least one of calculating fill rates, value counts, or categorizing data formats based on at least one of regular expressions, ontology, or sequence.
At next step 208, the method 200 may include analyzing, by the server system 102, the source data column and a corresponding data field based on an implementation of a Generative Artificial Intelligence (AI) Language Model. The analyzing step may be performed for assigning, by the server system 102, a semantic label to the source data column based on at least one of an ontology-based rule, a natural language processing (NLP), and a machine learning (ML) model.
When the source data column has an abbreviated source column name, at step 210, the method 200 may include expanding, by the server system 102, based on an implementation of the Generative AI Language Model, an abbreviated source column name into at least one descriptive column name.
At step 212, the method 200 may include calculating, by the server system 102, a similarity score between the at least one descriptive column name and the target column description based on at least one of a sentence embedding or a cosine similarity. The similarity score may be calculated to determine a descriptive source column name from the at least one descriptive target column name.
At step 214, the method 200 may include mapping, by the server system 102, the source schema to the target schema based on at least one of the calculated similarity score or a predefined rule. For an identical column name in the source schema and the target schema, the method 200 may include performing, by the server system 102, direct mapping the at least one descriptive source column name and the descriptive target column name, when the at least one descriptive source column name and the descriptive target column name are the same. The direct mapping may be performed without any processing.
The mapping of the source schema to the target schema may be performed based on a hierarchy of confidence levels. The hierarchy may prioritize:
- a. an exact match between the at least one descriptive source column name and the descriptive target column name;
- b. assigning a semantic label based on a sequence-based ordering;
- c. a historical mapping from the source schema to the target schema;
- d. a rule-based mapping from the predefined rule; and
- e. the similarity score from the sentence embedding based semantic analysis.
The method 200 also may include utilizing, by the server system 102, a historical data mapping for prioritizing source-to-target mapping suggestions for performing the mapping step.
Thereafter, the method 200 may terminate at step 216.
In another example in accordance with this disclosure, the method may include generating, by the server system and prior to calculating, the at least one descriptive source column name and the descriptive target column name using a pre-trained natural language processing model configured to capture a semantic meaning of text. The method may additionally include calculating, by the server system, the similarity score using the at least one descriptive source column name and the descriptive target column name based at least on the cosine similarity.
Additionally, the method may include the predefined rule, which further includes a custom rule set by an administrator, and wherein the custom rule overrides the similarity score.
Further, in an example in accordance with this disclosure, the similarity score may be generated by a Sentence Bidirectional Encoder Representations from Transformers (SBERT) model.
While considerable emphasis has been placed herein on the disclosed embodiments, it will be appreciated that many embodiments can be made and that many changes can be made to the embodiments without departing from the principles of the present disclosure. These and other changes in the embodiments of the present disclosure will be apparent, whereby it is to be understood that the foregoing descriptive matter to be implemented is illustrative and non-limiting. Any number of additional steps, functions, processes, or variants thereof may be included in the method, including any disclosed relative to any other figure of this disclosure.
Claims
1. A method for mapping data columns from a source schema to a target schema, comprising:
- receiving, by a server system, the source schema having a source data column, from at least one entity;
- evaluating, by the server system, the source data column based on at least one statistical technique;
- analyzing, by the server system, the source data column and a corresponding data field using an implementation of a Generative Artificial Intelligence (AI) Language Model, and assigning, by the server system, a semantic label to the source data column based on at least one of: an ontology-based rule, natural language processing (NLP), or a machine learning (ML) model;
- calculating, by the server system, a similarity score between at least one descriptive source column name and a target column description based on at least one of a sentence embedding or a cosine similarity, wherein the similarity score is calculated to determine the at least one descriptive source column name from the descriptive target column name; and
- mapping, by the server system, the source schema to the target schema based on at least one of the similarity score or a predefined rule.
2. The method of claim 1, wherein the statistical technique at least one of: fill rate, value count, or data format based on at least one of regular expression, ontology, or sequence.
3. The method of claim 1, wherein mapping further comprises utilizing, by the server system, a historical data mapping that prioritizes a source-to-target mapping suggestion.
4. The method of claim 1, wherein mapping further comprises aligning the source schema and the target schema using at least one of a predefined constraint or the predefined rule, wherein the predefined rule is based on the semantic label of the at least one descriptive source column name.
5. The method of claim 1, further comprising performing, by the server system, direct mapping the at least one descriptive source column name and the descriptive target column name, when the at least one descriptive source column name and the descriptive target column name are the same.
6. The method of claim 1, wherein mapping is based on a hierarchy of confidence levels, wherein the hierarchy of confidence levels prioritizes:
- a. an exact match between the at least one descriptive source column name and the descriptive target column name;
- b. assigning a semantic label based on a sequence-based ordering;
- c. a historical mapping from the source schema to the target schema;
- d. a rule-based mapping from the predefined rule; and
- e. the similarity score from the sentence embedding based semantic analysis.
7. The method of claim 1, further comprising:
- generating, by the server system and prior to calculating, the at least one descriptive source column name and the descriptive target column name using a pre-trained natural language processing model configured to capture a semantic meaning of text; and
- calculating, by the server system, the similarity score using the at least one descriptive source column name and the descriptive target column name based at least on the cosine similarity.
8. The method of claim 1, further comprising expanding, by the server system, based on implementation of the Generative AI Language Model, and when the source data column has an abbreviated source column name, the abbreviated source column name into one descriptive source column name.
9. The method of claim 1, wherein the predefined rule further comprises a custom rule set by an administrator, and wherein the custom rule overrides the similarity score.
10. The method of claim 1, wherein the similarity score is generated by a Sentence Bidirectional Encoder Representations from Transformers (SBERT) model.
11. A server system for mapping data columns from a source schema to a target schema, comprising:
- a non-transitory memory configured to store instructions;
- a communication interface; and
- a processor in communication with the non-transitory memory and the communication interface, the processor configured to execute the instructions stored in the non-transitory memory the instructions comprising: receiving, by an input/output (I/O) engine, the source schema, wherein the source schema has a source data column from at least one entity; evaluating, by an evaluation engine, the source data column with at least one statistical technique; analyzing, with an analysis engine, the source data column and a corresponding data field based at least on a Generative Artificial Intelligence (AI) Language Model, and wherein the analysis engine is configured to assign a semantic label to the source data column based on at least one of an ontology-based rule, a natural language processing (NLP), or a machine learning (ML) model; calculating, with a calculation engine, a similarity score between the at least one descriptive source column name and a target column description based on at least one of a sentence embedding or a cosine similarity, wherein the similarity score determines the at least one descriptive source column name from the descriptive target column name; and mapping, with a mapping engine, the source schema to the target schema based on at least one of the similarity score or a predefined rule.
12. The server system of claim 11, wherein the at least one statistical technique includes at least one of a fill rate, a value count, and a data format categorization based on at least one of a regular expression, an ontology, or a sequence.
13. The server system of claim 11, wherein the mapping engine prioritizes a source-to-target mapping suggestion using a historical mapping.
14. The server system of claim 11, wherein when the at least one descriptive source column name and the descriptive target column name are the same, the mapping engine directly maps the at least one descriptive source column name to the descriptive target column name.
15. The server system of claim 11, wherein mapping of the source schema to the target schema is based at least on a hierarchy of confidence levels, wherein the hierarchy of confidence levels prioritizes:
- a. an exact match between the at least one descriptive source column name and the descriptive target column name;
- b. assigning the semantic label based on a sequence-based ordering;
- c. a historical mapping from a prior source-target schema mapping;
- d. a rule-based mapping from the predefined rule, wherein the predefined rule is based on the semantic label; and
- e. the similarity score from the sentence embedding-.
16. The server system of claim 11, wherein mapping further comprises aligning the source schema and the target schema using at least one of a predefined constraint or the predefined rule, and wherein the predefined rule is based on the semantic label of the at least one descriptive source column name.
17. The server system of claim 11, wherein prior to calculating the similarity score the instructions further comprise:
- generating, with the mapping engine the semantic label for the at least one descriptive source column name and the descriptive target column name using a pre-trained natural language processing model configured to capture the semantic meaning of text; and
- calculating, with the mapping engine, the similarity score between the semantic label of the at least one descriptive source column name and the semantic label of the descriptive target column name based at least on the cosine similarity.
18. The server system of claim 11, the instructions further comprising expanding, with an expansion engine, an abbreviated source column name into at least one descriptive source column name using the Generative AI Language Model when the source data column has the abbreviated source column name.
19. The server system of claim 11, wherein the predefined rule further comprises a custom rule set by an administrator, and wherein the custom rule overrides the similarity score.
20. The server system of claim 11, wherein the similarity score is generated by a Sentence Bidirectional Encoder Representations from Transformers (SBERT) model.
Type: Application
Filed: Nov 13, 2025
Publication Date: Nov 26, 2026
Inventors: Nilav Baran GHOSH (Pune), Sparsh DUTTA (Jaipur), Aseem RAGHAV (Delhi), Rishabh ARORA (Mohali)
Application Number: 19/387,947