Note/ Note_nlp, how to relate findings with their respective texts

Hi Diego!

These tables are not finally shaped - read here.
Recording a note in the note table doesn’t necessarily mean you extract the concepts. But even if you do, why would you need a record-level connection? You can flag such Conditions, Observations, etc. with a proper type_concept_id and include or exclude them from your study.
Note_event_id won’t help because in the majority of cases, you extract many concepts from a single note, but this field doesn’t allow one-to-many connections.

Note_nlp is better in a way that each record represents a single term, so you could have one-to-one connections, but the “_event_id” field is missing, right? You could also store the derived concepts right in the note_nlp_concept_id/note_nlp_source_concept_id fields or deliver them to the proper tables and use the fact_relationships. Here’s a discussion about it.

Unless we have clear and ratified conventions, folks may come up with their own ideas, implement them, validate them in the studies, and contribute back to OHDSI. This is how it usually works.

1 Like