Problem or motivation
person_demography_mv only exposes decoded text for country of birth and language spoken, not the underlying OMOP concept_id, needed to join this data against other OMOP-standard tables and vocabularies.
Proposed solution
Add value_as_concept_id to the person_cob and person_lang subqueries in demography_queries.py, and add matching columns to demographics_join and the PersonDemography ORM class.
Problem or motivation
person_demography_mv only exposes decoded text for country of birth and language spoken, not the underlying OMOP concept_id, needed to join this data against other OMOP-standard tables and vocabularies.
Proposed solution
Add value_as_concept_id to the person_cob and person_lang subqueries in demography_queries.py, and add matching columns to demographics_join and the PersonDemography ORM class.