Fixes for kindling

This commit is contained in:
Grahame Grieve 2023-05-06 00:55:50 -05:00
parent 89cc7b9c55
commit 24b0cc2ee4
2 changed files with 13 additions and 14 deletions

View File

@ -10,7 +10,7 @@ public class TerminologyClientContext {
private boolean isTxCaching;
private int serverQueryCount = 0;
private final Set<String> cached = new HashSet<>();
// protected String tsServer;
protected String server;
private ITerminologyClient client;
private TerminologyCapabilities txcaps;
@ -42,13 +42,13 @@ public class TerminologyClientContext {
return cached;
}
// public String getTsServer() {
// return tsServer;
// }
//
// public void setTsServer(String tsServer) {
// this.tsServer = tsServer;
// }
public String getServer() {
return server;
}
public void setServer(String server) {
this.server = server;
}
public ITerminologyClient getClient() {
return client;

View File

@ -8,12 +8,11 @@ public class URICodeSystem extends SpecialCodeSystem {
@Override
public ConceptDefinitionComponent findConcept(Coding code) {
throw new Error("This is used");
// if (Utilities.isAbsoluteUrl(code.getCode())) {
// return new ConceptDefinitionComponent(code.getCode());
// } else {
// return null;
// }
if (Utilities.isAbsoluteUrl(code.getCode())) {
return new ConceptDefinitionComponent(code.getCode());
} else {
return null;
}
}
}