@Override public boolean supportsSystem(String theSystem) { if (myValidationSupport == null) { return false; } else { return myValidationSupport.isCodeSystemSupported(myCtx, theSystem); } }
@Override public ValueSet fetchCodeSystem(String theSystem) { if (myValidationSupport == null) { return null; } else { return myValidationSupport.fetchCodeSystem(myCtx, theSystem); } }
@Override public <T extends Resource> T fetchResource(Class<T> theClass, String theUri) throws EOperationOutcome, Exception { if (myValidationSupport == null) { return null; } else { return myValidationSupport.fetchResource(myCtx, theClass, theUri); } }
@Override public ValidationResult validateCode(String theSystem, String theCode, String theDisplay) { CodeValidationResult result = myValidationSupport.validateCode(myCtx, theSystem, theCode, theDisplay); if (result == null) { return null; } return new ValidationResult( result.getSeverity(), result.getMessage(), result.asConceptDefinition()); }
@Override public ValueSetExpansionComponent expandVS(ConceptSetComponent theInc) { return myValidationSupport.expandValueSet(myCtx, theInc); }