11/*
22 * SORMAS® - Surveillance Outbreak Response Management & Analysis System
3- * Copyright © 2016-2022 Helmholtz-Zentrum für Infektionsforschung GmbH (HZI)
3+ * Copyright © 2016-2026 SORMAS Foundation gGmbH
44 * This program is free software: you can redistribute it and/or modify
55 * it under the terms of the GNU General Public License as published by
66 * the Free Software Foundation, either version 3 of the License, or
2626import de .symeda .sormas .api .audit .AuditIncludeProperty ;
2727import de .symeda .sormas .api .audit .AuditedClass ;
2828import de .symeda .sormas .api .caze .CaseClassification ;
29+ import de .symeda .sormas .api .caze .RadiographyCompatibility ;
2930import de .symeda .sormas .api .caze .VaccinationStatus ;
3031import de .symeda .sormas .api .caze .surveillancereport .SurveillanceReportReferenceDto ;
32+ import de .symeda .sormas .api .clinicalcourse .ComplianceWithTreatment ;
3133import de .symeda .sormas .api .disease .DiseaseVariant ;
3234import de .symeda .sormas .api .externalmessage .labmessage .SampleReportDto ;
3335import de .symeda .sormas .api .feature .FeatureType ;
@@ -101,10 +103,19 @@ public class ExternalMessageDto extends SormasToSormasShareableDto {
101103 public static final String NOTIFIER_EMAIL = "notifierEmail" ;
102104 public static final String NOTIFIER_PHONE = "notifierPhone" ;
103105 public static final String TREATMENT_STARTED = "treatmentStarted" ;
106+ public static final String TREATMENT_NOT_APPLICABLE = "treatmentNotApplicable" ;
104107 public static final String TREATMENT_STARTED_DATE = "treatmentStartedDate" ;
105108 public static final String DIAGNOSTIC_DATE = "diagnosticDate" ;
106109 public static final String ACTIVITIES_AS_CASE = "activitiesAsCase" ;
107110 public static final String EXPOSURES = "exposures" ;
111+ public static final String RADIOGRAPHY_COMPATIBILITY = "radiographyCompatibility" ;
112+ public static final String OTHER_DIAGNOSTIC_CRITERIA = "otherDiagnosticCriteria" ;
113+ public static final String TUBERCULOSIS = "tuberculosis" ;
114+ public static final String HIV = "hiv" ;
115+ public static final String HIV_ART = "hivArt" ;
116+ public static final String TUBERCULOSIS_INFECTION_YEAR = "tuberculosisInfectionYear" ;
117+ public static final String PREVIOUS_TUBERCULOSIS_TREATMENT = "previousTuberculosisTreatment" ;
118+ public static final String COMPLIANCE_WITH_TREATMENT = "complianceWithTreatment" ;
108119
109120 @ AuditIncludeProperty
110121 private ExternalMessageType type ;
@@ -170,9 +181,11 @@ public class ExternalMessageDto extends SormasToSormasShareableDto {
170181 private String personGuardianPhone ;
171182 @ Size (max = FieldConstraints .CHARACTER_LIMIT_SMALL , message = Validations .textTooLong )
172183 private String personGuardianEmail ;
173- private String treatmentStarted ;
184+ private YesNoUnknown treatmentStarted ;
185+ private Boolean treatmentNotApplicable ;
174186 private Date treatmentStartedDate ;
175187 private Date diagnosticDate ;
188+ private Date deceasedDate ;
176189
177190 @ AuditIncludeProperty
178191 private List <SampleReportDto > sampleReports ;
@@ -181,6 +194,8 @@ public class ExternalMessageDto extends SormasToSormasShareableDto {
181194
182195 @ Size (max = FieldConstraints .CHARACTER_LIMIT_TEXT , message = Validations .textTooLong )
183196 private String externalMessageDetails ;
197+ @ Size (max = FieldConstraints .CHARACTER_LIMIT_TEXT , message = Validations .textTooLong )
198+ private String caseComments ;
184199 @ Size (max = FieldConstraints .CHARACTER_LIMIT_DEFAULT , message = Validations .textTooLong )
185200 private String reportId ;
186201
@@ -203,28 +218,43 @@ public class ExternalMessageDto extends SormasToSormasShareableDto {
203218 private VaccinationStatus vaccinationStatus ;
204219
205220 private YesNoUnknown admittedToHealthFacility ;
221+ @ Size (max = FieldConstraints .CHARACTER_LIMIT_DEFAULT , message = Validations .textTooLong )
222+ private String hospitalizationFacilityName ;
223+ @ Size (max = FieldConstraints .CHARACTER_LIMIT_DEFAULT , message = Validations .textTooLong )
224+ private String hospitalizationFacilityExternalId ;
225+ @ Size (max = FieldConstraints .CHARACTER_LIMIT_DEFAULT , message = Validations .textTooLong )
226+ private String hospitalizationFacilityDepartment ;
227+ private Date hospitalizationAdmissionDate ;
228+ private Date hospitalizationDischargeDate ;
206229
207230 @ Size (max = FieldConstraints .CHARACTER_LIMIT_SMALL , message = Validations .textTooLong )
208231 private String notifierFirstName ;
209-
210232 @ Size (max = FieldConstraints .CHARACTER_LIMIT_SMALL , message = Validations .textTooLong )
211233 private String notifierLastName ;
212-
213234 @ Size (max = FieldConstraints .CHARACTER_LIMIT_SMALL , message = Validations .textTooLong )
214235 private String notifierRegistrationNumber ;
215-
216236 @ Size (max = FieldConstraints .CHARACTER_LIMIT_TEXT , message = Validations .textTooLong )
217237 private String notifierAddress ;
218-
219238 @ Size (max = FieldConstraints .CHARACTER_LIMIT_SMALL , message = Validations .textTooLong )
220239 private String notifierEmail ;
221-
222240 @ Size (max = FieldConstraints .CHARACTER_LIMIT_SMALL , message = Validations .textTooLong )
223241 private String notifierPhone ;
224242
225243 private String activitiesAsCase ;
226244 private String exposures ;
227245
246+ private RadiographyCompatibility radiographyCompatibility ;
247+ @ Size (max = FieldConstraints .CHARACTER_LIMIT_DEFAULT , message = Validations .textTooLong )
248+ private String otherDiagnosticCriteria ;
249+
250+ private YesNoUnknown tuberculosis ;
251+ private YesNoUnknown hiv ;
252+ private YesNoUnknown hivArt ;
253+
254+ private Integer tuberculosisInfectionYear ;
255+ private YesNoUnknown previousTuberculosisTreatment ;
256+ private ComplianceWithTreatment complianceWithTreatment ;
257+
228258 public ExternalMessageType getType () {
229259 return type ;
230260 }
@@ -513,6 +543,14 @@ public void setExternalMessageDetails(String externalMessageDetails) {
513543 this .externalMessageDetails = externalMessageDetails ;
514544 }
515545
546+ public String getCaseComments () {
547+ return caseComments ;
548+ }
549+
550+ public void setCaseComments (String caseComments ) {
551+ this .caseComments = caseComments ;
552+ }
553+
516554 public ExternalMessageStatus getStatus () {
517555 return status ;
518556 }
@@ -569,6 +607,46 @@ public void setAdmittedToHealthFacility(YesNoUnknown admittedToHealthFacility) {
569607 this .admittedToHealthFacility = admittedToHealthFacility ;
570608 }
571609
610+ public String getHospitalizationFacilityName () {
611+ return hospitalizationFacilityName ;
612+ }
613+
614+ public void setHospitalizationFacilityName (String hospitalizationFacilityName ) {
615+ this .hospitalizationFacilityName = hospitalizationFacilityName ;
616+ }
617+
618+ public String getHospitalizationFacilityExternalId () {
619+ return hospitalizationFacilityExternalId ;
620+ }
621+
622+ public void setHospitalizationFacilityExternalId (String hospitalizationFacilityExternalId ) {
623+ this .hospitalizationFacilityExternalId = hospitalizationFacilityExternalId ;
624+ }
625+
626+ public String getHospitalizationFacilityDepartment () {
627+ return hospitalizationFacilityDepartment ;
628+ }
629+
630+ public void setHospitalizationFacilityDepartment (String hospitalizationFacilityDepartment ) {
631+ this .hospitalizationFacilityDepartment = hospitalizationFacilityDepartment ;
632+ }
633+
634+ public Date getHospitalizationAdmissionDate () {
635+ return hospitalizationAdmissionDate ;
636+ }
637+
638+ public void setHospitalizationAdmissionDate (Date hospitalizationAdmissionDate ) {
639+ this .hospitalizationAdmissionDate = hospitalizationAdmissionDate ;
640+ }
641+
642+ public Date getHospitalizationDischargeDate () {
643+ return hospitalizationDischargeDate ;
644+ }
645+
646+ public void setHospitalizationDischargeDate (Date hospitalizationDischargeDate ) {
647+ this .hospitalizationDischargeDate = hospitalizationDischargeDate ;
648+ }
649+
572650 public String getNotifierFirstName () {
573651 return notifierFirstName ;
574652 }
@@ -617,14 +695,22 @@ public void setNotifierPhone(String notifierPhone) {
617695 this .notifierPhone = notifierPhone ;
618696 }
619697
620- public String getTreatmentStarted () {
698+ public YesNoUnknown getTreatmentStarted () {
621699 return treatmentStarted ;
622700 }
623701
624- public void setTreatmentStarted (String treatmentStarted ) {
702+ public void setTreatmentStarted (YesNoUnknown treatmentStarted ) {
625703 this .treatmentStarted = treatmentStarted ;
626704 }
627705
706+ public Boolean getTreatmentNotApplicable () {
707+ return treatmentNotApplicable ;
708+ }
709+
710+ public void setTreatmentNotApplicable (Boolean treatmentNotApplicable ) {
711+ this .treatmentNotApplicable = treatmentNotApplicable ;
712+ }
713+
628714 public Date getTreatmentStartedDate () {
629715 return treatmentStartedDate ;
630716 }
@@ -743,4 +829,75 @@ public void setExposures(String exposures) {
743829 this .exposures = exposures ;
744830 }
745831
832+ public Date getDeceasedDate () {
833+ return deceasedDate ;
834+ }
835+
836+ public void setDeceasedDate (Date deceasedDate ) {
837+ this .deceasedDate = deceasedDate ;
838+ }
839+
840+ public RadiographyCompatibility getRadiographyCompatibility () {
841+ return radiographyCompatibility ;
842+ }
843+
844+ public void setRadiographyCompatibility (RadiographyCompatibility radiographyCompatibility ) {
845+ this .radiographyCompatibility = radiographyCompatibility ;
846+ }
847+
848+ public String getOtherDiagnosticCriteria () {
849+ return otherDiagnosticCriteria ;
850+ }
851+
852+ public void setOtherDiagnosticCriteria (String otherDiagnosticCriteria ) {
853+ this .otherDiagnosticCriteria = otherDiagnosticCriteria ;
854+ }
855+
856+ public YesNoUnknown getTuberculosis () {
857+ return tuberculosis ;
858+ }
859+
860+ public void setTuberculosis (YesNoUnknown tuberculosis ) {
861+ this .tuberculosis = tuberculosis ;
862+ }
863+
864+ public YesNoUnknown getHiv () {
865+ return hiv ;
866+ }
867+
868+ public void setHiv (YesNoUnknown hiv ) {
869+ this .hiv = hiv ;
870+ }
871+
872+ public YesNoUnknown getHivArt () {
873+ return hivArt ;
874+ }
875+
876+ public void setHivArt (YesNoUnknown hivArt ) {
877+ this .hivArt = hivArt ;
878+ }
879+
880+ public Integer getTuberculosisInfectionYear () {
881+ return tuberculosisInfectionYear ;
882+ }
883+
884+ public void setTuberculosisInfectionYear (Integer tuberculosisInfectionYear ) {
885+ this .tuberculosisInfectionYear = tuberculosisInfectionYear ;
886+ }
887+
888+ public YesNoUnknown getPreviousTuberculosisTreatment () {
889+ return previousTuberculosisTreatment ;
890+ }
891+
892+ public void setPreviousTuberculosisTreatment (YesNoUnknown previousTuberculosisTreatment ) {
893+ this .previousTuberculosisTreatment = previousTuberculosisTreatment ;
894+ }
895+
896+ public ComplianceWithTreatment getComplianceWithTreatment () {
897+ return complianceWithTreatment ;
898+ }
899+
900+ public void setComplianceWithTreatment (ComplianceWithTreatment complianceWithTreatment ) {
901+ this .complianceWithTreatment = complianceWithTreatment ;
902+ }
746903}
0 commit comments