Skip to content

Commit

Permalink
Update batch/src/main/java/org/openmrs/analytics/JdbcFetchUtil.java
Browse files Browse the repository at this point in the history
Co-authored-by: Bashir Sadjad <bashir@google.com>
  • Loading branch information
mozzy11 and bashir2 authored Apr 13, 2021
1 parent e5cb2b8 commit a4fe745
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public Map<String, List<String>> createFhirReverseMap(String searchString, Strin
String[] resourceName = linkTemplate.get("fhir").split("/");
if (resourceName.length >= 1 && resourceName[1].equals(search)) {
if (reverseMap.containsKey(entry.getValue().getParentTable())) {
resources = reverseMap.get(entry.getValue().getParentTable());
List<String> resources = reverseMap.get(entry.getValue().getParentTable());
resources.add(resourceName[1]);
} else {
List<String> resources = new ArrayList<String>();
Expand Down

0 comments on commit a4fe745

Please sign in to comment.