pokitdok-ruby 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +69 -51
- data/LICENSE.txt +1 -1
- data/VERSION +1 -1
- data/lib/pokitdok.rb +333 -97
- data/pokitdok-ruby.gemspec +9 -4
- data/spec/pokitdok_spec.rb +145 -37
- data/vcr_cassettes/activities.yml +30 -230
- data/vcr_cassettes/auth.yml +7 -7
- data/vcr_cassettes/authorizations.yml +11 -11
- data/vcr_cassettes/cash_prices.yml +13 -13
- data/vcr_cassettes/claims.yml +35 -34
- data/vcr_cassettes/claims_status.yml +12 -12
- data/vcr_cassettes/eligibility.yml +93 -70
- data/vcr_cassettes/enrollment.yml +40 -40
- data/vcr_cassettes/files.yml +57 -2
- data/vcr_cassettes/insurance_prices.yml +13 -13
- data/vcr_cassettes/payers.yml +463 -632
- data/vcr_cassettes/plans.yml +10 -10
- data/vcr_cassettes/plans_no_args.yml +10 -10
- data/vcr_cassettes/providers.yml +9 -9
- data/vcr_cassettes/referrals.yml +12 -12
- data/vcr_cassettes/scheduling.yml +182 -0
- data/vcr_cassettes/scheduling_scoped.yml +223 -0
- data/vcr_cassettes/trading_partners_get.yml +11 -12
- data/vcr_cassettes/trading_partners_index.yml +351 -420
- metadata +19 -3
data/vcr_cassettes/auth.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://
|
5
|
+
uri: http://jlHrMhG8CZudpJXHp0Rr:347iuIN8T7zOzE7wtyk1vQGfjxuTE3yjxb8nlFev@localhost:5002/oauth2/token
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: grant_type=client_credentials
|
@@ -29,13 +29,13 @@ http_interactions:
|
|
29
29
|
Cache-Control:
|
30
30
|
- no-store
|
31
31
|
Server:
|
32
|
-
- Werkzeug/0.9.4 Python/2.7.
|
32
|
+
- Werkzeug/0.9.4 Python/2.7.6
|
33
33
|
Date:
|
34
|
-
-
|
34
|
+
- Mon, 02 Mar 2015 22:34:20 GMT
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
|
-
string: '{"access_token": "
|
38
|
-
"bearer", "expires":
|
37
|
+
string: '{"access_token": "EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF", "token_type":
|
38
|
+
"bearer", "expires": 1425339260, "expires_in": 3600}'
|
39
39
|
http_version:
|
40
|
-
recorded_at:
|
41
|
-
recorded_with: VCR 2.9.
|
40
|
+
recorded_at: Mon, 02 Mar 2015 22:34:20 GMT
|
41
|
+
recorded_with: VCR 2.9.3
|
@@ -9,9 +9,9 @@ http_interactions:
|
|
9
9
|
ULTRASOUND CENTER, LLC","npi":"1760779011","phone":"8642341234"},"services":[{"cpt_code":"76700","measurement":"unit","quantity":1}],"type":"diagnostic_medical"},"patient":{"birth_date":"1970-01-01","first_name":"JANE","last_name":"DOE","id":"1234567890"},"provider":{"first_name":"JEROME","npi":"1467560003","last_name":"AYA-AY"},"trading_partner_id":"MOCKPAYER"}'
|
10
10
|
headers:
|
11
11
|
User-Agent:
|
12
|
-
- pokitdok-ruby 0.
|
12
|
+
- pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
|
13
13
|
Authorization:
|
14
|
-
- Bearer
|
14
|
+
- Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
|
15
15
|
Content-Type:
|
16
16
|
- application/json
|
17
17
|
Accept-Encoding:
|
@@ -26,24 +26,24 @@ http_interactions:
|
|
26
26
|
Content-Type:
|
27
27
|
- text/html; charset=utf-8
|
28
28
|
Content-Length:
|
29
|
-
- '
|
29
|
+
- '1168'
|
30
30
|
Mimetype:
|
31
31
|
- application/json
|
32
32
|
Charset:
|
33
33
|
- utf-8
|
34
34
|
Server:
|
35
|
-
- Werkzeug/0.9.4 Python/2.7.
|
35
|
+
- Werkzeug/0.9.4 Python/2.7.6
|
36
36
|
Date:
|
37
|
-
-
|
37
|
+
- Mon, 02 Mar 2015 22:34:21 GMT
|
38
38
|
body:
|
39
39
|
encoding: UTF-8
|
40
|
-
string: '{"meta": {"rate_limit_amount": 16, "rate_limit_reset":
|
41
|
-
"application_mode": "test", "processing_time":
|
42
|
-
"credits_remaining":
|
40
|
+
string: '{"meta": {"rate_limit_amount": 16, "rate_limit_reset": 1425339261,
|
41
|
+
"application_mode": "test", "processing_time": 100, "rate_limit_cap": 1000,
|
42
|
+
"credits_remaining": -4, "activity_id": "54f4e56d0640fd11086300c1", "credits_billed":
|
43
43
|
1}, "data": {"patient": {"first_name": "JANE", "last_name": "DOE", "id": "1234567890"},
|
44
44
|
"trading_partner_id": "MOCKPAYER", "payer": {"organization_name": "MOCK PAYER
|
45
45
|
INC", "id": "MOCKPAYER"}, "originating_company_id": "9012345678", "correlation_id":
|
46
|
-
"
|
46
|
+
"d956526b-f5ce-43d6-8c9b-14809bdfde87", "client_id": "jlHrMhG8CZudpJXHp0Rr",
|
47
47
|
"provider": {"first_name": "JEROME", "last_name": "AYA-AY", "tax_id": "1467560003"},
|
48
48
|
"async": false, "event": {"category": "health_services_review", "diagnoses":
|
49
49
|
[{"date": "2005-04-30", "code": "410.90"}], "place_of_service": "office",
|
@@ -53,5 +53,5 @@ http_interactions:
|
|
53
53
|
CENTER, LLC", "tax_id": "1760779011"}, "certification_type": "initial", "type":
|
54
54
|
"diagnostic_medical"}, "valid_request": true}}'
|
55
55
|
http_version:
|
56
|
-
recorded_at:
|
57
|
-
recorded_with: VCR 2.9.
|
56
|
+
recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
|
57
|
+
recorded_with: VCR 2.9.3
|
@@ -8,9 +8,9 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- pokitdok-ruby 0.
|
11
|
+
- pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
|
12
12
|
Authorization:
|
13
|
-
- Bearer
|
13
|
+
- Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
|
14
14
|
Accept-Encoding:
|
15
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
16
|
Accept:
|
@@ -23,23 +23,23 @@ http_interactions:
|
|
23
23
|
Content-Type:
|
24
24
|
- text/html; charset=utf-8
|
25
25
|
Content-Length:
|
26
|
-
- '
|
26
|
+
- '401'
|
27
27
|
Mimetype:
|
28
28
|
- application/json
|
29
29
|
Charset:
|
30
30
|
- utf-8
|
31
31
|
Server:
|
32
|
-
- Werkzeug/0.9.4 Python/2.7.
|
32
|
+
- Werkzeug/0.9.4 Python/2.7.6
|
33
33
|
Date:
|
34
|
-
-
|
34
|
+
- Mon, 02 Mar 2015 22:34:21 GMT
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
|
-
string: '{"meta": {"rate_limit_amount":
|
38
|
-
"application_mode": "test", "processing_time":
|
39
|
-
"credits_remaining":
|
40
|
-
1}, "data": [{"
|
41
|
-
"
|
42
|
-
"
|
37
|
+
string: '{"meta": {"rate_limit_amount": 15, "rate_limit_reset": 1425339261,
|
38
|
+
"application_mode": "test", "processing_time": 35, "rate_limit_cap": 1000,
|
39
|
+
"credits_remaining": -7, "activity_id": "54f4e56d0640fd11086300c0", "credits_billed":
|
40
|
+
1}, "data": [{"high_price": 85.0, "cpt_code": "90658", "low_price": 25.0,
|
41
|
+
"average_price": 45.58, "geo_zip_area": "944", "standard_deviation": 18.16,
|
42
|
+
"median_price": 42.0}]}'
|
43
43
|
http_version:
|
44
|
-
recorded_at:
|
45
|
-
recorded_with: VCR 2.9.
|
44
|
+
recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
|
45
|
+
recorded_with: VCR 2.9.3
|
data/vcr_cassettes/claims.yml
CHANGED
@@ -11,9 +11,9 @@ http_interactions:
|
|
11
11
|
Ins Co","plan_id":"1234567890"}}'
|
12
12
|
headers:
|
13
13
|
User-Agent:
|
14
|
-
- pokitdok-ruby 0.
|
14
|
+
- pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
|
15
15
|
Authorization:
|
16
|
-
- Bearer
|
16
|
+
- Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
|
17
17
|
Content-Type:
|
18
18
|
- application/json
|
19
19
|
Accept-Encoding:
|
@@ -28,44 +28,45 @@ http_interactions:
|
|
28
28
|
Content-Type:
|
29
29
|
- text/html; charset=utf-8
|
30
30
|
Content-Length:
|
31
|
-
- '
|
31
|
+
- '2270'
|
32
32
|
Mimetype:
|
33
33
|
- application/json
|
34
34
|
Charset:
|
35
35
|
- utf-8
|
36
36
|
Server:
|
37
|
-
- Werkzeug/0.9.4 Python/2.7.
|
37
|
+
- Werkzeug/0.9.4 Python/2.7.6
|
38
38
|
Date:
|
39
|
-
-
|
39
|
+
- Mon, 02 Mar 2015 22:34:20 GMT
|
40
40
|
body:
|
41
41
|
encoding: UTF-8
|
42
|
-
string: '{"meta": {"rate_limit_amount":
|
43
|
-
"test", "processing_time":
|
44
|
-
|
45
|
-
{"units_of_work": 1, "
|
46
|
-
"
|
47
|
-
"
|
48
|
-
|
49
|
-
["487.1"], "unit_count": "1.0", "unit_type":
|
50
|
-
"
|
51
|
-
"
|
52
|
-
"
|
53
|
-
"
|
54
|
-
|
55
|
-
"birth_date": "1970-01-01"}, "correlation_id":
|
56
|
-
"
|
57
|
-
"
|
58
|
-
"id": "POKITDOKTEST", "email": "support@pokitdok.com"},
|
59
|
-
|
60
|
-
"
|
61
|
-
"state": "SC", "zipcode": "29301", "city":
|
62
|
-
"
|
63
|
-
"
|
64
|
-
"
|
65
|
-
"
|
66
|
-
|
67
|
-
"
|
68
|
-
"
|
42
|
+
string: '{"meta": {"rate_limit_amount": 7, "rate_limit_reset": 1425339260, "application_mode":
|
43
|
+
"test", "processing_time": 51, "rate_limit_cap": 1000, "credits_remaining":
|
44
|
+
-2, "activity_id": "54f4e56c0640fd11086300b6", "credits_billed": 1}, "data":
|
45
|
+
{"units_of_work": 1, "_type": "PlatformActivityModel", "name": "claims", "parameters":
|
46
|
+
{"claim": {"plan_participation": "assigned", "provider_signature": true, "total_charge_amount":
|
47
|
+
"60.0", "claim_frequency": "original", "place_of_service": "office", "direct_payment":
|
48
|
+
"y", "patient_signature_on_file": true, "information_release": "informed_consent",
|
49
|
+
"service_lines": [{"diagnosis_codes": ["487.1"], "unit_count": "1.0", "unit_type":
|
50
|
+
"units", "charge_amount": "60.0", "service_date": "2014-06-01", "procedure_code":
|
51
|
+
"99213"}]}, "trading_partner_id": "MOCKPAYER", "payer": {"organization_name":
|
52
|
+
"MOCKPAYER", "id": "MOCKPAYER"}, "subscriber": {"first_name": "Jane", "last_name":
|
53
|
+
"Doe", "gender": "female", "member_id": "W000000000", "payer_responsibility":
|
54
|
+
"primary", "address": {"address_lines": ["123 N MAIN ST"], "state": "SC",
|
55
|
+
"zipcode": "29301", "city": "SPARTANBURG"}, "birth_date": "1970-01-01"}, "correlation_id":
|
56
|
+
"5e0592f4-d99d-4186-a510-e6af15192785", "client_id": "jlHrMhG8CZudpJXHp0Rr",
|
57
|
+
"receiver": {"organization_name": "MOCKRECEIVER", "id": "MOCKRECEIVER"}, "submitter":
|
58
|
+
{"organization_name": "POKITDOK TESTING", "id": "POKITDOKTEST", "email": "support@pokitdok.com"},
|
59
|
+
"async": false, "billing_provider": {"first_name": "Jerome", "last_name":
|
60
|
+
"Aya-Ay", "npi": "1467560003", "taxonomy_code": "207Q00000X", "address": {"address_lines":
|
61
|
+
["8311 WARREN H ABERNATHY HWY"], "state": "SC", "zipcode": "29301", "city":
|
62
|
+
"SPARTANBURG"}, "tax_id": "123456789"}, "transaction_code": "chargeable"},
|
63
|
+
"remaining_transitions": ["generate", "store", "transmit", "wait", "receive",
|
64
|
+
"process", "complete"], "_uuid": "a51d4a0b-b3a5-4830-89a1-3a0f8f0a3be8", "state":
|
65
|
+
{"name": "scheduled", "title": "Scheduled for next available transmission
|
66
|
+
to Trading Partner"}, "trading_partner_id": "MOCKPAYER", "id": "54f4e56c0640fd11086300b6",
|
67
|
+
"transition_path": ["schedule", "generate", "store", "transmit", "wait", "receive",
|
68
|
+
"process", "complete"], "history": [{"record_dt": "2015-03-02T22:34:20.675809",
|
69
|
+
"name": "init", "title": "Initializing"}]}}'
|
69
70
|
http_version:
|
70
|
-
recorded_at:
|
71
|
-
recorded_with: VCR 2.9.
|
71
|
+
recorded_at: Mon, 02 Mar 2015 22:34:20 GMT
|
72
|
+
recorded_with: VCR 2.9.3
|
@@ -8,9 +8,9 @@ http_interactions:
|
|
8
8
|
string: '{"patient":{"birth_date":"1970-01-01","first_name":"JANE","last_name":"DOE","id":"1234567890"},"provider":{"first_name":"Jerome","last_name":"Aya-Ay","npi":"1467560003"},"service_date":"2014-01-01","trading_partner_id":"MOCKPAYER"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- pokitdok-ruby 0.
|
11
|
+
- pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
|
12
12
|
Authorization:
|
13
|
-
- Bearer
|
13
|
+
- Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
16
|
Accept-Encoding:
|
@@ -25,20 +25,20 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- text/html; charset=utf-8
|
27
27
|
Content-Length:
|
28
|
-
- '
|
28
|
+
- '2050'
|
29
29
|
Mimetype:
|
30
30
|
- application/json
|
31
31
|
Charset:
|
32
32
|
- utf-8
|
33
33
|
Server:
|
34
|
-
- Werkzeug/0.9.4 Python/2.7.
|
34
|
+
- Werkzeug/0.9.4 Python/2.7.6
|
35
35
|
Date:
|
36
|
-
-
|
36
|
+
- Mon, 02 Mar 2015 22:34:20 GMT
|
37
37
|
body:
|
38
38
|
encoding: UTF-8
|
39
|
-
string: '{"meta": {"rate_limit_amount":
|
40
|
-
"test", "processing_time":
|
41
|
-
|
39
|
+
string: '{"meta": {"rate_limit_amount": 6, "rate_limit_reset": 1425339260, "application_mode":
|
40
|
+
"test", "processing_time": 194, "rate_limit_cap": 1000, "credits_remaining":
|
41
|
+
-1, "activity_id": "54f4e56c0640fd11086300b3", "credits_billed": 1}, "data":
|
42
42
|
{"patient": {"claims": [{"applied_to_deductible": false, "total_claim_amount":
|
43
43
|
{"currency": "USD", "amount": "150"}, "service_end_date": "2014-01-01", "claim_control_number":
|
44
44
|
"E1TWCYYMF00", "service_date": "2014-01-01", "claim_payment_amount": {"currency":
|
@@ -57,11 +57,11 @@ http_interactions:
|
|
57
57
|
that exist between the Health Plan and a Provider of Health Care Services)",
|
58
58
|
"status_category": "Finalized/Payment-The claim/line has been paid.", "status_effective_date":
|
59
59
|
"2014-04-24"}]}], "check_number": "08608-035632423", "remittance_date": "2014-04-09"}]},
|
60
|
-
"client_id": "
|
60
|
+
"client_id": "jlHrMhG8CZudpJXHp0Rr", "payer": {"name": "MOCK PAYER INC", "id":
|
61
61
|
"MOCKPAYER"}, "providers": [{"first_name": "Jerome", "last_name": "Aya-Ay",
|
62
|
-
"npi": "1467560003"}], "correlation_id": "
|
62
|
+
"npi": "1467560003"}], "correlation_id": "1c448575-45ea-47de-a7e7-ab96e4e1571f",
|
63
63
|
"trading_partner_id": "MOCKPAYER", "submitter": {"first_name": "Jerome", "last_name":
|
64
64
|
"Aya-Ay", "id": "1467560003"}}}'
|
65
65
|
http_version:
|
66
|
-
recorded_at:
|
67
|
-
recorded_with: VCR 2.9.
|
66
|
+
recorded_at: Mon, 02 Mar 2015 22:34:20 GMT
|
67
|
+
recorded_with: VCR 2.9.3
|
@@ -8,9 +8,9 @@ http_interactions:
|
|
8
8
|
string: '{"member":{"birth_date":"1970-01-01","first_name":"Jane","last_name":"Doe","id":"W000000000"},"provider":{"first_name":"JEROME","last_name":"AYA-AY","npi":"1467560003"},"service_types":["health_benefit_plan_coverage"],"trading_partner_id":"MOCKPAYER"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- pokitdok-ruby 0.
|
11
|
+
- pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
|
12
12
|
Authorization:
|
13
|
-
- Bearer
|
13
|
+
- Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
16
|
Accept-Encoding:
|
@@ -25,97 +25,120 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- text/html; charset=utf-8
|
27
27
|
Content-Length:
|
28
|
-
- '
|
28
|
+
- '8219'
|
29
29
|
Mimetype:
|
30
30
|
- application/json
|
31
31
|
Charset:
|
32
32
|
- utf-8
|
33
33
|
Server:
|
34
|
-
- Werkzeug/0.9.4 Python/2.7.
|
34
|
+
- Werkzeug/0.9.4 Python/2.7.6
|
35
35
|
Date:
|
36
|
-
-
|
36
|
+
- Mon, 02 Mar 2015 22:34:21 GMT
|
37
37
|
body:
|
38
38
|
encoding: UTF-8
|
39
|
-
string: '{"meta": {"rate_limit_amount":
|
40
|
-
"test", "processing_time":
|
41
|
-
|
42
|
-
{"service_types": ["professional_physician_visit_office"], "client_id":
|
43
|
-
"payer": {"id": "MOCKPAYER", "name": "MOCK PAYER INC"},
|
44
|
-
|
45
|
-
"limit": {"currency": "USD", "amount": "3000"},
|
46
|
-
"USD", "amount": "2983.57"}}, "out_of_network":
|
47
|
-
"
|
48
|
-
|
49
|
-
|
50
|
-
"
|
39
|
+
string: '{"meta": {"rate_limit_amount": 17, "rate_limit_reset": 1425339261,
|
40
|
+
"application_mode": "test", "processing_time": 234, "rate_limit_cap": 1000,
|
41
|
+
"credits_remaining": -5, "activity_id": "54f4e56d0640fd11086300c4", "credits_billed":
|
42
|
+
1}, "data": {"service_types": ["professional_physician_visit_office"], "client_id":
|
43
|
+
"jlHrMhG8CZudpJXHp0Rr", "payer": {"id": "MOCKPAYER", "name": "MOCK PAYER INC"},
|
44
|
+
"summary": {"deductible": {"individual": {"in_network": {"applied": {"currency":
|
45
|
+
"USD", "amount": "16.43"}, "limit": {"currency": "USD", "amount": "3000"},
|
46
|
+
"remaining": {"currency": "USD", "amount": "2983.57"}}, "out_of_network":
|
47
|
+
{"applied": {"currency": "USD", "amount": "16.43"}, "limit": {"currency":
|
48
|
+
"USD", "amount": "6000"}, "remaining": {"currency": "USD", "amount": "5983.57"}}},
|
49
|
+
"family": {"in_network": {"applied": {"currency": "USD", "amount": "43.91"},
|
50
|
+
"limit": {"currency": "USD", "amount": "6000"}, "remaining": {"currency":
|
51
|
+
"USD", "amount": "5956.09"}}, "out_of_network": {"applied": {"currency": "USD",
|
52
|
+
"amount": "43.91"}, "limit": {"currency": "USD", "amount": "12000"}, "remaining":
|
53
|
+
{"currency": "USD", "amount": "11956.09"}}}}, "out_of_pocket": {"individual":
|
54
|
+
{"in_network": {"applied": {"currency": "USD", "amount": "16.43"}, "limit":
|
55
|
+
{"currency": "USD", "amount": "3000"}, "remaining": {"currency": "USD", "amount":
|
56
|
+
"2983.57"}}, "out_of_network": {"applied": {"currency": "USD", "amount": "16.43"},
|
57
|
+
"limit": {"currency": "USD", "amount": "12500"}, "remaining": {"currency":
|
58
|
+
"USD", "amount": "12483.57"}}}, "family": {"in_network": {"applied": {"currency":
|
59
|
+
"USD", "amount": "43.91"}, "limit": {"currency": "USD", "amount": "6000"},
|
60
|
+
"remaining": {"currency": "USD", "amount": "5956.09"}}, "out_of_network":
|
51
61
|
{"applied": {"currency": "USD", "amount": "43.91"}, "limit": {"currency":
|
52
|
-
"USD", "amount": "
|
53
|
-
"subscriber": {"
|
54
|
-
"
|
55
|
-
"
|
56
|
-
"
|
62
|
+
"USD", "amount": "25000"}, "remaining": {"currency": "USD", "amount": "24956.09"}}}}},
|
63
|
+
"subscriber": {"first_name": "Jane", "last_name": "Doe", "gender": "male",
|
64
|
+
"address": {"city": "SPARTANBURG", "state": "SC", "zipcode": "29307", "address_lines":
|
65
|
+
["123 MAIN ST"]}, "birth_date": "1970-01-01", "id": "W000000000"}, "correlation_id":
|
66
|
+
"bdab8400-8032-4d2d-81b1-136d79b0bd53", "trading_partner_id": "MOCKPAYER",
|
57
67
|
"provider": {"first_name": "JEROME", "last_name": "JEROME AYA-AY", "npi":
|
58
68
|
"1467560003"}, "coverage": {"plan_number": "0888188", "service_types": ["professional_physician_visit_office"],
|
59
69
|
"group_number": "088818801000013", "out_of_pocket": [{"in_plan_network": "yes",
|
60
70
|
"benefit_amount": {"currency": "USD", "amount": "3000"}, "coverage_level":
|
61
|
-
"individual"
|
62
|
-
"
|
71
|
+
"individual", "service_types": ["health_benefit_plan_coverage"]}, {"in_plan_network":
|
72
|
+
"yes", "benefit_amount": {"currency": "USD", "amount": "2983.57"}, "coverage_level":
|
73
|
+
"individual", "time_period": "remaining", "service_types": ["health_benefit_plan_coverage"]},
|
63
74
|
{"in_plan_network": "yes", "benefit_amount": {"currency": "USD", "amount":
|
64
|
-
"6000"}, "coverage_level": "family"
|
65
|
-
{"
|
66
|
-
"
|
67
|
-
"
|
68
|
-
|
69
|
-
"
|
70
|
-
{"currency": "USD", "amount": "
|
71
|
-
"
|
72
|
-
"
|
73
|
-
"
|
74
|
-
"
|
75
|
-
"
|
75
|
+
"6000"}, "coverage_level": "family", "service_types": ["health_benefit_plan_coverage"]},
|
76
|
+
{"in_plan_network": "yes", "benefit_amount": {"currency": "USD", "amount":
|
77
|
+
"5956.09"}, "coverage_level": "family", "time_period": "remaining", "service_types":
|
78
|
+
["health_benefit_plan_coverage"]}, {"in_plan_network": "no", "benefit_amount":
|
79
|
+
{"currency": "USD", "amount": "12500"}, "coverage_level": "individual", "service_types":
|
80
|
+
["health_benefit_plan_coverage"]}, {"in_plan_network": "no", "benefit_amount":
|
81
|
+
{"currency": "USD", "amount": "12483.57"}, "coverage_level": "individual",
|
82
|
+
"time_period": "remaining", "service_types": ["health_benefit_plan_coverage"]},
|
83
|
+
{"in_plan_network": "no", "benefit_amount": {"currency": "USD", "amount":
|
84
|
+
"25000"}, "coverage_level": "family", "service_types": ["health_benefit_plan_coverage"]},
|
85
|
+
{"service_types": ["health_benefit_plan_coverage"], "messages": [{"message":
|
86
|
+
"Unlimited Lifetime Benefits"}], "in_plan_network": "no", "time_period": "remaining",
|
87
|
+
"coverage_level": "family", "benefit_amount": {"currency": "USD", "amount":
|
88
|
+
"24956.09"}}], "insurance_type": "ppo", "level": "employee_and_spouse", "copay":
|
89
|
+
[{"in_plan_network": "yes", "service_types": ["professional_physician_visit_office"],
|
90
|
+
"coverage_level": "employee_and_spouse", "messages": [{"message": "PRIMARY
|
91
|
+
OFFICE"}], "copayment": {"currency": "USD", "amount": "0"}}, {"in_plan_network":
|
76
92
|
"not_applicable", "service_types": ["professional_physician_visit_office"],
|
77
93
|
"coverage_level": "employee_and_spouse", "messages": [{"message": "GYN OFFICE
|
78
94
|
VS"}, {"message": "GYN VISIT"}, {"message": "SPEC OFFICE"}, {"message": "SPEC
|
79
95
|
VISIT"}, {"message": "PRIME CARE VST"}, {"message": "Plan Requires PreCert"},
|
80
96
|
{"message": "Commercial"}, {"message": "Plan includes NAP"}, {"message": "Pre-Existing
|
81
|
-
may apply"}]
|
97
|
+
may apply"}], "copayment": {"currency": "USD", "amount": "0"}}], "plan_description":
|
98
|
+
"Open Choice", "deductibles": [{"service_types": ["health_benefit_plan_coverage"],
|
99
|
+
"messages": [{"message": "INT MED AND RX,GYN OFFICE VS,DED INCLUDED IN OOP,GYN
|
100
|
+
VISIT,SPEC OFFICE,SPEC VISIT,PRIMARY OFFICE,PRIME CARE VST"}], "in_plan_network":
|
101
|
+
"yes", "eligibility_date": "2013-01-01", "time_period": "calendar_year", "coverage_level":
|
102
|
+
"family", "benefit_amount": {"currency": "USD", "amount": "6000"}}, {"service_types":
|
103
|
+
["health_benefit_plan_coverage"], "messages": [{"message": "INT MED AND RX"}],
|
104
|
+
"in_plan_network": "yes", "time_period": "remaining", "coverage_level": "family",
|
105
|
+
"benefit_amount": {"currency": "USD", "amount": "5956.09"}}, {"service_types":
|
106
|
+
["health_benefit_plan_coverage"], "messages": [{"message": "INT MED AND RX,GYN
|
82
107
|
OFFICE VS,DED INCLUDED IN OOP,GYN VISIT,SPEC OFFICE,SPEC VISIT,PRIMARY OFFICE,PRIME
|
83
108
|
CARE VST"}], "in_plan_network": "yes", "eligibility_date": "2013-01-01", "time_period":
|
84
|
-
"calendar_year", "coverage_level": "
|
85
|
-
"USD", "amount": "
|
86
|
-
"
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
"time_period": "calendar_year", "coverage_level": "individual", "benefit_amount":
|
91
|
-
{"currency": "USD", "amount": "3000"}}, {"in_plan_network": "yes", "time_period":
|
92
|
-
"remaining", "coverage_level": "individual", "messages": [{"message": "INT
|
93
|
-
MED AND RX"}], "benefit_amount": {"currency": "USD", "amount": "2983.57"}},
|
94
|
-
{"messages": [{"message": "INT MED AND RX,GYN OFFICE VS,DED INCLUDED IN OOP,GYN
|
109
|
+
"calendar_year", "coverage_level": "individual", "benefit_amount": {"currency":
|
110
|
+
"USD", "amount": "3000"}}, {"service_types": ["health_benefit_plan_coverage"],
|
111
|
+
"messages": [{"message": "INT MED AND RX"}], "in_plan_network": "yes", "time_period":
|
112
|
+
"remaining", "coverage_level": "individual", "benefit_amount": {"currency":
|
113
|
+
"USD", "amount": "2983.57"}}, {"service_types": ["health_benefit_plan_coverage"],
|
114
|
+
"messages": [{"message": "INT MED AND RX,GYN OFFICE VS,DED INCLUDED IN OOP,GYN
|
95
115
|
VISIT,SPEC OFFICE,SPEC VISIT,PRIME CARE VST"}], "in_plan_network": "no", "eligibility_date":
|
96
116
|
"2013-01-01", "time_period": "calendar_year", "coverage_level": "family",
|
97
|
-
"benefit_amount": {"currency": "USD", "amount": "12000"}}, {"
|
98
|
-
"
|
99
|
-
|
100
|
-
"
|
101
|
-
|
102
|
-
|
103
|
-
"
|
104
|
-
"
|
105
|
-
|
106
|
-
"
|
107
|
-
"
|
108
|
-
"
|
109
|
-
|
110
|
-
|
111
|
-
"
|
112
|
-
"
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
+
"benefit_amount": {"currency": "USD", "amount": "12000"}}, {"service_types":
|
118
|
+
["health_benefit_plan_coverage"], "messages": [{"message": "INT MED AND RX"}],
|
119
|
+
"in_plan_network": "no", "time_period": "remaining", "coverage_level": "family",
|
120
|
+
"benefit_amount": {"currency": "USD", "amount": "11956.09"}}, {"service_types":
|
121
|
+
["health_benefit_plan_coverage"], "messages": [{"message": "INT MED AND RX,GYN
|
122
|
+
OFFICE VS,DED INCLUDED IN OOP,GYN VISIT,SPEC OFFICE,SPEC VISIT,PRIME CARE
|
123
|
+
VST"}], "in_plan_network": "no", "eligibility_date": "2013-01-01", "time_period":
|
124
|
+
"calendar_year", "coverage_level": "individual", "benefit_amount": {"currency":
|
125
|
+
"USD", "amount": "6000"}}, {"service_types": ["health_benefit_plan_coverage"],
|
126
|
+
"messages": [{"message": "INT MED AND RX"}], "in_plan_network": "no", "time_period":
|
127
|
+
"remaining", "coverage_level": "individual", "benefit_amount": {"currency":
|
128
|
+
"USD", "amount": "5983.57"}}], "plan_begin_date": "2013-02-15", "eligibility_begin_date":
|
129
|
+
"2012-02-01", "active": true, "coinsurance": [{"benefit_percent": 0.0, "service_types":
|
130
|
+
["professional_physician_visit_office"], "coverage_level": "employee_and_spouse",
|
131
|
+
"messages": [{"message": "GYN OFFICE VS"}, {"message": "GYN VISIT"}, {"message":
|
132
|
+
"SPEC OFFICE"}, {"message": "SPEC VISIT"}, {"message": "PRIMARY OFFICE"},
|
133
|
+
{"message": "PRIME CARE VST"}], "in_plan_network": "yes"}, {"benefit_percent":
|
134
|
+
0.5, "service_types": ["professional_physician_visit_office"], "coverage_level":
|
135
|
+
"employee_and_spouse", "messages": [{"message": "GYN OFFICE VS,COINS APPLIES
|
136
|
+
TO OUT OF POCKET"}, {"message": "GYN VISIT,COINS APPLIES TO OUT OF POCKET"},
|
137
|
+
{"message": "SPEC OFFICE,COINS APPLIES TO OUT OF POCKET"}, {"message": "SPEC
|
138
|
+
VISIT,COINS APPLIES TO OUT OF POCKET"}, {"message": "PRIME CARE VST,COINS
|
139
|
+
APPLIES TO OUT OF POCKET"}], "in_plan_network": "no"}], "group_description":
|
117
140
|
"MOCK INDIVIDUAL ADVANTAGE PLAN", "service_date": "2013-08-10"}, "valid_request":
|
118
141
|
true}}'
|
119
142
|
http_version:
|
120
|
-
recorded_at:
|
121
|
-
recorded_with: VCR 2.9.
|
143
|
+
recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
|
144
|
+
recorded_with: VCR 2.9.3
|