File tree Expand file tree Collapse file tree
configuration/pih/liquibase Expand file tree Collapse file tree Original file line number Diff line number Diff line change 12891289 </sql >
12901290 </changeSet >
12911291
1292+ <changeSet id =" 20260526-delete-2-narrow-rx-norm-mappings" author =" ball" >
1293+ <comment >
1294+ UHM-9314 - Delete NARROWER-THAN RxNORM mappings replaced by SAME-AS mappings
1295+ </comment >
1296+ <sql >
1297+ -- Delete RxNORM NARROWER-THAN mapping on Dorzolamide / timolol
1298+ delete from concept_reference_map
1299+ where concept_map_type_id IN (select concept_map_type_id from concept_map_type where name like 'NARROWER-THAN')
1300+ and concept_id IN (select concept_id from concept where uuid like '104546AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA')
1301+ and concept_reference_term_id IN
1302+ (select concept_reference_term_id from concept_reference_term
1303+ where code like '662263'
1304+ and concept_source_id = (select concept_source_id from concept_reference_source where name like 'RxNORM'));
1305+
1306+
1307+ -- Deleted RxNORM NARROWER-THAN mapping on Dimethicone / Magaldrate
1308+ delete from concept_reference_map
1309+ where concept_map_type_id IN (select concept_map_type_id from concept_map_type where name like 'NARROWER-THAN')
1310+ and concept_id IN (select concept_id from concept where uuid like '6e203f4e-03ad-4c9e-b160-234ee092cc02')
1311+ and concept_reference_term_id IN
1312+ (select concept_reference_term_id from concept_reference_term
1313+ where code IN ('29151','324072')
1314+ and concept_source_id = (select concept_source_id from concept_reference_source where name like 'RxNORM'));
1315+ </sql >
1316+ </changeSet >
1317+
12921318</databaseChangeLog >
You can’t perform that action at this time.
0 commit comments