Skip to content

no string id rule implementation #15

@sshenzha

Description

@sshenzha

*_source_value columns contain the raw, original codes from the source system before ETL — things like "I10" (ICD-10 for hypertension) or "99213" (CPT for an office visit). These are institution-specific, encoding-specific strings. They are not a stable or portable way to identify clinical concepts.

OMOP provides the mapped equivalent for every source_value: *_source_concept_id (the source code mapped to an OMOP concept) and *_concept_id (the standard concept).

-- BAD: identifying hypertension by its raw source string
WHERE condition_source_value = 'I10'
-- GOOD: using the concept_id that the ETL already resolved for you
WHERE condition_source_concept_id = 44331282
-- or the standard concept
WHERE condition_concept_id = 316866

Metadata

Metadata

Assignees

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