athena_health 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/athena_health/appointment.rb +11 -0
- data/lib/athena_health/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29d6394681a2b57c10ce78c46b9b0ac3db60ba16
|
4
|
+
data.tar.gz: 75ba0678672a3deb40c0af75836f4fdde864b136
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0ee62d3c8e45f94de184ee4ba8795f26e9f42aeba32b6c8ec78d95c90ade1b63c4ae5427ddaad6b107db73f2f7718a3191888f010192b973a8f1509f5c8b72b
|
7
|
+
data.tar.gz: 6f28030f0d122a1578d50ea2e430426315860d0c83d52bb9e3d84a2266bf19e584ab28e174ed02562a0f623dd0a24c668e1840b1855d95d747c8ed80735768f2
|
@@ -11,5 +11,16 @@ module AthenaHealth
|
|
11
11
|
attribute :duration, Integer
|
12
12
|
attribute :appointmenttypeid, Integer
|
13
13
|
attribute :patientappointmenttypename, Integer
|
14
|
+
|
15
|
+
def appointment_status
|
16
|
+
{
|
17
|
+
'f' => 'Future',
|
18
|
+
'x' => 'Cancelled',
|
19
|
+
'o' => 'Open',
|
20
|
+
'2' => 'Checked in',
|
21
|
+
'3' => 'Checked out',
|
22
|
+
'4' => 'Charge entered'
|
23
|
+
}[appointmentstatus]
|
24
|
+
end
|
14
25
|
end
|
15
26
|
end
|