Add isServerSide for seeing if code systems are only supported on the server

This commit is contained in:
Grahame Grieve 2024-04-10 08:16:55 +10:00
parent a111989bb4
commit a939e14db9
2 changed files with 6 additions and 1 deletions

View File

@ -803,7 +803,10 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
} }
public boolean isServerSideSystem(String url) {
boolean check = supportsSystem(url);
return check && supportedCodeSystems.contains(url);
}
protected void txLog(String msg) { protected void txLog(String msg) {

View File

@ -656,4 +656,6 @@ public interface IWorkerContext {
*/ */
public Boolean subsumes(ValidationOptions options, Coding parent, Coding child); public Boolean subsumes(ValidationOptions options, Coding parent, Coding child);
public boolean isServerSideSystem(String url);
} }