# US 2023/0123496 A1 · Dynamic loading of an extending application

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

- Number: US 2023/0123496 A1
- Document ID: US20230123496A1
- Status: Published application
- Kind: A1
- Application number: 17/502,567
- Filed: 2021-10-15
- Published: 2023-04-20
- Earliest claimed: 2021-10-15
- Assignees: Vim Inc.
- Applicants: Vim Inc.
- Inventors: Asaf David; Nicolas Mendzylewski; Moran Shemesh; Chen Rozenes
- Web page: https://patentgrep.com/patent/US20230123496A1

## CPC

- G06F 9/44521: {Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading}
- G06F 9/44526: {Plug-ins; Add-ons}
- G06F 16/986: {Document structures and storage, e.g. HTML extensions}
- G06F 21/6281: {at program execution time, where the protection is within the operating system}
- G16H 10/60: for patient-specific data, e.g. for electronic patient records
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G16H: HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA

## Abstract

An apparatus, system and product including a software agent configured to monitor and interact with a Document Object Model (DOM) of a page of an Electronic Health Record (EHR) system; a runtime infrastructure that is loaded, dynamically, in the page in a first iframe; an EHR-specific EHR adapter that is loaded, dynamically, in the page; and an extending application that is loaded, dynamically, in the page in a second iframe, wherein the EHR-specific EHR adapter is configured to receive EHR-specific instructions from the software agent and communicate converted cross-EHR instructions to the runtime infrastructure, wherein the runtime infrastructure is configured to communicate the converted cross-EHR instructions to the extending application and receive cross-EHR instructions from the extending application, wherein the EHR-specific EHR adapter is configured to obtain the cross-EHR instructions and communicate converted EHR-specific instructions to the software agent.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

An apparatus comprising:
a software agent configured to monitor and interact with a Document Object Model (DOM) of a page of an Electronic Health Record (EHR) system;
a runtime infrastructure that is loaded, dynamically, in the page of the EHR system in a first iframe;
an EHR-specific EHR adapter that is loaded, dynamically, in the page of the EHR system; and
an extending application that is loaded, dynamically, in the page of the EHR system in a second iframe,
wherein the EHR-specific EHR adapter is specifically designed based on the EHR system, wherein the EHR-specific EHR adapter is configured to receive EHR-specific instructions from the software agent and communicate converted cross-EHR instructions to the runtime infrastructure, wherein the runtime infrastructure is configured to communicate the converted cross-EHR instructions to the extending application, wherein the runtime infrastructure is configured to receive cross-EHR instructions from the extending application, wherein the EHR-specific EHR adapter is configured to obtain the cross-EHR instructions and communicate converted EHR-specific instructions to the software agent, wherein said apparatus is configured to implement a functionality that is not provided by the EHR system at least by:
monitoring, by the software agent, for an event in the EHR system;
notifying, by the software agent, the EHR-specific EHR adapter of the event via an EHR-specific instruction;
translating, by the EHR-specific EHR adapter, the EHR-specific instruction to a converted cross-EHR instruction that is provided to the extending application via the runtime infrastructure;
executing, by the extending application, a cross-EHR business logic in response to the converted cross-EHR instruction to determine a cross-EHR response; and
translating, by the EHR-specific EHR adapter, the cross-EHR response to a converted EHR-specific instruction that can be implemented by the software agent over the EHR system.

### Claim 22 (depends on 21)

The apparatus of claim 21, wherein the runtime infrastructure lacks a Graphical User Interface (GUI) representation.

### Claim 23 (depends on 21)

The apparatus of claim 21, wherein the extending application comprises a Graphical User Interface (GUI) component, wherein the business logic is configured to manipulate the GUI component.

### Claim 24 (depends on 21)

The apparatus of claim 21, wherein the extending application is an automation process, wherein the automation process lacks a Graphical User Interface (GUI) representation.

### Claim 25 (depends on 21)

The apparatus of claim 21, wherein the runtime infrastructure is configured to: retrieve from a server a list of applications to be loaded in the page, wherein the list of applications to be loaded comprises at least the extending application, wherein the runtime infrastructure is configured to dynamically load the extending application in the second iframe by provisioning a Uniform Resource Locator (URL) to be loaded in the second iframe, wherein the URL is pointing to a code of the extending application, whereby the apparatus is enabled to load new code and provision new functionality by changing the code or changing the URL without changing the software agent, whereby the apparatus prevents a dynamic execution of a string representing client-side code.

### Claim 26 (depends on 25)

The apparatus of claim 25, wherein the list of applications to be loaded is determined based on access permissions of a user of the EHR system to applications in an application repository.

### Claim 27 (depends on 21)

The apparatus of claim 21, wherein the software agent is configured to inject the first iframe in the page of the EHR system and cause the runtime infrastructure to be loaded into the first iframe.

### Claim 28 (depends on 21)

The apparatus of claim 21, wherein the software agent is configured to inject the second iframe in the page of the EHR system and enable the runtime infrastructure to load the extending application into the second iframe.

### Claim 29 (depends on 21)

The apparatus of claim 21, wherein the cross-EHR response is configured to perform a User Interface (UI) manipulation in the page of the EHR system or a data update in the page of the EHR system.

### Claim 30 (depends on 21)

The apparatus of claim 21, wherein the software agent is configured to inject the EHR-specific EHR adapter in the page of the EHR system and load the EHR-specific EHR adapter.

### Claim 31 (depends on 21)

The apparatus of claim 21, wherein the software agent comprises a browser extension, wherein the browser extension is configured to be executed by a browser, wherein the browser is configured to render the page of the EHR system.

