app/models/qdm/family_history.rb in cqm-models-3.1.2 vs app/models/qdm/family_history.rb in cqm-models-4.0.0
- old
+ new
@@ -3,13 +3,13 @@
class FamilyHistory < DataElement
include Mongoid::Document
embedded_in :patient
field :authorDatetime, type: DateTime
field :relationship, type: QDM::Code
- embeds_one :recorder, class_name: 'QDM::Entity'
+ embeds_many :recorder, class_name: 'QDM::Entity'
field :qdmTitle, type: String, default: 'Family History'
field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.4.111'
field :qrdaOid, type: String, default: '2.16.840.1.113883.10.20.24.3.12'
field :qdmCategory, type: String, default: 'family_history'
- field :qdmVersion, type: String, default: '5.5'
+ field :qdmVersion, type: String, default: '5.6'
end
end