lib/health-data-standards/models/immunization.rb in health-data-standards-0.5.0 vs lib/health-data-standards/models/immunization.rb in health-data-standards-0.7.0
- old
+ new
@@ -1,5 +1,10 @@
class Immunization < Entry
- field :refusalInd, type: Boolean, as: 'refusal_ind'
+ field :refusalInd, type: Boolean
field :performer, type: Hash
- field :refusalReason, type: Hash, as: 'refusal_reason'
+ field :refusalReason, type: Hash
+
+ alias :refusal_ind :refusalInd
+ alias :refusal_ind= :refusalInd=
+ alias :refusal_reason :refusalReason
+ alias :refusal_reason= :refusalReason=
end
\ No newline at end of file