### Claim 32 (depends on 21)

The apparatus of claim 21, wherein the software agent comprises a desktop agent, wherein the EHR system comprises a desktop-based EHR system, wherein the desktop agent is configured to be executed over the desktop-based EHR system.

### Claim 33 (depends on 21)

The apparatus of claim 21, wherein the runtime infrastructure is configured to retrieve from a server a list of applications to be loaded in the page, wherein the list of applications to be loaded comprises the extending application and a second application, wherein the extending application belongs to a first organization associated with a first server, wherein the second application belongs to a second organization associated with a second server, wherein the runtime infrastructure is configured to dynamically load the second application in a third iframe embedded in the page by provisioning a Uniform Resource Locator (URL) to be loaded in the third iframe, wherein the URL is pointing to a code of the second application.

### Claim 34 (depends on 21)

The apparatus of claim 21, wherein the runtime infrastructure is configured to retrieve from a server a list of applications to be loaded in the page, wherein the list of applications to be loaded comprises the extending application and a second application, wherein the extending application belongs to a first organization associated with a first server, wherein the second application belongs to a second organization associated with a second server, wherein the runtime infrastructure is configured to dynamically load the second application in the second iframe by provisioning a Uniform Resource Locator (URL) of the second application to be loaded in the second iframe, wherein the URL of the second application is pointing to a code of the second application, wherein the URL of the second application replaces a URL of the extending application.

### Claim 35 (depends on 34)

The apparatus of claim 34, wherein the runtime infrastructure is configured to dynamically load the second application in the second iframe in response to a second event.

### Claim 36 (depends on 21)

The apparatus of claim 21, wherein a list of applications is available in a marketplace, wherein any provider is enabled to upload a new application to the marketplace, wherein a user of the EHR system is enabled to install in a user device any application from the marketplace.

### Claim 37

A system comprising:
a software agent configured to monitor and interact with a Document Object Model (DOM) of a page of an Electronic Health Record (EHR) system;
a runtime infrastructure that is loaded, dynamically, in the page of the EHR system in a first iframe;
an EHR-specific EHR adapter that is loaded, dynamically, in the page of the EHR system; and
an extending application that is loaded, dynamically, in the page of the EHR system in a second iframe,
wherein the EHR-specific EHR adapter is specifically designed based on the EHR system, wherein the EHR-specific EHR adapter is configured to receive EHR-specific instructions from the software agent and communicate converted cross-EHR instructions to the runtime infrastructure, wherein the runtime infrastructure is configured to communicate the converted cross-EHR instructions to the extending application, wherein the runtime infrastructure is configured to receive cross-EHR instructions from the extending application, wherein the EHR-specific EHR adapter is configured to obtain the cross-EHR instructions and communicate converted EHR-specific instructions to the software agent,
wherein said system is configured to implement a functionality that is not provided by the EHR system at least by:
monitoring, by the software agent, for an event in the EHR system;
notifying, by the software agent, the EHR-specific EHR adapter of the event via an EHR-specific instruction;
translating, by the EHR-specific EHR adapter, the EHR-specific instruction to a converted cross-EHR instruction that is provided to the extending application via the runtime infrastructure;
executing, by the extending application, a cross-EHR business logic in response to the converted cross-EHR instruction to determine a cross-EHR response; and
translating, by the EHR-specific EHR adapter, the cross-EHR response to a converted EHR-specific instruction that can be implemented by the software agent over the EHR system.

### Claim 38 (depends on 37)

The system of claim 37, wherein the runtime infrastructure lacks a Graphical User Interface (GUI) representation.

### Claim 39 (depends on 37)

The system of claim 37, wherein the software agent is configured to inject the first iframe in the page of the EHR system and cause the runtime infrastructure to be loaded into the first iframe.

### Claim 40

A computer program product comprising a non-transitory computer readable medium retaining program instructions, which program instructions when read by a processor, cause the processor to:
obtain a software agent configured to monitor and interact with a Document Object Model (DOM) of a page of an Electronic Health Record (EHR) system;
obtain a runtime infrastructure that is loaded, dynamically, in the page of the EHR system in a first iframe;
obtain an EHR-specific EHR adapter that is loaded, dynamically, in the page of the EHR system; and
obtain an extending application that is loaded, dynamically, in the page of the EHR system in a second iframe,
wherein the EHR-specific EHR adapter is specifically designed based on the EHR system, wherein the EHR-specific EHR adapter is configured to receive EHR-specific instructions from the software agent and communicate converted cross-EHR instructions to the runtime infrastructure, wherein the runtime infrastructure is configured to communicate the converted cross-EHR instructions to the extending application, wherein the runtime infrastructure is configured to receive cross-EHR instructions from the extending application, wherein the EHR-specific EHR adapter is configured to obtain the cross-EHR instructions and communicate converted EHR-specific instructions to the software agent,
wherein said processor is configured to implement a functionality that is not provided by the EHR system at least by:
monitoring, by the software agent, for an event in the EHR system;
notifying, by the software agent, the EHR-specific EHR adapter of the event via an EHR-specific instruction;
translating, by the EHR-specific EHR adapter, the EHR-specific instruction to a converted cross-EHR instruction that is provided to the extending application via the runtime infrastructure;
executing, by the extending application, a cross-EHR business logic in response to the converted cross-EHR instruction to determine a cross-EHR response; and
translating, by the EHR-specific EHR adapter, the cross-EHR response to a converted EHR-specific instruction that can be implemented by the software agent over the EHR system.
