Sha256: e6cd7e8b4adc8a8820fce6903d20e4af1c698be6e2060a54768e052fa1246097

Contents?: true

Size: 583 Bytes

Versions: 11

Compression:

Stored size: 583 Bytes

Contents

module QDM
  # app/models/qdm/diagnosis.rb
  class Diagnosis < DataElement
    include Mongoid::Document
    embedded_in :patient
    field :authorDatetime, type: DateTime
    field :prevalencePeriod, type: QDM::Interval
    field :anatomicalLocationSite, type: QDM::Code
    field :severity, type: QDM::Code
    field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.110'
    field :qrdaOid, type: String, default: '2.16.840.1.113883.10.20.24.3.135'
    field :category, type: String, default: 'condition'
    field :qdmVersion, type: String, default: '5.3'
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cqm-models-0.8.4 app/models/qdm/diagnosis.rb
cqm-models-0.8.3 app/models/qdm/diagnosis.rb
cqm-models-0.8.2 app/models/qdm/diagnosis.rb
cqm-models-0.8.1 app/models/qdm/diagnosis.rb
cqm-models-0.8.0 app/models/qdm/diagnosis.rb
cqm-models-0.7.7 app/models/qdm/diagnosis.rb
cqm-models-0.7.6 app/models/qdm/diagnosis.rb
cqm-models-0.7.5 app/models/qdm/diagnosis.rb
cqm-models-0.7.4 app/models/qdm/diagnosis.rb
cqm-models-0.7.3 app/models/qdm/diagnosis.rb
cqm-models-0.7.2 app/models/qdm/diagnosis.rb