Skip to content

Commit

Permalink
Fix slow upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesagnew committed Jun 27, 2018
1 parent 74bca05 commit 52e3c94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public class TerminologyLoaderSvcImpl implements IHapiTerminologyLoaderSvc {
public static final String LOINC_GROUP_FILE = "Group.csv";
public static final String LOINC_GROUP_TERMS_FILE = "GroupLoincTerms.csv";
public static final String LOINC_PARENT_GROUP_FILE = "ParentGroup.csv";
private static final int LOG_INCREMENT = 100000;
private static final int LOG_INCREMENT = 1000;
private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(TerminologyLoaderSvcImpl.class);

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,9 @@ void addCodeAsIncludeToValueSet(ValueSet theVs, String theCodeSystemUrl, String

String displayName = theDisplayName;
if (isBlank(displayName)) {
for (TermConcept next : myCode2Concept.values()) {
if (next.getCode().equals(theCode)) {
displayName = next.getDisplay();
}
TermConcept concept = myCode2Concept.get(theCode);
if (concept != null) {
displayName = concept.getDisplay();
}
}

Expand Down

0 comments on commit 52e3c94

Please sign in to comment.