Sha256: 65e9b5631ac4078c15ea1e4aee6bf35613ad7658c205e545953c1e78ae459228
Contents?: true
Size: 311 Bytes
Versions: 13
Compression:
Stored size: 311 Bytes
Contents
module HealthDataStandards module SVS class ValueSet # include Mongoid::Document belongs_to :user belongs_to :bundle, class_name: "HealthDataStandards::CQM::Bundle" scope :by_user, ->(user) { where({'user_id'=>(user ? user.id : nil)}) } index "user_id" => 1 end end end
Version data entries
13 entries across 13 versions & 1 rubygems