fix NPE in IG publisher

This commit is contained in:
Grahame Grieve 2020-06-11 16:40:20 +10:00
parent 3b925f219d
commit a09c4c3cea
1 changed files with 4 additions and 0 deletions

View File

@ -609,6 +609,10 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
public ValidationResult validateCode(ValidationOptions options, Coding code, ValueSet vs) {
assert options != null;
if (options == null) {
options = ValidationOptions.defaults();
}
CacheToken cacheToken = txCache != null ? txCache.generateValidationToken(options, code, vs) : null;
ValidationResult res = null;
if (txCache != null)