-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Complications are stored as tags. They're pretty messy. It was not an ideal design. It'd be good to surface some of the information in them to users. Both at procedure and surgeon level.
Some queries:
ActsAsTaggableOn::Tagging.includes(:tag).where(context: 'complications').pluck(:taggable_id, :name).group_by {|id, name| id }