lib/health-data-standards/models/condition.rb in health-data-standards-0.8.1 vs lib/health-data-standards/models/condition.rb in health-data-standards-1.0.0
- old
+ new
@@ -1,9 +1,11 @@
class Condition < Entry
field :type, type: String
field :causeOfDeath, type: Boolean
+ field :priority, type: Integer
field :name, type: String
-
+ field :ordinality, type: String
+
embeds_many :treating_provider, class_name: "Provider"
alias :cause_of_death :causeOfDeath
alias :cause_of_death= :causeOfDeath=
end
\ No newline at end of file