Sha256: 7102ac59ea14d9a418829e807e38224841e9661393027f9fc99e9e25ac88d065

Contents?: true

Size: 620 Bytes

Versions: 6

Compression:

Stored size: 620 Bytes

Contents

module QDM
  # app/models/qdm/device_order.rb
  class DeviceOrder < DataElement
    include Mongoid::Document
    embedded_in :patient
    field :authorDatetime, type: DateTime
    field :negationRationale, type: QDM::Code
    field :reason, type: QDM::Code
    embeds_many :requester, class_name: 'QDM::Entity'
    field :qdmTitle, type: String, default: 'Device, Order'
    field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.4.15'
    field :qdmCategory, type: String, default: 'device'
    field :qdmStatus, type: String, default: 'order'
    field :qdmVersion, type: String, default: '5.6'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cqm-models-4.2.0 app/models/qdm/device_order.rb
cqm-models-4.1.1 app/models/qdm/device_order.rb
cqm-models-4.1.0 app/models/qdm/device_order.rb
cqm-models-4.0.2 app/models/qdm/device_order.rb
cqm-models-4.0.1 app/models/qdm/device_order.rb
cqm-models-4.0.0 app/models/qdm/device_order.rb