pokitdok-ruby 0.7.4 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/Gemfile.lock +34 -20
- data/README.md +25 -1
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/lib/OAuthApplicationClient.rb +149 -0
- data/lib/pokitdok.rb +157 -194
- data/pokitdok-ruby.gemspec +8 -27
- data/spec/fixtures/acme_inc_supplemental_identifiers.834 +35 -0
- data/spec/fixtures/chiropractic_example.837 +33 -0
- data/spec/fixtures/identity_match.json +29 -0
- data/spec/pokitdok_spec.rb +578 -261
- data/spec/spec_helper.rb +1 -1
- metadata +6 -36
- data/spec/vcr_setup.rb +0 -11
- data/vcr_cassettes/activities.yml +0 -66
- data/vcr_cassettes/auth.yml +0 -41
- data/vcr_cassettes/authorizations.yml +0 -57
- data/vcr_cassettes/cash_prices.yml +0 -45
- data/vcr_cassettes/claims.yml +0 -72
- data/vcr_cassettes/claims_status.yml +0 -67
- data/vcr_cassettes/eligibility.yml +0 -144
- data/vcr_cassettes/enrollment.yml +0 -83
- data/vcr_cassettes/files.yml +0 -112
- data/vcr_cassettes/insurance_prices.yml +0 -48
- data/vcr_cassettes/payers.yml +0 -505
- data/vcr_cassettes/plans.yml +0 -134
- data/vcr_cassettes/plans_no_args.yml +0 -133
- data/vcr_cassettes/providers.yml +0 -113
- data/vcr_cassettes/referrals.yml +0 -56
- data/vcr_cassettes/scheduling.yml +0 -182
- data/vcr_cassettes/scheduling_scoped.yml +0 -223
- data/vcr_cassettes/trading_partners_get.yml +0 -43
- data/vcr_cassettes/trading_partners_index.yml +0 -390
data/vcr_cassettes/plans.yml
DELETED
@@ -1,134 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://localhost:5002/api/v4/plans/?plan_type=PPO&state=TX
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
|
12
|
-
Authorization:
|
13
|
-
- Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
|
14
|
-
Accept-Encoding:
|
15
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
- "*/*"
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
Content-Type:
|
24
|
-
- text/html; charset=utf-8
|
25
|
-
Content-Length:
|
26
|
-
- '7487'
|
27
|
-
Mimetype:
|
28
|
-
- application/json
|
29
|
-
Charset:
|
30
|
-
- utf-8
|
31
|
-
Server:
|
32
|
-
- Werkzeug/0.9.4 Python/2.7.6
|
33
|
-
Date:
|
34
|
-
- Mon, 02 Mar 2015 22:34:21 GMT
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: '{"meta": {"rate_limit_amount": 19, "rate_limit_reset": 1425339261,
|
38
|
-
"application_mode": "test", "processing_time": 34, "rate_limit_cap": 1000,
|
39
|
-
"credits_remaining": -9, "activity_id": "54f4e56d0640fd11086300c8", "credits_billed":
|
40
|
-
1}, "data": [{"plan_type": "PPO", "county": "APACHE", "trading_partner_id":
|
41
|
-
"aetna", "plan_id": "84251AZ0070001", "max_out_of_pocket": {"individual":
|
42
|
-
6350.0, "family": 12700.0}, "state": "AZ", "customer_service_phone": "1-855-586-6957",
|
43
|
-
"premiums": [{"age": 21, "cost": 176.0, "adults": 1, "children": 0}, {"age":
|
44
|
-
27, "cost": 185.0, "adults": 1, "children": 0}, {"age": 30, "cost": 200.0,
|
45
|
-
"adults": 1, "children": 0}, {"age": 40, "cost": 225.0, "adults": 1, "children":
|
46
|
-
0}, {"age": 50, "cost": 314.0, "adults": 1, "children": 0}, {"age": 60, "cost":
|
47
|
-
478.0, "adults": 1, "children": 0}, {"age": 21, "cost": 288.0, "adults": 1,
|
48
|
-
"children": 1}, {"age": 30, "cost": 312.0, "adults": 1, "children": 1}, {"age":
|
49
|
-
40, "cost": 337.0, "adults": 1, "children": 1}, {"age": 50, "cost": 426.0,
|
50
|
-
"adults": 1, "children": 1}, {"age": 21, "cost": 400.0, "adults": 1, "children":
|
51
|
-
2}, {"age": 30, "cost": 424.0, "adults": 1, "children": 2}, {"age": 40, "cost":
|
52
|
-
449.0, "adults": 1, "children": 2}, {"age": 50, "cost": 538.0, "adults": 1,
|
53
|
-
"children": 2}, {"age": 21, "cost": 512.0, "adults": 1, "children": 3}, {"age":
|
54
|
-
30, "cost": 536.0, "adults": 1, "children": 3}, {"age": 40, "cost": 561.0,
|
55
|
-
"adults": 1, "children": 3}, {"age": 50, "cost": 650.0, "adults": 1, "children":
|
56
|
-
3}, {"age": 21, "cost": 352.0, "adults": 2, "children": 0}, {"age": 30, "cost":
|
57
|
-
400.0, "adults": 2, "children": 0}, {"age": 40, "cost": 450.0, "adults": 2,
|
58
|
-
"children": 0}, {"age": 50, "cost": 628.0, "adults": 2, "children": 0}, {"age":
|
59
|
-
60, "cost": 956.0, "adults": 2, "children": 0}, {"age": 21, "cost": 464.0,
|
60
|
-
"adults": 2, "children": 1}, {"age": 30, "cost": 512.0, "adults": 2, "children":
|
61
|
-
1}, {"age": 40, "cost": 562.0, "adults": 2, "children": 1}, {"age": 50, "cost":
|
62
|
-
740.0, "adults": 2, "children": 1}, {"age": 21, "cost": 576.0, "adults": 2,
|
63
|
-
"children": 1}, {"age": 30, "cost": 624.0, "adults": 2, "children": 1}, {"age":
|
64
|
-
40, "cost": 674.0, "adults": 2, "children": 1}, {"age": 50, "cost": 852.0,
|
65
|
-
"adults": 2, "children": 1}, {"age": 21, "cost": 688.0, "adults": 2, "children":
|
66
|
-
1}, {"age": 30, "cost": 736.0, "adults": 2, "children": 1}, {"age": 40, "cost":
|
67
|
-
786.0, "adults": 2, "children": 1}, {"age": 50, "cost": 964.0, "adults": 2,
|
68
|
-
"children": 1}], "metallic_level": "bronze", "deductible": {"individual":
|
69
|
-
5750.0, "family": 11500.0}, "plan_name": "Aetna Advantage 5750 PD", "benefits_summary_url":
|
70
|
-
"http://www.aetna.com/individuals-families-health-insurance/buy-insurance/exchange/az.html"},
|
71
|
-
{"plan_type": "PPO", "county": "ALEUTIANS EAST", "trading_partner_id": "premera_blue_cross",
|
72
|
-
"plan_id": "38344AK0570001", "max_out_of_pocket": {"individual": 5250.0, "family":
|
73
|
-
10500.0}, "state": "AK", "customer_service_phone": "1-800-508-4722", "premiums":
|
74
|
-
[{"age": 21, "cost": 280.0, "adults": 1, "children": 0}, {"age": 27, "cost":
|
75
|
-
294.0, "adults": 1, "children": 0}, {"age": 30, "cost": 318.0, "adults": 1,
|
76
|
-
"children": 0}, {"age": 40, "cost": 358.0, "adults": 1, "children": 0}, {"age":
|
77
|
-
50, "cost": 501.0, "adults": 1, "children": 0}, {"age": 60, "cost": 761.0,
|
78
|
-
"adults": 1, "children": 0}, {"age": 21, "cost": 458.0, "adults": 1, "children":
|
79
|
-
1}, {"age": 30, "cost": 496.0, "adults": 1, "children": 1}, {"age": 40, "cost":
|
80
|
-
536.0, "adults": 1, "children": 1}, {"age": 50, "cost": 679.0, "adults": 1,
|
81
|
-
"children": 1}, {"age": 21, "cost": 636.0, "adults": 1, "children": 2}, {"age":
|
82
|
-
30, "cost": 674.0, "adults": 1, "children": 2}, {"age": 40, "cost": 714.0,
|
83
|
-
"adults": 1, "children": 2}, {"age": 50, "cost": 857.0, "adults": 1, "children":
|
84
|
-
2}, {"age": 21, "cost": 814.0, "adults": 1, "children": 3}, {"age": 30, "cost":
|
85
|
-
852.0, "adults": 1, "children": 3}, {"age": 40, "cost": 892.0, "adults": 1,
|
86
|
-
"children": 3}, {"age": 50, "cost": 1035.0, "adults": 1, "children": 3}, {"age":
|
87
|
-
21, "cost": 560.0, "adults": 2, "children": 0}, {"age": 30, "cost": 636.0,
|
88
|
-
"adults": 2, "children": 0}, {"age": 40, "cost": 716.0, "adults": 2, "children":
|
89
|
-
0}, {"age": 50, "cost": 1002.0, "adults": 2, "children": 0}, {"age": 60, "cost":
|
90
|
-
1522.0, "adults": 2, "children": 0}, {"age": 21, "cost": 738.0, "adults":
|
91
|
-
2, "children": 1}, {"age": 30, "cost": 814.0, "adults": 2, "children": 1},
|
92
|
-
{"age": 40, "cost": 894.0, "adults": 2, "children": 1}, {"age": 50, "cost":
|
93
|
-
1180.0, "adults": 2, "children": 1}, {"age": 21, "cost": 916.0, "adults":
|
94
|
-
2, "children": 1}, {"age": 30, "cost": 992.0, "adults": 2, "children": 1},
|
95
|
-
{"age": 40, "cost": 1072.0, "adults": 2, "children": 1}, {"age": 50, "cost":
|
96
|
-
1358.0, "adults": 2, "children": 1}, {"age": 21, "cost": 1094.0, "adults":
|
97
|
-
2, "children": 1}, {"age": 30, "cost": 1170.0, "adults": 2, "children": 1},
|
98
|
-
{"age": 40, "cost": 1250.0, "adults": 2, "children": 1}, {"age": 50, "cost":
|
99
|
-
1536.0, "adults": 2, "children": 1}], "metallic_level": "bronze", "deductible":
|
100
|
-
{"individual": 5250.0, "family": 10500.0}, "plan_name": "Blue Cross Blue Shield
|
101
|
-
Plus 5250 HSA High, a Multi-State Plan", "benefits_summary_url": "https://www.premera.com/documents/028246.pdf"},
|
102
|
-
{"county": "ABBEVILLE", "premiums": [{"age": 21, "cost": 270.82, "adults":
|
103
|
-
1, "children": 0}, {"age": 27, "cost": 283.82, "adults": 1, "children": 0},
|
104
|
-
{"age": 30, "cost": 307.38, "adults": 1, "children": 0}, {"age": 40, "cost":
|
105
|
-
346.1, "adults": 1, "children": 0}, {"age": 50, "cost": 483.68, "adults":
|
106
|
-
1, "children": 0}, {"age": 60, "cost": 735.0, "adults": 1, "children": 0},
|
107
|
-
{"age": 21, "cost": 442.78, "adults": 1, "children": 1}, {"age": 30, "cost":
|
108
|
-
479.35, "adults": 1, "children": 1}, {"age": 40, "cost": 518.07, "adults":
|
109
|
-
1, "children": 1}, {"age": 50, "cost": 655.65, "adults": 1, "children": 1},
|
110
|
-
{"age": 21, "cost": 614.76, "adults": 1, "children": 2}, {"age": 30, "cost":
|
111
|
-
651.31, "adults": 1, "children": 2}, {"age": 40, "cost": 690.04, "adults":
|
112
|
-
1, "children": 2}, {"age": 50, "cost": 827.62, "adults": 1, "children": 2},
|
113
|
-
{"age": 21, "cost": 786.73, "adults": 1, "children": 3}, {"age": 30, "cost":
|
114
|
-
823.29, "adults": 1, "children": 3}, {"age": 40, "cost": 862.01, "adults":
|
115
|
-
1, "children": 3}, {"age": 50, "cost": 999.58, "adults": 1, "children": 3},
|
116
|
-
{"age": 21, "cost": 541.64, "adults": 2, "children": 0}, {"age": 30, "cost":
|
117
|
-
614.76, "adults": 2, "children": 0}, {"age": 40, "cost": 692.2, "adults":
|
118
|
-
2, "children": 0}, {"age": 50, "cost": 967.36, "adults": 2, "children": 0},
|
119
|
-
{"age": 60, "cost": 1470.0, "adults": 2, "children": 0}, {"age": 21, "cost":
|
120
|
-
713.61, "adults": 2, "children": 1}, {"age": 30, "cost": 786.73, "adults":
|
121
|
-
2, "children": 1}, {"age": 40, "cost": 864.17, "adults": 2, "children": 1},
|
122
|
-
{"age": 50, "cost": 1139.33, "adults": 2, "children": 1}, {"age": 21, "cost":
|
123
|
-
885.57, "adults": 2, "children": 1}, {"age": 30, "cost": 958.7, "adults":
|
124
|
-
2, "children": 1}, {"age": 40, "cost": 1036.14, "adults": 2, "children": 1},
|
125
|
-
{"age": 50, "cost": 1311.3, "adults": 2, "children": 1}, {"age": 21, "cost":
|
126
|
-
1057.55, "adults": 2, "children": 1}, {"age": 30, "cost": 1130.67, "adults":
|
127
|
-
2, "children": 1}, {"age": 40, "cost": 1208.11, "adults": 2, "children": 1},
|
128
|
-
{"age": 50, "cost": 1483.27, "adults": 2, "children": 1}], "plan_id": "26065SC0380001",
|
129
|
-
"trading_partner_id": "blue_cross_blue_shield_sc", "state": "SC", "metallic_level":
|
130
|
-
"gold", "customer_service_phone": "1-800-550-6322", "plan_name": "BlueEssentials
|
131
|
-
Gold 1", "plan_type": "EPO", "benefits_summary_url": "https://www.southcarolinablues.com/links/metallic/SBC"}]}'
|
132
|
-
http_version:
|
133
|
-
recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
|
134
|
-
recorded_with: VCR 2.9.3
|
@@ -1,133 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://localhost:5002/api/v4/plans/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
|
12
|
-
Authorization:
|
13
|
-
- Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
|
14
|
-
Accept-Encoding:
|
15
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
- "*/*"
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
Content-Type:
|
24
|
-
- text/html; charset=utf-8
|
25
|
-
Content-Length:
|
26
|
-
- '7487'
|
27
|
-
Mimetype:
|
28
|
-
- application/json
|
29
|
-
Charset:
|
30
|
-
- utf-8
|
31
|
-
Server:
|
32
|
-
- Werkzeug/0.9.4 Python/2.7.6
|
33
|
-
Date:
|
34
|
-
- Mon, 02 Mar 2015 22:34:20 GMT
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: '{"meta": {"rate_limit_amount": 1, "rate_limit_reset": 1425339260, "application_mode":
|
38
|
-
"test", "processing_time": 139, "rate_limit_cap": 1000, "credits_remaining":
|
39
|
-
-1, "activity_id": "54f4e56c0640fd11086300af", "credits_billed": 1}, "data":
|
40
|
-
[{"plan_type": "PPO", "county": "APACHE", "trading_partner_id": "aetna", "plan_id":
|
41
|
-
"84251AZ0070001", "max_out_of_pocket": {"individual": 6350.0, "family": 12700.0},
|
42
|
-
"state": "AZ", "customer_service_phone": "1-855-586-6957", "premiums": [{"age":
|
43
|
-
21, "cost": 176.0, "adults": 1, "children": 0}, {"age": 27, "cost": 185.0,
|
44
|
-
"adults": 1, "children": 0}, {"age": 30, "cost": 200.0, "adults": 1, "children":
|
45
|
-
0}, {"age": 40, "cost": 225.0, "adults": 1, "children": 0}, {"age": 50, "cost":
|
46
|
-
314.0, "adults": 1, "children": 0}, {"age": 60, "cost": 478.0, "adults": 1,
|
47
|
-
"children": 0}, {"age": 21, "cost": 288.0, "adults": 1, "children": 1}, {"age":
|
48
|
-
30, "cost": 312.0, "adults": 1, "children": 1}, {"age": 40, "cost": 337.0,
|
49
|
-
"adults": 1, "children": 1}, {"age": 50, "cost": 426.0, "adults": 1, "children":
|
50
|
-
1}, {"age": 21, "cost": 400.0, "adults": 1, "children": 2}, {"age": 30, "cost":
|
51
|
-
424.0, "adults": 1, "children": 2}, {"age": 40, "cost": 449.0, "adults": 1,
|
52
|
-
"children": 2}, {"age": 50, "cost": 538.0, "adults": 1, "children": 2}, {"age":
|
53
|
-
21, "cost": 512.0, "adults": 1, "children": 3}, {"age": 30, "cost": 536.0,
|
54
|
-
"adults": 1, "children": 3}, {"age": 40, "cost": 561.0, "adults": 1, "children":
|
55
|
-
3}, {"age": 50, "cost": 650.0, "adults": 1, "children": 3}, {"age": 21, "cost":
|
56
|
-
352.0, "adults": 2, "children": 0}, {"age": 30, "cost": 400.0, "adults": 2,
|
57
|
-
"children": 0}, {"age": 40, "cost": 450.0, "adults": 2, "children": 0}, {"age":
|
58
|
-
50, "cost": 628.0, "adults": 2, "children": 0}, {"age": 60, "cost": 956.0,
|
59
|
-
"adults": 2, "children": 0}, {"age": 21, "cost": 464.0, "adults": 2, "children":
|
60
|
-
1}, {"age": 30, "cost": 512.0, "adults": 2, "children": 1}, {"age": 40, "cost":
|
61
|
-
562.0, "adults": 2, "children": 1}, {"age": 50, "cost": 740.0, "adults": 2,
|
62
|
-
"children": 1}, {"age": 21, "cost": 576.0, "adults": 2, "children": 1}, {"age":
|
63
|
-
30, "cost": 624.0, "adults": 2, "children": 1}, {"age": 40, "cost": 674.0,
|
64
|
-
"adults": 2, "children": 1}, {"age": 50, "cost": 852.0, "adults": 2, "children":
|
65
|
-
1}, {"age": 21, "cost": 688.0, "adults": 2, "children": 1}, {"age": 30, "cost":
|
66
|
-
736.0, "adults": 2, "children": 1}, {"age": 40, "cost": 786.0, "adults": 2,
|
67
|
-
"children": 1}, {"age": 50, "cost": 964.0, "adults": 2, "children": 1}], "metallic_level":
|
68
|
-
"bronze", "deductible": {"individual": 5750.0, "family": 11500.0}, "plan_name":
|
69
|
-
"Aetna Advantage 5750 PD", "benefits_summary_url": "http://www.aetna.com/individuals-families-health-insurance/buy-insurance/exchange/az.html"},
|
70
|
-
{"plan_type": "PPO", "county": "ALEUTIANS EAST", "trading_partner_id": "premera_blue_cross",
|
71
|
-
"plan_id": "38344AK0570001", "max_out_of_pocket": {"individual": 5250.0, "family":
|
72
|
-
10500.0}, "state": "AK", "customer_service_phone": "1-800-508-4722", "premiums":
|
73
|
-
[{"age": 21, "cost": 280.0, "adults": 1, "children": 0}, {"age": 27, "cost":
|
74
|
-
294.0, "adults": 1, "children": 0}, {"age": 30, "cost": 318.0, "adults": 1,
|
75
|
-
"children": 0}, {"age": 40, "cost": 358.0, "adults": 1, "children": 0}, {"age":
|
76
|
-
50, "cost": 501.0, "adults": 1, "children": 0}, {"age": 60, "cost": 761.0,
|
77
|
-
"adults": 1, "children": 0}, {"age": 21, "cost": 458.0, "adults": 1, "children":
|
78
|
-
1}, {"age": 30, "cost": 496.0, "adults": 1, "children": 1}, {"age": 40, "cost":
|
79
|
-
536.0, "adults": 1, "children": 1}, {"age": 50, "cost": 679.0, "adults": 1,
|
80
|
-
"children": 1}, {"age": 21, "cost": 636.0, "adults": 1, "children": 2}, {"age":
|
81
|
-
30, "cost": 674.0, "adults": 1, "children": 2}, {"age": 40, "cost": 714.0,
|
82
|
-
"adults": 1, "children": 2}, {"age": 50, "cost": 857.0, "adults": 1, "children":
|
83
|
-
2}, {"age": 21, "cost": 814.0, "adults": 1, "children": 3}, {"age": 30, "cost":
|
84
|
-
852.0, "adults": 1, "children": 3}, {"age": 40, "cost": 892.0, "adults": 1,
|
85
|
-
"children": 3}, {"age": 50, "cost": 1035.0, "adults": 1, "children": 3}, {"age":
|
86
|
-
21, "cost": 560.0, "adults": 2, "children": 0}, {"age": 30, "cost": 636.0,
|
87
|
-
"adults": 2, "children": 0}, {"age": 40, "cost": 716.0, "adults": 2, "children":
|
88
|
-
0}, {"age": 50, "cost": 1002.0, "adults": 2, "children": 0}, {"age": 60, "cost":
|
89
|
-
1522.0, "adults": 2, "children": 0}, {"age": 21, "cost": 738.0, "adults":
|
90
|
-
2, "children": 1}, {"age": 30, "cost": 814.0, "adults": 2, "children": 1},
|
91
|
-
{"age": 40, "cost": 894.0, "adults": 2, "children": 1}, {"age": 50, "cost":
|
92
|
-
1180.0, "adults": 2, "children": 1}, {"age": 21, "cost": 916.0, "adults":
|
93
|
-
2, "children": 1}, {"age": 30, "cost": 992.0, "adults": 2, "children": 1},
|
94
|
-
{"age": 40, "cost": 1072.0, "adults": 2, "children": 1}, {"age": 50, "cost":
|
95
|
-
1358.0, "adults": 2, "children": 1}, {"age": 21, "cost": 1094.0, "adults":
|
96
|
-
2, "children": 1}, {"age": 30, "cost": 1170.0, "adults": 2, "children": 1},
|
97
|
-
{"age": 40, "cost": 1250.0, "adults": 2, "children": 1}, {"age": 50, "cost":
|
98
|
-
1536.0, "adults": 2, "children": 1}], "metallic_level": "bronze", "deductible":
|
99
|
-
{"individual": 5250.0, "family": 10500.0}, "plan_name": "Blue Cross Blue Shield
|
100
|
-
Plus 5250 HSA High, a Multi-State Plan", "benefits_summary_url": "https://www.premera.com/documents/028246.pdf"},
|
101
|
-
{"county": "ABBEVILLE", "premiums": [{"age": 21, "cost": 270.82, "adults":
|
102
|
-
1, "children": 0}, {"age": 27, "cost": 283.82, "adults": 1, "children": 0},
|
103
|
-
{"age": 30, "cost": 307.38, "adults": 1, "children": 0}, {"age": 40, "cost":
|
104
|
-
346.1, "adults": 1, "children": 0}, {"age": 50, "cost": 483.68, "adults":
|
105
|
-
1, "children": 0}, {"age": 60, "cost": 735.0, "adults": 1, "children": 0},
|
106
|
-
{"age": 21, "cost": 442.78, "adults": 1, "children": 1}, {"age": 30, "cost":
|
107
|
-
479.35, "adults": 1, "children": 1}, {"age": 40, "cost": 518.07, "adults":
|
108
|
-
1, "children": 1}, {"age": 50, "cost": 655.65, "adults": 1, "children": 1},
|
109
|
-
{"age": 21, "cost": 614.76, "adults": 1, "children": 2}, {"age": 30, "cost":
|
110
|
-
651.31, "adults": 1, "children": 2}, {"age": 40, "cost": 690.04, "adults":
|
111
|
-
1, "children": 2}, {"age": 50, "cost": 827.62, "adults": 1, "children": 2},
|
112
|
-
{"age": 21, "cost": 786.73, "adults": 1, "children": 3}, {"age": 30, "cost":
|
113
|
-
823.29, "adults": 1, "children": 3}, {"age": 40, "cost": 862.01, "adults":
|
114
|
-
1, "children": 3}, {"age": 50, "cost": 999.58, "adults": 1, "children": 3},
|
115
|
-
{"age": 21, "cost": 541.64, "adults": 2, "children": 0}, {"age": 30, "cost":
|
116
|
-
614.76, "adults": 2, "children": 0}, {"age": 40, "cost": 692.2, "adults":
|
117
|
-
2, "children": 0}, {"age": 50, "cost": 967.36, "adults": 2, "children": 0},
|
118
|
-
{"age": 60, "cost": 1470.0, "adults": 2, "children": 0}, {"age": 21, "cost":
|
119
|
-
713.61, "adults": 2, "children": 1}, {"age": 30, "cost": 786.73, "adults":
|
120
|
-
2, "children": 1}, {"age": 40, "cost": 864.17, "adults": 2, "children": 1},
|
121
|
-
{"age": 50, "cost": 1139.33, "adults": 2, "children": 1}, {"age": 21, "cost":
|
122
|
-
885.57, "adults": 2, "children": 1}, {"age": 30, "cost": 958.7, "adults":
|
123
|
-
2, "children": 1}, {"age": 40, "cost": 1036.14, "adults": 2, "children": 1},
|
124
|
-
{"age": 50, "cost": 1311.3, "adults": 2, "children": 1}, {"age": 21, "cost":
|
125
|
-
1057.55, "adults": 2, "children": 1}, {"age": 30, "cost": 1130.67, "adults":
|
126
|
-
2, "children": 1}, {"age": 40, "cost": 1208.11, "adults": 2, "children": 1},
|
127
|
-
{"age": 50, "cost": 1483.27, "adults": 2, "children": 1}], "plan_id": "26065SC0380001",
|
128
|
-
"trading_partner_id": "blue_cross_blue_shield_sc", "state": "SC", "metallic_level":
|
129
|
-
"gold", "customer_service_phone": "1-800-550-6322", "plan_name": "BlueEssentials
|
130
|
-
Gold 1", "plan_type": "EPO", "benefits_summary_url": "https://www.southcarolinablues.com/links/metallic/SBC"}]}'
|
131
|
-
http_version:
|
132
|
-
recorded_at: Mon, 02 Mar 2015 22:34:20 GMT
|
133
|
-
recorded_with: VCR 2.9.3
|
data/vcr_cassettes/providers.yml
DELETED
@@ -1,113 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://localhost:5002/api/v4/providers/?npi=1467560003
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Faraday v0.9.0
|
12
|
-
Authorization:
|
13
|
-
- Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
|
14
|
-
Accept-Encoding:
|
15
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
- "*/*"
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
Content-Type:
|
24
|
-
- text/html; charset=utf-8
|
25
|
-
Content-Length:
|
26
|
-
- '5882'
|
27
|
-
Mimetype:
|
28
|
-
- application/json
|
29
|
-
Charset:
|
30
|
-
- utf-8
|
31
|
-
Server:
|
32
|
-
- Werkzeug/0.9.4 Python/2.7.6
|
33
|
-
Date:
|
34
|
-
- Mon, 02 Mar 2015 22:34:21 GMT
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: '{"meta": {"rate_limit_amount": 14, "rate_limit_reset": 1425339261,
|
38
|
-
"application_mode": "test", "processing_time": 33, "rate_limit_cap": 1000,
|
39
|
-
"credits_remaining": -6, "activity_id": "54f4e56d0640fd11086300bf", "credits_billed":
|
40
|
-
1}, "data": [{"provider": {"board_subcertifications": ["Gynecologic Oncology"],
|
41
|
-
"board_certifications": ["Obstetrics & Gynecology"], "last_name": "SHEN",
|
42
|
-
"npi": "1881692002", "uuid": "1917f12b-fb6a-4016-93bc-adeb83204c83", "degree":
|
43
|
-
"MD", "phone": "4156680900", "gender": "Male", "residencies": [{"city": "SAN
|
44
|
-
FRANCISCO", "to_year": "1978", "institution_name": "MOFFITT HOSPITAL UNIVERSITY
|
45
|
-
OF CA", "from_year": "1976", "specialty": "OBSTETRICS & GYNECOLOGY"}, {"city":
|
46
|
-
"SAN FRANCISCO", "to_year": "1976", "institution_name": "MOFFITT HOSPITAL
|
47
|
-
UNIVERSITY OF CA", "from_year": "1975", "specialty": "OBSTETRICS & GYNECOLOGY"}],
|
48
|
-
"licensures": [{"status": "active", "expiration_date": "2016-02-29T00:00:00",
|
49
|
-
"number": "60146196", "as_of_date": "2014-06-13T00:00:00", "state": "NY",
|
50
|
-
"type": "unlimited"}, {"status": "inactive", "expiration_date": "1997-06-30T00:00:00",
|
51
|
-
"number": "25MA03991900", "as_of_date": "2003-02-25T00:00:00", "state": "NJ",
|
52
|
-
"type": "unlimited"}, {"status": "active", "expiration_date": "2015-03-31T00:00:00",
|
53
|
-
"number": "A00030257", "as_of_date": "2014-06-17T00:00:00", "state": "CA",
|
54
|
-
"type": "unlimited"}], "specialty": ["Gynecology", "Obstetrics & Gynecology"],
|
55
|
-
"fax": "4156680950", "specialty_primary": ["Gynecology", "Obstetrics & Gynecology"],
|
56
|
-
"locations": [{"address_lines": ["3905 Sacramento St Ste 202"], "fax": "4156680950",
|
57
|
-
"geo_location": [-122.45694, 37.786841], "role": ["mailing", "practice"],
|
58
|
-
"city": "San Francisco", "state": "CA", "phone": "4156680900", "zipcode":
|
59
|
-
"94118"}], "licenses": [{"state": "CA", "role": "preferred", "year": "1976-01-01T00:00:00"},
|
60
|
-
{"state": "CA", "role": "alternate", "year": "1976-01-01T00:00:00"}], "first_name":
|
61
|
-
"JENTA", "birth_date": "1945", "education": {"medical_school": "NATIONAL DEFENSE
|
62
|
-
MEDICAL CENTER TAIPEI TAIWAN (385 03 PR 1", "graduation_year": "1970-01-01T00:00:00"}}},
|
63
|
-
{"provider": {"board_subcertifications": ["Hospice and Palliative Medicine"],
|
64
|
-
"board_certifications": ["Internal Medicine"], "last_name": "VIJAY", "npi":
|
65
|
-
"1720057821", "uuid": "35ed7481-aa9d-4822-8090-298ddbc89b67", "degree": "MD",
|
66
|
-
"gender": "Female", "residencies": [{"city": "PITTSBURGH", "to_year": "2005",
|
67
|
-
"institution_name": "UNIVERSITY OF PITTSBURGH MEDICAL CENTER", "from_year":
|
68
|
-
"2002", "specialty": "INTERNAL MEDICINE"}, {"city": "PITTSBURGH", "to_year":
|
69
|
-
"2002", "institution_name": "ST FRANCIS MEDICAL CENTER", "from_year": "2002",
|
70
|
-
"specialty": "INTERNAL MEDICINE"}], "licensures": [{"status": "active", "expiration_date":
|
71
|
-
"2015-05-31T00:00:00", "number": "A00091741", "as_of_date": "2014-06-17T00:00:00",
|
72
|
-
"state": "CA", "type": "unlimited"}, {"status": "inactive", "as_of_date":
|
73
|
-
"2014-04-24T00:00:00", "state": "PA", "type": "resident", "expiration_date":
|
74
|
-
"2005-07-07T00:00:00"}], "specialty": ["Internal Medicine"], "first_name":
|
75
|
-
"CHETHANA", "specialty_primary": ["Internal Medicine"], "locations": [{"address_lines":
|
76
|
-
["1027 Wisteria Dr"], "city": "Fremont", "zipcode": "94539", "state": "CA",
|
77
|
-
"geo_location": [-121.93831, 37.53901], "role": ["mailing"]}, {"address_lines":
|
78
|
-
["2000 Vale Rd"], "city": "San Pablo", "zipcode": "94806", "state": "CA",
|
79
|
-
"geo_location": [-122.338754, 37.952833], "role": ["practice"]}], "licenses":
|
80
|
-
[{"state": "CA", "role": "preferred", "year": "2005-01-01T00:00:00"}, {"state":
|
81
|
-
"CA", "role": "alternate", "year": "2005-01-01T00:00:00"}, {"state": "CA",
|
82
|
-
"role": "hospital", "year": "2005-01-01T00:00:00"}], "birth_date": "1977",
|
83
|
-
"education": {"medical_school": "JSS MEDICAL COLLEGE MYSORE UNIVERSITY MYSORE
|
84
|
-
KARNATAKA IN", "graduation_year": "2001-01-01T00:00:00"}}}, {"provider": {"last_name":
|
85
|
-
"LE", "npi": "1760485171", "degree": "DO", "locations": [{"address_lines":
|
86
|
-
["2683 Mignon Dr"], "city": "San Jose", "zipcode": "95132", "state": "CA",
|
87
|
-
"geo_location": [-121.87201, 37.398588], "role": ["mailing"]}, {"address_lines":
|
88
|
-
["3640 Sweigert Rd"], "city": "San Jose", "zipcode": "95132", "state": "CA",
|
89
|
-
"geo_location": [-121.84214, 37.41407], "role": ["practice"]}], "specialty_primary":
|
90
|
-
["Family Practice", "Family Medicine"], "specialty": ["Family Practice", "Family
|
91
|
-
Medicine"], "licenses": [{"state": "CA", "role": "preferred", "year": "2003-01-01T00:00:00"},
|
92
|
-
{"state": "CA", "role": "alternate", "year": "2003-01-01T00:00:00"}], "education":
|
93
|
-
{"medical_school": "TOURO UNIVERSITY COLLEGE OF OSTEOPATHIC MEDICAL VALLEJO
|
94
|
-
CA 94592", "graduation_year": "2002-01-01T00:00:00"}, "board_certifications":
|
95
|
-
["Family Medicine"], "residencies": [{"city": "STOCKTON", "to_year": "2005",
|
96
|
-
"institution_name": "SAN JOAQUIN GENERAL HOSPITAL", "from_year": "2002", "specialty":
|
97
|
-
"FAMILY MEDICINE"}], "uuid": "2093f529-709a-43ee-a3a0-92b2d03fd5c3", "gender":
|
98
|
-
"Male", "licensures": [{"status": "active", "expiration_date": "2014-10-31T00:00:00",
|
99
|
-
"number": "20A8549", "as_of_date": "2014-06-02T00:00:00", "state": "CA", "type":
|
100
|
-
"unlimited"}], "first_name": "VINCENT", "birth_date": "1972"}}, {"provider":
|
101
|
-
{"organization_name": "MEDICAL UNIVERSITY MEDICAL ASSOCIATES", "phone": "8437921414",
|
102
|
-
"npi": "1669523528", "uuid": "daa6c66e-fbd8-4280-a3c1-bb85cddb20ab", "specialty_secondary":
|
103
|
-
["Physician Assistant", "Nurse Practitioner"], "locations": [{"address_lines":
|
104
|
-
["PO Box 751514"], "state": "NC", "geo_location": [-80.804151, 35.26002],
|
105
|
-
"role": ["mailing"], "city": "Charlotte", "country": "US", "zipcode": "28275",
|
106
|
-
"phone": "8437926200"}, {"address_lines": ["171 Ashley Ave"], "state": "SC",
|
107
|
-
"geo_location": [-79.946621, 32.785542], "role": ["practice"], "city": "Charleston",
|
108
|
-
"country": "US", "zipcode": "29425", "phone": "8437921414"}], "specialty_primary":
|
109
|
-
["Transplant Surgery", "Surgery"], "specialty": ["Transplant Surgery", "Physician
|
110
|
-
Assistant", "Surgery", "Nurse Practitioner"]}}]}'
|
111
|
-
http_version:
|
112
|
-
recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
|
113
|
-
recorded_with: VCR 2.9.3
|
data/vcr_cassettes/referrals.yml
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://localhost:5002/api/v4/referrals/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"event":{"category":"specialty_care_review","certification_type":"initial","delivery":{"quantity":1,"quantity_qualifier":"visits"},"diagnoses":[{"code":"384.20","date":"2014-09-30"}],"place_of_service":"office","provider":{"first_name":"JOHN","npi":"1154387751","last_name":"FOSTER","phone":"8645822900"},"type":"consultation"},"patient":{"birth_date":"1970-01-01","first_name":"JANE","last_name":"DOE","id":"1234567890"},"provider":{"first_name":"CHRISTINA","last_name":"BERTOLAMI","npi":"1619131232"},"trading_partner_id":"MOCKPAYER"}'
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
|
12
|
-
Authorization:
|
13
|
-
- Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Accept-Encoding:
|
17
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
-
Accept:
|
19
|
-
- "*/*"
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Content-Type:
|
26
|
-
- text/html; charset=utf-8
|
27
|
-
Content-Length:
|
28
|
-
- '1158'
|
29
|
-
Mimetype:
|
30
|
-
- application/json
|
31
|
-
Charset:
|
32
|
-
- utf-8
|
33
|
-
Server:
|
34
|
-
- Werkzeug/0.9.4 Python/2.7.6
|
35
|
-
Date:
|
36
|
-
- Mon, 02 Mar 2015 22:34:20 GMT
|
37
|
-
body:
|
38
|
-
encoding: UTF-8
|
39
|
-
string: '{"meta": {"rate_limit_amount": 8, "rate_limit_reset": 1425339260, "application_mode":
|
40
|
-
"test", "processing_time": 244, "rate_limit_cap": 1000, "credits_remaining":
|
41
|
-
-3, "activity_id": "54f4e56c0640fd11086300b7", "credits_billed": 1}, "data":
|
42
|
-
{"patient": {"first_name": "JANE", "last_name": "DOE", "id": "1234567890"},
|
43
|
-
"trading_partner_id": "MOCKPAYER", "payer": {"organization_name": "MOCK PAYER
|
44
|
-
INC", "id": "MOCKPAYER"}, "originating_company_id": "9012345678", "correlation_id":
|
45
|
-
"55b0e4b6-f8ee-49ef-b2ad-f62c2a8f3ec8", "client_id": "jlHrMhG8CZudpJXHp0Rr",
|
46
|
-
"provider": {"first_name": "CHRISTINA", "last_name": "BERTOLAMI", "tax_id":
|
47
|
-
"1619131232"}, "async": false, "event": {"category": "specialty_care_review",
|
48
|
-
"diagnoses": [{"date": "2005-04-30", "code": "410.90"}], "place_of_service":
|
49
|
-
"office", "review": {"certification_number": "AUTH0001", "second_surgical_opinion_required":
|
50
|
-
false, "certification_action": "certified_in_total"}, "delivery": {"quantity_qualifier":
|
51
|
-
"visits", "quantity": 1}, "provider": {"first_name": "JOHN", "last_name":
|
52
|
-
"FOSTER", "tax_id": "1154387751"}, "certification_type": "initial", "type":
|
53
|
-
"consultation"}, "valid_request": true}}'
|
54
|
-
http_version:
|
55
|
-
recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
|
56
|
-
recorded_with: VCR 2.9.3
|
@@ -1,182 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://localhost:5002/api/v4/schedule/schedulers/967d207f-b024-41cc-8cac-89575a1f6fef
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Faraday v0.9.0
|
12
|
-
Authorization:
|
13
|
-
- Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
|
14
|
-
Accept-Encoding:
|
15
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
- "*/*"
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
Content-Type:
|
24
|
-
- text/html; charset=utf-8
|
25
|
-
Content-Length:
|
26
|
-
- '358'
|
27
|
-
Mimetype:
|
28
|
-
- application/json
|
29
|
-
Charset:
|
30
|
-
- utf-8
|
31
|
-
Server:
|
32
|
-
- Werkzeug/0.9.4 Python/2.7.6
|
33
|
-
Date:
|
34
|
-
- Mon, 02 Mar 2015 22:34:21 GMT
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: '{"meta": {"rate_limit_amount": 9, "rate_limit_reset": 1425339260, "application_mode":
|
38
|
-
"test", "processing_time": 24, "rate_limit_cap": 1000, "credits_remaining":
|
39
|
-
-2, "activity_id": "54f4e56c0640fd11086300ba", "credits_billed": 1}, "data":
|
40
|
-
[{"description": "Greenway EHR and PM", "scheduler_uuid": "967d207f-b024-41cc-8cac-89575a1f6fef",
|
41
|
-
"name": "Greenway"}]}'
|
42
|
-
http_version:
|
43
|
-
recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
|
44
|
-
- request:
|
45
|
-
method: get
|
46
|
-
uri: http://localhost:5002/api/v4/schedule/appointmenttypes/
|
47
|
-
body:
|
48
|
-
encoding: US-ASCII
|
49
|
-
string: ''
|
50
|
-
headers:
|
51
|
-
User-Agent:
|
52
|
-
- pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
|
53
|
-
Authorization:
|
54
|
-
- Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
|
55
|
-
Accept-Encoding:
|
56
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
57
|
-
Accept:
|
58
|
-
- "*/*"
|
59
|
-
response:
|
60
|
-
status:
|
61
|
-
code: 200
|
62
|
-
message: OK
|
63
|
-
headers:
|
64
|
-
Content-Type:
|
65
|
-
- text/html; charset=utf-8
|
66
|
-
Content-Length:
|
67
|
-
- '1186'
|
68
|
-
Mimetype:
|
69
|
-
- application/json
|
70
|
-
Charset:
|
71
|
-
- utf-8
|
72
|
-
Server:
|
73
|
-
- Werkzeug/0.9.4 Python/2.7.6
|
74
|
-
Date:
|
75
|
-
- Mon, 02 Mar 2015 22:34:21 GMT
|
76
|
-
body:
|
77
|
-
encoding: UTF-8
|
78
|
-
string: '{"meta": {"rate_limit_amount": 10, "rate_limit_reset": 1425339261,
|
79
|
-
"application_mode": "test", "processing_time": 25, "rate_limit_cap": 1000,
|
80
|
-
"credits_remaining": -3, "activity_id": "54f4e56d0640fd11086300bb", "credits_billed":
|
81
|
-
1}, "data": [{"type": "OV1", "appointment_type_uuid": "ef987691-0a19-447f-814d-f8f3abbf4860",
|
82
|
-
"description": "Office Visit"}, {"type": "PC1", "appointment_type_uuid": "ef987692-0a19-447f-814d-f8f3abbf4860",
|
83
|
-
"description": "Routine Preventive Care"}, {"type": "FO1", "appointment_type_uuid":
|
84
|
-
"ef987693-0a19-447f-814d-f8f3abbf4860", "description": "Follow-Up"}, {"type":
|
85
|
-
"RO1", "appointment_type_uuid": "ef987694-0a19-447f-814d-f8f3abbf4860", "description":
|
86
|
-
"Routine Problem Visit"}, {"type": "UA1", "appointment_type_uuid": "ef987695-0a19-447f-814d-f8f3abbf4860",
|
87
|
-
"description": "Urgent/Same Day Appointment"}, {"type": "NV1", "appointment_type_uuid":
|
88
|
-
"ef987696-0a19-447f-814d-f8f3abbf4860", "description": "Nurse Visit"}, {"type":
|
89
|
-
"CV1", "appointment_type_uuid": "ef987697-0a19-447f-814d-f8f3abbf4860", "description":
|
90
|
-
"Consultation Visit"}, {"type": "WC1", "appointment_type_uuid": "ef987698-0a19-447f-814d-f8f3abbf4860",
|
91
|
-
"description": "Well Child Visit"}]}'
|
92
|
-
http_version:
|
93
|
-
recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
|
94
|
-
- request:
|
95
|
-
method: get
|
96
|
-
uri: http://localhost:5002/api/v4/schedule/schedulers/
|
97
|
-
body:
|
98
|
-
encoding: US-ASCII
|
99
|
-
string: ''
|
100
|
-
headers:
|
101
|
-
User-Agent:
|
102
|
-
- pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
|
103
|
-
Authorization:
|
104
|
-
- Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
|
105
|
-
Accept-Encoding:
|
106
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
107
|
-
Accept:
|
108
|
-
- "*/*"
|
109
|
-
response:
|
110
|
-
status:
|
111
|
-
code: 200
|
112
|
-
message: OK
|
113
|
-
headers:
|
114
|
-
Content-Type:
|
115
|
-
- text/html; charset=utf-8
|
116
|
-
Content-Length:
|
117
|
-
- '836'
|
118
|
-
Mimetype:
|
119
|
-
- application/json
|
120
|
-
Charset:
|
121
|
-
- utf-8
|
122
|
-
Server:
|
123
|
-
- Werkzeug/0.9.4 Python/2.7.6
|
124
|
-
Date:
|
125
|
-
- Mon, 02 Mar 2015 22:34:21 GMT
|
126
|
-
body:
|
127
|
-
encoding: UTF-8
|
128
|
-
string: '{"meta": {"rate_limit_amount": 11, "rate_limit_reset": 1425339261,
|
129
|
-
"application_mode": "test", "processing_time": 37, "rate_limit_cap": 1000,
|
130
|
-
"credits_remaining": -4, "activity_id": "54f4e56d0640fd11086300bc", "credits_billed":
|
131
|
-
1}, "data": [{"description": "Greenway EHR and PM", "scheduler_uuid": "45297502-c12c-11e4-b5ad-08002778b074",
|
132
|
-
"name": "Greenway"}, {"description": "Athena EHR and PM", "scheduler_uuid":
|
133
|
-
"452a01fc-c12c-11e4-b5ad-08002778b074", "name": "Athena"}, {"description":
|
134
|
-
"DrChronos EHR and PM", "scheduler_uuid": "452a6822-c12c-11e4-b5ad-08002778b074",
|
135
|
-
"name": "DrChronos"}, {"description": "Epic (OpenEpic) EHR and PM", "scheduler_uuid":
|
136
|
-
"452ace02-c12c-11e4-b5ad-08002778b074", "name": "Epic"}, {"description": "AllScripts
|
137
|
-
EHR and PM", "scheduler_uuid": "452ad712-c12c-11e4-b5ad-08002778b074", "name":
|
138
|
-
"AllScripts"}]}'
|
139
|
-
http_version:
|
140
|
-
recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
|
141
|
-
- request:
|
142
|
-
method: get
|
143
|
-
uri: http://localhost:5002/api/v4/schedule/appointmenttypes/ef987695-0a19-447f-814d-f8f3abbf4860
|
144
|
-
body:
|
145
|
-
encoding: US-ASCII
|
146
|
-
string: ''
|
147
|
-
headers:
|
148
|
-
User-Agent:
|
149
|
-
- Faraday v0.9.0
|
150
|
-
Authorization:
|
151
|
-
- Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
|
152
|
-
Accept-Encoding:
|
153
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
154
|
-
Accept:
|
155
|
-
- "*/*"
|
156
|
-
response:
|
157
|
-
status:
|
158
|
-
code: 200
|
159
|
-
message: OK
|
160
|
-
headers:
|
161
|
-
Content-Type:
|
162
|
-
- text/html; charset=utf-8
|
163
|
-
Content-Length:
|
164
|
-
- '354'
|
165
|
-
Mimetype:
|
166
|
-
- application/json
|
167
|
-
Charset:
|
168
|
-
- utf-8
|
169
|
-
Server:
|
170
|
-
- Werkzeug/0.9.4 Python/2.7.6
|
171
|
-
Date:
|
172
|
-
- Mon, 02 Mar 2015 22:34:21 GMT
|
173
|
-
body:
|
174
|
-
encoding: UTF-8
|
175
|
-
string: '{"meta": {"rate_limit_amount": 12, "rate_limit_reset": 1425339261,
|
176
|
-
"application_mode": "test", "processing_time": 29, "rate_limit_cap": 1000,
|
177
|
-
"credits_remaining": -5, "activity_id": "54f4e56d0640fd11086300bd", "credits_billed":
|
178
|
-
1}, "data": [{"type": "OV1", "appointment_type_uuid": "ef987695-0a19-447f-814d-f8f3abbf4860",
|
179
|
-
"description": "Office Visit"}]}'
|
180
|
-
http_version:
|
181
|
-
recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
|
182
|
-
recorded_with: VCR 2.9.3
|