Skip to content

Commit

Permalink
#13183 Add New Influenza Disease Types and Modify Display for SORMAS-…
Browse files Browse the repository at this point in the history
…Luxembourg
  • Loading branch information
Levente Gal committed Dec 6, 2024
1 parent c805d29 commit 75b89e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sormas-api/src/main/java/de/symeda/sormas/api/Disease.java
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
9 changes: 4 additions & 5 deletions sormas-backend/src/main/resources/sql/sormas_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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. ***

0 comments on commit 75b89e6

Please sign in to comment.