lib/health-data-standards/models/encounter.rb in health-data-standards-1.0.1 vs lib/health-data-standards/models/encounter.rb in health-data-standards-2.0.0
- old
+ new
@@ -1,9 +1,12 @@
class Encounter < Entry
+
field :admitType, type: Hash
field :dischargeDisposition, type: Hash
-
- embeds_one :facility, class_name: "Organization"
+ field :admit_time, type: Integer
+ field :discharge_time, type: Integer
+
+ embeds_one :facility
embeds_one :reason, class_name: "Entry"
belongs_to :performer, class_name: "Provider"
alias :admit_type :admitType
\ No newline at end of file