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