diff --git a/working/manual_changes/2020/2020-06-17.sql b/working/manual_changes/2020/2020-06-17.sql new file mode 100644 index 000000000..00d25e2d1 --- /dev/null +++ b/working/manual_changes/2020/2020-06-17.sql @@ -0,0 +1,15 @@ +--remove 'LOINC' from 'Has Answer' and 'Answer of' relationships [AVOF-2614] +UPDATE relationship +SET relationship_name = 'Has Answer' +WHERE relationship_id = 'Has Answer'; + +UPDATE relationship +SET relationship_name = 'Answer of' +WHERE relationship_id = 'Answer of'; + +UPDATE concept +SET concept_name = REPLACE(concept_name, ' (LOINC)', '') +WHERE concept_id IN ( + 45754684, -- 'Answer of' + 45754683 -- 'Has Answer' + ); \ No newline at end of file