Sha256: 23c2bfc0dfd4762fc344e4f042bb83f3334aef9efabd16b3766c85f5c488fd02

Contents?: true

Size: 544 Bytes

Versions: 4

Compression:

Stored size: 544 Bytes

Contents

module QDM
  # app/models/qdm/adverse_event.rb
  class AdverseEvent < DataElement
    include Mongoid::Document
    embedded_in :patient
    field :authorDatetime, type: DateTime
    field :relevantPeriod, type: QDM::Interval
    field :severity, type: QDM::Code
    field :facilityLocation, type: QDM::Code
    field :type, type: QDM::Code
    field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.120'
    field :qdmCategory, type: String, default: 'adverse_event'
    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/adverse_event.rb
cqm-models-1.0.2 app/models/qdm/adverse_event.rb
cqm-models-1.0.1 app/models/qdm/adverse_event.rb
cqm-models-1.0.0 app/models/qdm/adverse_event.rb