lib/health-data-standards/models/condition.rb in health-data-standards-1.0.1 vs lib/health-data-standards/models/condition.rb in health-data-standards-2.0.0

- old
+ new

@@ -1,10 +1,12 @@ class Condition < Entry - field :type, type: String - field :causeOfDeath, type: Boolean - field :priority, type: Integer - field :name, type: String - field :ordinality, type: String + field :type, type: String + field :causeOfDeath, type: Boolean + field :priority, type: Integer + field :name, type: String + field :ordinality, type: String + field :ordinality_code, type: Hash + field :severity, type: Hash # Currently unsupported by any importers embeds_many :treating_provider, class_name: "Provider" alias :cause_of_death :causeOfDeath alias :cause_of_death= :causeOfDeath= \ No newline at end of file