# US 2023/0409576 A1 · Adaptive model transformation in multi-tenant environment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0409576 A1
- Document ID: US20230409576A1
- Status: Published application
- Kind: A1
- Application number: 18/239,033
- Filed: 2023-08-28
- Published: 2023-12-21
- Earliest claimed: 2022-03-10
- Assignees: Express Scripts Strategic Development, Inc.
- Applicants: Express Scripts Strategic Development, Inc.
- Inventors: Dennis Fuglsang; Robert W. Scanlon
- Web page: https://patentgrep.com/patent/US20230409576A1

## CPC

- G06F 16/24547: {Optimisations to support specific applications; Extensibility of optimisers}
- G06F 16/24575: {using context}
- G06F 16/2272: {Management thereof}
- G06F 16/2448: {for particular applications; for extensibility, e.g. user defined types}
- G06F 16/2456: {Join operations}
- G06F 16/258: {Data format conversion from or to a database}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes receiving a query directed to a first data model that specifies base data fields. The method includes determining extension bindings for the first data model. A binding specifies an extension to the first data model and specifies one of the base data fields as a node at which the specified extension is added. The extension specifies a non-empty set of data fields. The method includes retrieving base data values according to the base data fields and extension data values according to, for a first binding, the set of data fields. The method includes generating a data object from the base and extension data values according to a second data model. The second data model is based on the first data model extended by adding the data fields from the extension specified by the first binding to the first data model at the specified node.

## Claims

### Claim 1

A query processing method comprising:
receiving a query from a requestor, wherein the query is directed to a first data model that specifies a set of base data fields;
determining a set of extension bindings for the first data model using the query, wherein:
a binding of the set of extension bindings specifies an extension to the first data model from a plurality of model extensions and specifies one of the set of base data fields of the first data model as a node at which the specified extension is added; and
the extension specifies a non-empty set of data fields;
retrieving, from data storage:
base data values according to the set of base data fields of the first data model; and
extension data values according to, for a first binding of the set of extension bindings, the non-empty set of data fields from the extension specified by the first binding; and
generating a data object from the base data values and the extension data values according to a second data model,
wherein the second data model is based on the first data model extended by adding the non-empty set of data fields from the extension specified by the first binding to the first data model at the node specified by the first binding.

### Claim 2 (depends on 1)

The query processing method of claim 1 further comprising returning the data object to the requestor.

### Claim 3 (depends on 1)

The query processing method of claim 1 wherein each binding of the set of extension bindings specifies a respective extension to the first data model from the plurality of model extensions and specifies a respective one of the set of base data fields of the first data model as a node at which the specified extension is added.

### Claim 4 (depends on 1)

The query processing method of claim 1 wherein each extension of the plurality of model extensions specifies a respective non-empty set of data fields.

### Claim 5 (depends on 1)

The query processing method of claim 1 wherein the retrieving includes retrieving extension data values according to, for each binding of the set of extension bindings, the non-empty set of data fields from the extension specified by the binding.

### Claim 6 (depends on 1)

The query processing method of claim 1 wherein the second data model is generated from the first data model by, for each binding of the set of extension bindings, adding the non-empty set of data fields from the extension specified by the binding to the first data model at the node specified by the binding.

### Claim 7 (depends on 1)

The query processing method of claim 1 further comprising:
determining an associated tenant of a plurality of tenants,
wherein the set of extension bindings is determined based on an identity of the associated tenant.

### Claim 8 (depends on 7)

The query processing method of claim 7 wherein determining the associated tenant is based on an identity of the requestor.

### Claim 9 (depends on 1)

The query processing method of claim 1 wherein:
a mapping associates a plurality of tenants with a plurality of extension bindings that is a superset of the set of extension bindings; and
determining the set of extension bindings includes:
based on the mapping, identifying a first tenant of the plurality of tenants associated with the requestor; and
selecting, as the set of extension bindings, ones of the plurality of extension bindings that are associated with the first tenant.

### Claim 10 (depends on 1)

