performance improvement generating html for value sets

This commit is contained in:
Grahame Grieve 2019-09-06 10:12:47 +10:00
parent 7a40946718
commit 49b87d0a56
1 changed files with 0 additions and 2 deletions

View File

@ -458,9 +458,7 @@ public class ValueSetExpanderSimple implements ValueSetExpander {
params.add(p); params.add(p);
} }
} }
System.out.println("Extensions: "+vs.getExpansion().getExtension().size());
for (Extension ex : vs.getExpansion().getExtension()) { for (Extension ex : vs.getExpansion().getExtension()) {
System.out.println("Extension: "+ex.getUrl());
if (Utilities.existsInList(ex.getUrl(), "http://hl7.org/fhir/StructureDefinition/valueset-toocostly", "http://hl7.org/fhir/StructureDefinition/valueset-unclosed")) { if (Utilities.existsInList(ex.getUrl(), "http://hl7.org/fhir/StructureDefinition/valueset-toocostly", "http://hl7.org/fhir/StructureDefinition/valueset-unclosed")) {
if (!hasExtension(extensions, ex.getUrl())) { if (!hasExtension(extensions, ex.getUrl())) {
extensions.add(ex); extensions.add(ex);