fix r5 to use r5 end-point on tx.fhir.org

This commit is contained in:
Grahame Grieve 2024-10-30 21:03:40 +10:30
parent c7f747519c
commit b683b0f778

View File

@ -45,7 +45,7 @@ public class TerminologyClientFactory implements ITerminologyClientFactory {
return new TerminologyClientR4(id, checkEndsWith("/r4", url), userAgent).setLogger(logger);
}
if (VersionUtilities.isR5Plus(v)) {
return new TerminologyClientR5(id, checkEndsWith("/r4", url), userAgent).setLogger(logger); // r4 for now, since the terminology is currently the same
return new TerminologyClientR5(id, checkEndsWith("/r5", url), userAgent).setLogger(logger); // r4 for now, since the terminology is currently the same
}
throw new Error("The version " + v + " is not currently supported");
}