IG comparison + value set performance
This commit is contained in:
parent
49b87d0a56
commit
e31b2b07c7
|
@ -188,5 +188,9 @@ public class DefinitionNavigator {
|
|||
return typeChildren;
|
||||
}
|
||||
|
||||
public StructureDefinition getStructure() {
|
||||
return structure;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -1001,6 +1001,7 @@ public class NarrativeGenerator implements INarrativeGenerator {
|
|||
private boolean pretty;
|
||||
private boolean canonicalUrlsAsLinks;
|
||||
private TerminologyServiceOptions terminologyServiceOptions = new TerminologyServiceOptions();
|
||||
private boolean noSlowLookup;
|
||||
|
||||
public NarrativeGenerator(String prefix, String basePath, IWorkerContext context) {
|
||||
super();
|
||||
|
@ -3747,6 +3748,7 @@ public class NarrativeGenerator implements INarrativeGenerator {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (inc.getFilter().size() > 0) {
|
||||
li.addText(type+" codes from ");
|
||||
addCsRef(inc, li, e);
|
||||
li.tx(" where ");
|
||||
|
@ -3789,6 +3791,7 @@ public class NarrativeGenerator implements INarrativeGenerator {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (inc.hasValueSet()) {
|
||||
li.tx(", where the codes are contained in ");
|
||||
boolean first = true;
|
||||
|
@ -3840,6 +3843,9 @@ public class NarrativeGenerator implements INarrativeGenerator {
|
|||
return v;
|
||||
}
|
||||
|
||||
if (noSlowLookup)
|
||||
return null;
|
||||
|
||||
if (!context.hasCache()) {
|
||||
ValueSetExpansionComponent vse;
|
||||
try {
|
||||
|
@ -4784,5 +4790,13 @@ public class NarrativeGenerator implements INarrativeGenerator {
|
|||
this.terminologyServiceOptions = terminologyServiceOptions;
|
||||
}
|
||||
|
||||
public boolean isNoSlowLookup() {
|
||||
return noSlowLookup;
|
||||
}
|
||||
|
||||
public void setNoSlowLookup(boolean noSlowLookup) {
|
||||
this.noSlowLookup = noSlowLookup;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue