Skip to content

NOTE_NLP nlp_event_field_concept_id #15

Description

@kgweber-sag

I am working on implementing the proposal for the NOTE_NLP extensions in my (CDM 5.4) data warehouse. I love the concept, but am struggling with what may be a basic lack of understanding.

I understand that nlp_event_field_concept_id is pointing to (for example) condition_occurrence.condition_concept_id. But how do I build a query that says, "Select all the rows where the nlp_system was 'CTAKES' and get a count of person_id and domain"

My instinct is to try to join NOTE_NLP on this polymorphic key but I just can't quite get my head around how to work backwards from the event_field_concept_id to get there. Do I have to start from the clinical tables that interest me and then join on row_id and filter on what I know to be the correct nlp_event_field_concept_id?

I'd really appreciate a little advice on how to use this kind of structure most effectively.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions