Sha256: a3e916d2edeb774746b66e951887b573702189c91406083a3a683c9aed0d29a2

Contents?: true

Size: 988 Bytes

Versions: 7

Compression:

Stored size: 988 Bytes

Contents

 module QME
  class PatientCache
    include Mongoid::Document
    include Mongoid::Timestamps
    store_in collection: 'patient_cache'
    index "value.last" => 1
    index "bundle_id" => 1
    index "value.measure_id" => 1
    index "value.sub_id" => 1
    index "value.filters.provider_performances.provider_id" => 1
    index "value.medical_record_id" => 1
    embeds_one :value, class_name: "QME::PatientCacheValue", inverse_of: :patient_cache
  end

  class PatientCacheValue

    include Mongoid::Document

    embedded_in :patient_cache, inverse_of: :value

    field :filters, type: Hash
    field :manual_exclusion, type: Boolean, default: false
    field :DENOM, type: Integer
    field :NUMER, type: Integer
    field :DENEX, type: Integer
    field :DENEXCEP, type: Integer
    field :MSRPOPL, type: Integer
    field :OBSERV
    field :antinumerator, type: Integer
    field :IPP, type: Integer
    field :measure_id, type: String
    field :sub_id, type: String
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
quality-measure-engine-3.2.0 lib/qme/patient_cache.rb
quality-measure-engine-3.1.2 lib/qme/patient_cache.rb
quality-measure-engine-3.1.1 lib/qme/patient_cache.rb
quality-measure-engine-3.1.0 lib/qme/patient_cache.rb
quality-measure-engine-3.0.3 lib/qme/patient_cache.rb
quality-measure-engine-3.0.2 lib/qme/patient_cache.rb
quality-measure-engine-3.0.1 lib/qme/patient_cache.rb