Class: AthenaHealth::Appointment

Inherits:
BaseModel show all
Defined in:
lib/athena_health/appointment.rb

Instance Method Summary collapse

Instance Method Details

#appointment_statusObject



29
30
31
32
33
34
35
36
37
38
# File 'lib/athena_health/appointment.rb', line 29

def appointment_status
    {
      'f' => 'Future',
      'x' => 'Cancelled',
      'o' => 'Open',
      '2' => 'Checked in',
      '3' => 'Checked out',
      '4' => 'Charge entered'
    }[appointmentstatus]
end

#full_timeObject



40
41
42
# File 'lib/athena_health/appointment.rb', line 40

def full_time
  "#{date} #{starttime}"
end