func Render(exp *snomed.Expression) string {
	r, err := NewDefaultRenderer().Render(exp)
	if err != nil {
		panic(err)
	}
	return r
}
Render is a simple helper to render the specified expression using a default renderer.
package expression
import (
	"sort"
	"strconv"
	"strings"
	"github.com/wardle/go-terminology/snomed"
	"github.com/wardle/go-terminology/terminology"
	"golang.org/x/text/language"
)
type Renderer struct {
	svc         *terminology.Svc
	hideTerms   bool            
	updateTerms bool            
	sort        bool            
	tags        []language.Tag  
}
func NewDefaultRenderer() *Renderer {
	return &Renderer{
		svc:         nil,
		hideTerms:   false,
		updateTerms: false,
		sort:        false,
	}
}
func NewCanonicalRenderer() *Renderer {
	return &Renderer{
		svc:         nil,
		hideTerms:   true,
		sort:        true,
		updateTerms: false,
	}
}
func NewUpdatingRenderer(svc *terminology.Svc, tags []language.Tag) *Renderer {
	return &Renderer{
		svc:         svc,
		hideTerms:   false,
		updateTerms: true,
		sort:        false,
		tags:        tags,
	}
}