Skip to content

Commit 43a8295

Browse files
committed
Check death table first in destination table lookup
1 parent 2e2f771 commit 43a8295

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/api/services/rules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def _find_destination_table(
295295
"""
296296
domain = concept.domain_id.lower()
297297
# get the omop field for the source_concept_id for this domain
298-
298+
299299
# For death tables (not gender, race, ethnicity) use cause_source_concept_id
300300
if table.death_table and domain not in ["gender", "race", "ethnicity"]:
301301
omop_field = _get_omop_field("cause_source_concept_id", "death")

0 commit comments

Comments
 (0)