redox 1.5.1 → 1.5.2

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: f8554c8aae232514947dda12f81ef347d9dd6fd81d8364cdf655240001a8bca7
4
- data.tar.gz: 704879fb31e3a17965d78482844fed104e178f9ccf6fc68c6ada7d4ca53e0c02
3
+ metadata.gz: 4e502173db4efa95ee3c6e4f338ad78344c25c52aa35be766d4f6137724a4923
4
+ data.tar.gz: 339890660bea9426b4950c33697a7e38eada9b07ba0a4356ecda5076271d404c
5
5
  SHA512:
6
- metadata.gz: 43f9844cab0a114c1496fe8a72792885f62591a628cf0d8b98ef204ce726197593ee772509162af36bc140a6e1bff926a66c74f29496e750570937f71c7db5dc
7
- data.tar.gz: ff93495f20309e8e0953200fab80464ca061e86b652aa06269c3a5582382c1a56f03288ffa8146ff5ca819ab927736389322f0f8112104b4d74a04bba7e1ad3d
6
+ metadata.gz: a434730a3fb38681fdd434ac7451c1c9ee5ed49f9f136292991f2499e97f6f16537c853bb1d1b2c13b25882e3ea0210d2cb301f64594fc97c9a229341a5fc213
7
+ data.tar.gz: 7d9ab435afe16ae9288f5a8dea5c18e137d592adc4122ecd3b65dbd6504ecbe22b5ecd0ba1c262abcd797ecc230f8c24ce39963fbabf315c8233eb7d9b0334f7
@@ -4,9 +4,15 @@ 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.5.1] - 2020-12-22
7
+ ## [1.5.2] - 2021-01-08
8
8
  ### Added
9
+ - Visit#Type
10
+ - Visit#Status
11
+ - Visit#Reason
12
+ - Visit#Equipment
9
13
 
14
+ ## [1.5.1] - 2020-12-22
15
+ ### Added
10
16
  - Contacts model
11
17
  - Patient#contacts
12
18
 
@@ -53,7 +59,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
53
59
  - Moving to Requst classes instead of mixing in logic to models (kept backwards compatibility)
54
60
  - Added potential matches to responses and implemented for patient search
55
61
 
56
- =======
57
62
  ### Added
58
63
  - PotentialMatches class
59
64
 
@@ -138,6 +143,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
138
143
  ### Added
139
144
  - Initial Release
140
145
 
146
+ [1.5.2]: https://github.com/WeInfuse/redox/compare/v1.5.1...v1.5.2
141
147
  [1.5.1]: https://github.com/WeInfuse/redox/compare/v1.5.0...v1.5.1
142
148
  [1.5.0]: https://github.com/WeInfuse/redox/compare/v1.4.0...v1.5.0
143
149
  [1.4.0]: https://github.com/WeInfuse/redox/compare/v1.3.1...v1.4.0
@@ -12,6 +12,10 @@ module Redox
12
12
  property :Duration, from: :duration, required: false
13
13
  property :VisitNumber, from: :visit_number, required: false
14
14
  property :AccountNumber, from: :account_number, required: false
15
+ property :Status, from: :status, required: false
16
+ property :Type, from: :type, required: false
17
+ property :Reason, from: :reason, required: false
18
+ property :Equipment, from: :equipment, required: false
15
19
 
16
20
  alias_method :insurances, :Insurances
17
21
  alias_method :start, :VisitDateTime
@@ -28,6 +32,12 @@ module Redox
28
32
  self
29
33
  end
30
34
 
35
+ def add_equipment(description: nil, code: nil)
36
+ self[:Equipment] ||= []
37
+ self[:Equipment] << { Description: description, Code: code }
38
+ self
39
+ end
40
+
31
41
  def insurances
32
42
  self[:Insurances] = self[:Insurances].map {|ins| ins.is_a?(Redox::Models::Insurance) ? ins : Insurance.new(ins) }
33
43
  end
@@ -1,3 +1,3 @@
1
1
  module Redox
2
- VERSION = '1.5.1'.freeze
2
+ VERSION = '1.5.2'.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.5.1
4
+ version: 1.5.2
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: 2020-12-22 00:00:00.000000000 Z
13
+ date: 2021-01-08 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
@@ -176,7 +176,7 @@ licenses:
176
176
  - MIT
177
177
  metadata:
178
178
  allowed_push_host: https://rubygems.org
179
- post_install_message:
179
+ post_install_message:
180
180
  rdoc_options: []
181
181
  require_paths:
182
182
  - lib
@@ -191,9 +191,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  - !ruby/object:Gem::Version
192
192
  version: '0'
193
193
  requirements: []
194
- rubyforge_project:
194
+ rubyforge_project:
195
195
  rubygems_version: 2.7.6
196
- signing_key:
196
+ signing_key:
197
197
  specification_version: 4
198
198
  summary: Ruby wrapper for the Redox Engine API
199
199
  test_files: []