roqua-healthy 1.1.6 → 1.1.7

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: 689b3f9b5d71c11bea468ce05a820b1e276cb048
4
- data.tar.gz: 58c43b3aa5be15936c51e4c24916642e16a9398f
3
+ metadata.gz: d242737c6ab0e73bbf5ce97ba1b94f5294e460f8
4
+ data.tar.gz: 60a2a253d212fe09e7b3e051361c5a9c560ce6c8
5
5
  SHA512:
6
- metadata.gz: b29a20d431090e462b0bdd8afa4574d484ec9e14e3946ca8edb3a02d281d536d84ac7741e1fd3bc046148ffa4bd30164fe9e1f1e9f08eea99f720dc7edaab8b1
7
- data.tar.gz: f68cb0a4d89aa9550f76c4bb555627eb26c556ba4c83080681a0bb9664cd90ed943d715b4edd80d4880ff06d2a84db5f858d89e573a415482a603efec2790da9
6
+ metadata.gz: a930d8b55130a248c0a6af93318f2e95be1305793aa25c44d3b13b37d82c903f26e7074ca369a4c8cfb7600a5648f45087c0487ab9c3c0cf40f7e5160b6b7757
7
+ data.tar.gz: f70a6e89247c82b83193063f9771df2dfdbeefc4b1a25f79d68cbc2d474008005cd90cc7f556e171c7d8b3ebd7c776458b64cb55a1f6f41ca2f69aa01a990f38
data/ChangeLog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 1.1.7
2
+
3
+ * Bumped roqua-support to 0.1.18 to use Roqua.stats (through with_instrumentation)
4
+
1
5
  ### 1.1.6
2
6
 
3
7
  * For CDIS name parser, now return last name that includes maiden name
@@ -1,7 +1,7 @@
1
1
  module Roqua
2
2
  module Healthy
3
3
  class Client
4
- include ::Roqua::Logging
4
+ include ::Roqua::Support::Instrumentation
5
5
 
6
6
  attr_accessor :a19_endpoint
7
7
 
@@ -14,7 +14,7 @@ module Roqua
14
14
  end
15
15
 
16
16
  def fetch_a19(patient_id)
17
- eventlog.lifecycle('roqua.hl7.a19', patient_id: patient_id) do
17
+ with_instrumentation 'hl7.a19', patient_id: patient_id do
18
18
  message = A19::Fetcher.new(patient_id, self).fetch
19
19
  patient = A19::Transformer.new(message).to_patient
20
20
  patient
@@ -1,6 +1,6 @@
1
1
  module Roqua
2
2
  module Healthy
3
3
  # healthy version
4
- VERSION = "1.1.6"
4
+ VERSION = "1.1.7"
5
5
  end
6
6
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
19
19
 
20
20
  gem.add_dependency 'activesupport', '>= 3.2', '< 5.0'
21
21
  gem.add_dependency 'addressable', '~> 2.3'
22
- gem.add_dependency 'roqua-support', '~> 0.1.1'
22
+ gem.add_dependency 'roqua-support', '~> 0.1.18'
23
23
 
24
24
  gem.add_development_dependency 'bundler', '~> 1.0'
25
25
  gem.add_development_dependency 'rake', '~> 10.0'
@@ -49,6 +49,10 @@
49
49
  <PID.3.1>md-cdae5d100d8e0131d2623c075478eb56</PID.3.1>
50
50
  <PID.3.5>epd</PID.3.5>
51
51
  </PID.3>
52
+ <PID.3>
53
+ <PID.3.1>research-id-123</PID.3.1>
54
+ <PID.3.5>medo-research-number</PID.3.5>
55
+ </PID.3>
52
56
  </PID.3>
53
57
  <PID.5 type="array">
54
58
  <PID.5>
@@ -1,5 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
+ # rubocop:disable Blocks,BlockAlignment
3
4
  describe 'Fetching A19 from Medo' do
4
5
  describe 'a patient' do
5
6
  before { load_fixture 'medo_patient', 'md-cdae5d100d8e0131d2623c075478eb56' }
@@ -8,7 +9,8 @@ describe 'Fetching A19 from Medo' do
8
9
  it { expect(subject[:status]).to eq('SUCCESS') }
9
10
  it { expect(subject[:error]).to be_nil }
10
11
  it { expect(subject[:source]).to eq('RGOC') }
11
- it { expect(subject[:identities]).to eq([{ident: 'md-cdae5d100d8e0131d2623c075478eb56', authority: 'epd'}]) }
12
+ it { expect(subject[:identities]).to eq([{ident: 'md-cdae5d100d8e0131d2623c075478eb56', authority: 'epd'},
13
+ {ident: 'research-id-123', authority: 'medo-research-number'}]) }
12
14
  it { expect(subject[:firstname]).to eq('Jan') }
13
15
  it { expect(subject[:initials]).to eq('J.') }
14
16
  it { expect(subject[:lastname]).to eq('Fictief') }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roqua-healthy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marten Veldthuis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-12 00:00:00.000000000 Z
11
+ date: 2014-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -50,14 +50,14 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 0.1.1
53
+ version: 0.1.18
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 0.1.1
60
+ version: 0.1.18
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: bundler
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -323,7 +323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
323
323
  version: '0'
324
324
  requirements: []
325
325
  rubyforge_project:
326
- rubygems_version: 2.2.2
326
+ rubygems_version: 2.4.2
327
327
  signing_key:
328
328
  specification_version: 4
329
329
  summary: Arranges communication between Mirth and RoQua