--- http_interactions: - request: method: post uri: http://localhost:5002/api/v4/claims/ body: encoding: UTF-8 string: '{"transaction_code":"chargeable","trading_partner_id":"MOCKPAYER","billing_provider":{"taxonomy_code":"207Q00000X","first_name":"Jerome","last_name":"Aya-Ay","npi":"1467560003","address":{"address_lines":["8311 WARREN H ABERNATHY HWY"],"city":"SPARTANBURG","state":"SC","zipcode":"29301"},"tax_id":"123456789"},"subscriber":{"first_name":"Jane","last_name":"Doe","member_id":"W000000000","address":{"address_lines":["123 N MAIN ST"],"city":"SPARTANBURG","state":"SC","zipcode":"29301"},"birth_date":"1970-01-01","gender":"female"},"claim":{"total_charge_amount":60.0,"service_lines":[{"procedure_code":"99213","charge_amount":60.0,"unit_count":1.0,"diagnosis_codes":["487.1"],"service_date":"2014-06-01"}]},"payer":{"organization_name":"Acme Ins Co","plan_id":"1234567890"}}' headers: User-Agent: - pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0] Authorization: - Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF Content-Type: - application/json 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: - '2270' Mimetype: - application/json Charset: - utf-8 Server: - Werkzeug/0.9.4 Python/2.7.6 Date: - Mon, 02 Mar 2015 22:34:20 GMT body: encoding: UTF-8 string: '{"meta": {"rate_limit_amount": 7, "rate_limit_reset": 1425339260, "application_mode": "test", "processing_time": 51, "rate_limit_cap": 1000, "credits_remaining": -2, "activity_id": "54f4e56c0640fd11086300b6", "credits_billed": 1}, "data": {"units_of_work": 1, "_type": "PlatformActivityModel", "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", "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": "5e0592f4-d99d-4186-a510-e6af15192785", "client_id": "jlHrMhG8CZudpJXHp0Rr", "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"], "_uuid": "a51d4a0b-b3a5-4830-89a1-3a0f8f0a3be8", "state": {"name": "scheduled", "title": "Scheduled for next available transmission to Trading Partner"}, "trading_partner_id": "MOCKPAYER", "id": "54f4e56c0640fd11086300b6", "transition_path": ["schedule", "generate", "store", "transmit", "wait", "receive", "process", "complete"], "history": [{"record_dt": "2015-03-02T22:34:20.675809", "name": "init", "title": "Initializing"}]}}' http_version: recorded_at: Mon, 02 Mar 2015 22:34:20 GMT recorded_with: VCR 2.9.3