Sha256: 4952ab0947fe8fcdec75634d569e7942cceb0b35f0a04d222934068caadba3b2

Contents?: true

Size: 586 Bytes

Versions: 4

Compression:

Stored size: 586 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 :qdmCategory, type: String, default: 'condition'
    field :qdmVersion, type: String, default: '5.4'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cqm-models-1.0.3 app/models/qdm/diagnosis.rb
cqm-models-1.0.2 app/models/qdm/diagnosis.rb
cqm-models-1.0.1 app/models/qdm/diagnosis.rb
cqm-models-1.0.0 app/models/qdm/diagnosis.rb