use of de.symeda.sormas.api.infrastructure.community.CommunityDto in project SORMAS-Project by hzi-braunschweig.
the class TestDataCreator method createRDCF.
public RDCF createRDCF(String regionName, String districtName, String communityName, String facilityName) {
RegionDto region = createRegion(regionName);
DistrictDto district = createDistrict(districtName, region.toReference());
CommunityDto community = createCommunity(communityName, district.toReference());
FacilityDto facility = createFacility(facilityName, region.toReference(), district.toReference(), community.toReference());
return new RDCF(region, district, community, facility);
}
Aggregations