fix bug in deciding whether a value is supported by the server

This commit is contained in:
Grahame Grieve 2024-01-30 19:06:06 +11:00
parent ebfd70477c
commit dd3770d093
1 changed files with 1 additions and 1 deletions

View File

@ -910,7 +910,7 @@ public class StructureDefinitionValidator extends BaseValidator {
}
private boolean serverSupportsValueSet(String ref) {
ValidationResult vr = context.validateCode(new ValidationOptions(FhirPublication.R5).withCheckValueSetOnly().withVsAsUrl().withNoClient(), new Coding("http://loinc.org", "5792-7", null), new ValueSet().setUrl(ref));
ValidationResult vr = context.validateCode(new ValidationOptions(FhirPublication.R5).withCheckValueSetOnly().withNoClient(), new Coding("http://loinc.org", "5792-7", null), new ValueSet().setUrl(ref));
return vr.getErrorClass() == null || vr.getErrorClass() == TerminologyServiceErrorClass.UNKNOWN;
}