From cc8465c984b0c9e2a8af2a6d2515c5b31045634c Mon Sep 17 00:00:00 2001 From: Dmytry Dymshyts Date: Mon, 19 Apr 2021 19:35:00 +0300 Subject: [PATCH] POS to Visit fix finished WHEN tty = 'POS' THEN 'Visit' --removed additional filters --- CPT4/load_stage.sql | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CPT4/load_stage.sql b/CPT4/load_stage.sql index 5850d553e..a673b77bd 100644 --- a/CPT4/load_stage.sql +++ b/CPT4/load_stage.sql @@ -467,11 +467,7 @@ FROM ( ) AND cs.concept_code <> '86789' THEN 'Drug' - WHEN m2.tui IN ( - 'T073', - 'T093' - ) - AND tty = 'POS' + WHEN tty = 'POS' THEN 'Visit' WHEN m2.tui IN ( 'T081',