lib/health-data-standards/models/entry.rb in health-data-standards-3.4.1 vs lib/health-data-standards/models/entry.rb in health-data-standards-3.4.2
- old
+ new
@@ -4,10 +4,10 @@
include ThingWithCodes
# embedded_in :entry_list, polymorphic: true
embedded_in :record
- embeds_one :cda_identifier, class_name: "CDAIdentifier"
+ embeds_one :cda_identifier, class_name: "CDAIdentifier", as: :cda_identifiable
embeds_many :values, class_name: "ResultValue"
field :description, type: String
field :specifics, type: String
field :time, type: Integer
\ No newline at end of file