fix problem caching look up of implied value sets
This commit is contained in:
parent
73051109b4
commit
3801f2e702
|
@ -267,7 +267,9 @@ public class TerminologyCache {
|
||||||
|
|
||||||
if (vs != null && vs.hasUrl() && vs.hasVersion()) {
|
if (vs != null && vs.hasUrl() && vs.hasVersion()) {
|
||||||
ct.request = "{\"code\" : "+json.composeString(code, "codeableConcept")+", \"url\": \""+Utilities.escapeJson(vs.getUrl())
|
ct.request = "{\"code\" : "+json.composeString(code, "codeableConcept")+", \"url\": \""+Utilities.escapeJson(vs.getUrl())
|
||||||
+"\", \"version\": \""+Utilities.escapeJson(vs.getVersion())+"\""+(options == null ? "" : ", "+options.toJson())+", \"profile\": "+expJS+"}\r\n";
|
+"\", \"version\": \""+Utilities.escapeJson(vs.getVersion())+"\""+(options == null ? "" : ", "+options.toJson())+", \"profile\": "+expJS+"}\r\n";
|
||||||
|
} else if (options.getVsAsUrl()) {
|
||||||
|
ct.request = "{\"code\" : "+json.composeString(code, "code")+", \"valueSet\" :"+extracted(json, vs)+(options == null ? "" : ", "+options.toJson())+", \"profile\": "+expJS+"}";
|
||||||
} else {
|
} else {
|
||||||
ValueSet vsc = getVSEssense(vs);
|
ValueSet vsc = getVSEssense(vs);
|
||||||
ct.request = "{\"code\" : "+json.composeString(code, "code")+", \"valueSet\" :"+(vsc == null ? "null" : extracted(json, vsc))+(options == null ? "" : ", "+options.toJson())+", \"profile\": "+expJS+"}";
|
ct.request = "{\"code\" : "+json.composeString(code, "code")+", \"valueSet\" :"+(vsc == null ? "null" : extracted(json, vsc))+(options == null ? "" : ", "+options.toJson())+", \"profile\": "+expJS+"}";
|
||||||
|
|
Loading…
Reference in New Issue