Sha256: 551395183dd389d2fa9d004ec8fec7f2b6e50dac573e2cb6b0d36342bbbd4477

Contents?: true

Size: 381 Bytes

Versions: 19

Compression:

Stored size: 381 Bytes

Contents

module CQM
  # ValueSet represents a collection of Concepts, used by the Measures to specify a set of codes for a particular topic
  class ValueSet
    include Mongoid::Document
    field :oid, type: String
    field :display_name, type: String
    field :version, type: String

    index oid: 1

    embeds_many :concepts

    scope :by_oid, ->(oid) { where(oid: oid) }
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
cqm-models-4.2.0 app/models/cqm/valueset.rb
cqm-models-3.1.2 app/models/cqm/valueset.rb
cqm-models-4.1.1 app/models/cqm/valueset.rb
cqm-models-4.1.0 app/models/cqm/valueset.rb
cqm-models-4.0.2 app/models/cqm/valueset.rb
cqm-models-4.0.1 app/models/cqm/valueset.rb
cqm-models-4.0.0 app/models/cqm/valueset.rb
cqm-models-3.1.1 app/models/cqm/valueset.rb
cqm-models-3.1.0 app/models/cqm/valueset.rb
cqm-models-3.0.6 app/models/cqm/valueset.rb
cqm-models-3.0.5 app/models/cqm/valueset.rb
cqm-models-3.0.4 app/models/cqm/valueset.rb
cqm-models-3.0.3 app/models/cqm/valueset.rb
cqm-models-3.0.2 app/models/cqm/valueset.rb
cqm-models-3.0.1 app/models/cqm/valueset.rb
cqm-models-2.0.1 app/models/cqm/valueset.rb
cqm-models-3.0.0 app/models/cqm/valueset.rb
cqm-models-2.0.0 app/models/cqm/valueset.rb
cqm-models-1.1.1.0 app/models/cqm/valueset.rb