IP Library Granted Patent US 12,512,216
Granted Patent B1
US 12,512,216 · App. 18/957,811 · Granted Dec 30, 2025

Apparatus and method for determining a code as a function of subject data

Inventors: Blake Browder (Dallas, TX); Joy Figarsky (Little Rock, AR)
Assignee: Behavioral Health Operations, LLC
G16H40/20G16H50/20
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,512,216
App. No.
18/957,811
Granted
Dec 30, 2025
Kind
B1
Abstract

An apparatus and method for determining a code as a function of subject data. The apparatus includes at least a processor and a memory communicatively connected to the at least a processor. The memory instructs the processor to collect subject data, receive user input associated with the subject data, determine, using a first encoder, portions of the user input, wherein the portions comprise tokens and noise, identify, using a second encoder, the tokens of the portions, assign, using the second encoder, a code to the tokens, and identifying the code as a function of the subject data, and display the code.

Claims (59)

1 . An apparatus for determining a code as a function of subject data, wherein the apparatus comprises:

at least a computing device, wherein the computing device comprises:

a memory; and

at least a processor communicatively connected to the memory, wherein the memory contains instructions configuring the at least a processor to:

collect, using the at least a processor, subject data;

receive, using the at least a processor, user input associated with the subject data;

determine, using a first encoder, portions of the user input, wherein the portions comprise tokens and noise;

identify, using a second encoder, the tokens of the portions, wherein identifying the tokens comprises:

extracting a context datum from the portions;

comparing segments of the portions to predefined data, wherein comparing the segments of the portions to the predefined data comprises using a cross-encoder by:

 inputting, simultaneously, both the user input and the predefined into the cross-encoder;

 assessing, by the cross-encoder, a degree of match between one or more segments of the portions of the user input and the predefined data by jointly encoding a combined context of the one or more segments and the predefined data based on at least the extracted context datum; and

 producing, by the cross-encoder, a similarity score representative of the degree of match between the one or more segments of the user input and the predefined data;

filtering the noise from the portions as a function of a comparison of the segments to the predefined data based on the similarity score being within a range of values; and

identifying the tokens as a function of a comparison of the segments to the predefined data based on the similarity score not being within the range of values;

assign, using the second encoder, a code to the identified tokens, wherein the second encoder is iteratively trained using system feedback wherein the system feedback generates at least an error message as a function of an unexpected condition, wherein assigning the code comprises:

determining at least a classification for the tokens;

matching, using at least a reference database, the tokens to one or more codes associated with the at least a reference database; and

identifying the code as a function of the subject data; and

display, using a downstream device, the code.

2 . The apparatus of claim 1 , wherein the apparatus is further configured to collect the subject data from electronic subject records.

3 . The apparatus of claim 1 , wherein the first encoder comprises a natural language processor trained using a first dataset comprising historical portions corresponding to historical noise and historical tokens.

4 . The apparatus of claim 1 , wherein the second encoder comprises a large language model trained using a second dataset comprising historical tokens corresponding to historical code.

5 . The apparatus of claim 1 , wherein the second encoder is iteratively trained using system feedback comprising a correction datum based on the user input.

6 . The apparatus of claim 1 , wherein the apparatus further comprises a processing module configured to:

organize the subject data into predefined categories based on a temporal datum; and

filter the subject data based on a frequency datum.

7 . The apparatus of claim 1 , wherein identifying the tokens of the portions comprises detecting data elements that correspond to one or more codes associated with the at least a reference database.

8 . The apparatus of claim 1 , wherein identifying the code as a function of the subject data comprises analyzing context data of the user input, wherein identifying the code comprises comparing the context data of the user input to a key datum of the subject data.

9 . The apparatus of claim 1 , wherein the apparatus is further configured to assign the code based on a hierarchical system.

10 . The apparatus of claim 9 , wherein the hierarchical system is configured to generate a probability score as a function of a confidence datum.

11 . A method for determining a code as a function of subject data, wherein the method comprises:

collecting, using at least a processor, subject data;

receiving, using the at least a processor, user input associated with the subject data;

determining, using a first encoder, portions of the user input, wherein the portions comprise tokens and noise;

identifying, using a second encoder, the tokens of the portions, wherein identifying the tokens comprises:

extracting a context datum from the portions;

comparing segments of the portions to predefined data, wherein comparing the segments of the portions to the predefined data comprises using a cross-encoder by:

