Sha256: 1a536023cd8e2e8a4929d190b6d956490f0cff8cc288c985d9ccf96a6e3a0be6

Contents?: true

Size: 751 Bytes

Versions: 6

Compression:

Stored size: 751 Bytes

Contents

module QDM
  # app/models/qdm/procedure_order.rb
  class ProcedureOrder < DataElement
    include Mongoid::Document
    embedded_in :patient
    field :authorDatetime, type: DateTime
    field :reason, type: QDM::Code
    field :anatomicalLocationSite, type: QDM::Code
    field :rank, type: Integer
    field :priority, type: QDM::Code
    field :negationRationale, type: QDM::Code
    embeds_many :requester, class_name: 'QDM::Entity'
    field :qdmTitle, type: String, default: 'Procedure, Order'
    field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.4.66'
    field :qdmCategory, type: String, default: 'procedure'
    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/procedure_order.rb
cqm-models-4.1.1 app/models/qdm/procedure_order.rb
cqm-models-4.1.0 app/models/qdm/procedure_order.rb
cqm-models-4.0.2 app/models/qdm/procedure_order.rb
cqm-models-4.0.1 app/models/qdm/procedure_order.rb
cqm-models-4.0.0 app/models/qdm/procedure_order.rb