allscripts_api 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/allscripts_api/named_magic_methods.rb +17 -2
- data/lib/allscripts_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e06aaddd4e6fec0d855fe6b972ab0687a6e366b1
|
4
|
+
data.tar.gz: 3e8fd1b4de7d5c16acec8ae157aac9077ce460a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e5809bc5ce6969a91e77f4c5c1324e6f82e701ccda52fc120234a4377e8003cad1a5615eebd062e6246af55bccfe1492c66f110dc2d54df134d14722db55949
|
7
|
+
data.tar.gz: acebaabdb10e84956fef21d943983826f92fc1ccb2c79e801f52f64c5b53c34c262bc6357c538da98ddfdbe0e2704223f1e8efde34b19feb95e5d4cd82fb03bd
|
data/Gemfile.lock
CHANGED
@@ -9,9 +9,9 @@ module AllscriptsApi
|
|
9
9
|
# a wrapper around SearchPatients
|
10
10
|
#
|
11
11
|
# @param search_string [String] may be a name, birthdate
|
12
|
-
#
|
12
|
+
# partial address, or other PHI
|
13
13
|
# @return [Array<Hash>, Array, MagicError] a list of found patients,
|
14
|
-
#
|
14
|
+
# an empty array, or an error
|
15
15
|
def search_patients(search_string)
|
16
16
|
params =
|
17
17
|
MagicParams.format(
|
@@ -22,6 +22,21 @@ module AllscriptsApi
|
|
22
22
|
results["searchpatientsinfo"]
|
23
23
|
end
|
24
24
|
|
25
|
+
# a wrapper around GetProvider
|
26
|
+
#
|
27
|
+
# @param provider_id [String] optional Allscripts user id
|
28
|
+
# @param user_name [String] optional Allscripts user_name
|
29
|
+
# @return [Array<Hash>, Array, MagicError] a list of providers
|
30
|
+
def get_provider(provider_id = nil, user_name = nil)
|
31
|
+
params =
|
32
|
+
MagicParams.format(
|
33
|
+
parameter1: provider_id,
|
34
|
+
parameter2: user_name
|
35
|
+
)
|
36
|
+
results = magic("GetProvider", magic_params: params)
|
37
|
+
results["getproviderinfo"]
|
38
|
+
end
|
39
|
+
|
25
40
|
# gets the CCDA documents for the specified patient and encounter
|
26
41
|
#
|
27
42
|
# @param patient_id [String] patient id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: allscripts_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chase
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|