inputting, simultaneously, both the user input and the predefined into the cross-encoder;

assessing, by the cross-encoder, a degree of match between one or more segments of the portions of the user input and the predefined data by jointly encoding a combined context of the one or more segments and the predefined data based on at least the extracted context datum; and

producing, by the cross-encoder, a similarity score representative of the degree of match between the one or more segments of the user input and the predefined data;

filtering the noise from the portions as a function of a comparison of the segments to the predefined data based on the similarity score being within a range of values; and

identifying the tokens as a function of a comparison of the segments to the predefined data based on the similarity score not being within the range of values;

assigning, using the second encoder, a code to the tokens, wherein the second encoder is iteratively trained using system feedback wherein the system feedback generates at least an error message as a function of an unexpected condition, wherein assigning the code comprises:

determining at least a classification for the tokens;

matching, using at least a reference database, the tokens to one or more codes associated with the at least a reference database; and

identifying the code as a function of the subject data; and

displaying, using a downstream device, the code.

12 . The method of claim 11 , wherein collecting the subject data comprises collecting the subject data from electronic subject records.

13 . The method of claim 11 , wherein the first encoder comprises a natural language processor trained using a first dataset comprising historical portions corresponding to historical noise and historical tokens.

14 . The method of claim 11 , wherein the second encoder comprises a large language model trained using a second dataset comprising historical tokens corresponding to historical code.

15 . The method of claim 11 , wherein the second encoder is iteratively trained using system feedback comprising a correction datum based on the user input.

16 . The method of claim 11 further comprising:

organizing, using a processing module, the subject data into predefined categories based on a temporal datum; and

filtering, using the processing module, the subject data based on a frequency datum.

17 . The method of claim 11 , wherein identifying the tokens of the portions comprises detecting data elements that correspond to one or more codes associated with the at least a reference database.

18 . The method of claim 11 , wherein identifying the code as a function of the subject data comprises analyzing context data of the user input, wherein identifying the code comprises comparing the context data of the user input to a key datum of the subject data.

19 . The method of claim 11 , wherein assigning the code comprises assigning the code based on a hierarchical system.

20 . The method of claim 19 , wherein the hierarchical system is configured to generate a probability score as a function of a confidence datum.

Assignments (3)
CORRECTIVE ASSIGNMENT TO CORRECT THE ASSIGNEE PREVIOUSLY RECORDED ON REEL 72292 FRAME 767. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Dec 16, 2025
From: SIGNET HEALTH CORPORATION
To: BH OPERATIONS, LLC
Reel/Frame 073992/0817 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 31, 2025
From: SIGNET HEALTH CORPORATION
To: BEHAVIORAL HEALTH OPERATIONS, LLC
Reel/Frame 072292/0767 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 24, 2024
From: BROWDER, BLAKE; FIGARSKY, JOY
To: SIGNET HEALTH CORPORATION
Reel/Frame 069388/0033 →
References Cited (16)
US 6915254B1 · Heinze · 2005 [cited by examiner]
US 10275576B2 · Furst · 2019 [cited by examiner]
US 10949602B2 · Snider · 2021 [cited by examiner]
US 11288445B2 · Burns · 2022 [cited by examiner]
US 20150370979A1 · Boloor · 2015 [cited by examiner]
US 20160125168A1 · Aagesen · 2016 [cited by examiner]
US 20170235885A1 · Cox · 2017 [cited by examiner]
US 20180081859A1 · Snider · 2018 [cited by examiner]
US 20210407685A1 · Stockwell · 2021 [cited by examiner]
US 20230215523A1 · Sukhtipyaroge · 2023 [cited by examiner]
US 20230386646A1 · Tanwani · 2023 [cited by examiner]
US 20230402158A1 · Zavesky · 2023 [cited by examiner]
US 20240202462A1 · Kim · 2024 [cited by examiner]
Pei-Fu Chen et al, Automatic ICD-10 Coding and Training System: Deep Neural Network Based on Supervised Learning, JMIR Med Inform. Aug. 31, 2021;9(8). [cited by applicant]
Xiaolin Diao et al, Automated ICD coding for primary diagnosis via clinically interpretable machine learning, “International Journal of Medical InformaticsVolume 153, Sep. 2021, 104543”. [cited by applicant]
Krishanu Das Baksi et al, MedCodER: A Generative AI Assistant for Medical Coding, arXiv:2409.15368v1 [cs. CL] Sep. 18, 2024. [cited by applicant]