Skip to content

Commit 01966ff

Browse files
Pertussis symptoms and case classification changes
1 parent 6b4db5a commit 01966ff

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

sormas-api/src/main/resources/captions.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ CaseData.creationDate=Creation date
577577
CaseData.radiographyCompatibility=Radiography
578578
CaseData.otherDiagnosticCriteria=Other diagnostic details
579579

580-
CaseData.clinicalConfirmation.PERTUSSIS= OR any person diagnosed as pertussis by a physician
580+
CaseData.clinicalConfirmation.PERTUSSIS= Any person diagnosed as pertussis by a physician
581581
# CaseExport
582582
CaseExport.address=Address
583583
CaseExport.addressRegion=Address Region
@@ -2729,8 +2729,8 @@ Symptoms.congenitalHeartDiseaseDetails=Specify
27292729
Symptoms.conjunctivitis=Conjunctivitis (red eyes)
27302730
Symptoms.cough=Cough
27312731
Symptoms.coughingBouts=Coughing bouts
2732-
Symptoms.coughingBouts.PERTUSSIS=Any person with a cough lasting at least two weeks AND \n At least one of : Paroxysms of coughing/ Inspiratory ?whooping?/ Post-tussive vomiting.
2733-
Symptoms.apnoea.PERTUSSIS=OR Apnoeic episodes in infants
2732+
Symptoms.coughingBouts.PERTUSSIS=Any person with a cough lasting at least two weeks <b>AND</b>
2733+
Symptoms.apnoea.PERTUSSIS=Apnoeic episodes in infants
27342734
Symptoms.coughsProvokeVomiting=Coughs provoke vomiting
27352735
Symptoms.coughWithSputum=Cough with sputum
27362736
Symptoms.coughWithHeamoptysis=Cough with heamoptysis

sormas-backend/src/main/java/de/symeda/sormas/backend/caze/classification/CaseClassificationFacadeEjb.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -501,9 +501,9 @@ private void buildCriteria() {
501501
null);
502502

503503
// Pertusis
504-
suspect = allOf(symptom(SymptomsDto.COUGHING_BOUTS, Disease.PERTUSSIS.name()),
505-
// xOf(1,oneOfCompact(symptom(SymptomsDto.WHOOP_SOUND), symptom(SymptomsDto.COUGHS_PROVOKE_VOMITING), symptom(SymptomsDto.NOCTURNAL_COUGH))),
506-
symptom(SymptomsDto.APNOEA),
504+
suspect = xOf(1,allOfTogether(symptom(SymptomsDto.COUGHING_BOUTS, Disease.PERTUSSIS.name()),xOfSub(1, false,
505+
symptom(SymptomsDto.WHOOP_SOUND), symptom(SymptomsDto.COUGHS_PROVOKE_VOMITING), symptom(SymptomsDto.NOCTURNAL_COUGH))),
506+
symptom(SymptomsDto.APNOEA, Disease.PERTUSSIS.name()),
507507
caseData(CaseDataDto.CLINICAL_CONFIRMATION, Disease.PERTUSSIS.name(), YesNoUnknown.YES));
508508

509509
probable = allOf(suspect, caseData(CaseDataDto.EPIDEMIOLOGICAL_CONFIRMATION, YesNoUnknown.YES));
@@ -661,8 +661,8 @@ private ClassificationNoneOfCriteriaDto noneOf(ClassificationCriteriaDto... crit
661661
private ClassificationCaseCriteriaDto caseData(String propertyId, Object... propertyValues) {
662662
return new ClassificationCaseCriteriaDto(propertyId, propertyValues);
663663
}
664-
private ClassificationCaseCriteriaDto caseData(String propertyId, String adition, Object... propertyValues) {
665-
return new ClassificationCaseCriteriaDto(propertyId,adition, propertyValues);
664+
private ClassificationCaseCriteriaDto caseData(String propertyId, String addition, Object... propertyValues) {
665+
return new ClassificationCaseCriteriaDto(propertyId,addition, propertyValues);
666666
}
667667

668668
private ClassificationSymptomsCriteriaDto symptom(String propertyId) {

sormas-backend/src/main/resources/sql/sormas_schema.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14384,9 +14384,9 @@ alter table drugsusceptibility add column IF NOT EXISTS erythromycinSusceptibili
1438414384

1438514385
INSERT INTO schema_version (version_number, comment) VALUES (575, 'Therapy changes for IMI & IPI, #13319, #13342');
1438614386

14387-
-- 2025-06-05 Pertussis missed symptom, #13373
14387+
-- 2025-06-16 Pertussis missed symptom, #13373
1438814388
alter table symptoms add column IF NOT EXISTS nocturnalcough varchar(255);
1438914389

14390-
INSERT INTO schema_version (version_number, comment) VALUES (575, 'Pertussis missed symptom, #13373');
14390+
INSERT INTO schema_version (version_number, comment) VALUES (576, 'Pertussis missed symptom, #13373');
1439114391

1439214392
-- *** Insert new sql commands BEFORE this line. Remember to always consider _history tables. ***

0 commit comments

Comments
 (0)