Sha256: 91f0529d2b914406e076462878a001c28f4e213b63b52bd68df6b5b39f44ef05
Contents?: true
Size: 724 Bytes
Versions: 16
Compression:
Stored size: 724 Bytes
Contents
class Condition < Entry field :type, type: String field :causeOfDeath, type: Boolean field :time_of_death, type: Integer field :priority, type: Integer field :name, type: String field :ordinality, type: Hash field :severity, type: Hash field :laterality, type: Hash field :anatomical_target, type: Hash field :anatomical_location, type: Hash embeds_many :treating_provider, class_name: "Provider" alias :cause_of_death :causeOfDeath alias :cause_of_death= :causeOfDeath= def shift_dates(date_diff) super self.time_of_death = self.time_of_death.nil? ? nil : self.time_of_death + date_diff end end
Version data entries
16 entries across 16 versions & 1 rubygems