cladteam / CCDA_OMOP_by_Python

2 stars 3 forks source link

Mapping Analysis: Problem List/condition_occurrence #148

Open chrisroederucdenver opened 1 week ago

chrisroederucdenver commented 1 week ago

This is an analysis ticket for starting work on the Problem List / conditions encounters ticket #106

Deliverables

Tips

There are questions here that may be hard to answer. Just seeing the questions is great progress.

Many clues to how ID linking works is in the Encounter Analysis

Reference

Mapping.py documentation may be useful as well.

OHDSI OMOP 5.4 CDM pages

`CREATE TABLE @cdmDatabaseSchema.condition_occurrence (

        condition_occurrence_id integer NOT NULL,

        person_id integer NOT NULL,

        condition_concept_id integer NOT NULL,

        condition_start_date date NOT NULL,

        condition_start_datetime TIMESTAMP NULL,

        condition_end_date date NULL,

        condition_end_datetime TIMESTAMP NULL,

        condition_type_concept_id integer NOT NULL,

        condition_status_concept_id integer NULL,

        stop_reason varchar(20) NULL,

        provider_id integer NULL,

        visit_occurrence_id integer NULL,

        visit_detail_id integer NULL,

        condition_source_value varchar(50) NULL,

        condition_source_concept_id integer NULL,

        condition_status_source_value varchar(50) NULL );`