Sha256: f883f30ab9b296f3397b8032c42cf943bdd1a3d1d7fce8412d56be06cc40a605
Contents?: true
Size: 977 Bytes
Versions: 6
Compression:
Stored size: 977 Bytes
Contents
module QDM # app/models/qdm/medication_order.rb class MedicationOrder < DataElement include Mongoid::Document embedded_in :patient field :authorDatetime, type: DateTime field :relevantPeriod, type: QDM::Interval field :refills, type: Integer field :dosage, type: QDM::Quantity field :supply, type: QDM::Quantity field :frequency, type: QDM::Code field :daysSupplied, type: Integer field :route, type: QDM::Code field :setting, type: QDM::Code field :reason, type: QDM::Code field :negationRationale, type: QDM::Code embeds_many :prescriber, class_name: 'QDM::Entity' field :relatedTo, type: Array field :qdmTitle, type: String, default: 'Medication, Order' field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.4.51' field :qdmCategory, type: String, default: 'medication' 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