app/models/qdm/id.rb in cqm-models-0.8.3 vs app/models/qdm/id.rb in cqm-models-0.8.4
- old
+ new
@@ -1,9 +1,9 @@
module QDM
# app/models/qdm/id.rb
- class Id < DataElement
+ class Id
include Mongoid::Document
- embedded_in :patient
+ embedded_in :data_element
field :namingSystem, type: String
field :value, type: String
field :qdmVersion, type: String, default: '5.3'
end
end