Class: AthenaHealth::Appointment

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

Instance Method Summary collapse

Instance Method Details

#appointment_statusObject



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

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

#full_timeObject



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

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