Sha256: b0c9c43e8f51cc538c489411ea16376ca85d5b3992bc4111bb05badfa8b345c7

Contents?: true

Size: 511 Bytes

Versions: 2

Compression:

Stored size: 511 Bytes

Contents

class Encounter < Entry
  field :admitType, type: Hash
  field :dischargeDisposition, type: Hash
  field :free_text, type: String
  
  embeds_one :facility, class_name: "Organization"
  embeds_one :reason, class_name: "Entry"

  belongs_to :performer, class_name: "Provider"

  alias :admit_type :admitType
  alias :admit_type= :admitType=
  alias :discharge_disposition :dischargeDisposition
  alias :discharge_disposition= :dischargeDisposition=
  alias :freeText :free_text
  alias :freeText= :free_text=
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
health-data-standards-0.8.1 lib/health-data-standards/models/encounter.rb
health-data-standards-0.8.0 lib/health-data-standards/models/encounter.rb