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 +4 -4
- data/app/services/dde_client/dde_service.rb +4 -3
- data/lib/dde_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1379dea635f856772b3889760d6e31f0dcce511cd18e43162be3ba193d3faa0f
|
4
|
+
data.tar.gz: 75ddf382c9325d6c9aac106112b8da62a9b30102e86ebaea4952802645de8576
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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,
|
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)
|
data/lib/dde_client/version.rb
CHANGED
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
|
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-
|
11
|
+
date: 2024-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|