/** * Returns the children of a given concept map to which the parent * may delegate mapped items. */ private static Set<String> getMapChildren(ConceptMap map) { return map.getGroup() .stream() .filter(group -> group.getUnmapped() != null && group.getUnmapped().getMode() == ConceptMapGroupUnmappedMode.OTHERMAP) .map(group -> group.getUnmapped().getUrl()) .collect(Collectors.toSet()); } }
/** * Returns the children of a given concept map to which the parent * may delegate mapped items. */ private static Set<String> getMapChildren(ConceptMap map) { return map.getGroup() .stream() .filter(group -> group.getUnmapped() != null && group.getUnmapped().getMode() == ConceptMapGroupUnmappedMode.OTHERMAP) .map(group -> group.getUnmapped().getUrl()) .collect(Collectors.toSet()); } }