lib/health-data-standards/models/entry.rb in health-data-standards-3.6.1 vs lib/health-data-standards/models/entry.rb in health-data-standards-3.7.0

- old
+ new

@@ -8,10 +8,13 @@ embedded_in :record embeds_one :cda_identifier, class_name: "CDAIdentifier", as: :cda_identifiable embeds_many :values, class_name: "ResultValue" embeds_many :references + embeds_many :provider_preference, class_name: "Entry" + embeds_many :patient_preference, class_name: "Entry" + field :description, type: String field :specifics, type: String field :time, type: Integer field :start_time, type: Integer field :end_time, type: Integer @@ -19,10 +22,11 @@ field :mood_code, type: String, default: "EVN" field :negationInd, as: :negation_ind, type: Boolean field :negationReason, as: :negation_reason, type: Hash field :oid, type: String field :reason, type: Hash + field :health_record_field, type: Hash attr_protected :version attr_protected :_id attr_protected :created_at attr_protected :updated_at @@ -211,6 +215,6 @@ else self.id end end -end \ No newline at end of file +end