// Make the $test operation appear in the CapabilityStatement, if it is declared as supported in the SupportedOperationsOptions // See http://docs.simplifier.net/vonk/configuration/appsettings.html - Enable or disable interactions public void ContributeToCapabilityStatement(ICapabilityStatementBuilder builder) { Check.NotNull(builder, nameof(builder)); if (_supportedInteractionOptions.SupportsCustomOperation(_operationName)) { builder.UseRestComponentEditor(rce => { rce.AddOperation(_operationName, "http://example.com/fhir/OperationDefinition/test-operation"); }); } }