Search in sources :

Example 1 with Disease

use of de.symeda.sormas.api.Disease in project SORMAS-Project by hzi-braunschweig.

the class CaseEditFragment method updateCaseConfirmationVisibility.

private void updateCaseConfirmationVisibility(FragmentCaseEditLayoutBinding contentBinding) {
    Disease disease = record.getDisease();
    boolean extendedClassification = DiseaseConfigurationCache.getInstance().usesExtendedClassification(disease);
    if (extendedClassification) {
        boolean extendedClassificationMulti = DiseaseConfigurationCache.getInstance().usesExtendedClassificationMulti(disease);
        if (extendedClassificationMulti) {
            contentBinding.caseDataClinicalConfirmation.setVisibility(VISIBLE);
            contentBinding.caseDataEpidemiologicalConfirmation.setVisibility(VISIBLE);
            contentBinding.caseDataLaboratoryDiagnosticConfirmation.setVisibility(VISIBLE);
            contentBinding.caseDataCaseConfirmationBasis.setVisibility(GONE);
        } else {
            contentBinding.caseDataClinicalConfirmation.setVisibility(GONE);
            contentBinding.caseDataEpidemiologicalConfirmation.setVisibility(GONE);
            contentBinding.caseDataLaboratoryDiagnosticConfirmation.setVisibility(GONE);
            contentBinding.caseDataCaseConfirmationBasis.setVisibility(record.getCaseClassification() == CaseClassification.CONFIRMED ? VISIBLE : GONE);
        }
    } else {
        contentBinding.caseDataClinicalConfirmation.setVisibility(GONE);
        contentBinding.caseDataEpidemiologicalConfirmation.setVisibility(GONE);
        contentBinding.caseDataLaboratoryDiagnosticConfirmation.setVisibility(GONE);
        contentBinding.caseDataCaseConfirmationBasis.setVisibility(GONE);
    }
}
Also used : Disease(de.symeda.sormas.api.Disease)

Example 2 with Disease

use of de.symeda.sormas.api.Disease in project SORMAS-Project by hzi-braunschweig.

the class CaseNewFragment method onAfterLayoutBinding.

