Sha256: 26e9cab9e41502b4728c76225a65d1754934223d4e1843c099aa234410ecd085

Contents?: true

Size: 672 Bytes

Versions: 3

Compression:

Stored size: 672 Bytes

Contents

module QDM
  # app/models/qdm/device_applied.rb
  class DeviceApplied < DataElement
    include Mongoid::Document
    embedded_in :patient
    field :authorDatetime, type: DateTime
    field :relevantPeriod, type: QDM::Interval
    field :negationRationale, type: QDM::Code
    field :reason, type: QDM::Code
    field :anatomicalLocationSite, type: QDM::Code
    field :qdmTitle, type: String, default: 'Device, Applied'
    field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.4.13'
    field :qdmCategory, type: String, default: 'device'
    field :qdmStatus, type: String, default: 'applied'
    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/device_applied.rb
cqm-models-2.0.0 app/models/qdm/device_applied.rb
cqm-models-1.1.1.0 app/models/qdm/device_applied.rb