Skip to content

Commit

Permalink
'Concept poss_eq to' is no longer a replacement relationship [AVOF-3572]
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur committed Jun 1, 2022
1 parent 5f6489f commit e41fe27
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 26 deletions.
1 change: 0 additions & 1 deletion CIEL/load_stage.sql
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ CREATE UNLOGGED TABLE ciel_to_concept_map AS
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)

Expand Down
2 changes: 0 additions & 2 deletions HCPCS/load_stage.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,6 @@ WHERE c.concept_id = r.concept_id_1
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
AND r.invalid_reason IS NULL
Expand Down Expand Up @@ -1216,7 +1215,6 @@ WHERE NOT EXISTS (
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
AND crs_int.invalid_reason IS NULL
Expand Down
7 changes: 0 additions & 7 deletions RxNorm_E/RxNorm_cleanup.sql
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ FROM (
THEN 2
WHEN r.relationship_id = 'Concept alt_to to'
THEN 3
WHEN r.relationship_id = 'Concept poss_eq to'
THEN 4
WHEN r.relationship_id = 'Concept was_a to'
THEN 5
WHEN r.relationship_id = 'Maps to'
Expand All @@ -156,7 +154,6 @@ FROM (
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
OR (
Expand Down Expand Up @@ -320,7 +317,6 @@ FROM (
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
AND r.invalid_reason IS NULL
Expand Down Expand Up @@ -353,7 +349,6 @@ WHERE NOT EXISTS (
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
)
Expand Down Expand Up @@ -388,7 +383,6 @@ FROM (
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to',
'Maps to'
)
Expand Down Expand Up @@ -425,7 +419,6 @@ FROM (
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to',
'Maps to'
)
Expand Down
8 changes: 0 additions & 8 deletions working/generic_update.sql
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,6 @@ BEGIN
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to',
'Maps to']) AS relationship_id
),
Expand Down Expand Up @@ -482,7 +481,6 @@ BEGIN
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to',
'Maps to',
'Maps to value',
Expand Down Expand Up @@ -532,7 +530,6 @@ BEGIN
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to',
'Maps to',
'Maps to value',
Expand Down Expand Up @@ -610,7 +607,6 @@ BEGIN
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
AND v.latest_update IS NOT NULL -- only for current vocabularies
Expand All @@ -634,7 +630,6 @@ BEGIN
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
)
Expand Down Expand Up @@ -738,7 +733,6 @@ BEGIN
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
AND r.invalid_reason IS NULL
Expand Down Expand Up @@ -770,7 +764,6 @@ BEGIN
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
)
Expand Down Expand Up @@ -825,7 +818,6 @@ BEGIN
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to',
'Maps to'
)
Expand Down
2 changes: 0 additions & 2 deletions working/packages/QA_TESTS/create_qa_tests.sql
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,6 @@ AS $BODY$
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
)
Expand Down Expand Up @@ -599,7 +598,6 @@ AS $BODY$
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
AND r_int.invalid_reason IS NULL
Expand Down
6 changes: 0 additions & 6 deletions working/packages/vocabulary_pack/CheckReplacementMappings.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ BEGIN
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
AND invalid_reason IS NULL
Expand All @@ -51,14 +50,12 @@ BEGIN
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
AND cs2.relationship_id IN (
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
AND crs.concept_code_1 = cs1.concept_code_1
Expand All @@ -85,7 +82,6 @@ BEGIN
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
)
Expand Down Expand Up @@ -144,7 +140,6 @@ BEGIN
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
AND crs.concept_code_1 <> crs.concept_code_2
Expand Down Expand Up @@ -193,7 +188,6 @@ BEGIN
'Concept replaced by',
'Concept same_as to',
'Concept alt_to to',
'Concept poss_eq to',
'Concept was_a to'
)
)
Expand Down

0 comments on commit e41fe27

Please sign in to comment.