@Override
public void onAfterLayoutBinding(final FragmentCaseNewLayoutBinding contentBinding) {
    InfrastructureDaoHelper.initializeHealthFacilityDetailsFieldVisibility(contentBinding.caseDataHealthFacility, contentBinding.caseDataHealthFacilityDetails);
    InfrastructureDaoHelper.initializePointOfEntryDetailsFieldVisibility(contentBinding.caseDataPointOfEntry, contentBinding.caseDataPointOfEntryDetails);
    if (!ConfigProvider.isConfiguredServer(CountryHelper.COUNTRY_CODE_GERMANY) && !ConfigProvider.isConfiguredServer(CountryHelper.COUNTRY_CODE_SWITZERLAND)) {
        contentBinding.caseDataExternalID.setVisibility(GONE);
        contentBinding.caseDataExternalToken.setVisibility(GONE);
    } else {
        contentBinding.caseDataEpidNumber.setVisibility(GONE);
    }
    contentBinding.caseDataResponsibleRegion.setEnabled(false);
    contentBinding.caseDataResponsibleRegion.setRequired(false);
    contentBinding.caseDataResponsibleDistrict.setEnabled(false);
    contentBinding.caseDataResponsibleDistrict.setRequired(false);
    User user = ConfigProvider.getUser();
    if (user.getPointOfEntry() == null) {
        contentBinding.facilityOrHome.setValue(TypeOfPlace.FACILITY);
    }
    if (user.hasUserRole(UserRole.HOSPITAL_INFORMANT) && user.getHealthFacility() != null) {
        // Hospital Informants are not allowed to create cases in another health facility
        contentBinding.caseDataCommunity.setEnabled(false);
        contentBinding.caseDataCommunity.setRequired(false);
        contentBinding.caseDataHealthFacility.setEnabled(false);
        contentBinding.caseDataHealthFacility.setRequired(false);
        contentBinding.facilityOrHome.setEnabled(false);
        contentBinding.facilityTypeGroup.setEnabled(false);
        contentBinding.caseDataFacilityType.setEnabled(false);
        contentBinding.caseDataDifferentPlaceOfStayJurisdiction.setEnabled(false);
        contentBinding.caseDataDifferentPlaceOfStayJurisdiction.setVisibility(GONE);
    }
    if (user.hasUserRole(UserRole.POE_INFORMANT) && user.getPointOfEntry() != null) {
        contentBinding.caseDataPointOfEntry.setEnabled(false);
        contentBinding.caseDataPointOfEntry.setRequired(false);
    }
    if (user.hasUserRole(UserRole.COMMUNITY_INFORMANT) && user.getCommunity() != null) {
        // Community Informants are not allowed to create cases in another community
        contentBinding.caseDataCommunity.setEnabled(false);
        contentBinding.caseDataCommunity.setRequired(false);
    }
    // Disable personal details and disease fields when case is created from contact
    // or event person
    Bundler bundler = new Bundler(getArguments());
    if (bundler.getContactUuid() != null || bundler.getEventParticipantUuid() != null) {
        contentBinding.caseDataFirstName.setEnabled(false);
        contentBinding.caseDataLastName.setEnabled(false);
        contentBinding.personSex.setEnabled(false);
        contentBinding.personBirthdateYYYY.setEnabled(false);
        contentBinding.personBirthdateMM.setEnabled(false);
        contentBinding.personBirthdateDD.setEnabled(false);
        contentBinding.caseDataDisease.setEnabled(false);
        contentBinding.caseDataDiseaseDetails.setEnabled(false);
        contentBinding.caseDataPlagueType.setEnabled(false);
        contentBinding.caseDataDengueFeverType.setEnabled(false);
        contentBinding.caseDataHumanRabiesType.setEnabled(false);
    }
    // Set up port health visibilities
    if (UserRole.isPortHealthUser(ConfigProvider.getUser().getUserRoles())) {
        contentBinding.caseDataCaseOrigin.setVisibility(GONE);
        contentBinding.caseDataDisease.setVisibility(GONE);
        contentBinding.facilityOrHome.setVisibility(GONE);
        contentBinding.caseDataCommunity.setVisibility(GONE);
        contentBinding.facilityTypeFieldsLayout.setVisibility(GONE);
        contentBinding.caseDataHealthFacility.setVisibility(GONE);
        contentBinding.facilityTypeGroup.setRequired(false);
        contentBinding.caseDataFacilityType.setRequired(false);
        contentBinding.caseDataHealthFacility.setRequired(false);
        contentBinding.caseDataHealthFacilityDetails.setRequired(false);
    } else if (DatabaseHelper.getPointOfEntryDao().hasActiveEntriesInDistrict()) {
        if (record.getCaseOrigin() == CaseOrigin.IN_COUNTRY) {
            contentBinding.caseDataPointOfEntry.setRequired(false);
            contentBinding.caseDataPointOfEntry.setVisibility(GONE);
        } else {
            contentBinding.caseDataHealthFacility.setRequired(false);
        }
        contentBinding.caseDataCaseOrigin.addValueChangedListener(e -> {
            if (e.getValue() == CaseOrigin.IN_COUNTRY) {
                contentBinding.caseDataPointOfEntry.setVisibility(GONE);
                contentBinding.caseDataPointOfEntry.setRequired(false);
                contentBinding.caseDataPointOfEntry.setValue(null);
                contentBinding.caseDataHealthFacility.setRequired(true);
            } else {
                contentBinding.caseDataPointOfEntry.setVisibility(VISIBLE);
                contentBinding.caseDataHealthFacility.setRequired(false);
                contentBinding.caseDataPointOfEntry.setRequired(true);
            }
        });
    } else {
        contentBinding.caseDataCaseOrigin.setVisibility(GONE);
        contentBinding.caseDataPointOfEntry.setVisibility(GONE);
    }
}
Also used : PlagueType(de.symeda.sormas.api.caze.PlagueType) DataUtils(de.symeda.sormas.app.util.DataUtils) PersonValidator(de.symeda.sormas.app.person.edit.PersonValidator) DateHelper(de.symeda.sormas.api.utils.DateHelper) Facility(de.symeda.sormas.app.backend.facility.Facility) ArrayList(java.util.ArrayList) CustomizableEnumType(de.symeda.sormas.api.customizableenum.CustomizableEnumType) User(de.symeda.sormas.app.backend.user.User) Calendar(java.util.Calendar) ConfigProvider(de.symeda.sormas.app.backend.config.ConfigProvider) VISIBLE(android.view.View.VISIBLE) CountryHelper(de.symeda.sormas.api.CountryHelper) Item(de.symeda.sormas.app.component.Item) UserRole(de.symeda.sormas.api.user.UserRole) InfrastructureFieldsDependencyHandler(de.symeda.sormas.app.util.InfrastructureFieldsDependencyHandler) Bundler(de.symeda.sormas.app.util.Bundler) Case(de.symeda.sormas.app.backend.caze.Case) FragmentCaseNewLayoutBinding(de.symeda.sormas.app.databinding.FragmentCaseNewLayoutBinding) FacilityType(de.symeda.sormas.api.infrastructure.facility.FacilityType) Sex(de.symeda.sormas.api.person.Sex) CaseOrigin(de.symeda.sormas.api.caze.CaseOrigin) DengueFeverType(de.symeda.sormas.api.caze.DengueFeverType) DiseaseVariant(de.symeda.sormas.api.disease.DiseaseVariant) TypeOfPlace(de.symeda.sormas.api.event.TypeOfPlace) R(de.symeda.sormas.app.R) InfrastructureDaoHelper(de.symeda.sormas.app.util.InfrastructureDaoHelper) PresentCondition(de.symeda.sormas.api.person.PresentCondition) List(java.util.List) Disease(de.symeda.sormas.api.Disease) DiseaseConfigurationCache(de.symeda.sormas.app.util.DiseaseConfigurationCache) GONE(android.view.View.GONE) RabiesType(de.symeda.sormas.api.caze.RabiesType) DatabaseHelper(de.symeda.sormas.app.backend.common.DatabaseHelper) BaseEditFragment(de.symeda.sormas.app.BaseEditFragment) FacilityTypeGroup(de.symeda.sormas.api.infrastructure.facility.FacilityTypeGroup) JurisdictionLevel(de.symeda.sormas.api.user.JurisdictionLevel) User(de.symeda.sormas.app.backend.user.User) Bundler(de.symeda.sormas.app.util.Bundler)

