lib/health-data-standards/models/encounter.rb in health-data-standards-3.3.0 vs lib/health-data-standards/models/encounter.rb in health-data-standards-3.4.0
- old
+ new
@@ -1,11 +1,12 @@
class Encounter < Entry
field :admitType, type: Hash
field :dischargeDisposition, type: Hash
field :admitTime, type: Integer
field :dischargeTime, type: Integer
- field :transferTo, type: Hash
- field :transferFrom, type: Hash
+
+ embeds_one :transferTo, class_name: "Transfer"
+ embeds_one :transferFrom, class_name: "Transfer"
embeds_one :facility
embeds_one :reason, class_name: "Entry"
belongs_to :performer, class_name: "Provider"
\ No newline at end of file