# US 2026/0311832 A1 · Method and system for context-aware radiology report generation using a json-based engine and large language models

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

- Number: US 2026/0311832 A1
- Document ID: US20260311832A1
- Status: Published application
- Kind: A1
- Application number: 19/641,167
- Filed: 2026-04-07
- Published: 2026-10-08
- Earliest claimed: 2025-04-07
- Assignees: Radpair Corp.
- Applicants: Radpair Corp.
- Inventors: Avez Rizvi
- Web page: https://patentgrep.com/patent/US20260311832A1

## CPC

- G16H 15/00: ICT specially adapted for medical reports, e.g. generation or transmission thereof
- G06F 40/279: Recognition of textual entities
- G16H: HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present technology relates to methods and systems for context-aware report generation using a JSON-based engine and large language models, particularly for use in the practice of radiology. According to certain embodiments, the method comprises: receiving a dictation; selecting a JSON template; extracting one or more keywords from the dictation; wherein, when at least one keyword is identified, populating at least one section of the JSON template based on the at least one keyword, and when no keyword is identified, retaining a default version of the JSON template; assembling a dynamic prompt based on the JSON template and any populated section; and generating a report based on the dynamic prompt and the dictation.

## Claims

### Claim 1

A method of report generation comprising:
receiving a dictation;
selecting a JSON template;
extracting one or more keywords from the dictation;
wherein, when at least one keyword is identified, populating at least one section of the JSON template based on the at least one keyword, and when no keyword is identified, retaining a default version of the JSON template;
assembling a dynamic prompt based on the JSON template and any populated section; and
generating a report based on the dynamic prompt and the dictation.

### Claim 2 (depends on 1)

The method of claim 1, wherein extracting the one or more keywords from the dictation comprises:
identifying, in the dictation, one or more words that are present in a lexicon;
isolating the one or more words in context within the dictation; and
classifying the one or more words as the one or more keywords.

### Claim 3 (depends on 1)

The method of claim 1, wherein generating the report comprises:
submitting the dynamic prompt to a large language model (LLM); and
generating, by the LLM, the report based on the dynamic prompt and the dictation.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
performing a post-generation reconciliation between (i) the one or more keywords detected in the dictation and (ii) one or more keywords present in the generated report;
wherein, when a keyword detected in the dictation is absent from the generated report, flagging a potential dropped finding; and
wherein, when a keyword appears in the generated report but was not detected in the dictation, signaling a potential hallucinated term.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
when the potential dropped finding is flagged, performing at least one of: inserting a missing keyword into an appropriate section of the report, or prompting a user to confirm placement; and
when the potential hallucinated term is signaled, performing at least one of: removing the potential hallucinated term, qualifying the potential hallucinated term, or prompting the user for confirmation.

### Claim 6

A system for report generation comprising:
a device for receiving a dictation;
a database with specialized lexicon;
a processor for extracting keywords from the dictation based on the database;
a decision engine for selecting a template;
a processor for constructing a prompt based on the template and any keywords; and
a large language model for generating a report based on the prompt.

### Claim 7

A method of report generation comprising:
selecting a baseline prompt that includes placeholders corresponding to template sections;
retrieving the JSON template from a template library;
determining, using a lexicon, one or more keywords associated with the dictation;
populating one or more of the placeholders with content derived from the JSON template and the one or more keywords;
modifying the baseline prompt based on one or more rules that are triggered by detection of at least one keyword to generate a final prompt; and
providing the final prompt and the dictation to a large language model (LLM) to generate a report.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
customizing the rules and JSON template for a particular user by at least one of: toggling default phrases, locking or unlocking sections, or selecting a user-specific variant template.

### Claim 9 (depends on 8)

The method of claim 8, further comprising presenting a user interface that enables a user to customize the rules and JSON template.

### Claim 10 (depends on 9)

The method of claim 9, wherein the user interface enables the user to select a report section and to at least one of (i) edit a default phrase for the report section or (ii) designate the report section as locked against modification by the LLM.

### Claim 11 (depends on 9)

The method of claim 9, wherein the user interface enables the user to edit a rule by specifying (i) at least one keyword that triggers the rule and (ii) an action that modifies a corresponding section of the final prompt.

### Claim 12 (depends on 9)

The method of claim 9, further comprising enforcing role-based permissions such that an administrator is permitted to edit the JSON template or rules and a non-administrator is restricted to selecting among pre-approved customizations.

### Claim 13 (depends on 9)

The method of claim 9, further comprising storing, for each customization, at least one of a version identifier, an effective date, or an audit record identifying a user associated with the customization.

### Claim 14 (depends on 9)

The method of claim 9, further comprising:
generating a preview report that shows how the report will appear based on the customization of the rules and JSON template.
