lib/health-data-standards/models/entry.rb in health-data-standards-0.7.0 vs lib/health-data-standards/models/entry.rb in health-data-standards-0.7.1
- old
+ new
@@ -9,9 +9,14 @@
field :start_time, type: Integer
field :end_time, type: Integer
field :status, type: String
field :codes, type: Hash, default: {}
field :value, type: Hash, default: {}
+
+ attr_protected :version
+ attr_protected :_id
+ attr_protected :created_at
+ attr_protected :updated_at
def single_code_value?
codes.size == 1 && codes.first[1].size == 1
end
\ No newline at end of file