lib/health-data-standards/models/immunization.rb in health-data-standards-1.0.1 vs lib/health-data-standards/models/immunization.rb in health-data-standards-2.0.0
- old
+ new
@@ -1,16 +1,14 @@
class Immunization < Entry
- field :refusalInd, type: Boolean
- field :refusalReason, type: Hash
field :seriesNumber, type: Integer
belongs_to :performer, class_name: "Provider"
embeds_one :medication_product
- alias :refusal_ind :refusalInd
- alias :refusal_ind= :refusalInd=
- alias :refusal_reason :refusalReason
- alias :refusal_reason= :refusalReason=
+ alias :refusal_ind :negationInd
+ alias :refusal_ind= :negationInd=
+ alias :refusal_reason :negationReason
+ alias :refusal_reason= :negationReason=
alias :series_number :seriesNumber
alias :series_number= :seriesNumber=
end
\ No newline at end of file