dde_client 0.1.0 → 1.0.1

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: 7996106a9df34e06acb594f8531a53c40d1e014fca7add081c4c4d545aea11e0
4
- data.tar.gz: b5d3af559aa340dda33bd32266fc45e67fa7fc6d10dde5b841f8881b11782ad3
3
+ metadata.gz: 1379dea635f856772b3889760d6e31f0dcce511cd18e43162be3ba193d3faa0f
4
+ data.tar.gz: 75ddf382c9325d6c9aac106112b8da62a9b30102e86ebaea4952802645de8576
5
5
  SHA512:
6
- metadata.gz: 1f147e53a332201bbae823f6c2114002054932a743ed6c5b0415272f76934ededfc6824401b1158e34e8fc0f27fb2f706a24b7f89572521ea4ad86d9f6ae95ac
7
- data.tar.gz: '009b7ef7c3ac8327563b2f09b460fe946f5170295e030b921970ac14cc3262d7e860e7a3aee6467e8aa14acb3e0531948f92bd3f94dc5c54f5e4bd192c1ed53d'
6
+ metadata.gz: e17b9eb6c41fc42ddd48710c718bd4beaedea5a5ea351cecacd76f29564a2f2a69cdaf3a19d5b5fa1af539d05f3de446d6175681e52205942818ea9e4c3db16a
7
+ data.tar.gz: 7dc418bd776cfa94acab1c6c5c8d6aa68d10c24f77541fbad87acdd1ef4a73d829ab81708f5646ad279061426fe3fa82d743b6a87b9fa06b62a286ab5b935d60
@@ -336,10 +336,11 @@ class DdeClient::DdeService
336
336
  private
337
337
 
338
338
  def find_remote_patients_by_npid(npid)
339
- response, _status = dde_client.post('search_by_npid', npid: npid)
340
- raise DdeError, "Patient search by npid failed: Dde Response => #{response}" unless response.instance_of?(Array)
341
-
339
+ response, status = dde_client.post('search_by_npid', npid: npid)
342
340
  response
341
+ rescue StandardError => e
342
+ print "Patient search by npid failed: Dde Response (#{status}) => #{e} \n"
343
+ []
343
344
  end
344
345
 
345
346
  def find_remote_patients_by_name_and_gender(given_name, family_name, gender)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DdeClient
4
- VERSION = "0.1.0"
4
+ VERSION = "1.0.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dde_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - bryan-mw
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-05 00:00:00.000000000 Z
11
+ date: 2024-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails