pokitdok-ruby 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/pokitdok.rb +27 -1
- data/pokitdok-ruby.gemspec +7 -3
- data/spec/fixtures/authorizations.json +42 -0
- data/spec/fixtures/referrals.json +36 -0
- data/spec/pokitdok_spec.rb +31 -4
- data/vcr_cassettes/activities.yml +205 -462
- data/vcr_cassettes/auth.yml +7 -45
- data/vcr_cassettes/authorizations.yml +57 -0
- data/vcr_cassettes/cash_prices.yml +12 -12
- data/vcr_cassettes/claims.yml +33 -34
- data/vcr_cassettes/claims_status.yml +25 -25
- data/vcr_cassettes/eligibility.yml +36 -36
- data/vcr_cassettes/enrollment.yml +39 -39
- data/vcr_cassettes/files.yml +15 -16
- data/vcr_cassettes/insurance_prices.yml +14 -18
- data/vcr_cassettes/payers.yml +512 -450
- data/vcr_cassettes/plans.yml +101 -652
- data/vcr_cassettes/plans_no_args.yml +100 -648
- data/vcr_cassettes/providers.yml +80 -20
- data/vcr_cassettes/referrals.yml +56 -0
- data/vcr_cassettes/trading_partners_get.yml +10 -10
- data/vcr_cassettes/trading_partners_index.yml +323 -271
- metadata +46 -42
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://WbkhoNbwuJRWdz0w9Ehl:OPA9HSOUMJLYyZrH4VRPZLoL51gGtm7U4OxuYiz6@localhost:5002/oauth2/token
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: grant_type=client_credentials
|
@@ -14,7 +14,7 @@ http_interactions:
|
|
14
14
|
Accept-Encoding:
|
15
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
16
|
Accept:
|
17
|
-
-
|
17
|
+
- "*/*"
|
18
18
|
response:
|
19
19
|
status:
|
20
20
|
code: 200
|
@@ -31,49 +31,11 @@ http_interactions:
|
|
31
31
|
Server:
|
32
32
|
- Werkzeug/0.9.4 Python/2.7.3
|
33
33
|
Date:
|
34
|
-
- Wed,
|
34
|
+
- Wed, 22 Oct 2014 19:18:48 GMT
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
|
-
string: '{"access_token": "
|
38
|
-
"bearer", "expires":
|
39
|
-
http_version:
|
40
|
-
recorded_at: Wed,
|
41
|
-
- request:
|
42
|
-
method: post
|
43
|
-
uri: http://oB7rLIqHmdoAXHRAmWtM:ZE8xqtUY5kYqmHIhd8lzdjqD1CPa8sRBPvmF9UuG@localhost:5002/oauth2/token
|
44
|
-
body:
|
45
|
-
encoding: UTF-8
|
46
|
-
string: grant_type=client_credentials
|
47
|
-
headers:
|
48
|
-
User-Agent:
|
49
|
-
- Faraday v0.9.0
|
50
|
-
Content-Type:
|
51
|
-
- application/x-www-form-urlencoded
|
52
|
-
Accept-Encoding:
|
53
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
54
|
-
Accept:
|
55
|
-
- '*/*'
|
56
|
-
response:
|
57
|
-
status:
|
58
|
-
code: 200
|
59
|
-
message: OK
|
60
|
-
headers:
|
61
|
-
Content-Type:
|
62
|
-
- application/json;charset=UTF-8
|
63
|
-
Content-Length:
|
64
|
-
- '127'
|
65
|
-
Pragma:
|
66
|
-
- no-cache
|
67
|
-
Cache-Control:
|
68
|
-
- no-store
|
69
|
-
Server:
|
70
|
-
- Werkzeug/0.9.4 Python/2.7.3
|
71
|
-
Date:
|
72
|
-
- Wed, 17 Sep 2014 16:42:43 GMT
|
73
|
-
body:
|
74
|
-
encoding: UTF-8
|
75
|
-
string: '{"access_token": "lKM9f7uGo2W9BAsm9xTijLqHLbC2R2QBiEJdkTNt", "token_type":
|
76
|
-
"bearer", "expires": 1410975763, "expires_in": 3600}'
|
77
|
-
http_version:
|
78
|
-
recorded_at: Wed, 17 Sep 2014 16:42:43 GMT
|
37
|
+
string: '{"access_token": "zwHIWGYIyYqGAZgczUzBpsGrhaRZFmd6mQqLaTFR", "token_type":
|
38
|
+
"bearer", "expires": 1414009129, "expires_in": 3600}'
|
39
|
+
http_version:
|
40
|
+
recorded_at: Wed, 22 Oct 2014 19:18:48 GMT
|
79
41
|
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,57 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://localhost:5002/api/v4/authorizations/
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"event":{"category":"health_services_review","certification_type":"initial","delivery":{"quantity":1,"quantity_qualifier":"visits"},"diagnoses":[{"code":"789.00","date":"2014-10-01"}],"place_of_service":"office","provider":{"organization_name":"KELLY
|
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
|
+
headers:
|
11
|
+
User-Agent:
|
12
|
+
- pokitdok-ruby 0.4.1 ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0]
|
13
|
+
Authorization:
|
14
|
+
- Bearer zwHIWGYIyYqGAZgczUzBpsGrhaRZFmd6mQqLaTFR
|
15
|
+
Content-Type:
|
16
|
+
- application/json
|
17
|
+
Accept-Encoding:
|
18
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
19
|
+
Accept:
|
20
|
+
- "*/*"
|
21
|
+
response:
|
22
|
+
status:
|
23
|
+
code: 200
|
24
|
+
message: OK
|
25
|
+
headers:
|
26
|
+
Content-Type:
|
27
|
+
- text/html; charset=utf-8
|
28
|
+
Content-Length:
|
29
|
+
- '1171'
|
30
|
+
Mimetype:
|
31
|
+
- application/json
|
32
|
+
Charset:
|
33
|
+
- utf-8
|
34
|
+
Server:
|
35
|
+
- Werkzeug/0.9.4 Python/2.7.3
|
36
|
+
Date:
|
37
|
+
- Wed, 22 Oct 2014 19:19:14 GMT
|
38
|
+
body:
|
39
|
+
encoding: UTF-8
|
40
|
+
string: '{"meta": {"rate_limit_amount": 16, "rate_limit_reset": 1414009128,
|
41
|
+
"application_mode": "test", "processing_time": 128, "rate_limit_cap": 8434,
|
42
|
+
"credits_remaining": 13418, "activity_id": "5448033256c02c449eb7da95", "credits_billed":
|
43
|
+
1}, "data": {"patient": {"first_name": "JANE", "last_name": "DOE", "id": "1234567890"},
|
44
|
+
"trading_partner_id": "MOCKPAYER", "payer": {"organization_name": "MOCK PAYER
|
45
|
+
INC", "id": "MOCKPAYER"}, "originating_company_id": "9012345678", "correlation_id":
|
46
|
+
"b599292f-cd6f-4df4-a42c-beee7fe42a53", "client_id": "WbkhoNbwuJRWdz0w9Ehl",
|
47
|
+
"provider": {"first_name": "JEROME", "last_name": "AYA-AY", "tax_id": "1467560003"},
|
48
|
+
"async": false, "event": {"category": "health_services_review", "diagnoses":
|
49
|
+
[{"date": "2005-04-30", "code": "410.90"}], "place_of_service": "office",
|
50
|
+
"review": {"certification_number": "AUTH0001", "second_surgical_opinion_required":
|
51
|
+
false, "certification_action": "certified_in_total"}, "delivery": {"quantity_qualifier":
|
52
|
+
"visits", "quantity": 1}, "provider": {"organization_name": "KELLY ULTRASOUND
|
53
|
+
CENTER, LLC", "tax_id": "1760779011"}, "certification_type": "initial", "type":
|
54
|
+
"diagnostic_medical"}, "valid_request": true}}'
|
55
|
+
http_version:
|
56
|
+
recorded_at: Wed, 22 Oct 2014 19:19:14 GMT
|
57
|
+
recorded_with: VCR 2.9.2
|
@@ -8,13 +8,13 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- pokitdok-ruby 0.4.1 ruby 2.
|
11
|
+
- pokitdok-ruby 0.4.1 ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0]
|
12
12
|
Authorization:
|
13
|
-
- Bearer
|
13
|
+
- Bearer zwHIWGYIyYqGAZgczUzBpsGrhaRZFmd6mQqLaTFR
|
14
14
|
Accept-Encoding:
|
15
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
16
|
Accept:
|
17
|
-
-
|
17
|
+
- "*/*"
|
18
18
|
response:
|
19
19
|
status:
|
20
20
|
code: 200
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
Content-Type:
|
24
24
|
- text/html; charset=utf-8
|
25
25
|
Content-Length:
|
26
|
-
- '
|
26
|
+
- '424'
|
27
27
|
Mimetype:
|
28
28
|
- application/json
|
29
29
|
Charset:
|
@@ -31,15 +31,15 @@ http_interactions:
|
|
31
31
|
Server:
|
32
32
|
- Werkzeug/0.9.4 Python/2.7.3
|
33
33
|
Date:
|
34
|
-
- Wed,
|
34
|
+
- Wed, 22 Oct 2014 19:18:50 GMT
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
|
-
string: '{"meta": {"rate_limit_amount":
|
38
|
-
"application_mode": "
|
39
|
-
|
40
|
-
|
41
|
-
"
|
42
|
-
"
|
37
|
+
string: '{"meta": {"rate_limit_amount": 13, "rate_limit_reset": 1414009128,
|
38
|
+
"application_mode": "test", "processing_time": 9, "rate_limit_cap": 8434,
|
39
|
+
"credits_remaining": 9997, "activity_id": "5448031a56c02c4491b7da95", "credits_billed":
|
40
|
+
1}, "data": [{"high": 85.0, "cpt_code": "90658", "geo_zip_area": "944", "payment_type":
|
41
|
+
"paid", "standard_deviation": 18.16, "average": 45.58, "payer_type": "cash",
|
42
|
+
"median": 42.0, "low": 25.0}]}'
|
43
43
|
http_version:
|
44
|
-
recorded_at: Wed,
|
44
|
+
recorded_at: Wed, 22 Oct 2014 19:18:50 GMT
|
45
45
|
recorded_with: VCR 2.9.2
|
data/vcr_cassettes/claims.yml
CHANGED
@@ -11,15 +11,15 @@ http_interactions:
|
|
11
11
|
Ins Co","plan_id":"1234567890"}}'
|
12
12
|
headers:
|
13
13
|
User-Agent:
|
14
|
-
- pokitdok-ruby 0.4.1 ruby 2.
|
14
|
+
- pokitdok-ruby 0.4.1 ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0]
|
15
15
|
Authorization:
|
16
|
-
- Bearer
|
16
|
+
- Bearer zwHIWGYIyYqGAZgczUzBpsGrhaRZFmd6mQqLaTFR
|
17
17
|
Content-Type:
|
18
18
|
- application/json
|
19
19
|
Accept-Encoding:
|
20
20
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
21
21
|
Accept:
|
22
|
-
-
|
22
|
+
- "*/*"
|
23
23
|
response:
|
24
24
|
status:
|
25
25
|
code: 200
|
@@ -28,7 +28,7 @@ http_interactions:
|
|
28
28
|
Content-Type:
|
29
29
|
- text/html; charset=utf-8
|
30
30
|
Content-Length:
|
31
|
-
- '
|
31
|
+
- '2195'
|
32
32
|
Mimetype:
|
33
33
|
- application/json
|
34
34
|
Charset:
|
@@ -36,37 +36,36 @@ http_interactions:
|
|
36
36
|
Server:
|
37
37
|
- Werkzeug/0.9.4 Python/2.7.3
|
38
38
|
Date:
|
39
|
-
- Wed,
|
39
|
+
- Wed, 22 Oct 2014 19:18:49 GMT
|
40
40
|
body:
|
41
41
|
encoding: UTF-8
|
42
|
-
string: '{"meta": {"rate_limit_amount":
|
43
|
-
"
|
44
|
-
|
45
|
-
"
|
46
|
-
|
47
|
-
"
|
48
|
-
|
49
|
-
|
50
|
-
"
|
51
|
-
"
|
52
|
-
"
|
53
|
-
"
|
54
|
-
"
|
55
|
-
"
|
56
|
-
"
|
57
|
-
"
|
58
|
-
|
59
|
-
"
|
60
|
-
"
|
61
|
-
|
62
|
-
"
|
63
|
-
"
|
64
|
-
"
|
65
|
-
|
66
|
-
"
|
67
|
-
"
|
68
|
-
"
|
69
|
-
"Initializing"}]}}'
|
42
|
+
string: '{"meta": {"rate_limit_amount": 4, "rate_limit_reset": 1414009128, "application_mode":
|
43
|
+
"test", "processing_time": 15, "rate_limit_cap": 8434, "credits_remaining":
|
44
|
+
13443, "activity_id": "5448031956c02c447eb7da95", "credits_billed": 1}, "data":
|
45
|
+
{"units_of_work": 1, "name": "claims", "parameters": {"claim": {"plan_participation":
|
46
|
+
"assigned", "provider_signature": true, "total_charge_amount": "60.0", "claim_frequency":
|
47
|
+
"original", "place_of_service": "office", "direct_payment": "y", "patient_signature_on_file":
|
48
|
+
true, "information_release": "informed_consent", "service_lines": [{"diagnosis_codes":
|
49
|
+
["487.1"], "unit_count": "1.0", "unit_type": "units", "charge_amount": "60.0",
|
50
|
+
"service_date": "2014-06-01", "procedure_code": "99213"}]}, "trading_partner_id":
|
51
|
+
"MOCKPAYER", "payer": {"organization_name": "MOCKPAYER", "plan_id": "MOCKPAYER"},
|
52
|
+
"subscriber": {"first_name": "Jane", "last_name": "Doe", "gender": "female",
|
53
|
+
"member_id": "W000000000", "payer_responsibility": "primary", "address": {"address_lines":
|
54
|
+
["123 N MAIN ST"], "state": "SC", "zipcode": "29301", "city": "SPARTANBURG"},
|
55
|
+
"birth_date": "1970-01-01"}, "correlation_id": "e31fdf4f-44af-4c12-86a8-dc88dd51732e",
|
56
|
+
"client_id": "WbkhoNbwuJRWdz0w9Ehl", "receiver": {"organization_name": "MOCKRECEIVER",
|
57
|
+
"id": "MOCKRECEIVER"}, "submitter": {"organization_name": "POKITDOK TESTING",
|
58
|
+
"id": "POKITDOKTEST", "email": "support@pokitdok.com"}, "async": false, "billing_provider":
|
59
|
+
{"first_name": "Jerome", "last_name": "Aya-Ay", "npi": "1467560003", "taxonomy_code":
|
60
|
+
"207Q00000X", "address": {"address_lines": ["8311 WARREN H ABERNATHY HWY"],
|
61
|
+
"state": "SC", "zipcode": "29301", "city": "SPARTANBURG"}, "tax_id": "123456789"},
|
62
|
+
"transaction_code": "chargeable"}, "remaining_transitions": ["generate", "store",
|
63
|
+
"transmit", "wait", "receive", "process", "complete"], "state": {"name": "scheduled",
|
64
|
+
"title": "Scheduled for next available transmission to Trading Partner"},
|
65
|
+
"trading_partner_id": "MOCKPAYER", "id": "5448031956c02c447eb7da95", "transition_path":
|
66
|
+
["schedule", "generate", "store", "transmit", "wait", "receive", "process",
|
67
|
+
"complete"], "history": [{"record_dt": "2014-10-22T19:18:49.021774", "name":
|
68
|
+
"init", "title": "Initializing"}]}}'
|
70
69
|
http_version:
|
71
|
-
recorded_at: Wed,
|
70
|
+
recorded_at: Wed, 22 Oct 2014 19:18:48 GMT
|
72
71
|
recorded_with: VCR 2.9.2
|
@@ -8,15 +8,15 @@ 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.4.1 ruby 2.
|
11
|
+
- pokitdok-ruby 0.4.1 ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0]
|
12
12
|
Authorization:
|
13
|
-
- Bearer
|
13
|
+
- Bearer zwHIWGYIyYqGAZgczUzBpsGrhaRZFmd6mQqLaTFR
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
16
|
Accept-Encoding:
|
17
17
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
18
|
Accept:
|
19
|
-
-
|
19
|
+
- "*/*"
|
20
20
|
response:
|
21
21
|
status:
|
22
22
|
code: 200
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- text/html; charset=utf-8
|
27
27
|
Content-Length:
|
28
|
-
- '
|
28
|
+
- '2053'
|
29
29
|
Mimetype:
|
30
30
|
- application/json
|
31
31
|
Charset:
|
@@ -33,35 +33,35 @@ http_interactions:
|
|
33
33
|
Server:
|
34
34
|
- Werkzeug/0.9.4 Python/2.7.3
|
35
35
|
Date:
|
36
|
-
- Wed,
|
36
|
+
- Wed, 22 Oct 2014 19:18:48 GMT
|
37
37
|
body:
|
38
38
|
encoding: UTF-8
|
39
|
-
string: '{"meta": {"rate_limit_amount":
|
40
|
-
"
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
"
|
45
|
-
"
|
46
|
-
|
47
|
-
"
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
"
|
52
|
-
"
|
53
|
-
|
54
|
-
|
55
|
-
"
|
39
|
+
string: '{"meta": {"rate_limit_amount": 3, "rate_limit_reset": 1414009128, "application_mode":
|
40
|
+
"test", "processing_time": 116, "rate_limit_cap": 8434, "credits_remaining":
|
41
|
+
13444, "activity_id": "5448031856c02c447cb7da95", "credits_billed": 1}, "data":
|
42
|
+
{"patient": {"claims": [{"applied_to_deductible": false, "total_claim_amount":
|
43
|
+
{"currency": "USD", "amount": "150"}, "service_end_date": "2014-01-01", "claim_control_number":
|
44
|
+
"E1TWCYYMF00", "service_date": "2014-01-01", "claim_payment_amount": {"currency":
|
45
|
+
"USD", "amount": "125"}, "adjudication_finalized_date": "2014-03-21", "statuses":
|
46
|
+
[{"total_claim_amount": {"currency": "USD", "amount": "150"}, "status_category":
|
47
|
+
"Finalized/Payment-The claim/line has been paid.", "status_code": "Processed
|
48
|
+
according to contract provisions (Contract refers to provisions that exist
|
49
|
+
between the Health Plan and a Provider of Health Care Services)", "claim_payment_amount":
|
50
|
+
{"currency": "USD", "amount": "125"}, "adjudication_finalized_date": "2014-03-21",
|
51
|
+
"status_effective_date": "2014-04-24", "check_number": "08608-035632423",
|
52
|
+
"remittance_date": "2014-04-09"}], "tracking_id": "E1TWCYYMF", "services":
|
53
|
+
[{"cpt_code": "99214", "service_end_date": "2014-03-05", "payment_amount":
|
54
|
+
{"currency": "USD", "amount": "125"}, "charge_amount": {"currency": "USD",
|
55
|
+
"amount": "150"}, "service_date": "2014-03-05", "statuses": [{"status_code":
|
56
56
|
"Processed according to contract provisions (Contract refers to provisions
|
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": "WbkhoNbwuJRWdz0w9Ehl", "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": "d3d9ab46-85f2-4a30-b6ec-45af3c10396a",
|
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: Wed,
|
66
|
+
recorded_at: Wed, 22 Oct 2014 19:18:48 GMT
|
67
67
|
recorded_with: VCR 2.9.2
|
@@ -8,15 +8,15 @@ 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.4.1 ruby 2.
|
11
|
+
- pokitdok-ruby 0.4.1 ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0]
|
12
12
|
Authorization:
|
13
|
-
- Bearer
|
13
|
+
- Bearer zwHIWGYIyYqGAZgczUzBpsGrhaRZFmd6mQqLaTFR
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
16
|
Accept-Encoding:
|
17
17
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
18
|
Accept:
|
19
|
-
-
|
19
|
+
- "*/*"
|
20
20
|
response:
|
21
21
|
status:
|
22
22
|
code: 200
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- text/html; charset=utf-8
|
27
27
|
Content-Length:
|
28
|
-
- '
|
28
|
+
- '6474'
|
29
29
|
Mimetype:
|
30
30
|
- application/json
|
31
31
|
Charset:
|
@@ -33,39 +33,39 @@ http_interactions:
|
|
33
33
|
Server:
|
34
34
|
- Werkzeug/0.9.4 Python/2.7.3
|
35
35
|
Date:
|
36
|
-
- Wed,
|
36
|
+
- Wed, 22 Oct 2014 19:18:49 GMT
|
37
37
|
body:
|
38
38
|
encoding: UTF-8
|
39
|
-
string: '{"meta": {"rate_limit_amount":
|
40
|
-
"
|
41
|
-
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
45
|
-
|
46
|
-
"USD", "amount": "
|
47
|
-
"
|
48
|
-
{"currency": "USD", "amount": "
|
49
|
-
"
|
50
|
-
"
|
51
|
-
"USD", "amount": "
|
52
|
-
"amount": "
|
53
|
-
{"
|
54
|
-
"
|
55
|
-
"
|
56
|
-
|
57
|
-
"
|
58
|
-
"
|
59
|
-
"
|
60
|
-
"
|
61
|
-
|
62
|
-
"
|
63
|
-
"
|
64
|
-
|
65
|
-
|
66
|
-
"
|
67
|
-
|
68
|
-
"
|
39
|
+
string: '{"meta": {"rate_limit_amount": 6, "rate_limit_reset": 1414009128, "application_mode":
|
40
|
+
"test", "processing_time": 168, "rate_limit_cap": 8434, "credits_remaining":
|
41
|
+
13441, "activity_id": "5448031956c02c4483b7da95", "credits_billed": 1}, "data":
|
42
|
+
{"service_types": ["professional_physician_visit_office"], "client_id": "WbkhoNbwuJRWdz0w9Ehl",
|
43
|
+
"payer": {"id": "MOCKPAYER", "name": "MOCK PAYER INC"}, "summary": {"deductible":
|
44
|
+
{"individual": {"in_network": {"applied": {"currency": "USD", "amount": "16.43"},
|
45
|
+
"limit": {"currency": "USD", "amount": "3000"}, "remaining": {"currency":
|
46
|
+
"USD", "amount": "2983.57"}}, "out_of_network": {"applied": {"currency": "USD",
|
47
|
+
"amount": "16.43"}, "limit": {"currency": "USD", "amount": "6000"}, "remaining":
|
48
|
+
{"currency": "USD", "amount": "5983.57"}}}, "family": {"in_network": {"applied":
|
49
|
+
{"currency": "USD", "amount": "43.91"}, "limit": {"currency": "USD", "amount":
|
50
|
+
"6000"}, "remaining": {"currency": "USD", "amount": "5956.09"}}, "out_of_network":
|
51
|
+
{"applied": {"currency": "USD", "amount": "43.91"}, "limit": {"currency":
|
52
|
+
"USD", "amount": "12000"}, "remaining": {"currency": "USD", "amount": "11956.09"}}}}},
|
53
|
+
"subscriber": {"birth_date": "1970-01-01", "first_name": "Jane", "last_name":
|
54
|
+
"Doe", "id": "W000000000", "address": {"city": "SPARTANBURG", "state": "SC",
|
55
|
+
"zipcode": "29307", "address_lines": ["123 MAIN ST"]}}, "correlation_id":
|
56
|
+
"f31fc426-a6f7-43f3-b8c7-9f7fe719ee2f", "trading_partner_id": "MOCKPAYER",
|
57
|
+
"provider": {"first_name": "JEROME", "last_name": "JEROME AYA-AY", "npi":
|
58
|
+
"1467560003"}, "coverage": {"plan_number": "0888188", "service_types": ["professional_physician_visit_office"],
|
59
|
+
"group_number": "088818801000013", "out_of_pocket": [{"in_plan_network": "yes",
|
60
|
+
"benefit_amount": {"currency": "USD", "amount": "3000"}, "coverage_level":
|
61
|
+
"individual"}, {"in_plan_network": "yes", "benefit_amount": {"currency": "USD",
|
62
|
+
"amount": "2983.57"}, "coverage_level": "individual", "time_period": "remaining"},
|
63
|
+
{"in_plan_network": "yes", "benefit_amount": {"currency": "USD", "amount":
|
64
|
+
"6000"}, "coverage_level": "family"}, {"in_plan_network": "yes", "benefit_amount":
|
65
|
+
{"currency": "USD", "amount": "5956.09"}, "coverage_level": "family", "time_period":
|
66
|
+
"remaining"}, {"in_plan_network": "no", "benefit_amount": {"currency": "USD",
|
67
|
+
"amount": "12500"}, "coverage_level": "individual"}, {"in_plan_network": "no",
|
68
|
+
"benefit_amount": {"currency": "USD", "amount": "12483.57"}, "coverage_level":
|
69
69
|
"individual", "time_period": "remaining"}, {"in_plan_network": "no", "benefit_amount":
|
70
70
|
{"currency": "USD", "amount": "25000"}, "coverage_level": "family"}, {"in_plan_network":
|
71
71
|
"no", "benefit_amount": {"currency": "USD", "amount": "24956.09"}, "coverage_level":
|
@@ -117,5 +117,5 @@ http_interactions:
|
|
117
117
|
"MOCK INDIVIDUAL ADVANTAGE PLAN", "service_date": "2013-08-10"}, "valid_request":
|
118
118
|
true}}'
|
119
119
|
http_version:
|
120
|
-
recorded_at: Wed,
|
120
|
+
recorded_at: Wed, 22 Oct 2014 19:18:49 GMT
|
121
121
|
recorded_with: VCR 2.9.2
|