From 75b89e62f4c99b2f62715e33742fe203f755b8ab Mon Sep 17 00:00:00 2001 From: Levente Gal Date: Fri, 6 Dec 2024 12:28:44 +0200 Subject: [PATCH] #13183 Add New Influenza Disease Types and Modify Display for SORMAS-Luxembourg --- .../src/main/java/de/symeda/sormas/api/Disease.java | 2 +- sormas-backend/src/main/resources/sql/sormas_schema.sql | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/sormas-api/src/main/java/de/symeda/sormas/api/Disease.java b/sormas-api/src/main/java/de/symeda/sormas/api/Disease.java index 4cfc75ca5fa..f257bcbe37b 100644 --- a/sormas-api/src/main/java/de/symeda/sormas/api/Disease.java +++ b/sormas-api/src/main/java/de/symeda/sormas/api/Disease.java @@ -69,7 +69,7 @@ public enum Disease YAWS_ENDEMIC_SYPHILIS(true, false, false, true, false, 0, true, false, false), MATERNAL_DEATHS(true, false, false, true, false, 0, true, false, false), PERINATAL_DEATHS(true, false, false, true, false, 0, true, false, false), - INFLUENZA(true, true, true, true, false, 0, true, false, false), + INFLUENZA(true, true, true, false, false, 0, true, false, false), INFLUENZA_A(false, false, true, false, false, 0, true, false, false), INFLUENZA_B(false, false, true, false, false, 0, true, false, false), H_METAPNEUMOVIRUS(true, false, true, false, false, 0, true, false, false), diff --git a/sormas-backend/src/main/resources/sql/sormas_schema.sql b/sormas-backend/src/main/resources/sql/sormas_schema.sql index eae93008386..f5def4af2a5 100644 --- a/sormas-backend/src/main/resources/sql/sormas_schema.sql +++ b/sormas-backend/src/main/resources/sql/sormas_schema.sql @@ -13701,15 +13701,14 @@ INSERT INTO schema_version (version_number, comment, upgradeneeded) VALUES (553, -- 2024-11-18 Add New Influenza Disease Types and Modify Display for SORMAS-LuxembourgAdd #13183 INSERT INTO customizableenumvalue(id, uuid, changedate, creationdate, datatype, value, caption, diseases, properties) -VALUES (nextval('entity_seq'), generate_base32_uuid(), now(), now(), 'DISEASE_VARIANT', 'INFLUENZA_TYPE_A', 'Type A', +VALUES (nextval('entity_seq'), generate_base32_uuid(), now(), now(), 'DISEASE_VARIANT', 'A', 'Type A', 'INFLUENZA', jsonb_build_object('hasDetails', true)); INSERT INTO customizableenumvalue(id, uuid, changedate, creationdate, datatype, value, caption, diseases) -VALUES (nextval('entity_seq'), generate_base32_uuid(), now(), now(), 'DISEASE_VARIANT', 'INFLUENZA_TYPE_B', 'Type B', +VALUES (nextval('entity_seq'), generate_base32_uuid(), now(), now(), 'DISEASE_VARIANT', 'B', 'Type B', 'INFLUENZA'); INSERT INTO customizableenumvalue(id, uuid, changedate, creationdate, datatype, value, caption, diseases, properties) -VALUES (nextval('entity_seq'), generate_base32_uuid(), now(), now(), 'DISEASE_VARIANT', 'INFLUENZA_TYPE_AB', 'Type A+B', +VALUES (nextval('entity_seq'), generate_base32_uuid(), now(), now(), 'DISEASE_VARIANT', 'AB', 'Type A+B', 'INFLUENZA', jsonb_build_object('hasDetails', true)); -INSERT INTO schema_version (version_number, comment) -VALUES (554, 'Add New Influenza Disease Types and Modify Display for SORMAS-LuxembourgAdd #13183'); +INSERT INTO schema_version (version_number, comment) VALUES (554, 'Add New Influenza Disease Types and Modify Display for SORMAS-LuxembourgAdd #13183'); -- *** Insert new sql commands BEFORE this line. Remember to always consider _history tables. ***