Sha256: 9e0a7eb36380337fd4f4eabda9f6438efdc2845b4a2d9807d0380a4a6ee5c65b

Contents?: true

Size: 814 Bytes

Versions: 8

Compression:

Stored size: 814 Bytes

Contents

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 :facility
  embeds_one :reason, class_name: "Entry"

  belongs_to :performer, class_name: "Provider"

  alias :admit_time :admitTime
  alias :admit_time= :admitTime=
  alias :admit_type :admitType
  alias :admit_type= :admitType=
  alias :discharge_disposition :dischargeDisposition
  alias :discharge_disposition= :dischargeDisposition=
  alias :discharge_time :dischargeTime
  alias :discharge_time= :dischargeTime=
  alias :transfer_to :transferTo
  alias :transfer_to= :transferTo=
  alias :transfer_from :transferFrom
  alias :transfer_from= :transferFrom=
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
health-data-standards-3.1.1 lib/health-data-standards/models/encounter.rb
health-data-standards-3.1.0 lib/health-data-standards/models/encounter.rb
health-data-standards-3.0.6 lib/health-data-standards/models/encounter.rb
health-data-standards-3.0.5 lib/health-data-standards/models/encounter.rb
health-data-standards-3.0.4 lib/health-data-standards/models/encounter.rb
health-data-standards-3.0.3 lib/health-data-standards/models/encounter.rb
health-data-standards-2.2.1 lib/health-data-standards/models/encounter.rb
health-data-standards-2.2.0 lib/health-data-standards/models/encounter.rb