Hi everyone,

Need some ideas to bounce off.

I have several medical codes, let’s name them A, B, C and D.

Each medical code consists of multiple clauses, say, 1.1, 1.2 and so on.

I want to create a model (?) where a text input of a textual clause will show up all other related clauses from different medical codes. For example, if I input clause 3.2 from medical A, I want the output to show up the related/similar clauses from code B, C and D.

I have thought of using something like a Retrieval Augmented Generation for this, but anyone has any better ideas regarding this topic? Could a language model do something about this? Thanks!