Skip to content

Commit

Permalink
Merge branch 'main' into 109-practitioner-details-save-all-in-contained
Browse files Browse the repository at this point in the history
  • Loading branch information
Rkareko authored Jan 24, 2025
2 parents 0280fca + d38a787 commit 7c87f71
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,16 @@ private Map<String, List<String>> collateSyncStrategyIds(
practitionerDetails != null
&& practitionerDetails.getFhirPractitionerDetails() != null
? PractitionerDetailsEndpointHelper.getAttributedLocations(
practitionerDetails
.getFhirPractitionerDetails()
.getLocationHierarchyList())
PractitionerDetailsEndpointHelper.getLocationsHierarchy(
practitionerDetails
.getFhirPractitionerDetails()
.getLocations()
.stream()
.map(
location ->
location.getIdElement()
.getIdPart())
.collect(Collectors.toList())))
: new HashSet<>();

} else if (Constants.SyncStrategy.RELATED_ENTITY_LOCATION.equalsIgnoreCase(
Expand Down

0 comments on commit 7c87f71

Please sign in to comment.