dde_client 1.0.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: 89c4b335c6d6719786fb6b969a12c6af09d405da35e3fbfde47e9d0d9844573e
4
- data.tar.gz: 06f6f1e4f58244ea5f531e0a1248a4d0c92150fe8dd265c552d62cce70e7fd40
3
+ metadata.gz: 1379dea635f856772b3889760d6e31f0dcce511cd18e43162be3ba193d3faa0f
4
+ data.tar.gz: 75ddf382c9325d6c9aac106112b8da62a9b30102e86ebaea4952802645de8576
5
5
  SHA512:
6
- metadata.gz: 9d5f38cbefde79bd68f1ff35791c159353b2a969fbdd7a55f0cd6a006070e296ad4515a182d9bd6ea5c410f42662f6f1b5acf6c6799688ad47d4870f192a1c72
7
- data.tar.gz: c75a3281f0d7456c86a88d3b55de8742a7d653b0c727e6f281135131b46f267c488bf4287008ea50184cf0a3d23990b4b1eeadf0cdcadd296602f0c380db2694
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 = "1.0.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: 1.0.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-08 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