Example 3 with Disease

use of de.symeda.sormas.api.Disease in project SORMAS-Project by hzi-braunschweig.

the class StartupShutdownService method createMissingDiseaseConfigurations.

private void createMissingDiseaseConfigurations() {
    List<DiseaseConfiguration> diseaseConfigurations = diseaseConfigurationService.getAll();
    List<Disease> configuredDiseases = diseaseConfigurations.stream().map(DiseaseConfiguration::getDisease).collect(Collectors.toList());
    Arrays.stream(Disease.values()).filter(d -> !configuredDiseases.contains(d)).forEach(d -> {
        DiseaseConfiguration configuration = DiseaseConfiguration.build(d);
        diseaseConfigurationService.ensurePersisted(configuration);
    });
}
Also used : Arrays(java.util.Arrays) Date(java.util.Date) I18nProperties(de.symeda.sormas.api.i18n.I18nProperties) LoggerFactory(org.slf4j.LoggerFactory) Scanner(java.util.Scanner) DistrictService(de.symeda.sormas.backend.infrastructure.district.DistrictService) StringUtils(org.apache.commons.lang3.StringUtils) CountryService(de.symeda.sormas.backend.infrastructure.country.CountryService) SecureRandom(java.security.SecureRandom) PreDestroy(javax.annotation.PreDestroy) Matcher(java.util.regex.Matcher) TransactionAttributeType(javax.ejb.TransactionAttributeType) Facility(de.symeda.sormas.backend.infrastructure.facility.Facility) CountryReferenceDto(de.symeda.sormas.api.infrastructure.country.CountryReferenceDto) UserRole(de.symeda.sormas.api.user.UserRole) DefaultEntityHelper(de.symeda.sormas.api.utils.DefaultEntityHelper) Contact(de.symeda.sormas.backend.contact.Contact) Stateless(javax.ejb.Stateless) FacilityService(de.symeda.sormas.backend.infrastructure.facility.FacilityService) UserUpdateEvent(de.symeda.sormas.backend.user.event.UserUpdateEvent) CommunityService(de.symeda.sormas.backend.infrastructure.community.CommunityService) FacilityType(de.symeda.sormas.api.infrastructure.facility.FacilityType) Timestamp(java.sql.Timestamp) UserConfig(de.symeda.sormas.api.externaljournal.UserConfig) Set(java.util.Set) SymptomJournalConfig(de.symeda.sormas.api.externaljournal.SymptomJournalConfig) Region(de.symeda.sormas.backend.infrastructure.region.Region) District(de.symeda.sormas.backend.infrastructure.district.District) Collectors(java.util.stream.Collectors) Language(de.symeda.sormas.api.Language) StandardCharsets(java.nio.charset.StandardCharsets) PointOfEntryService(de.symeda.sormas.backend.infrastructure.pointofentry.PointOfEntryService) UncheckedIOException(java.io.UncheckedIOException) List(java.util.List) DeletionConfigurationService(de.symeda.sormas.backend.deletionconfiguration.DeletionConfigurationService) UserService(de.symeda.sormas.backend.user.UserService) Stream(java.util.stream.Stream) User(de.symeda.sormas.backend.user.User) Singleton(javax.ejb.Singleton) PostConstruct(javax.annotation.PostConstruct) Optional(java.util.Optional) Pattern(java.util.regex.Pattern) DiseaseConfiguration(de.symeda.sormas.backend.disease.DiseaseConfiguration) MockDataGenerator(de.symeda.sormas.backend.util.MockDataGenerator) AuthProvider(de.symeda.sormas.api.AuthProvider) Community(de.symeda.sormas.backend.infrastructure.community.Community) DiseaseConfigurationService(de.symeda.sormas.backend.disease.DiseaseConfigurationService) PatientDiaryConfig(de.symeda.sormas.api.externaljournal.PatientDiaryConfig) CountryFacadeEjbLocal(de.symeda.sormas.backend.infrastructure.country.CountryFacadeEjb.CountryFacadeEjbLocal) MessageFormat(java.text.MessageFormat) ArrayList(java.util.ArrayList) HashSet(java.util.HashSet) Inject(javax.inject.Inject) FacilityCriteria(de.symeda.sormas.api.infrastructure.facility.FacilityCriteria) TransactionAttribute(javax.ejb.TransactionAttribute) FacilityFacadeEjbLocal(de.symeda.sormas.backend.infrastructure.facility.FacilityFacadeEjb.FacilityFacadeEjbLocal) LocalBean(javax.ejb.LocalBean) ImportFacadeEjbLocal(de.symeda.sormas.backend.importexport.ImportFacadeEjb.ImportFacadeEjbLocal) NoSuchElementException(java.util.NoSuchElementException) ConfigFacadeEjbLocal(de.symeda.sormas.backend.common.ConfigFacadeEjb.ConfigFacadeEjbLocal) EJB(javax.ejb.EJB) ModelConstants(de.symeda.sormas.backend.util.ModelConstants) CentralInfraSyncFacade(de.symeda.sormas.backend.infrastructure.central.CentralInfraSyncFacade) Event(javax.enterprise.event.Event) TransactionManagement(javax.ejb.TransactionManagement) Logger(org.slf4j.Logger) DataHelper(de.symeda.sormas.api.utils.DataHelper) PointOfEntry(de.symeda.sormas.backend.infrastructure.pointofentry.PointOfEntry) SormasToSormasFacadeEjb(de.symeda.sormas.backend.sormastosormas.SormasToSormasFacadeEjb) IOException(java.io.IOException) EntityManager(javax.persistence.EntityManager) PersistenceContext(javax.persistence.PersistenceContext) RunAs(javax.annotation.security.RunAs) RegionService(de.symeda.sormas.backend.infrastructure.region.RegionService) Consumer(java.util.function.Consumer) Disease(de.symeda.sormas.api.Disease) ContactService(de.symeda.sormas.backend.contact.ContactService) Country(de.symeda.sormas.backend.infrastructure.country.Country) Startup(javax.ejb.Startup) PasswordResetEvent(de.symeda.sormas.backend.user.event.PasswordResetEvent) Collections(java.util.Collections) PasswordHelper(de.symeda.sormas.api.utils.PasswordHelper) InputStream(java.io.InputStream) TransactionManagementType(javax.ejb.TransactionManagementType) FeatureConfigurationService(de.symeda.sormas.backend.feature.FeatureConfigurationService) Disease(de.symeda.sormas.api.Disease) DiseaseConfiguration(de.symeda.sormas.backend.disease.DiseaseConfiguration)

