Sha256: 33d3f499dab17094d5034d045b8c81d53fa62ffbd109814460aec37b8adda492

Contents?: true

Size: 616 Bytes

Versions: 3

Compression:

Stored size: 616 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::FacilityLocation
    field :type, type: QDM::Code
    field :qdmTitle, type: String, default: 'Adverse Event'
    field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.4.120'
    field :qdmCategory, type: String, default: 'adverse_event'
    field :qdmVersion, type: String, default: '5.4'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cqm-models-2.0.1 app/models/qdm/adverse_event.rb
cqm-models-2.0.0 app/models/qdm/adverse_event.rb
cqm-models-1.1.1.0 app/models/qdm/adverse_event.rb