app/models/qdm/participation.rb in cqm-models-1.0.3 vs app/models/qdm/participation.rb in cqm-models-1.1.1.0
- old
+ new
@@ -2,9 +2,10 @@
# app/models/qdm/participation.rb
class Participation < DataElement
include Mongoid::Document
embedded_in :patient
field :participationPeriod, type: QDM::Interval
+ field :qdmTitle, type: String, default: 'Participation'
field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.4.130'
field :qdmCategory, type: String, default: 'participation'
field :qdmVersion, type: String, default: '5.4'
end
end