The query processing method of claim 1 wherein the extension specified by the first binding specifies data types for the non-empty set of data fields.

### Claim 11

A non-transitory computer-readable medium comprising instructions including:
receiving a query from a requestor, wherein the query is directed to a first data model that specifies a set of base data fields;
determining a set of extension bindings for the first data model using the query, wherein:
a binding of the set of extension bindings specifies an extension to the first data model from a plurality of model extensions and specifies one of the set of base data fields of the first data model as a node at which the specified extension is added; and
the extension specifies a non-empty set of data fields;
retrieving, from data storage:
base data values according to the set of base data fields of the first data model; and
extension data values according to, for a first binding of the set of extension bindings, the non-empty set of data fields from the extension specified by the first binding; and
generating a data object from the base data values and the extension data values according to a second data model,
wherein the second data model is based on the first data model extended by adding the non-empty set of data fields from the extension specified by the first binding to the first data model at the node specified by the first binding.

### Claim 12 (depends on 11)

The computer-readable medium of claim 11 wherein each binding of the set of extension bindings specifies a respective extension to the first data model from the plurality of model extensions and specifies a respective one of the set of base data fields of the first data model as a node at which the specified extension is added.

### Claim 13 (depends on 11)

The computer-readable medium of claim 11 wherein the retrieving includes retrieving extension data values according to, for each binding of the set of extension bindings, the non-empty set of data fields from the extension specified by the binding.

### Claim 14 (depends on 11)

The computer-readable medium of claim 11 wherein the second data model is generated from the first data model by, for each binding of the set of extension bindings, adding the non-empty set of data fields from the extension specified by the binding to the first data model at the node specified by the binding.

### Claim 15 (depends on 11)

The computer-readable medium of claim 11 wherein:
a mapping associates a plurality of tenants with a plurality of extension bindings that is a superset of the set of extension bindings; and
determining the set of extension bindings includes:
based on the mapping, identifying a first tenant of the plurality of tenants associated with the requestor; and
selecting, as the set of extension bindings, ones of the plurality of extension bindings that are associated with the first tenant.

### Claim 16

A system comprising:
memory hardware configured to store instructions; and
processor hardware configured to execute the instructions, wherein the instructions include:
receiving a query from a requestor, wherein the query is directed to a first data model that specifies a set of base data fields;
determining a set of extension bindings for the first data model using the query, wherein:
a binding of the set of extension bindings specifies an extension to the first data model from a plurality of model extensions and specifies one of the set of base data fields of the first data model as a node at which the specified extension is added; and
the extension specifies a non-empty set of data fields;
retrieving, from data storage:
base data values according to the set of base data fields of the first data model; and
extension data values according to, for a first binding of the set of extension bindings, the non-empty set of data fields from the extension specified by the first binding; and
generating a data object from the base data values and the extension data values according to a second data model,
wherein the second data model is based on the first data model extended by adding the non-empty set of data fields from the extension specified by the first binding to the first data model at the node specified by the first binding.

### Claim 17 (depends on 16)

The system of claim 16 wherein each binding of the set of extension bindings specifies a respective extension to the first data model from the plurality of model extensions and specifies a respective one of the set of base data fields of the first data model as a node at which the specified extension is added.

### Claim 18 (depends on 16)

The system of claim 16 wherein the retrieving includes retrieving extension data values according to, for each binding of the set of extension bindings, the non-empty set of data fields from the extension specified by the binding.

### Claim 19 (depends on 16)

The system of claim 16 wherein the second data model is generated from the first data model by, for each binding of the set of extension bindings, adding the non-empty set of data fields from the extension specified by the binding to the first data model at the node specified by the binding.

### Claim 20 (depends on 16)

The system of claim 16 wherein:
a mapping associates a plurality of tenants with a plurality of extension bindings that is a superset of the set of extension bindings; and
determining the set of extension bindings includes:
based on the mapping, identifying a first tenant of the plurality of tenants associated with the requestor; and
selecting, as the set of extension bindings, ones of the plurality of extension bindings that are associated with the first tenant.
