pokitdok-ruby 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/.travis.yml +8 -0
- data/Gemfile +21 -0
- data/Gemfile.lock +140 -0
- data/Guardfile +18 -0
- data/LICENSE.txt +21 -0
- data/README.md +80 -0
- data/Rakefile +59 -0
- data/VERSION +1 -0
- data/lib/pokitdok.rb +167 -0
- data/pokitdok-ruby.gemspec +114 -0
- data/spec/fixtures/claim.json +116 -0
- data/spec/fixtures/enrollment.json +81 -0
- data/spec/fixtures/sample.270 +131 -0
- data/spec/pokitdok_spec.rb +168 -0
- data/spec/spec_helper.rb +44 -0
- data/spec/vcr_setup.rb +11 -0
- data/vcr_cassettes/activities.yml +512 -0
- data/vcr_cassettes/auth.yml +41 -0
- data/vcr_cassettes/claims.yml +99 -0
- data/vcr_cassettes/eligibility.yml +131 -0
- data/vcr_cassettes/enrollment.yml +85 -0
- data/vcr_cassettes/files.yml +57 -0
- data/vcr_cassettes/insurance_prices.yml +42 -0
- data/vcr_cassettes/payers.yml +163 -0
- data/vcr_cassettes/providers.yml +526 -0
- metadata +309 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
require 'simplecov'
|
4
|
+
|
5
|
+
module SimpleCov
|
6
|
+
# Setup SimpleCov.
|
7
|
+
module Configuration
|
8
|
+
def clean_filters
|
9
|
+
@filters = []
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
SimpleCov.configure do
|
15
|
+
clean_filters
|
16
|
+
load_profile 'test_frameworks'
|
17
|
+
end
|
18
|
+
|
19
|
+
ENV['COVERAGE'] && SimpleCov.start do
|
20
|
+
add_filter '/.rvm/'
|
21
|
+
end
|
22
|
+
|
23
|
+
require 'rubygems'
|
24
|
+
require 'bundler'
|
25
|
+
begin
|
26
|
+
Bundler.setup(:default, :development)
|
27
|
+
rescue Bundler::BundlerError => e
|
28
|
+
$stderr.puts e.message
|
29
|
+
$stderr.puts 'Run `bundle install` to install missing gems'
|
30
|
+
exit e.status_code
|
31
|
+
end
|
32
|
+
|
33
|
+
require 'minitest/autorun'
|
34
|
+
require 'minitest/unit'
|
35
|
+
require 'minitest/reporters'
|
36
|
+
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
|
37
|
+
require 'mocha/mini_test'
|
38
|
+
require 'vcr_setup'
|
39
|
+
|
40
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
41
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
42
|
+
require 'pokitdok'
|
43
|
+
|
44
|
+
MiniTest.autorun
|
data/spec/vcr_setup.rb
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'vcr'
|
2
|
+
|
3
|
+
VCR.configure do |c|
|
4
|
+
c.cassette_library_dir = 'vcr_cassettes'
|
5
|
+
c.hook_into :webmock
|
6
|
+
c.allow_http_connections_when_no_cassette = true
|
7
|
+
c.default_cassette_options = {
|
8
|
+
match_requests_on: [:method, :uri, :path],
|
9
|
+
record: :new_episodes
|
10
|
+
}
|
11
|
+
end
|
@@ -0,0 +1,512 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://localhost:5002/api/v3/activities
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- pokitdok-ruby 0.2.1 ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]
|
12
|
+
Authorization:
|
13
|
+
- Bearer BR8J2PXhCIVnkwWLRsESQWSI198fztONOGc6Evlf
|
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: 301
|
21
|
+
message: MOVED PERMANENTLY
|
22
|
+
headers:
|
23
|
+
Content-Type:
|
24
|
+
- text/html; charset=utf-8
|
25
|
+
Content-Length:
|
26
|
+
- '287'
|
27
|
+
Location:
|
28
|
+
- http://localhost:5002/api/v3/activities/
|
29
|
+
Server:
|
30
|
+
- Werkzeug/0.9.4 Python/2.7.3
|
31
|
+
Date:
|
32
|
+
- Tue, 03 Jun 2014 20:30:50 GMT
|
33
|
+
body:
|
34
|
+
encoding: UTF-8
|
35
|
+
string: |-
|
36
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
37
|
+
<title>Redirecting...</title>
|
38
|
+
<h1>Redirecting...</h1>
|
39
|
+
<p>You should be redirected automatically to target URL: <a href="http://localhost:5002/api/v3/activities/">http://localhost:5002/api/v3/activities/</a>. If not click the link.
|
40
|
+
http_version:
|
41
|
+
recorded_at: Tue, 03 Jun 2014 20:30:50 GMT
|
42
|
+
- request:
|
43
|
+
method: get
|
44
|
+
uri: http://localhost:5002/api/v3/activities/
|
45
|
+
body:
|
46
|
+
encoding: US-ASCII
|
47
|
+
string: ''
|
48
|
+
headers:
|
49
|
+
User-Agent:
|
50
|
+
- pokitdok-ruby 0.2.1 ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]
|
51
|
+
Authorization:
|
52
|
+
- Bearer BR8J2PXhCIVnkwWLRsESQWSI198fztONOGc6Evlf
|
53
|
+
Accept-Encoding:
|
54
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
55
|
+
Accept:
|
56
|
+
- "*/*"
|
57
|
+
response:
|
58
|
+
status:
|
59
|
+
code: 200
|
60
|
+
message: OK
|
61
|
+
headers:
|
62
|
+
Content-Type:
|
63
|
+
- text/html; charset=utf-8
|
64
|
+
Content-Length:
|
65
|
+
- '35320'
|
66
|
+
Mimetype:
|
67
|
+
- application/json
|
68
|
+
Charset:
|
69
|
+
- utf-8
|
70
|
+
Server:
|
71
|
+
- Werkzeug/0.9.4 Python/2.7.3
|
72
|
+
Date:
|
73
|
+
- Tue, 03 Jun 2014 20:30:50 GMT
|
74
|
+
body:
|
75
|
+
encoding: UTF-8
|
76
|
+
string: '{"meta": {"processing_time": 7, "rate_limit_amount": 34, "rate_limit_reset":
|
77
|
+
1401829297, "next": "http://localhost:5002/api/v3/activities/?offset=20",
|
78
|
+
"rate_limit_cap": 8434}, "data": [{"units_of_work": 1, "_type": "PlatformActivityModel",
|
79
|
+
"name": "claims", "parameters": {"state": "CA"}, "update_dt": "Fri May 16
|
80
|
+
21:02:17 2014", "remaining_transitions": [], "major_version": "3", "state":
|
81
|
+
{"name": "completed", "title": "Completed"}, "deleted": false, "correlation_id":
|
82
|
+
"d7c1f0cf-a2d8-4fbe-ab94-879e4bed2a42", "version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5",
|
83
|
+
"trading_partner_id": "PokitDok", "_id": "538e05c056c02c40598300e5", "insert_dt":
|
84
|
+
"Thu May 15 17:45:31 2014", "transition_path": ["process", "complete"], "history":
|
85
|
+
[{"record_dt": "Tue Jun 3 17:28:32 2014", "name": "init", "title": "Initializing"},
|
86
|
+
{"record_dt": "Tue Jun 3 17:28:33 2014", "name": "processing", "title": "Processing
|
87
|
+
X12 transactions"}]}, {"units_of_work": 1, "_type": "PlatformActivityModel",
|
88
|
+
"name": "providers", "parameters": {"member_name": "Junior Spencer", "service_types":
|
89
|
+
["Health Benefit Plan Coverage"], "client_id": "4nhMZTpLxBxmiocveVb5", "update_dt":
|
90
|
+
"Tue Jun 3 16:07:20 2014", "deleted": false, "payer_name": "Mock Payer for
|
91
|
+
Testing", "major_version": "3", "provider_id": "314087243", "payer_id": null,
|
92
|
+
"control_number": "000000001", "correlation_id": "3fb9a7b3-d83b-48d6-bc3e-50c87c5d10d4",
|
93
|
+
"version": "3.0.0", "member_first_name": "Junior", "trading_partner_id": "MOCKPAYER",
|
94
|
+
"member_id": "762008086", "member_last_name": "Spencer", "provider_name":
|
95
|
+
"Heathcote, Fahey and McCullough", "member_birth_date": "Sat Jan 6 00:00:00
|
96
|
+
1990", "insert_dt": "Tue Jun 3 16:07:20 2014", "provider_type": "Non-Person
|
97
|
+
Entity"}, "update_dt": "Thu May 15 12:10:40 2014", "remaining_transitions":
|
98
|
+
["wait", "receive", "process", "complete"], "major_version": "3", "state":
|
99
|
+
{"name": "failed", "title": "Failed"}, "deleted": false, "correlation_id":
|
100
|
+
"3fb9a7b3-d83b-48d6-bc3e-50c87c5d10d4", "version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5",
|
101
|
+
"trading_partner_id": "MOCKPAYER", "_id": "538df2b856c02c36fb6c2f05", "insert_dt":
|
102
|
+
"Fri May 9 19:20:45 2014", "transition_path": ["generate", "transmit", "wait",
|
103
|
+
"receive", "process", "complete"], "history": [{"record_dt": "Tue Jun 3 16:07:20
|
104
|
+
2014", "name": "init", "title": "Initializing"}, {"record_dt": "Tue Jun 3
|
105
|
+
16:07:20 2014", "name": "generating", "title": "Generating X12 transactions"}]},
|
106
|
+
{"units_of_work": 1, "_type": "PlatformActivityModel", "name": "providers",
|
107
|
+
"parameters": {"claim": {"dates": [{"date_value": "Tue Apr 15 00:00:00 2014",
|
108
|
+
"date_qualifier": "Onset of Symptom or Illness"}], "facility_code_value":
|
109
|
+
"11", "claim_total_amount": {"currency": "USD", "amount": "40.0"}, "health_care_codes":
|
110
|
+
[{"health_care_code_1": "BK:0340", "health_care_code_2": "BF:V7389"}], "assignment_code":
|
111
|
+
"Assigned", "information_release_code": "Informed Consent", "facility_code_qualifier":
|
112
|
+
"B", "benefit_assignment_code": "Yes", "claim_frequency_code": "1", "provider_signature_on_file":
|
113
|
+
"Y", "service_lines": [{"medical_service_unit": "Unit", "medical_service_quantity":
|
114
|
+
"1.0", "medical_procedure_identifier": "HC:99213", "dates": [{"date_value":
|
115
|
+
"Wed Apr 16 00:00:00 2014", "date_qualifier": "Service Date"}], "medical_diagnosis_code":
|
116
|
+
"1", "medical_charge_amount": {"currency": "USD", "amount": "40.0"}}], "ref":
|
117
|
+
[{"id_type": "Claim Number", "id_code": "1234567890"}], "patient_control_number":
|
118
|
+
"26462967"}, "transaction_purpose_code": "Original", "payer": {"id_code":
|
119
|
+
"HPHC", "entity_identifier": "Payer", "id_type": "Payor Identification", "last_org_name":
|
120
|
+
"HARVARD PILGRIM HEALTH CARE", "entity_type": "Non-Person"}, "update_dt":
|
121
|
+
"Tue Jun 3 17:28:32 2014", "deleted": false, "major_version": "3", "transaction_type":
|
122
|
+
"Reporting", "subscriber": {"city": "BURLINGTON", "first_name": "TED", "entity_identifier":
|
123
|
+
"Subscriber", "last_org_name": "SMITH", "entity_type": "Person", "group_number":
|
124
|
+
"12312-A", "gender_code": "Male", "id_code": "HP123456700", "relationship_code":
|
125
|
+
"Self", "is_patient": true, "state": "MA", "payer_responsibility": "Primary",
|
126
|
+
"id_type": "Member ID", "birth_date": "Sat May 1 00:00:00 1943", "postal_code":
|
127
|
+
"01803", "claim_filing_code": "Health Maintenance Organization", "address_line_1":
|
128
|
+
"123 MAIN ST"}, "correlation_id": "11e00a63-959d-4686-be9c-3438a97797de",
|
129
|
+
"version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5", "trading_partner_id":
|
130
|
+
"MOCKPAYER", "receiver": {"id_code": "HPHC", "entity_identifier": "Receiver",
|
131
|
+
"id_type": "ETIN", "last_org_name": "HPHC", "entity_type": "Non-Person"},
|
132
|
+
"submitter": {"id_code": "123456789", "entity_identifier": "Submitter", "id_type":
|
133
|
+
"ETIN", "last_org_name": "ACME, INC.", "entity_type": "Non-Person"}, "billing_provider":
|
134
|
+
{"city": "BURLINGTON", "entity_identifier": "Billing Provider", "last_org_name":
|
135
|
+
"KATIE BRADFORD", "entity_type": "Non-Person", "provider_id_type": "Provider
|
136
|
+
Taxonomy Code", "id_code": "1730240128", "state": "MA", "provider_id_code":
|
137
|
+
"133V00000X", "postal_code": "018033744", "id_type": "NPI", "provider_code":
|
138
|
+
"Billing", "ref": [{"id_type": "Employee Identification Number", "id_code":
|
139
|
+
"587654321"}], "address_line_1": "418 FARMS DR"}, "insert_dt": "Tue Jun 3
|
140
|
+
17:28:32 2014", "app_transaction_id": "00000000001"}, "update_dt": "Tue May
|
141
|
+
27 20:19:02 2014", "remaining_transitions": ["generate", "transmit", "wait",
|
142
|
+
"receive", "process", "complete"], "major_version": "3", "state": {"name":
|
143
|
+
"pending", "title": "Pending Batch Transmission to Trading Partner"}, "deleted":
|
144
|
+
false, "correlation_id": "11e00a63-959d-4686-be9c-3438a97797de", "version":
|
145
|
+
"3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5", "trading_partner_id": "MOCKPAYER",
|
146
|
+
"_id": "538e05c056c02c40598300e3", "insert_dt": "Wed May 7 12:39:31 2014",
|
147
|
+
"transition_path": ["batch", "generate", "transmit", "wait", "receive", "process",
|
148
|
+
"complete"], "history": [{"record_dt": "Tue Jun 3 17:28:32 2014", "name":
|
149
|
+
"init", "title": "Initializing"}]}, {"units_of_work": 1, "_type": "PlatformActivityModel",
|
150
|
+
"name": "providers", "parameters": {"state": "CA"}, "update_dt": "Tue Jun 3
|
151
|
+
15:51:28 2014", "remaining_transitions": [], "major_version": "3", "state":
|
152
|
+
{"name": "completed", "title": "Completed"}, "deleted": false, "correlation_id":
|
153
|
+
"26774f6c-3c84-4b04-8849-916d4ce72fa8", "version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5",
|
154
|
+
"trading_partner_id": "PokitDok", "_id": "538e05c156c02c40598300e6", "insert_dt":
|
155
|
+
"Mon Jun 2 09:34:34 2014", "transition_path": ["process", "complete"], "history":
|
156
|
+
[{"record_dt": "Tue Jun 3 17:28:33 2014", "name": "init", "title": "Initializing"},
|
157
|
+
{"record_dt": "Tue Jun 3 17:28:33 2014", "name": "processing", "title": "Processing
|
158
|
+
X12 transactions"}]}, {"units_of_work": 1, "_type": "PlatformActivityModel",
|
159
|
+
"name": "cash_prices", "parameters": {"state": "CA"}, "update_dt": "Mon May
|
160
|
+
12 22:29:01 2014", "remaining_transitions": [], "major_version": "3", "state":
|
161
|
+
{"name": "completed", "title": "Completed"}, "deleted": false, "correlation_id":
|
162
|
+
"96573196-0ad6-4b13-a335-e867b705a1b9", "version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5",
|
163
|
+
"trading_partner_id": "PokitDok", "_id": "538e06a456c02c40598300e8", "insert_dt":
|
164
|
+
"Wed May 7 15:15:56 2014", "transition_path": ["process", "complete"], "history":
|
165
|
+
[{"record_dt": "Tue Jun 3 17:32:20 2014", "name": "init", "title": "Initializing"},
|
166
|
+
{"record_dt": "Tue Jun 3 17:32:20 2014", "name": "processing", "title": "Processing
|
167
|
+
X12 transactions"}]}, {"units_of_work": 1, "_type": "PlatformActivityModel",
|
168
|
+
"name": "enrollment", "parameters": {"state": "CA"}, "update_dt": "Tue Jun 3
|
169
|
+
10:34:38 2014", "remaining_transitions": [], "major_version": "3", "state":
|
170
|
+
{"name": "completed", "title": "Completed"}, "deleted": false, "correlation_id":
|
171
|
+
"94016599-45c8-45e9-976b-5e20173191c2", "version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5",
|
172
|
+
"trading_partner_id": "PokitDok", "_id": "538e07f456c02c40598300eb", "insert_dt":
|
173
|
+
"Wed May 21 02:19:33 2014", "transition_path": ["process", "complete"], "history":
|
174
|
+
[{"record_dt": "Tue Jun 3 17:37:56 2014", "name": "init", "title": "Initializing"},
|
175
|
+
{"record_dt": "Tue Jun 3 17:37:56 2014", "name": "processing", "title": "Processing
|
176
|
+
X12 transactions"}]}, {"units_of_work": 1, "_type": "PlatformActivityModel",
|
177
|
+
"name": "providers", "parameters": {"state": "CA"}, "update_dt": "Sat May
|
178
|
+
31 18:00:15 2014", "remaining_transitions": [], "major_version": "3", "state":
|
179
|
+
{"name": "completed", "title": "Completed"}, "deleted": false, "correlation_id":
|
180
|
+
"8e6c7310-79a4-4993-aafe-40b66b5dfd28", "version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5",
|
181
|
+
"trading_partner_id": "PokitDok", "_id": "538e07f856c02c40598300f0", "insert_dt":
|
182
|
+
"Mon May 26 12:01:32 2014", "transition_path": ["process", "complete"], "history":
|
183
|
+
[{"record_dt": "Tue Jun 3 17:38:00 2014", "name": "init", "title": "Initializing"},
|
184
|
+
{"record_dt": "Tue Jun 3 17:38:00 2014", "name": "processing", "title": "Processing
|
185
|
+
X12 transactions"}]}, {"units_of_work": 1, "_type": "PlatformActivityModel",
|
186
|
+
"name": "providers", "parameters": {"reference_number": "12456", "version":
|
187
|
+
"3.0.0", "payer": {"tax_id": "654456654"}, "update_dt": "Wed Mar 26 22:18:47
|
188
|
+
2014", "deleted": false, "major_version": "3", "subscriber": {"maintenance_type":
|
189
|
+
"Addition", "first_name": "JOHN", "last_name": "DOE", "benefits": [{"maintenance_type":
|
190
|
+
"Addition", "late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996",
|
191
|
+
"benefit_type": "Health", "coordination_of_benefits": [{"status": "Unknown",
|
192
|
+
"group_or_policy_number": "890111", "payer_responsibility": "Primary"}]},
|
193
|
+
{"maintenance_type": "Addition", "late_enrollment": false, "begin_date": "Sat
|
194
|
+
Jun 1 00:00:00 1996", "benefit_type": "Dental"}, {"maintenance_type": "Addition",
|
195
|
+
"late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996", "benefit_type":
|
196
|
+
"Vision"}], "relationship": "Self", "contacts": [{"communication_type2": "Work
|
197
|
+
Phone Number", "primary_communication_type": "Home Phone Number", "communication_number2":
|
198
|
+
"7172341240", "primary_communication_number": "7172343334"}], "benefit_status":
|
199
|
+
"Active", "gender": "Male", "employment_status": "Full-time", "subscriber_number":
|
200
|
+
"123456789", "group_or_policy_number": "123456001", "maintenance_reason":
|
201
|
+
"Active", "handicapped": false, "eligibility_begin_date": "Thu May 23 00:00:00
|
202
|
+
1996", "ssn": "123456789", "address": {"city": "CAMP HILL", "line2": "APT
|
203
|
+
3G", "county": "CUMBERLAND", "state": "PA", "postal_code": "17011", "line":
|
204
|
+
"100 MARKET ST"}, "member_id": "123456789", "birth_date": "Fri Aug 16 00:00:00
|
205
|
+
1940", "middle_name": "P", "substance_abuse": false, "tobacco_use": false},
|
206
|
+
"correlation_id": "b702f678-856d-45eb-a366-1f4a65542295", "insert_dt": "Wed
|
207
|
+
Mar 26 22:18:47 2014", "client_id": "4nhMZTpLxBxmiocveVb5", "purpose": "Original",
|
208
|
+
"trading_partner_id": "MOCKPAYER", "action": "Change", "dependents": [], "sponsor":
|
209
|
+
{"tax_id": "999888777"}}, "update_dt": "Tue Jun 3 13:59:30 2014", "remaining_transitions":
|
210
|
+
["generate", "store", "transmit", "wait", "receive", "process", "complete"],
|
211
|
+
"major_version": "3", "state": {"name": "pending", "title": "Pending Batch
|
212
|
+
Transmission to Trading Partner"}, "deleted": false, "correlation_id": "b702f678-856d-45eb-a366-1f4a65542295",
|
213
|
+
"version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5", "trading_partner_id":
|
214
|
+
"MOCKPAYER", "_id": "538e05c056c02c40598300e4", "insert_dt": "Sun May 11 00:42:01
|
215
|
+
2014", "transition_path": ["batch", "generate", "store", "transmit", "wait",
|
216
|
+
"receive", "process", "complete"], "history": [{"record_dt": "Tue Jun 3 17:28:32
|
217
|
+
2014", "name": "init", "title": "Initializing"}]}, {"units_of_work": 1, "_type":
|
218
|
+
"PlatformActivityModel", "name": "cash_prices", "parameters": {"claim": {"dates":
|
219
|
+
[{"date_value": "Tue Apr 15 00:00:00 2014", "date_qualifier": "Onset of Symptom
|
220
|
+
or Illness"}], "facility_code_value": "11", "claim_total_amount": {"currency":
|
221
|
+
"USD", "amount": "40.0"}, "health_care_codes": [{"health_care_code_1": "BK:0340",
|
222
|
+
"health_care_code_2": "BF:V7389"}], "assignment_code": "Assigned", "information_release_code":
|
223
|
+
"Informed Consent", "facility_code_qualifier": "B", "benefit_assignment_code":
|
224
|
+
"Yes", "claim_frequency_code": "1", "provider_signature_on_file": "Y", "service_lines":
|
225
|
+
[{"medical_service_unit": "Unit", "medical_service_quantity": "1.0", "medical_procedure_identifier":
|
226
|
+
"HC:99213", "dates": [{"date_value": "Wed Apr 16 00:00:00 2014", "date_qualifier":
|
227
|
+
"Service Date"}], "medical_diagnosis_code": "1", "medical_charge_amount":
|
228
|
+
{"currency": "USD", "amount": "40.0"}}], "ref": [{"id_type": "Claim Number",
|
229
|
+
"id_code": "1234567890"}], "patient_control_number": "26462967"}, "transaction_purpose_code":
|
230
|
+
"Original", "payer": {"id_code": "HPHC", "entity_identifier": "Payer", "id_type":
|
231
|
+
"Payor Identification", "last_org_name": "HARVARD PILGRIM HEALTH CARE", "entity_type":
|
232
|
+
"Non-Person"}, "update_dt": "Tue Jun 3 17:32:20 2014", "deleted": false,
|
233
|
+
"major_version": "3", "transaction_type": "Reporting", "subscriber": {"city":
|
234
|
+
"BURLINGTON", "first_name": "TED", "entity_identifier": "Subscriber", "last_org_name":
|
235
|
+
"SMITH", "entity_type": "Person", "group_number": "12312-A", "gender_code":
|
236
|
+
"Male", "id_code": "HP123456700", "relationship_code": "Self", "is_patient":
|
237
|
+
true, "state": "MA", "payer_responsibility": "Primary", "id_type": "Member
|
238
|
+
ID", "birth_date": "Sat May 1 00:00:00 1943", "postal_code": "01803", "claim_filing_code":
|
239
|
+
"Health Maintenance Organization", "address_line_1": "123 MAIN ST"}, "correlation_id":
|
240
|
+
"5bc2dd05-b492-40f8-987e-95b4d03654e8", "version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5",
|
241
|
+
"trading_partner_id": "MOCKPAYER", "receiver": {"id_code": "HPHC", "entity_identifier":
|
242
|
+
"Receiver", "id_type": "ETIN", "last_org_name": "HPHC", "entity_type": "Non-Person"},
|
243
|
+
"submitter": {"id_code": "123456789", "entity_identifier": "Submitter", "id_type":
|
244
|
+
"ETIN", "last_org_name": "ACME, INC.", "entity_type": "Non-Person"}, "billing_provider":
|
245
|
+
{"city": "BURLINGTON", "entity_identifier": "Billing Provider", "last_org_name":
|
246
|
+
"KATIE BRADFORD", "entity_type": "Non-Person", "provider_id_type": "Provider
|
247
|
+
Taxonomy Code", "id_code": "1730240128", "state": "MA", "provider_id_code":
|
248
|
+
"133V00000X", "postal_code": "018033744", "id_type": "NPI", "provider_code":
|
249
|
+
"Billing", "ref": [{"id_type": "Employee Identification Number", "id_code":
|
250
|
+
"587654321"}], "address_line_1": "418 FARMS DR"}, "insert_dt": "Tue Jun 3
|
251
|
+
17:32:20 2014", "app_transaction_id": "00000000001"}, "update_dt": "Fri May
|
252
|
+
16 06:08:01 2014", "remaining_transitions": ["generate", "transmit", "wait",
|
253
|
+
"receive", "process", "complete"], "major_version": "3", "state": {"name":
|
254
|
+
"pending", "title": "Pending Batch Transmission to Trading Partner"}, "deleted":
|
255
|
+
false, "correlation_id": "5bc2dd05-b492-40f8-987e-95b4d03654e8", "version":
|
256
|
+
"3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5", "trading_partner_id": "MOCKPAYER",
|
257
|
+
"_id": "538e06a456c02c40598300e7", "insert_dt": "Mon May 12 19:00:00 2014",
|
258
|
+
"transition_path": ["batch", "generate", "transmit", "wait", "receive", "process",
|
259
|
+
"complete"], "history": [{"record_dt": "Tue Jun 3 17:32:20 2014", "name":
|
260
|
+
"init", "title": "Initializing"}]}, {"units_of_work": 1, "_type": "PlatformActivityModel",
|
261
|
+
"name": "cash_prices", "parameters": {"reference_number": "12456", "version":
|
262
|
+
"3.0.0", "payer": {"tax_id": "654456654"}, "update_dt": "Wed Mar 26 22:18:47
|
263
|
+
2014", "deleted": false, "major_version": "3", "subscriber": {"maintenance_type":
|
264
|
+
"Addition", "first_name": "JOHN", "last_name": "DOE", "benefits": [{"maintenance_type":
|
265
|
+
"Addition", "late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996",
|
266
|
+
"benefit_type": "Health", "coordination_of_benefits": [{"status": "Unknown",
|
267
|
+
"group_or_policy_number": "890111", "payer_responsibility": "Primary"}]},
|
268
|
+
{"maintenance_type": "Addition", "late_enrollment": false, "begin_date": "Sat
|
269
|
+
Jun 1 00:00:00 1996", "benefit_type": "Dental"}, {"maintenance_type": "Addition",
|
270
|
+
"late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996", "benefit_type":
|
271
|
+
"Vision"}], "relationship": "Self", "contacts": [{"communication_type2": "Work
|
272
|
+
Phone Number", "primary_communication_type": "Home Phone Number", "communication_number2":
|
273
|
+
"7172341240", "primary_communication_number": "7172343334"}], "benefit_status":
|
274
|
+
"Active", "gender": "Male", "employment_status": "Full-time", "subscriber_number":
|
275
|
+
"123456789", "group_or_policy_number": "123456001", "maintenance_reason":
|
276
|
+
"Active", "handicapped": false, "eligibility_begin_date": "Thu May 23 00:00:00
|
277
|
+
1996", "ssn": "123456789", "address": {"city": "CAMP HILL", "line2": "APT
|
278
|
+
3G", "county": "CUMBERLAND", "state": "PA", "postal_code": "17011", "line":
|
279
|
+
"100 MARKET ST"}, "member_id": "123456789", "birth_date": "Fri Aug 16 00:00:00
|
280
|
+
1940", "middle_name": "P", "substance_abuse": false, "tobacco_use": false},
|
281
|
+
"correlation_id": "173b4754-4f00-4be6-a564-b999c13d0fac", "insert_dt": "Wed
|
282
|
+
Mar 26 22:18:47 2014", "client_id": "4nhMZTpLxBxmiocveVb5", "purpose": "Original",
|
283
|
+
"trading_partner_id": "MOCKPAYER", "action": "Change", "dependents": [], "sponsor":
|
284
|
+
{"tax_id": "999888777"}}, "update_dt": "Mon Jun 2 23:03:33 2014", "remaining_transitions":
|
285
|
+
["generate", "store", "transmit", "wait", "receive", "process", "complete"],
|
286
|
+
"major_version": "3", "state": {"name": "pending", "title": "Pending Batch
|
287
|
+
Transmission to Trading Partner"}, "deleted": false, "correlation_id": "173b4754-4f00-4be6-a564-b999c13d0fac",
|
288
|
+
"version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5", "trading_partner_id":
|
289
|
+
"MOCKPAYER", "_id": "538e06a456c02c40598300ea", "insert_dt": "Fri May 30 17:56:11
|
290
|
+
2014", "transition_path": ["batch", "generate", "store", "transmit", "wait",
|
291
|
+
"receive", "process", "complete"], "history": [{"record_dt": "Tue Jun 3 17:32:20
|
292
|
+
2014", "name": "init", "title": "Initializing"}]}, {"units_of_work": 1, "_type":
|
293
|
+
"PlatformActivityModel", "name": "cash_prices", "parameters": {"claim": {"dates":
|
294
|
+
[{"date_value": "Tue Apr 15 00:00:00 2014", "date_qualifier": "Onset of Symptom
|
295
|
+
or Illness"}], "facility_code_value": "11", "claim_total_amount": {"currency":
|
296
|
+
"USD", "amount": "40.0"}, "health_care_codes": [{"health_care_code_1": "BK:0340",
|
297
|
+
"health_care_code_2": "BF:V7389"}], "assignment_code": "Assigned", "information_release_code":
|
298
|
+
"Informed Consent", "facility_code_qualifier": "B", "benefit_assignment_code":
|
299
|
+
"Yes", "claim_frequency_code": "1", "provider_signature_on_file": "Y", "service_lines":
|
300
|
+
[{"medical_service_unit": "Unit", "medical_service_quantity": "1.0", "medical_procedure_identifier":
|
301
|
+
"HC:99213", "dates": [{"date_value": "Wed Apr 16 00:00:00 2014", "date_qualifier":
|
302
|
+
"Service Date"}], "medical_diagnosis_code": "1", "medical_charge_amount":
|
303
|
+
{"currency": "USD", "amount": "40.0"}}], "ref": [{"id_type": "Claim Number",
|
304
|
+
"id_code": "1234567890"}], "patient_control_number": "26462967"}, "transaction_purpose_code":
|
305
|
+
"Original", "payer": {"id_code": "HPHC", "entity_identifier": "Payer", "id_type":
|
306
|
+
"Payor Identification", "last_org_name": "HARVARD PILGRIM HEALTH CARE", "entity_type":
|
307
|
+
"Non-Person"}, "update_dt": "Tue Jun 3 17:37:56 2014", "deleted": false,
|
308
|
+
"major_version": "3", "transaction_type": "Reporting", "subscriber": {"city":
|
309
|
+
"BURLINGTON", "first_name": "TED", "entity_identifier": "Subscriber", "last_org_name":
|
310
|
+
"SMITH", "entity_type": "Person", "group_number": "12312-A", "gender_code":
|
311
|
+
"Male", "id_code": "HP123456700", "relationship_code": "Self", "is_patient":
|
312
|
+
true, "state": "MA", "payer_responsibility": "Primary", "id_type": "Member
|
313
|
+
ID", "birth_date": "Sat May 1 00:00:00 1943", "postal_code": "01803", "claim_filing_code":
|
314
|
+
"Health Maintenance Organization", "address_line_1": "123 MAIN ST"}, "correlation_id":
|
315
|
+
"3c935fdd-8a44-4b77-951b-0c8cbef5556f", "version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5",
|
316
|
+
"trading_partner_id": "MOCKPAYER", "receiver": {"id_code": "HPHC", "entity_identifier":
|
317
|
+
"Receiver", "id_type": "ETIN", "last_org_name": "HPHC", "entity_type": "Non-Person"},
|
318
|
+
"submitter": {"id_code": "123456789", "entity_identifier": "Submitter", "id_type":
|
319
|
+
"ETIN", "last_org_name": "ACME, INC.", "entity_type": "Non-Person"}, "billing_provider":
|
320
|
+
{"city": "BURLINGTON", "entity_identifier": "Billing Provider", "last_org_name":
|
321
|
+
"KATIE BRADFORD", "entity_type": "Non-Person", "provider_id_type": "Provider
|
322
|
+
Taxonomy Code", "id_code": "1730240128", "state": "MA", "provider_id_code":
|
323
|
+
"133V00000X", "postal_code": "018033744", "id_type": "NPI", "provider_code":
|
324
|
+
"Billing", "ref": [{"id_type": "Employee Identification Number", "id_code":
|
325
|
+
"587654321"}], "address_line_1": "418 FARMS DR"}, "insert_dt": "Tue Jun 3
|
326
|
+
17:37:56 2014", "app_transaction_id": "00000000001"}, "update_dt": "Sat May
|
327
|
+
17 00:31:18 2014", "remaining_transitions": ["generate", "transmit", "wait",
|
328
|
+
"receive", "process", "complete"], "major_version": "3", "state": {"name":
|
329
|
+
"pending", "title": "Pending Batch Transmission to Trading Partner"}, "deleted":
|
330
|
+
false, "correlation_id": "3c935fdd-8a44-4b77-951b-0c8cbef5556f", "version":
|
331
|
+
"3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5", "trading_partner_id": "MOCKPAYER",
|
332
|
+
"_id": "538e07f456c02c40598300ed", "insert_dt": "Sat May 10 03:48:31 2014",
|
333
|
+
"transition_path": ["batch", "generate", "transmit", "wait", "receive", "process",
|
334
|
+
"complete"], "history": [{"record_dt": "Tue Jun 3 17:37:56 2014", "name":
|
335
|
+
"init", "title": "Initializing"}]}, {"units_of_work": 1, "_type": "PlatformActivityModel",
|
336
|
+
"name": "claims_status", "parameters": {"state": "CA"}, "update_dt": "Mon
|
337
|
+
May 26 03:54:09 2014", "remaining_transitions": [], "major_version": "3",
|
338
|
+
"state": {"name": "completed", "title": "Completed"}, "deleted": false, "correlation_id":
|
339
|
+
"7d017bd2-9035-45ad-b0e4-ef922e891493", "version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5",
|
340
|
+
"trading_partner_id": "PokitDok", "_id": "538e07f856c02c40598300f1", "insert_dt":
|
341
|
+
"Wed May 14 03:07:24 2014", "transition_path": ["process", "complete"], "history":
|
342
|
+
[{"record_dt": "Tue Jun 3 17:38:00 2014", "name": "init", "title": "Initializing"},
|
343
|
+
{"record_dt": "Tue Jun 3 17:38:00 2014", "name": "processing", "title": "Processing
|
344
|
+
X12 transactions"}]}, {"units_of_work": 1, "_type": "PlatformActivityModel",
|
345
|
+
"name": "claims_status", "parameters": {"state": "CA"}, "update_dt": "Sun
|
346
|
+
Jun 1 21:41:27 2014", "remaining_transitions": [], "major_version": "3",
|
347
|
+
"state": {"name": "completed", "title": "Completed"}, "deleted": false, "correlation_id":
|
348
|
+
"42dc3010-3256-439f-8cf3-51e3313d1a31", "version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5",
|
349
|
+
"trading_partner_id": "PokitDok", "_id": "538e083c56c02c40598300f3", "insert_dt":
|
350
|
+
"Sat May 31 23:12:37 2014", "transition_path": ["process", "complete"], "history":
|
351
|
+
[{"record_dt": "Tue Jun 3 17:39:08 2014", "name": "init", "title": "Initializing"},
|
352
|
+
{"record_dt": "Tue Jun 3 17:39:08 2014", "name": "processing", "title": "Processing
|
353
|
+
X12 transactions"}]}, {"units_of_work": 1, "_type": "PlatformActivityModel",
|
354
|
+
"name": "deductible", "parameters": {"state": "CA"}, "update_dt": "Tue Jun 3
|
355
|
+
12:47:22 2014", "remaining_transitions": [], "major_version": "3", "state":
|
356
|
+
{"name": "completed", "title": "Completed"}, "deleted": false, "correlation_id":
|
357
|
+
"9de62f4c-aad1-4dc7-a957-a4b5792347ae", "version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5",
|
358
|
+
"trading_partner_id": "PokitDok", "_id": "538e083c56c02c40598300f4", "insert_dt":
|
359
|
+
"Sat May 31 19:42:05 2014", "transition_path": ["process", "complete"], "history":
|
360
|
+
[{"record_dt": "Tue Jun 3 17:39:08 2014", "name": "init", "title": "Initializing"},
|
361
|
+
{"record_dt": "Tue Jun 3 17:39:08 2014", "name": "processing", "title": "Processing
|
362
|
+
X12 transactions"}]}, {"units_of_work": 1, "_type": "PlatformActivityModel",
|
363
|
+
"name": "eligibility", "parameters": {"reference_number": "12456", "version":
|
364
|
+
"3.0.0", "payer": {"tax_id": "654456654"}, "update_dt": "Wed Mar 26 22:18:47
|
365
|
+
2014", "deleted": false, "major_version": "3", "subscriber": {"maintenance_type":
|
366
|
+
"Addition", "first_name": "JOHN", "last_name": "DOE", "benefits": [{"maintenance_type":
|
367
|
+
"Addition", "late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996",
|
368
|
+
"benefit_type": "Health", "coordination_of_benefits": [{"status": "Unknown",
|
369
|
+
"group_or_policy_number": "890111", "payer_responsibility": "Primary"}]},
|
370
|
+
{"maintenance_type": "Addition", "late_enrollment": false, "begin_date": "Sat
|
371
|
+
Jun 1 00:00:00 1996", "benefit_type": "Dental"}, {"maintenance_type": "Addition",
|
372
|
+
"late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996", "benefit_type":
|
373
|
+
"Vision"}], "relationship": "Self", "contacts": [{"communication_type2": "Work
|
374
|
+
Phone Number", "primary_communication_type": "Home Phone Number", "communication_number2":
|
375
|
+
"7172341240", "primary_communication_number": "7172343334"}], "benefit_status":
|
376
|
+
"Active", "gender": "Male", "employment_status": "Full-time", "subscriber_number":
|
377
|
+
"123456789", "group_or_policy_number": "123456001", "maintenance_reason":
|
378
|
+
"Active", "handicapped": false, "eligibility_begin_date": "Thu May 23 00:00:00
|
379
|
+
1996", "ssn": "123456789", "address": {"city": "CAMP HILL", "line2": "APT
|
380
|
+
3G", "county": "CUMBERLAND", "state": "PA", "postal_code": "17011", "line":
|
381
|
+
"100 MARKET ST"}, "member_id": "123456789", "birth_date": "Fri Aug 16 00:00:00
|
382
|
+
1940", "middle_name": "P", "substance_abuse": false, "tobacco_use": false},
|
383
|
+
"correlation_id": "caa09ecd-5d90-4760-8557-58bad4e0eb4a", "insert_dt": "Wed
|
384
|
+
Mar 26 22:18:47 2014", "client_id": "4nhMZTpLxBxmiocveVb5", "purpose": "Original",
|
385
|
+
"trading_partner_id": "MOCKPAYER", "action": "Change", "dependents": [], "sponsor":
|
386
|
+
{"tax_id": "999888777"}}, "update_dt": "Sat May 10 23:28:08 2014", "remaining_transitions":
|
387
|
+
["generate", "store", "transmit", "wait", "receive", "process", "complete"],
|
388
|
+
"major_version": "3", "state": {"name": "pending", "title": "Pending Batch
|
389
|
+
Transmission to Trading Partner"}, "deleted": false, "correlation_id": "caa09ecd-5d90-4760-8557-58bad4e0eb4a",
|
390
|
+
"version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5", "trading_partner_id":
|
391
|
+
"MOCKPAYER", "_id": "538e07f456c02c40598300ee", "insert_dt": "Fri May 9 04:33:39
|
392
|
+
2014", "transition_path": ["batch", "generate", "store", "transmit", "wait",
|
393
|
+
"receive", "process", "complete"], "history": [{"record_dt": "Tue Jun 3 17:37:56
|
394
|
+
2014", "name": "init", "title": "Initializing"}]}, {"units_of_work": 1, "_type":
|
395
|
+
"PlatformActivityModel", "name": "claims_status", "parameters": {"reference_number":
|
396
|
+
"12456", "version": "3.0.0", "payer": {"tax_id": "654456654"}, "update_dt":
|
397
|
+
"Wed Mar 26 22:18:47 2014", "deleted": false, "major_version": "3", "subscriber":
|
398
|
+
{"maintenance_type": "Addition", "first_name": "JOHN", "last_name": "DOE",
|
399
|
+
"benefits": [{"maintenance_type": "Addition", "late_enrollment": false, "begin_date":
|
400
|
+
"Sat Jun 1 00:00:00 1996", "benefit_type": "Health", "coordination_of_benefits":
|
401
|
+
[{"status": "Unknown", "group_or_policy_number": "890111", "payer_responsibility":
|
402
|
+
"Primary"}]}, {"maintenance_type": "Addition", "late_enrollment": false, "begin_date":
|
403
|
+
"Sat Jun 1 00:00:00 1996", "benefit_type": "Dental"}, {"maintenance_type":
|
404
|
+
"Addition", "late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996",
|
405
|
+
"benefit_type": "Vision"}], "relationship": "Self", "contacts": [{"communication_type2":
|
406
|
+
"Work Phone Number", "primary_communication_type": "Home Phone Number", "communication_number2":
|
407
|
+
"7172341240", "primary_communication_number": "7172343334"}], "benefit_status":
|
408
|
+
"Active", "gender": "Male", "employment_status": "Full-time", "subscriber_number":
|
409
|
+
"123456789", "group_or_policy_number": "123456001", "maintenance_reason":
|
410
|
+
"Active", "handicapped": false, "eligibility_begin_date": "Thu May 23 00:00:00
|
411
|
+
1996", "ssn": "123456789", "address": {"city": "CAMP HILL", "line2": "APT
|
412
|
+
3G", "county": "CUMBERLAND", "state": "PA", "postal_code": "17011", "line":
|
413
|
+
"100 MARKET ST"}, "member_id": "123456789", "birth_date": "Fri Aug 16 00:00:00
|
414
|
+
1940", "middle_name": "P", "substance_abuse": false, "tobacco_use": false},
|
415
|
+
"correlation_id": "59c395e7-f1b3-45a5-a91d-c0d43b5a73b5", "insert_dt": "Wed
|
416
|
+
Mar 26 22:18:47 2014", "client_id": "4nhMZTpLxBxmiocveVb5", "purpose": "Original",
|
417
|
+
"trading_partner_id": "MOCKPAYER", "action": "Change", "dependents": [], "sponsor":
|
418
|
+
{"tax_id": "999888777"}}, "update_dt": "Sun Jun 1 18:18:42 2014", "remaining_transitions":
|
419
|
+
["generate", "store", "transmit", "wait", "receive", "process", "complete"],
|
420
|
+
"major_version": "3", "state": {"name": "pending", "title": "Pending Batch
|
421
|
+
Transmission to Trading Partner"}, "deleted": false, "correlation_id": "59c395e7-f1b3-45a5-a91d-c0d43b5a73b5",
|
422
|
+
"version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5", "trading_partner_id":
|
423
|
+
"MOCKPAYER", "_id": "538e07f756c02c40598300ef", "insert_dt": "Sun Jun 1 09:24:53
|
424
|
+
2014", "transition_path": ["batch", "generate", "store", "transmit", "wait",
|
425
|
+
"receive", "process", "complete"], "history": [{"record_dt": "Tue Jun 3 17:37:59
|
426
|
+
2014", "name": "init", "title": "Initializing"}]}, {"units_of_work": 1, "_type":
|
427
|
+
"PlatformActivityModel", "name": "enrollment", "parameters": {"reference_number":
|
428
|
+
"12456", "version": "3.0.0", "payer": {"tax_id": "654456654"}, "update_dt":
|
429
|
+
"Wed Mar 26 22:18:47 2014", "deleted": false, "major_version": "3", "subscriber":
|
430
|
+
{"maintenance_type": "Addition", "first_name": "JOHN", "last_name": "DOE",
|
431
|
+
"benefits": [{"maintenance_type": "Addition", "late_enrollment": false, "begin_date":
|
432
|
+
"Sat Jun 1 00:00:00 1996", "benefit_type": "Health", "coordination_of_benefits":
|
433
|
+
[{"status": "Unknown", "group_or_policy_number": "890111", "payer_responsibility":
|
434
|
+
"Primary"}]}, {"maintenance_type": "Addition", "late_enrollment": false, "begin_date":
|
435
|
+
"Sat Jun 1 00:00:00 1996", "benefit_type": "Dental"}, {"maintenance_type":
|
436
|
+
"Addition", "late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996",
|
437
|
+
"benefit_type": "Vision"}], "relationship": "Self", "contacts": [{"communication_type2":
|
438
|
+
"Work Phone Number", "primary_communication_type": "Home Phone Number", "communication_number2":
|
439
|
+
"7172341240", "primary_communication_number": "7172343334"}], "benefit_status":
|
440
|
+
"Active", "gender": "Male", "employment_status": "Full-time", "subscriber_number":
|
441
|
+
"123456789", "group_or_policy_number": "123456001", "maintenance_reason":
|
442
|
+
"Active", "handicapped": false, "eligibility_begin_date": "Thu May 23 00:00:00
|
443
|
+
1996", "ssn": "123456789", "address": {"city": "CAMP HILL", "line2": "APT
|
444
|
+
3G", "county": "CUMBERLAND", "state": "PA", "postal_code": "17011", "line":
|
445
|
+
"100 MARKET ST"}, "member_id": "123456789", "birth_date": "Fri Aug 16 00:00:00
|
446
|
+
1940", "middle_name": "P", "substance_abuse": false, "tobacco_use": false},
|
447
|
+
"correlation_id": "c58f5d4a-e521-41c7-b0d6-591248ecaceb", "insert_dt": "Wed
|
448
|
+
Mar 26 22:18:47 2014", "client_id": "4nhMZTpLxBxmiocveVb5", "purpose": "Original",
|
449
|
+
"trading_partner_id": "MOCKPAYER", "action": "Change", "dependents": [], "sponsor":
|
450
|
+
{"tax_id": "999888777"}}, "update_dt": "Fri May 23 15:06:48 2014", "remaining_transitions":
|
451
|
+
["generate", "store", "transmit", "wait", "receive", "process", "complete"],
|
452
|
+
"major_version": "3", "state": {"name": "pending", "title": "Pending Batch
|
453
|
+
Transmission to Trading Partner"}, "deleted": false, "correlation_id": "c58f5d4a-e521-41c7-b0d6-591248ecaceb",
|
454
|
+
"version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5", "trading_partner_id":
|
455
|
+
"MOCKPAYER", "_id": "538e083c56c02c40598300f2", "insert_dt": "Sun May 11 07:01:10
|
456
|
+
2014", "transition_path": ["batch", "generate", "store", "transmit", "wait",
|
457
|
+
"receive", "process", "complete"], "history": [{"record_dt": "Tue Jun 3 17:39:08
|
458
|
+
2014", "name": "init", "title": "Initializing"}]}, {"units_of_work": 1, "_type":
|
459
|
+
"PlatformActivityModel", "name": "providers", "parameters": {"state": "CA"},
|
460
|
+
"update_dt": "Thu May 22 15:55:05 2014", "remaining_transitions": [], "major_version":
|
461
|
+
"3", "state": {"name": "completed", "title": "Completed"}, "deleted": false,
|
462
|
+
"correlation_id": "aeb8a6c5-149d-4c0e-bf9e-79583926845a", "version": "3.0.0",
|
463
|
+
"client_id": "4nhMZTpLxBxmiocveVb5", "trading_partner_id": "PokitDok", "_id":
|
464
|
+
"538e084656c02c40598300f6", "insert_dt": "Wed May 7 04:44:37 2014", "transition_path":
|
465
|
+
["process", "complete"], "history": [{"record_dt": "Tue Jun 3 17:39:18 2014",
|
466
|
+
"name": "init", "title": "Initializing"}, {"record_dt": "Tue Jun 3 17:39:18
|
467
|
+
2014", "name": "processing", "title": "Processing X12 transactions"}]}, {"units_of_work":
|
468
|
+
1, "_type": "PlatformActivityModel", "name": "claims", "parameters": {"state":
|
469
|
+
"CA"}, "update_dt": "Sun Jun 1 18:50:36 2014", "remaining_transitions": [],
|
470
|
+
"major_version": "3", "state": {"name": "completed", "title": "Completed"},
|
471
|
+
"deleted": false, "correlation_id": "864244bc-7061-4198-a62d-a00116a87fff",
|
472
|
+
"version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5", "trading_partner_id":
|
473
|
+
"PokitDok", "_id": "538e084656c02c40598300f7", "insert_dt": "Thu May 15 09:26:40
|
474
|
+
2014", "transition_path": ["process", "complete"], "history": [{"record_dt":
|
475
|
+
"Tue Jun 3 17:39:18 2014", "name": "init", "title": "Initializing"}, {"record_dt":
|
476
|
+
"Tue Jun 3 17:39:18 2014", "name": "processing", "title": "Processing X12
|
477
|
+
transactions"}]}, {"units_of_work": 1, "_type": "PlatformActivityModel", "name":
|
478
|
+
"eligibility", "parameters": {"reference_number": "12456", "version": "3.0.0",
|
479
|
+
"payer": {"tax_id": "654456654"}, "update_dt": "Wed Mar 26 22:18:47 2014",
|
480
|
+
"deleted": false, "major_version": "3", "subscriber": {"maintenance_type":
|
481
|
+
"Addition", "first_name": "JOHN", "last_name": "DOE", "benefits": [{"maintenance_type":
|
482
|
+
"Addition", "late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996",
|
483
|
+
"benefit_type": "Health", "coordination_of_benefits": [{"status": "Unknown",
|
484
|
+
"group_or_policy_number": "890111", "payer_responsibility": "Primary"}]},
|
485
|
+
{"maintenance_type": "Addition", "late_enrollment": false, "begin_date": "Sat
|
486
|
+
Jun 1 00:00:00 1996", "benefit_type": "Dental"}, {"maintenance_type": "Addition",
|
487
|
+
"late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996", "benefit_type":
|
488
|
+
"Vision"}], "relationship": "Self", "contacts": [{"communication_type2": "Work
|
489
|
+
Phone Number", "primary_communication_type": "Home Phone Number", "communication_number2":
|
490
|
+
"7172341240", "primary_communication_number": "7172343334"}], "benefit_status":
|
491
|
+
"Active", "gender": "Male", "employment_status": "Full-time", "subscriber_number":
|
492
|
+
"123456789", "group_or_policy_number": "123456001", "maintenance_reason":
|
493
|
+
"Active", "handicapped": false, "eligibility_begin_date": "Thu May 23 00:00:00
|
494
|
+
1996", "ssn": "123456789", "address": {"city": "CAMP HILL", "line2": "APT
|
495
|
+
3G", "county": "CUMBERLAND", "state": "PA", "postal_code": "17011", "line":
|
496
|
+
"100 MARKET ST"}, "member_id": "123456789", "birth_date": "Fri Aug 16 00:00:00
|
497
|
+
1940", "middle_name": "P", "substance_abuse": false, "tobacco_use": false},
|
498
|
+
"correlation_id": "041a39be-c149-4e0c-94e1-ae57fc76a7fe", "insert_dt": "Wed
|
499
|
+
Mar 26 22:18:47 2014", "client_id": "4nhMZTpLxBxmiocveVb5", "purpose": "Original",
|
500
|
+
"trading_partner_id": "MOCKPAYER", "action": "Change", "dependents": [], "sponsor":
|
501
|
+
{"tax_id": "999888777"}}, "update_dt": "Sun Jun 1 09:23:18 2014", "remaining_transitions":
|
502
|
+
["generate", "store", "transmit", "wait", "receive", "process", "complete"],
|
503
|
+
"major_version": "3", "state": {"name": "pending", "title": "Pending Batch
|
504
|
+
Transmission to Trading Partner"}, "deleted": false, "correlation_id": "041a39be-c149-4e0c-94e1-ae57fc76a7fe",
|
505
|
+
"version": "3.0.0", "client_id": "4nhMZTpLxBxmiocveVb5", "trading_partner_id":
|
506
|
+
"MOCKPAYER", "_id": "538e084656c02c40598300f5", "insert_dt": "Wed May 7 12:57:09
|
507
|
+
2014", "transition_path": ["batch", "generate", "store", "transmit", "wait",
|
508
|
+
"receive", "process", "complete"], "history": [{"record_dt": "Tue Jun 3 17:39:18
|
509
|
+
2014", "name": "init", "title": "Initializing"}]}]}'
|
510
|
+
http_version:
|
511
|
+
recorded_at: Tue, 03 Jun 2014 20:30:50 GMT
|
512
|
+
recorded_with: VCR 2.9.2
|