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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 994a2081a0537657ca099a173a4ba3a03c590218
4
- data.tar.gz: 216f57136fbe36ea996ad05751ef3cb9338aaf96
3
+ metadata.gz: 29d6394681a2b57c10ce78c46b9b0ac3db60ba16
4
+ data.tar.gz: 75ba0678672a3deb40c0af75836f4fdde864b136
5
5
  SHA512:
6
- metadata.gz: 54f2d2e24e52dd3cbda77a444eec21782f605543af31438e3a803649216f8fe35ac209fcb93e40cc90ac16a42ef1fa1aba1648eda7287da7bc92d22908f1dcbd
7
- data.tar.gz: aabf11230f9404f823c68b609499cc4a62f6add85911b106f7b2538337c297105949c9de73290d85a0033e9c1f109e4813d09020088df57912e941493c39a2ee
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
@@ -1,3 +1,3 @@
1
1
  module AthenaHealth
2
- VERSION = '0.9.3'.freeze
2
+ VERSION = '0.9.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: athena_health
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Urbański