Example 4 with Disease

use of de.symeda.sormas.api.Disease in project SORMAS-Project by hzi-braunschweig.

the class AggregateReportFacadeEjb method getIndexList.

@Override
public List<AggregatedCaseCountDto> getIndexList(AggregateReportCriteria criteria) {
    CriteriaBuilder cb = em.getCriteriaBuilder();
    CriteriaQuery<Object[]> cq = cb.createQuery(Object[].class);
    Root<AggregateReport> root = cq.from(AggregateReport.class);
    Predicate filter = service.createUserFilter(cb, cq, root);
    if (criteria != null) {
        Predicate criteriaFilter = service.createCriteriaFilter(criteria, cb, cq, root);
        filter = CriteriaBuilderHelper.and(cb, filter, criteriaFilter);
    }
    if (filter != null) {
        cq.where(filter);
    }
    cq.multiselect(root.get(AggregateReport.DISEASE), cb.sum(root.get(AggregateReport.NEW_CASES)), cb.sum(root.get(AggregateReport.LAB_CONFIRMATIONS)), cb.sum(root.get(AggregateReport.DEATHS)));
    cq.groupBy(root.get(AggregateReport.DISEASE));
    List<Object[]> resultList = em.createQuery(cq).getResultList();
    Map<Disease, AggregatedCaseCountDto> reportSet = new HashMap<>();
    for (Object[] result : resultList) {
        reportSet.put((Disease) result[0], new AggregatedCaseCountDto((Disease) result[0], ((Long) result[1]).intValue(), ((Long) result[2]).intValue(), ((Long) result[3]).intValue()));
    }
    for (Disease disease : diseaseConfigurationFacade.getAllDiseases(true, false, false)) {
        if (!reportSet.containsKey(disease)) {
            reportSet.put(disease, new AggregatedCaseCountDto(disease, 0, 0, 0));
        }
    }
    List<AggregatedCaseCountDto> reportList = new ArrayList<>(reportSet.values());
    reportList.sort(Comparator.comparing(r -> r.getDisease().toString()));
    return reportList;
}
Also used : CriteriaBuilder(javax.persistence.criteria.CriteriaBuilder) PointOfEntryFacadeEjb(de.symeda.sormas.backend.infrastructure.pointofentry.PointOfEntryFacadeEjb) DtoHelper(de.symeda.sormas.backend.util.DtoHelper) Date(java.util.Date) FacilityFacadeEjb(de.symeda.sormas.backend.infrastructure.facility.FacilityFacadeEjb) HashMap(java.util.HashMap) DistrictService(de.symeda.sormas.backend.infrastructure.district.DistrictService) ArrayList(java.util.ArrayList) Valid(javax.validation.Valid) Predicate(javax.persistence.criteria.Predicate) UserFacadeEjb(de.symeda.sormas.backend.user.UserFacadeEjb) Map(java.util.Map) CriteriaBuilder(javax.persistence.criteria.CriteriaBuilder) LocalBean(javax.ejb.LocalBean) CriteriaBuilderHelper(de.symeda.sormas.backend.common.CriteriaBuilderHelper) EJB(javax.ejb.EJB) Root(javax.persistence.criteria.Root) ModelConstants(de.symeda.sormas.backend.util.ModelConstants) Stateless(javax.ejb.Stateless) CriteriaQuery(javax.persistence.criteria.CriteriaQuery) FacilityService(de.symeda.sormas.backend.infrastructure.facility.FacilityService) DiseaseConfigurationFacadeEjbLocal(de.symeda.sormas.backend.disease.DiseaseConfigurationFacadeEjb.DiseaseConfigurationFacadeEjbLocal) EntityManager(javax.persistence.EntityManager) PersistenceContext(javax.persistence.PersistenceContext) NotNull(javax.validation.constraints.NotNull) RegionFacadeEjb(de.symeda.sormas.backend.infrastructure.region.RegionFacadeEjb) RegionService(de.symeda.sormas.backend.infrastructure.region.RegionService) Collectors(java.util.stream.Collectors) PointOfEntryService(de.symeda.sormas.backend.infrastructure.pointofentry.PointOfEntryService) AggregateReportDto(de.symeda.sormas.api.report.AggregateReportDto) UserRight(de.symeda.sormas.api.user.UserRight) List(java.util.List) UserService(de.symeda.sormas.backend.user.UserService) Disease(de.symeda.sormas.api.Disease) DistrictFacadeEjb(de.symeda.sormas.backend.infrastructure.district.DistrictFacadeEjb) User(de.symeda.sormas.backend.user.User) AggregateReportFacade(de.symeda.sormas.api.report.AggregateReportFacade) AggregateReportCriteria(de.symeda.sormas.api.report.AggregateReportCriteria) Comparator(java.util.Comparator) Collections(java.util.Collections) UserRoleConfigFacadeEjbLocal(de.symeda.sormas.backend.user.UserRoleConfigFacadeEjb.UserRoleConfigFacadeEjbLocal) AggregatedCaseCountDto(de.symeda.sormas.api.report.AggregatedCaseCountDto) Disease(de.symeda.sormas.api.Disease) HashMap(java.util.HashMap) ArrayList(java.util.ArrayList) Predicate(javax.persistence.criteria.Predicate) AggregatedCaseCountDto(de.symeda.sormas.api.report.AggregatedCaseCountDto)

