redox 1.7.2 → 1.7.3

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
  SHA256:
3
- metadata.gz: ca16f2f2e1c41513d99874f9a04b6372d7749f740b11f0d6bb9b883baf548a23
4
- data.tar.gz: 199d2165dbbbfe657de361bdbe61b612503997c61455f582587ffd4ef3beac27
3
+ metadata.gz: f89bb8ec88f909657e6723a72d4df8fc167da55571f05237bff94c1585b80417
4
+ data.tar.gz: 23100e8ac122dc9c078a76316e47ffef8528bf36e90169810adba78ff6eb25b8
5
5
  SHA512:
6
- metadata.gz: a066a300059376e6ed20b64c90b07b81602527757c3976a9f54ef02c3bfe476e92c851a232e01b15820b482636330bfbbea485c53ab273465af3ffc465c7cda0
7
- data.tar.gz: 63b5ddc7ca3ef660537dc517be4c00866d90ce617b75967927306c215ea29a163ccc6c986ee56e687dbb0e8d091da864e016f2e4eedcf4a59c700bf1aa9c6aa6
6
+ metadata.gz: 17c654a115c70f121f13db2a4bc6379e42aa898f9b6aed48f92455e7e3023010ff0fe47296ca19a22c017ecd6ed0b1bc95b32ebcff8aa97c7bc874e03931f07a
7
+ data.tar.gz: 4d2d2d29f961da8b594bd7bac055099a72733cf56cd2ff0c15eae7bb351be133498666946cb35bf87d0cb1908ee17d874378289c720ed5e85f177fc26fd3c229
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [1.7.3] - 2021-11-24
8
+ ### Added
9
+ - Visit#AttendingProvider and helpers for ID, IDType, FirstName, LastName
10
+
7
11
  ## [1.7.2] - 2021-11-18
8
12
  ### Added
9
13
  - Component Model
@@ -11,6 +11,12 @@ module Redox
11
11
  FirstName: nil,
12
12
  LastName: nil
13
13
  }
14
+ DEFAULT_ATTENDING_PROVIDER = {
15
+ ID: nil,
16
+ IDType: nil,
17
+ FirstName: nil,
18
+ LastName: nil
19
+ }
14
20
 
15
21
  property :Insurances, from: :insurances, required: false, default: []
16
22
  property :Location, from: :location, required: false, default: DEFAULT_LOCATION
@@ -25,11 +31,13 @@ module Redox
25
31
  property :CancelReason, from: :cancel_reason, required: false
26
32
  property :DischargeDateTime, from: :end, required: false
27
33
  property :ReferringProvider, from: :referring_provider, required: false, default: DEFAULT_REFERRING_PROVIDER
34
+ property :AttendingProvider, from: :attending_provider, required: false, default: DEFAULT_ATTENDING_PROVIDER
28
35
 
29
36
  alias_method :insurances, :Insurances
30
37
  alias_method :start, :VisitDateTime
31
38
  alias_method :end, :DischargeDateTime
32
39
  alias_method :referring_provider, :ReferringProvider
40
+ alias_method :attending_provider, :AttendingProvider
33
41
 
34
42
  def department=(v)
35
43
  self[:Location] ||= DEFAULT_LOCATION
@@ -43,6 +51,26 @@ module Redox
43
51
  self
44
52
  end
45
53
 
54
+ def attending_provider_id=(v)
55
+ self[:AttendingProvider] ||= DEFAULT_ATTENDING_PROVIDER
56
+ self[:AttendingProvider][:ID] = v
57
+ end
58
+
59
+ def attending_provider_id_type=(v)
60
+ self[:AttendingProvider] ||= DEFAULT_ATTENDING_PROVIDER
61
+ self[:AttendingProvider][:IDType] = v
62
+ end
63
+
64
+ def attending_provider_first_name=(v)
65
+ self[:AttendingProvider] ||= DEFAULT_ATTENDING_PROVIDER
66
+ self[:AttendingProvider][:FirstName] = v
67
+ end
68
+
69
+ def attending_provider_last_name=(v)
70
+ self[:AttendingProvider] ||= DEFAULT_ATTENDING_PROVIDER
71
+ self[:AttendingProvider][:LastName] = v
72
+ end
73
+
46
74
  def referring_provider_id=(v)
47
75
  self[:ReferringProvider] ||= DEFAULT_REFERRING_PROVIDER
48
76
  self[:ReferringProvider][:ID] = v
data/lib/redox/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Redox
2
- VERSION = '1.7.2'.freeze
2
+ VERSION = '1.7.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.2
4
+ version: 1.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Clark
8
8
  - Mike Crockett
9
9
  - Mike Carr
10
- autorequire:
10
+ autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2021-11-18 00:00:00.000000000 Z
13
+ date: 2021-11-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty
@@ -130,7 +130,7 @@ dependencies:
130
130
  - - "~>"
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0.9'
133
- description:
133
+ description:
134
134
  email:
135
135
  - alexander.clark@weinfuse.com
136
136
  - mike.crockett@weinfuse.com
@@ -183,7 +183,7 @@ licenses:
183
183
  - MIT
184
184
  metadata:
185
185
  allowed_push_host: https://rubygems.org
186
- post_install_message:
186
+ post_install_message:
187
187
  rdoc_options: []
188
188
  require_paths:
189
189
  - lib
@@ -198,8 +198,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  - !ruby/object:Gem::Version
199
199
  version: '0'
200
200
  requirements: []
201
- rubygems_version: 3.1.4
202
- signing_key:
201
+ rubygems_version: 3.0.3
202
+ signing_key:
203
203
  specification_version: 4
204
204
  summary: Ruby wrapper for the Redox Engine API
205
205
  test_files: []