--- http_interactions: - request: method: get uri: http://localhost:5002/api/v4/activities/ body: encoding: US-ASCII string: '' headers: User-Agent: - pokitdok-ruby 0.4.1 ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0] Authorization: - Bearer zwHIWGYIyYqGAZgczUzBpsGrhaRZFmd6mQqLaTFR Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: Content-Type: - text/html; charset=utf-8 Content-Length: - '18351' Mimetype: - application/json Charset: - utf-8 Server: - Werkzeug/0.9.4 Python/2.7.3 Date: - Wed, 22 Oct 2014 19:18:49 GMT body: encoding: UTF-8 string: '{"meta": {"rate_limit_amount": 9, "rate_limit_reset": 1414009128, "application_mode": "test", "processing_time": 25, "rate_limit_cap": 8434, "result_count": 79, "activity_id": "5448031956c02c4489b7da95", "next": "http://localhost:5002/api/v4/activities/?offset=20"}, "data": [{"units_of_work": 1, "name": "payers", "parameters": {"state": "CA"}, "state": {"name": "completed", "title": "Completed"}, "trading_partner_id": "PokitDok", "id": "5446e2d356c02c3df3b7da95", "transition_path": ["process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:51.738000", "name": "init", "title": "Initializing"}, {"record_dt": "2014-10-21T22:48:51.766000", "name": "processing", "title": "Processing transactions"}]}, {"units_of_work": 1, "name": "providers", "parameters": {"npi": "1467560003"}, "state": {"name": "completed", "title": "Completed"}, "trading_partner_id": "PokitDok", "id": "5446e2d356c02c3de9b7da95", "transition_path": ["process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:51.193000", "name": "init", "title": "Initializing"}, {"record_dt": "2014-10-21T22:48:51.196000", "name": "processing", "title": "Processing transactions"}]}, {"units_of_work": 1, "name": "tradingpartners", "parameters": {"id": "MOCKPAYER"}, "state": {"name": "completed", "title": "Completed"}, "trading_partner_id": "PokitDok", "id": "5446e2d256c02c3dddb7da95", "transition_path": ["process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:50.539000", "name": "init", "title": "Initializing"}, {"record_dt": "2014-10-21T22:48:50.542000", "name": "processing", "title": "Processing transactions"}]}, {"units_of_work": 1, "name": "cash_prices", "parameters": {"cpt_code": "90658", "zip_code": "94403"}, "state": {"name": "completed", "title": "Completed"}, "trading_partner_id": "PokitDok", "id": "5446e2d356c02c3de7b7da95", "transition_path": ["process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:51.161000", "name": "init", "title": "Initializing"}, {"record_dt": "2014-10-21T22:48:51.162000", "name": "processing", "title": "Processing transactions"}]}, {"units_of_work": 1, "name": "payers", "parameters": {"state": "CA"}, "state": {"name": "completed", "title": "Completed"}, "trading_partner_id": "PokitDok", "id": "5446e60756c02c3ec0b7da95", "transition_path": ["process", "complete"], "history": [{"record_dt": "2014-10-21T23:02:31.488000", "name": "init", "title": "Initializing"}, {"record_dt": "2014-10-21T23:02:31.514000", "name": "processing", "title": "Processing transactions"}]}, {"units_of_work": 1, "name": "activities", "state": {"name": "completed", "title": "Completed"}, "trading_partner_id": "PokitDok", "id": "5446e2d356c02c3de5b7da95", "transition_path": ["process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:51.121000", "name": "init", "title": "Initializing"}, {"record_dt": "2014-10-21T22:48:51.130000", "name": "processing", "title": "Processing transactions"}]}, {"units_of_work": 1, "name": "insurance_prices", "parameters": {"cpt_code": "87799", "zip_code": "32218"}, "state": {"name": "completed", "title": "Completed"}, "trading_partner_id": "PokitDok", "id": "5446e2d256c02c3dd9b7da95", "transition_path": ["process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:50.473000", "name": "init", "title": "Initializing"}, {"record_dt": "2014-10-21T22:48:50.474000", "name": "processing", "title": "Processing transactions"}]}, {"units_of_work": 1, "name": "plans", "parameters": {"state": "TX", "plan_type": "PPO"}, "state": {"name": "completed", "title": "Completed"}, "trading_partner_id": "PokitDok", "id": "5446e2d256c02c3ddbb7da95", "transition_path": ["process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:50.508000", "name": "init", "title": "Initializing"}, {"record_dt": "2014-10-21T22:48:50.509000", "name": "processing", "title": "Processing transactions"}]}, {"units_of_work": 1, "name": "tradingpartners", "state": {"name": "completed", "title": "Completed"}, "trading_partner_id": "PokitDok", "id": "5446e2d356c02c3de3b7da95", "transition_path": ["process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:51.032000", "name": "init", "title": "Initializing"}, {"record_dt": "2014-10-21T22:48:51.085000", "name": "processing", "title": "Processing transactions"}]}, {"units_of_work": 1, "name": "plans", "state": {"name": "completed", "title": "Completed"}, "trading_partner_id": "PokitDok", "id": "5446e60856c02c3ec5b7da95", "transition_path": ["process", "complete"], "history": [{"record_dt": "2014-10-21T23:02:32.028000", "name": "init", "title": "Initializing"}, {"record_dt": "2014-10-21T23:02:32.029000", "name": "processing", "title": "Processing transactions"}]}, {"units_of_work": 20, "name": "batch file", "state": {"name": "completed", "title": "Completed"}, "trading_partner_id": "MOCKPAYER", "id": "5446e2d256c02c3ddfb7da95", "transition_path": ["store", "queue", "process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:50.959000", "name": "init", "title": "Initializing"}, {"record_dt": "2014-10-21T22:48:50.961000", "name": "stored", "title": "Batch transactions stored for later processing"}, {"record_dt": "2014-10-21T22:48:50.995000", "name": "queued", "title": "In queue waiting to start"}, {"record_dt": "2014-10-21T22:48:51.542000", "name": "processing", "title": "Processing transactions"}]}, {"units_of_work": 1, "name": "eligibility", "parameters": {"service_types": ["health_benefit_plan_coverage"], "client_id": "WbkhoNbwuJRWdz0w9Ehl", "payer": {"id": "MOCKPAYER", "name": "MOCKPAYER"}, "member": {"birth_date": "1996-06-13", "first_name": "Hassan", "last_name": "Walker", "plan_start_date": "2014-03-05", "id": "773415451"}, "parent_id": "5446e2d256c02c3ddfb7da95", "correlation_id": "ad6e0a02-0fb2-4332-87d3-9f77efe11db6", "trading_partner_id": "MOCKPAYER", "provider": {"organization_name": "Wuckert Inc", "npi": "581603684"}, "async": true, "transaction_code": "request"}, "remaining_transitions": ["generate", "store", "transmit", "wait", "receive", "process", "complete"], "parent_id": "5446e2d256c02c3ddfb7da95", "state": {"name": "scheduled", "title": "Scheduled for next available transmission to Trading Partner"}, "trading_partner_id": "MOCKPAYER", "id": "5446e2d356c02c3d8acd4617", "transition_path": ["schedule", "generate", "store", "transmit", "wait", "receive", "process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:51.332000", "name": "init", "title": "Initializing"}]}, {"units_of_work": 1, "name": "providers", "parameters": {"npi": "1467560003"}, "state": {"name": "completed", "title": "Completed"}, "trading_partner_id": "PokitDok", "id": "5446e60856c02c3ecdb7da95", "transition_path": ["process", "complete"], "history": [{"record_dt": "2014-10-21T23:02:32.293000", "name": "init", "title": "Initializing"}, {"record_dt": "2014-10-21T23:02:32.294000", "name": "processing", "title": "Processing transactions"}]}, {"units_of_work": 1, "name": "eligibility", "parameters": {"service_types": ["health_benefit_plan_coverage"], "client_id": "WbkhoNbwuJRWdz0w9Ehl", "payer": {"id": "MOCKPAYER", "name": "MOCKPAYER"}, "member": {"birth_date": "1996-05-07", "first_name": "Jerod", "last_name": "Tromp", "plan_start_date": "2014-03-05", "id": "545943979"}, "parent_id": "5446e2d256c02c3ddfb7da95", "correlation_id": "ad6e0a02-0fb2-4332-87d3-9f77efe11db6", "trading_partner_id": "MOCKPAYER", "provider": {"organization_name": "Wuckert Inc", "npi": "581603684"}, "async": true, "transaction_code": "request"}, "remaining_transitions": ["generate", "store", "transmit", "wait", "receive", "process", "complete"], "parent_id": "5446e2d256c02c3ddfb7da95", "state": {"name": "scheduled", "title": "Scheduled for next available transmission to Trading Partner"}, "trading_partner_id": "MOCKPAYER", "id": "5446e2d356c02c3d8acd4616", "transition_path": ["schedule", "generate", "store", "transmit", "wait", "receive", "process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:51.324000", "name": "init", "title": "Initializing"}]}, {"units_of_work": 1, "name": "claims", "parameters": {"claim": {"plan_participation": "assigned", "provider_signature": true, "total_charge_amount": "60.0", "claim_frequency": "original", "place_of_service": "office", "direct_payment": "y", "patient_signature_on_file": true, "information_release": "informed_consent", "service_lines": [{"diagnosis_codes": ["487.1"], "unit_count": "1.0", "unit_type": "units", "charge_amount": "60.0", "service_date": "2014-06-01", "procedure_code": "99213"}]}, "trading_partner_id": "MOCKPAYER", "payer": {"organization_name": "MOCKPAYER", "plan_id": "MOCKPAYER"}, "subscriber": {"first_name": "Jane", "last_name": "Doe", "gender": "female", "member_id": "W000000000", "payer_responsibility": "primary", "address": {"address_lines": ["123 N MAIN ST"], "state": "SC", "zipcode": "29301", "city": "SPARTANBURG"}, "birth_date": "1970-01-01"}, "correlation_id": "3eab49a5-4e77-4ec5-9ffb-bd8a29adade0", "client_id": "WbkhoNbwuJRWdz0w9Ehl", "receiver": {"organization_name": "MOCKRECEIVER", "id": "MOCKRECEIVER"}, "submitter": {"organization_name": "POKITDOK TESTING", "id": "POKITDOKTEST", "email": "support@pokitdok.com"}, "async": false, "billing_provider": {"first_name": "Jerome", "last_name": "Aya-Ay", "npi": "1467560003", "taxonomy_code": "207Q00000X", "address": {"address_lines": ["8311 WARREN H ABERNATHY HWY"], "state": "SC", "zipcode": "29301", "city": "SPARTANBURG"}, "tax_id": "123456789"}, "transaction_code": "chargeable"}, "remaining_transitions": ["generate", "store", "transmit", "wait", "receive", "process", "complete"], "state": {"name": "scheduled", "title": "Scheduled for next available transmission to Trading Partner"}, "trading_partner_id": "MOCKPAYER", "id": "5446e2d256c02c3dd5b7da95", "transition_path": ["schedule", "generate", "store", "transmit", "wait", "receive", "process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:50.267000", "name": "init", "title": "Initializing"}]}, {"units_of_work": 1, "name": "referrals", "parameters": {"patient": {"birth_date": "1970-01-01", "first_name": "JANE", "last_name": "DOE", "id": "1234567890"}, "trading_partner_id": "MOCKPAYER", "payer": {"organization_name": "Mock Payer for Testing", "id": "MOCKPAYER"}, "originating_company_id": "123456789", "correlation_id": "d5b56815-f4b6-43c0-8bbc-68cacf249c4c", "client_id": "WbkhoNbwuJRWdz0w9Ehl", "provider": {"first_name": "CHRISTINA", "last_name": "BERTOLAMI", "npi": "1619131232"}, "async": false, "event": {"category": "specialty_care_review", "diagnoses": [{"date": "2014-09-30", "code": "384.20"}], "place_of_service": "office", "delivery": {"quantity_qualifier": "visits", "quantity": 1}, "provider": {"phone": "8645822900", "first_name": "JOHN", "last_name": "FOSTER", "npi": "1154387751"}, "certification_type": "initial", "type": "consultation"}}, "state": {"name": "completed", "title": "Completed"}, "result": {"patient": {"first_name": "JANE", "last_name": "DOE", "id": "1234567890"}, "trading_partner_id": "MOCKPAYER", "payer": {"organization_name": "MOCK PAYER INC", "id": "MOCKPAYER"}, "originating_company_id": "9012345678", "correlation_id": "d5b56815-f4b6-43c0-8bbc-68cacf249c4c", "client_id": "WbkhoNbwuJRWdz0w9Ehl", "provider": {"first_name": "CHRISTINA", "last_name": "BERTOLAMI", "tax_id": "1619131232"}, "async": false, "event": {"category": "specialty_care_review", "diagnoses": [{"date": "2005-04-30", "code": "410.90"}], "place_of_service": "office", "review": {"certification_number": "AUTH0001", "second_surgical_opinion_required": false, "certification_action": "certified_in_total"}, "delivery": {"quantity_qualifier": "visits", "quantity": 1}, "provider": {"first_name": "JOHN", "last_name": "FOSTER", "tax_id": "1154387751"}, "certification_type": "initial", "type": "consultation"}, "valid_request": true}, "trading_partner_id": "MOCKPAYER", "id": "5446e2d256c02c3dd7b7da95", "transition_path": ["generate", "transmit", "wait", "receive", "process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:50.303000", "name": "init", "title": "Initializing"}, {"record_dt": "2014-10-21T22:48:50.394000", "name": "generating", "title": "Generating transactions"}, {"record_dt": "2014-10-21T22:48:50.396000", "name": "transmitting", "title": "Transmitting transactions to Trading Partner"}, {"record_dt": "2014-10-21T22:48:50.397000", "name": "waiting", "title": "Waiting on Trading Partner Response"}, {"record_dt": "2014-10-21T22:48:50.398000", "name": "receiving", "title": "Receiving transactions from Trading Partner"}, {"record_dt": "2014-10-21T22:48:50.429000", "name": "processing", "title": "Processing transactions"}]}, {"units_of_work": 1, "name": "enrollment", "parameters": {"reference_number": "12456", "version": "4.0.0", "payer": {"tax_id": "654456654"}, "update_dt": "Wed Mar 26 22:18:47 2014", "deleted": false, "major_version": "4", "subscriber": {"maintenance_type": "Addition", "first_name": "JOHN", "last_name": "DOE", "benefits": [{"maintenance_type": "Addition", "late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996", "benefit_type": "Health", "coordination_of_benefits": [{"status": "Unknown", "group_or_policy_number": "890111", "payer_responsibility": "Primary"}]}, {"maintenance_type": "Addition", "late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996", "benefit_type": "Dental"}, {"maintenance_type": "Addition", "late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996", "benefit_type": "Vision"}], "relationship": "Self", "contacts": [{"communication_type2": "Work Phone Number", "primary_communication_type": "Home Phone Number", "communication_number2": "7172341240", "primary_communication_number": "7172343334"}], "benefit_status": "Active", "gender": "Male", "employment_status": "Full-time", "subscriber_number": "123456789", "group_or_policy_number": "123456001", "maintenance_reason": "Active", "member_id": "123456789", "handicapped": false, "eligibility_begin_date": "Thu May 23 00:00:00 1996", "ssn": "123456789", "address": {"city": "CAMP HILL", "line2": "APT 3G", "county": "CUMBERLAND", "state": "PA", "postal_code": "17011", "line": "100 MARKET ST"}, "birth_date": "Fri Aug 16 00:00:00 1940", "middle_name": "P", "substance_abuse": false, "tobacco_use": false}, "correlation_id": "11f6e7aa-509a-4181-94c8-ce5395f8f100", "insert_dt": "Wed Mar 26 22:18:47 2014", "trading_partner_id": "MOCKPAYER", "purpose": "Original", "client_id": "WbkhoNbwuJRWdz0w9Ehl", "action": "Change", "dependents": [], "sponsor": {"tax_id": "999888777"}}, "remaining_transitions": ["generate", "store", "transmit", "wait", "receive", "process", "complete"], "state": {"name": "scheduled", "title": "Scheduled for next available transmission to Trading Partner"}, "trading_partner_id": "MOCKPAYER", "id": "5446e2d356c02c3debb7da95", "transition_path": ["schedule", "generate", "store", "transmit", "wait", "receive", "process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:51.235000", "name": "init", "title": "Initializing"}]}, {"units_of_work": 1, "name": "eligibility", "parameters": {"service_types": ["health_benefit_plan_coverage"], "client_id": "WbkhoNbwuJRWdz0w9Ehl", "payer": {"id": "MOCKPAYER", "name": "MOCKPAYER"}, "member": {"birth_date": "1992-01-26", "first_name": "Keyon", "last_name": "Ortiz", "plan_start_date": "2014-03-05", "id": "178470414"}, "parent_id": "5446e2d256c02c3ddfb7da95", "correlation_id": "ad6e0a02-0fb2-4332-87d3-9f77efe11db6", "trading_partner_id": "MOCKPAYER", "provider": {"organization_name": "Wuckert Inc", "npi": "581603684"}, "async": true, "transaction_code": "request"}, "remaining_transitions": ["generate", "store", "transmit", "wait", "receive", "process", "complete"], "parent_id": "5446e2d256c02c3ddfb7da95", "state": {"name": "scheduled", "title": "Scheduled for next available transmission to Trading Partner"}, "trading_partner_id": "MOCKPAYER", "id": "5446e2d356c02c3d8acd4621", "transition_path": ["schedule", "generate", "store", "transmit", "wait", "receive", "process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:51.437000", "name": "init", "title": "Initializing"}]}, {"units_of_work": 1, "name": "eligibility", "parameters": {"service_types": ["health_benefit_plan_coverage"], "client_id": "WbkhoNbwuJRWdz0w9Ehl", "payer": {"id": "MOCKPAYER", "name": "MOCKPAYER"}, "member": {"birth_date": "1995-04-14", "first_name": "Jimmie", "last_name": "Monahan", "plan_start_date": "2014-03-05", "id": "315531994"}, "parent_id": "5446e2d256c02c3ddfb7da95", "correlation_id": "ad6e0a02-0fb2-4332-87d3-9f77efe11db6", "trading_partner_id": "MOCKPAYER", "provider": {"organization_name": "Wuckert Inc", "npi": "581603684"}, "async": true, "transaction_code": "request"}, "remaining_transitions": ["generate", "store", "transmit", "wait", "receive", "process", "complete"], "parent_id": "5446e2d256c02c3ddfb7da95", "state": {"name": "scheduled", "title": "Scheduled for next available transmission to Trading Partner"}, "trading_partner_id": "MOCKPAYER", "id": "5446e2d356c02c3d8acd461d", "transition_path": ["schedule", "generate", "store", "transmit", "wait", "receive", "process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:51.389000", "name": "init", "title": "Initializing"}]}, {"units_of_work": 1, "name": "eligibility", "parameters": {"service_types": ["health_benefit_plan_coverage"], "client_id": "WbkhoNbwuJRWdz0w9Ehl", "payer": {"id": "MOCKPAYER", "name": "MOCKPAYER"}, "member": {"birth_date": "1978-01-09", "first_name": "Markus", "last_name": "Bednar", "plan_start_date": "2014-03-05", "id": "674957204"}, "parent_id": "5446e2d256c02c3ddfb7da95", "correlation_id": "ad6e0a02-0fb2-4332-87d3-9f77efe11db6", "trading_partner_id": "MOCKPAYER", "provider": {"organization_name": "Wuckert Inc", "npi": "581603684"}, "async": true, "transaction_code": "request"}, "remaining_transitions": ["generate", "store", "transmit", "wait", "receive", "process", "complete"], "parent_id": "5446e2d256c02c3ddfb7da95", "state": {"name": "scheduled", "title": "Scheduled for next available transmission to Trading Partner"}, "trading_partner_id": "MOCKPAYER", "id": "5446e2d356c02c3d8acd461e", "transition_path": ["schedule", "generate", "store", "transmit", "wait", "receive", "process", "complete"], "history": [{"record_dt": "2014-10-21T22:48:51.402000", "name": "init", "title": "Initializing"}]}]}' http_version: recorded_at: Wed, 22 Oct 2014 19:18:49 GMT recorded_with: VCR 2.9.2