Example 5 with Disease

use of de.symeda.sormas.api.Disease in project SORMAS-Project by hzi-braunschweig.

the class PathogenTestFacadeEjb method onPathogenTestChanged.

private void onPathogenTestChanged(PathogenTestDto existingPathogenTest, PathogenTest newPathogenTest) {
    // Send an email to all responsible supervisors when a new non-pending sample test is created or the status of
    // a formerly pending test result has changed
    final String sampleUuid = newPathogenTest.getSample().getUuid();
    final Sample sample = sampleService.getByUuid(sampleUuid);
    final Case caze = sample.getAssociatedCase();
    final Contact contact = sample.getAssociatedContact();
    final EventParticipant eventParticipant = sample.getAssociatedEventParticipant();
    Disease disease = null;
    Set<NotificationType> notificationTypes = new HashSet<>();
    List<Region> regions = new ArrayList<>();
    if (caze != null) {
        disease = caze.getDisease();
        notificationTypes.add(NotificationType.CASE_LAB_RESULT_ARRIVED);
        regions.addAll(JurisdictionHelper.getCaseRegions(caze));
    }
    if (contact != null) {
        disease = contact.getDisease() != null ? contact.getDisease() : contact.getCaze().getDisease();
        notificationTypes.add(NotificationType.CONTACT_LAB_RESULT_ARRIVED);
        regions.addAll(JurisdictionHelper.getContactRegions(contact));
    }
    if (eventParticipant != null) {
        disease = eventParticipant.getEvent().getDisease();
        notificationTypes.add(NotificationType.EVENT_PARTICIPANT_LAB_RESULT_ARRIVED);
        regions.add(eventParticipant.getEvent().getEventLocation().getRegion());
        if (disease == null) {
            sendMessageOnPathogenTestChanged(existingPathogenTest, newPathogenTest, null, notificationTypes, regions, MessageContents.CONTENT_LAB_RESULT_ARRIVED_EVENT_PARTICIPANT_NO_DISEASE, DataHelper.getShortUuid(eventParticipant.getUuid()));
        }
    }
    if (disease != null) {
        final String contentLabResultArrived = caze != null ? MessageContents.CONTENT_LAB_RESULT_ARRIVED : contact != null ? MessageContents.CONTENT_LAB_RESULT_ARRIVED_CONTACT : MessageContents.CONTENT_LAB_RESULT_ARRIVED_EVENT_PARTICIPANT;
        final String shortUuid = DataHelper.getShortUuid(caze != null ? caze.getUuid() : contact != null ? contact.getUuid() : eventParticipant.getUuid());
        sendMessageOnPathogenTestChanged(existingPathogenTest, newPathogenTest, disease, notificationTypes, regions, contentLabResultArrived, shortUuid);
    }
}
Also used : Disease(de.symeda.sormas.api.Disease) NotificationType(de.symeda.sormas.api.user.NotificationType) ArrayList(java.util.ArrayList) Region(de.symeda.sormas.backend.infrastructure.region.Region) EventParticipant(de.symeda.sormas.backend.event.EventParticipant) Case(de.symeda.sormas.backend.caze.Case) Contact(de.symeda.sormas.backend.contact.Contact) HashSet(java.util.HashSet)

Aggregations

Disease (de.symeda.sormas.api.Disease)106 Date (java.util.Date)46 List (java.util.List)39 ArrayList (java.util.ArrayList)34 DistrictReferenceDto (de.symeda.sormas.api.infrastructure.district.DistrictReferenceDto)32 RegionReferenceDto (de.symeda.sormas.api.infrastructure.region.RegionReferenceDto)32 Collectors (java.util.stream.Collectors)29 I18nProperties (de.symeda.sormas.api.i18n.I18nProperties)26 Arrays (java.util.Arrays)25 Collections (java.util.Collections)25 UserRole (de.symeda.sormas.api.user.UserRole)24 CaseDataDto (de.symeda.sormas.api.caze.CaseDataDto)23 DateHelper (de.symeda.sormas.api.utils.DateHelper)23 Map (java.util.Map)23 Label (com.vaadin.ui.Label)20 Strings (de.symeda.sormas.api.i18n.Strings)20 StringUtils (org.apache.commons.lang3.StringUtils)19 ContactDto (de.symeda.sormas.api.contact.ContactDto)18 District (de.symeda.sormas.backend.infrastructure.district.District)18 CollectionUtils (org.apache.commons.collections.CollectionUtils)18