Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit e4270d8

Browse files
1 parent a4ddd81 commit e4270d8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • sormas-backend/src/main/java/de/symeda/sormas/backend/caze/caseimport

sormas-backend/src/main/java/de/symeda/sormas/backend/caze/caseimport/ImportHelper.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ public static DataHelper.Pair<DistrictReferenceDto, CommunityReferenceDto> getPe
9494
district = person.getPlaceOfBirthDistrict();
9595
community = person.getPlaceOfBirthCommunity();
9696
break;
97+
case LocationDto.FACILITY:
98+
district = person.getAddress().getDistrict();
99+
community = person.getAddress().getCommunity();
100+
break;
97101
default:
98102
throw new IllegalArgumentException(propertyName);
99103
}

0 commit comments

Comments
 (0)