require 'uuid' module Qrda module Export module Helper module ViewHelper def measures @measures.only(:hqmf_id, :hqmf_set_id, :description).as_json end def random_id UUID.generate end def as_id self['value'] end def object_id self[:_id] end def submission_program @submission_program end end end end end