admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.users", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.users", :name=>"company_id_1", :key=>{"company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_records", :name=>"billing_record_number_1", :key=>{"billing_record_number"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_records", :name=>"company_id_1", :key=>{"company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_records", :name=>"billing_record_number_1", :key=>{"billing_record_number"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_records", :name=>"company_id_1_date_of_service_-1_last_payment_date_-1_provider_id_1", :key=>{"company_id"=>1, "date_of_service"=>-1, "last_payment_date"=>-1, "provider_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_records", :name=>"work_items.work_item_id_1", :key=>{"work_items.work_item_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_records", :name=>"work_items.data.fields.params.unique_id_1", :key=>{"work_items.data.fields.params.unique_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_record_notes", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_record_notes", :name=>"billing_record_id_1_company_id_1", :key=>{"billing_record_id"=>1, "company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_record_notes", :name=>"billing_record_id_1_company_id_1_timestamp_-1", :key=>{"billing_record_id"=>1, "company_id"=>1, "timestamp"=>-1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_record_notes", :name=>"billing_record_number_1_company_id_1", :key=>{"billing_record_number"=>1, "company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_record_notes", :name=>"billing_record_number_1_company_id_1_timestamp_-1", :key=>{"billing_record_number"=>1, "company_id"=>1, "timestamp"=>-1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_schedules", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_schedule_events", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.charge_types", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.companies", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.credit_types", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.diagnoses", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.discrepancies", :name=>"company_id_1", :key=>{"company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.discrepancies", :name=>"transport_number_1", :key=>{"transport_number"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.discrepancies", :name=>"resolution_activities.file_id_1", :key=>{"resolution_activities.file_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.discrepancy_categories", :name=>"name_1", :key=>{"name"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.facilities", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.patients", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.payers", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.profit_centers", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.profit_centers", :name=>"company_id_1", :key=>{"company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.work_items", :name=>"company_id_1_billing_record_id_1", :key=>{"company_id"=>1, "billing_record_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.work_items", :name=>"company_id_1_resolution_1_assigned_to_id_1_grace_period_expiration_date_-1_due_date_-1", :key=>{"company_id"=>1, "resolution"=>1, "assigned_to_id"=>1, "grace_period_expiration_date"=>-1, "due_date"=>-1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.work_items", :name=>"company_id_1_resolution_1_assigned_to_id_1", :key=>{"company_id"=>1, "resolution"=>1, "assigned_to_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"facilities"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancy_categories"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71eeab2693d5cb9000001')}, {"name"=>"FAMILY CARE 11111", "address"=>{"city"=>"HOUSTON", "address1"=>"11111 RICHMOND AVE STE 200", "zip"=>"77082", "address2"=>"", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "created_at"=>Sun Nov 07 21:49:30 UTC 2010, "global_id"=>"130109945", "updated_at"=>Sun Nov 07 21:49:30 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeab2693d5cb9000001'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(866)460-2111", "(713)720-1424 Ext. FAX"], "last_name"=>"", "email_address"=>"", "organization"=>"FAMILY CARE 11111", "first_name"=>""}, "payer_type"=>"Insurance"})
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71eeab2693d5cb9000002')}, {"name"=>"FAMILY CARE 11111", "address"=>{"city"=>"HOUSTON", "address1"=>"11111 RICHMOND AVE STE 200", "zip"=>"77082", "address2"=>"", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "created_at"=>Sun Nov 07 21:49:30 UTC 2010, "global_id"=>"130109945", "updated_at"=>Sun Nov 07 21:49:30 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeab2693d5cb9000002'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(866)460-2111", "(713)720-1424 Ext. FAX"], "last_name"=>"", "email_address"=>"", "organization"=>"FAMILY CARE 11111", "first_name"=>""}, "payer_type"=>"Insurance"})
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71eeab2693d5cb9000003')}, {"name"=>"FAMILY CARE 11111", "address"=>{"city"=>"HOUSTON", "address1"=>"11111 RICHMOND AVE STE 200", "zip"=>"77082", "address2"=>"", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "created_at"=>Sun Nov 07 21:49:30 UTC 2010, "global_id"=>"130109945", "updated_at"=>Sun Nov 07 21:49:30 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeab2693d5cb9000003'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(866)460-2111", "(713)720-1424 Ext. FAX"], "last_name"=>"", "email_address"=>"", "organization"=>"FAMILY CARE 11111", "first_name"=>""}, "payer_type"=>"Insurance"})
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb9000004')}, {"name"=>"Test Inc.", "created_at"=>Sun Nov 07 21:49:31 UTC 2010, "global_id"=>"1", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "_id"=>BSON::ObjectId('4cd71eebb2693d5cb9000004'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:name=>"Test Inc."}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb9000005')}, {"name"=>"Test2 Inc.", "created_at"=>Sun Nov 07 21:49:31 UTC 2010, "global_id"=>"1", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "_id"=>BSON::ObjectId('4cd71eebb2693d5cb9000005'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:name=>"Test2 Inc."}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb9000006')}, {"name"=>"Test3 Inc.", "created_at"=>Sun Nov 07 21:49:31 UTC 2010, "global_id"=>"1", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "_id"=>BSON::ObjectId('4cd71eebb2693d5cb9000006'), "is_customer"=>false, "domain_name"=>nil})
RpmOnline_test['companies'].find({:name=>"Test3 Inc."}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb9000007')}, {"name"=>"Test2 Inc.", "created_at"=>Sun Nov 07 21:49:31 UTC 2010, "global_id"=>"1", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "_id"=>BSON::ObjectId('4cd71eebb2693d5cb9000007'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eebb2693d5cb9000007')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb9000008')}, {"name"=>"Test4 Inc.", "created_at"=>Sun Nov 07 21:49:31 UTC 2010, "global_id"=>"1", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "_id"=>BSON::ObjectId('4cd71eebb2693d5cb9000008'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"email1@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb9000009')}, {"encrypted_password"=>"$2a$10$FmvR99kfY.ICPpLzzZW.jeVbdORpjs9Lkf3kcuu1CYweHC4151Xj6", "created_at"=>Sun Nov 07 21:49:31 UTC 2010, "global_id"=>"2", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eebb2693d5cb9000009'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$FmvR99kfY.ICPpLzzZW.je", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eebb2693d5cb9000008'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"email1@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"3"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"email2@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb900000a')}, {"encrypted_password"=>"$2a$10$owDgVOVt4P6ui2dLNPwFmeuS8jOhm/OmNMZIhRULGOgUu1f4ciDiC", "created_at"=>Sun Nov 07 21:49:31 UTC 2010, "global_id"=>"3", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eebb2693d5cb900000a'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$owDgVOVt4P6ui2dLNPwFme", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eebb2693d5cb9000008'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison"], "email"=>"email2@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"4"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"email3@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb900000b')}, {"encrypted_password"=>"$2a$10$NDOOeosinqdFCgJI.HNUAeWRqpckp5IbbI3MiM.q9ZNLEBDJmq1Dy", "created_at"=>Sun Nov 07 21:49:31 UTC 2010, "global_id"=>"4", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eebb2693d5cb900000b'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$NDOOeosinqdFCgJI.HNUAe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eebb2693d5cb9000008'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison"], "email"=>"email3@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:company_id=>BSON::ObjectId('4cd71eebb2693d5cb9000008')}, {})
RpmOnline_test['$cmd'].find({"count"=>"users", "query"=>{:roles=>"liaison", :company_id=>BSON::ObjectId('4cd71eebb2693d5cb9000008')}, "fields"=>nil}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb900000c')}, {"name"=>"Air Angels", "created_at"=>Sun Nov 07 21:49:31 UTC 2010, "global_id"=>"2", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "_id"=>BSON::ObjectId('4cd71eebb2693d5cb900000c'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb900000d')}, {"name"=>"Air Angels (to be changed)", "created_at"=>Sun Nov 07 21:49:31 UTC 2010, "global_id"=>"2", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "_id"=>BSON::ObjectId('4cd71eebb2693d5cb900000d'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb900000d')}, {"name"=>"Air Angels", "created_at"=>Sun Nov 07 21:49:31 UTC 2010, "global_id"=>"2", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "_id"=>BSON::ObjectId('4cd71eebb2693d5cb900000d'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['$cmd'].find({"count"=>"companies", "query"=>{}, "fields"=>nil}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb900000e')}, {"created_at"=>Sun Nov 07 21:49:31 UTC 2010, "social_security_number"=>"457292618.0", "global_id"=>"133203750", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "patient_number"=>"12102978.0", "_id"=>BSON::ObjectId('4cd71eebb2693d5cb900000e'), "medicare_number"=>"", "is_deceased"=>true, "contact"=>{"address"=>{"address1"=>"427 MONTROSE ST APT 104", "city"=>"SAN ANTONIO", "address2"=>"", "zip"=>"78210", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "is_person"=>true, "_id"=>nil, "phone_numbers"=>["(210)328-7912", "(619)947-1535 Ext. JESSI"], "last_name"=>"ROSAS", "email_address"=>"PT'S DAUGHTER JESSICA", "organization"=>"", "first_name"=>"ELVIRA"}, "gender"=>"Female", "medicaid_number"=>"", "middle_initial"=>"", "date_of_birth"=>Sun Feb 20 00:00:00 UTC 1966, "patient_payer"=>[{"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>""}, {"payment_source"=>"D - Medicaid", "coverage"=>"Medicaid", "relationship"=>"Self", "eligibility_status"=>""}]})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb900000f')}, {"created_at"=>Sun Nov 07 21:49:31 UTC 2010, "social_security_number"=>"457292618.0", "global_id"=>"133203750", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "patient_number"=>"12102978.0", "_id"=>BSON::ObjectId('4cd71eebb2693d5cb900000f'), "medicare_number"=>"", "is_deceased"=>true, "contact"=>{"address"=>{"address1"=>"427 MONTROSE ST APT 104", "city"=>"SAN ANTONIO", "address2"=>"", "zip"=>"78210", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "is_person"=>true, "_id"=>nil, "phone_numbers"=>["(210)328-7912", "(619)947-1535 Ext. JESSI"], "last_name"=>"ROSAS", "email_address"=>"PT'S DAUGHTER JESSICA", "organization"=>"", "first_name"=>"ELVIRA"}, "gender"=>"Female", "medicaid_number"=>"", "middle_initial"=>"A", "date_of_birth"=>Sun Feb 20 00:00:00 UTC 1966, "patient_payer"=>[{"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>""}, {"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>""}, {"payment_source"=>"D - Medicaid", "coverage"=>"Medicaid", "relationship"=>"Self", "eligibility_status"=>""}]})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb900000f')}, {"created_at"=>Sun Nov 07 21:49:31 UTC 2010, "social_security_number"=>"457292618.0", "global_id"=>"133203750", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "patient_number"=>"12102978.0", "_id"=>BSON::ObjectId('4cd71eebb2693d5cb900000f'), "medicare_number"=>"", "is_deceased"=>true, "contact"=>{"address"=>{"address1"=>"427 MONTROSE ST APT 104", "city"=>"SAN ANTONIO", "address2"=>"", "zip"=>"78210", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "is_person"=>true, "_id"=>nil, "phone_numbers"=>["(210)328-7912", "(619)947-1535 Ext. JESSI"], "last_name"=>"ROSAS", "email_address"=>"PT'S DAUGHTER JESSICA", "organization"=>"", "first_name"=>"ELVIRA"}, "gender"=>"Female", "medicaid_number"=>"", "middle_initial"=>"A", "date_of_birth"=>Sun Feb 20 00:00:00 UTC 1966, "patient_payer"=>[{"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>""}, {"payment_source"=>"D - Medicaid", "coverage"=>"Medicaid", "relationship"=>"Child", "eligibility_status"=>""}]})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb9000011')}, {"created_at"=>Sun Nov 07 21:49:31 UTC 2010, "social_security_number"=>"457292618.0", "global_id"=>"133203750", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "patient_number"=>"12102978.0", "_id"=>BSON::ObjectId('4cd71eebb2693d5cb9000011'), "medicare_number"=>"", "is_deceased"=>true, "contact"=>{"address"=>{"address1"=>"427 MONTROSE ST APT 104", "city"=>"SAN ANTONIO", "address2"=>"", "zip"=>"78210", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "is_person"=>true, "_id"=>nil, "phone_numbers"=>["(210)328-7912", "(619)947-1535 Ext. JESSI"], "last_name"=>"ROSAS", "email_address"=>"PT'S DAUGHTER JESSICA", "organization"=>"", "first_name"=>"ELVIRA"}, "gender"=>"Female", "medicaid_number"=>"", "middle_initial"=>"A", "date_of_birth"=>Sun Feb 20 00:00:00 UTC 1966, "patient_payer"=>[{"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>""}, {"payment_source"=>"D - Medicaid", "coverage"=>"Medicaid", "relationship"=>"Self", "eligibility_status"=>""}]})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb9000012')}, {"created_at"=>Sun Nov 07 21:49:31 UTC 2010, "social_security_number"=>"457292618.0", "global_id"=>"133203750", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "patient_number"=>"12102978.0", "_id"=>BSON::ObjectId('4cd71eebb2693d5cb9000012'), "medicare_number"=>"", "is_deceased"=>true, "contact"=>{"address"=>{"address1"=>"427 MONTROSE ST APT 104", "city"=>"SAN ANTONIO", "address2"=>"", "zip"=>"78210", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "is_person"=>true, "_id"=>nil, "phone_numbers"=>["(210)328-7912", "(619)947-1535 Ext. JESSI"], "last_name"=>"ROSAS", "email_address"=>"PT'S DAUGHTER JESSICA", "organization"=>"", "first_name"=>"ELVIRA"}, "gender"=>"Female", "medicaid_number"=>"", "middle_initial"=>"A", "date_of_birth"=>Sun Feb 20 00:00:00 UTC 1966, "patient_payer"=>[{"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>"Verification Required"}, {"payment_source"=>"D - Medicaid", "coverage"=>"Medicaid", "relationship"=>"Self", "eligibility_status"=>""}]})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb9000013')}, {"created_at"=>Sun Nov 07 21:49:31 UTC 2010, "social_security_number"=>"457292618.0", "global_id"=>"133203750", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "patient_number"=>"12102978.0", "_id"=>BSON::ObjectId('4cd71eebb2693d5cb9000013'), "medicare_number"=>"", "is_deceased"=>true, "contact"=>{"address"=>{"address1"=>"427 MONTROSE ST APT 104", "city"=>"SAN ANTONIO", "address2"=>"", "zip"=>"78210", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "is_person"=>true, "_id"=>nil, "phone_numbers"=>["(210)328-7912", "(619)947-1535 Ext. JESSI"], "last_name"=>"ROSAS", "email_address"=>"PT'S DAUGHTER JESSICA", "organization"=>"", "first_name"=>"ELVIRA"}, "gender"=>"Female", "medicaid_number"=>"", "middle_initial"=>"A", "date_of_birth"=>Sun Feb 20 00:00:00 UTC 1966, "patient_payer"=>[{"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>""}, {"payment_source"=>"D - Medicaid", "coverage"=>"Medicaid", "relationship"=>"Self", "eligibility_status"=>""}]})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"11"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb9000014')}, {"created_at"=>Sun Nov 07 21:49:31 UTC 2010, "social_security_number"=>nil, "global_id"=>"11", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "patient_number"=>nil, "_id"=>BSON::ObjectId('4cd71eebb2693d5cb9000014'), "medicare_number"=>nil, "is_deceased"=>false, "contact"=>{"address"=>{"address1"=>"123 Main Street", "city"=>"Santa Rosa", "address2"=>nil, "zip"=>"95401", "_id"=>nil, "county"=>nil, "state"=>"CA"}, "is_person"=>false, "_id"=>nil, "phone_numbers"=>[], "last_name"=>nil, "email_address"=>nil, "organization"=>nil, "first_name"=>nil}, "gender"=>nil, "medicaid_number"=>nil, "last_name"=>"Duo", "middle_initial"=>nil, "date_of_birth"=>nil, "patient_payer"=>nil, "first_name"=>"John"})
RpmOnline_test['patients'].find({:global_id=>"11"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd71eebb2693d5cb9000014')}, {"created_at"=>Sun Nov 07 21:49:31 UTC 2010, "social_security_number"=>nil, "global_id"=>"11", "updated_at"=>Sun Nov 07 21:49:31 UTC 2010, "patient_number"=>nil, "_id"=>BSON::ObjectId('4cd71eebb2693d5cb9000014'), "medicare_number"=>nil, "is_deceased"=>false, "contact"=>{"address"=>{"address1"=>"123 Main Street", "city"=>"Santa Rosa", "address2"=>nil, "zip"=>"95401", "_id"=>nil, "county"=>nil, "state"=>"CA"}, "is_person"=>false, "_id"=>nil, "phone_numbers"=>[], "last_name"=>nil, "email_address"=>nil, "organization"=>nil, "first_name"=>nil}, "gender"=>nil, "medicaid_number"=>nil, "last_name"=>"Duo", "middle_initial"=>nil, "date_of_birth"=>nil, "patient_payer"=>nil, "first_name"=>"John"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"11"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000016')}, {"created_at"=>Sun Nov 07 21:49:32 UTC 2010, "social_security_number"=>nil, "global_id"=>"11", "updated_at"=>Sun Nov 07 21:49:32 UTC 2010, "patient_number"=>nil, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000016'), "medicare_number"=>nil, "is_deceased"=>false, "contact"=>{"address"=>{"address1"=>"123 Main Street", "city"=>"Santa Rosa", "address2"=>nil, "zip"=>"95401", "_id"=>nil, "county"=>nil, "state"=>"CA"}, "is_person"=>false, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000015'), "phone_numbers"=>["(123)-456-7890", "(098)-765-4321"], "last_name"=>nil, "email_address"=>nil, "organization"=>nil, "first_name"=>nil}, "gender"=>nil, "medicaid_number"=>nil, "last_name"=>"Duo", "middle_initial"=>nil, "date_of_birth"=>nil, "patient_payer"=>nil, "first_name"=>"John"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"11"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000019')}, {"created_at"=>Sun Nov 07 21:49:32 UTC 2010, "social_security_number"=>nil, "global_id"=>"11", "updated_at"=>Sun Nov 07 21:49:32 UTC 2010, "patient_number"=>nil, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000019'), "medicare_number"=>nil, "is_deceased"=>false, "contact"=>{"address"=>{"address1"=>"123 Main Street", "city"=>"Santa Rosa", "address2"=>nil, "zip"=>"95401", "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000017'), "county"=>nil, "state"=>"CA"}, "is_person"=>false, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000018'), "phone_numbers"=>["(123)-456-7890", "(098)-765-4321"], "last_name"=>nil, "email_address"=>nil, "organization"=>nil, "first_name"=>nil}, "gender"=>nil, "medicaid_number"=>nil, "last_name"=>"Duo", "middle_initial"=>nil, "date_of_birth"=>nil, "patient_payer"=>nil, "first_name"=>"John"})
RpmOnline_test['patients'].find({:global_id=>"11"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000019')}, {"created_at"=>Sun Nov 07 21:49:32 UTC 2010, "social_security_number"=>nil, "global_id"=>"11", "updated_at"=>Sun Nov 07 21:49:32 UTC 2010, "patient_number"=>nil, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000019'), "medicare_number"=>nil, "is_deceased"=>false, "contact"=>{"address"=>{"address1"=>"123 Main Street", "city"=>"Santa Rosa", "address2"=>nil, "zip"=>"95401", "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000017'), "county"=>nil, "state"=>"CA"}, "is_person"=>false, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000018'), "phone_numbers"=>["(123)-456-7890", "(098)-765-4321"], "last_name"=>nil, "email_address"=>nil, "organization"=>nil, "first_name"=>nil}, "gender"=>nil, "medicaid_number"=>nil, "last_name"=>"Duo", "middle_initial"=>nil, "date_of_birth"=>nil, "patient_payer"=>nil, "first_name"=>"John"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb900001a')}, {"created_at"=>Sun Nov 07 21:49:32 UTC 2010, "social_security_number"=>"457292618.0", "global_id"=>"133203750", "updated_at"=>Sun Nov 07 21:49:32 UTC 2010, "patient_number"=>"12102978.0", "_id"=>BSON::ObjectId('4cd71eecb2693d5cb900001a'), "medicare_number"=>"", "is_deceased"=>true, "contact"=>{"address"=>{"address1"=>"427 MONTROSE ST APT 104", "city"=>"SAN ANTONIO", "address2"=>"", "zip"=>"78210", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "is_person"=>true, "_id"=>nil, "phone_numbers"=>["(210)328-7912", "(619)947-1535 Ext. JESSI"], "last_name"=>"ROSAS", "email_address"=>"PT'S DAUGHTER JESSICA", "organization"=>"", "first_name"=>"ELVIRA"}, "gender"=>"Female", "medicaid_number"=>"", "last_name"=>nil, "middle_initial"=>"", "date_of_birth"=>Sun Feb 20 00:00:00 UTC 1966, "patient_payer"=>[{"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>""}, {"payment_source"=>"D - Medicaid", "coverage"=>"Medicaid", "relationship"=>"Self", "eligibility_status"=>""}], "first_name"=>nil})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['charge_types'].find({:global_id=>"130092992"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130092992"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb900001b')}, {"name"=>"TRANDUCER NEONATE", "charge_category"=>"Supplies", "created_at"=>Sun Nov 07 21:49:32 UTC 2010, "global_id"=>"130092992", "updated_at"=>Sun Nov 07 21:49:32 UTC 2010, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb900001b'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130092992"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb900001c')}, {"name"=>"Test Inc.", "created_at"=>Sun Nov 07 21:49:32 UTC 2010, "global_id"=>"1", "updated_at"=>Sun Nov 07 21:49:32 UTC 2010, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb900001c'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eecb2693d5cb900001c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb900001d')}, {"encrypted_password"=>"$2a$10$BifMZYiyZfOfgxu18RdVBenrwERzHtEFgKAUJO3yW3mOFnNAwyVhu", "created_at"=>Sun Nov 07 21:49:32 UTC 2010, "global_id"=>"69", "updated_at"=>Sun Nov 07 21:49:32 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb900001d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$BifMZYiyZfOfgxu18RdVBe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eecb2693d5cb900001c'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eecb2693d5cb900001c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb900001e')}, {"encrypted_password"=>"$2a$10$phuEaw5vl8e0FaGeay8Bxu6IgjH2sk.8OCUtOcNLdZzFWSrzZbt/S", "created_at"=>Sun Nov 07 21:49:32 UTC 2010, "global_id"=>"70", "updated_at"=>Sun Nov 07 21:49:32 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb900001e'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$phuEaw5vl8e0FaGeay8Bxu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eecb2693d5cb900001c'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000020')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000020'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000020')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000021')}, {"encrypted_password"=>"$2a$10$.TSF4AGu9DdivecNrYS0H.tyQmYjCV8xNgGA1tcBTa4N5RxyLRoMW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000021'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$.TSF4AGu9DdivecNrYS0H.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000020'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000020')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000022')}, {"encrypted_password"=>"$2a$10$FJBqQ1F2K30LfL5ezeaxwuz8L3CCgm216aN65JHJC5wew9msGF0vu", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000022'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$FJBqQ1F2K30LfL5ezeaxwu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000020'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000024')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000024'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000024')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000025')}, {"encrypted_password"=>"$2a$10$agt3SbS/Ri8Kt8K6NzcSXO3./DpN6HDUJEv6/8im04gS8iDVg76.W", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000025'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$agt3SbS/Ri8Kt8K6NzcSXO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000024'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000024')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000026')}, {"encrypted_password"=>"$2a$10$LlQW2gIJrYvkf6jiLgBzOOY72Fg03qZdQkQP27sy1T.THRnvJp8Zi", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000026'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$LlQW2gIJrYvkf6jiLgBzOO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000024'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000028')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000028'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000028')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000029')}, {"encrypted_password"=>"$2a$10$/a4O7rxH1WGwfVNbGDQz/.a9Y13ldszxg/7Nrc88pKNwYpVV8Kc8q", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000029'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$/a4O7rxH1WGwfVNbGDQz/.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000028'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eecb2693d5cb9000028')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb900002a')}, {"encrypted_password"=>"$2a$10$FwU1zsoF/hsWC1HCqAt72.dURgD3Uw52U141ctZbmY1HaxCK9p.sa", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb900002a'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$FwU1zsoF/hsWC1HCqAt72.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eecb2693d5cb9000028'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb900002c')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb900002c'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eedb2693d5cb900002c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb900002d')}, {"encrypted_password"=>"$2a$10$OasMx2/qICj2K6yDvfgI2eIf6FyJQS11RGH.2ZbfizBruoEpJYEkG", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb900002d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$OasMx2/qICj2K6yDvfgI2e", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eedb2693d5cb900002c'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eedb2693d5cb900002c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb900002e')}, {"encrypted_password"=>"$2a$10$r6qIU13U5xmMyHC7KXf3KOOa4Q9ZJ2bYsugfWBIqIvbPhd0GlzKDK", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb900002e'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$r6qIU13U5xmMyHC7KXf3KO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eedb2693d5cb900002c'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000030')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000030'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000030')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000031')}, {"encrypted_password"=>"$2a$10$tFKAN4BaRDYvZSxHhjrjruvAnnMD/GPDSeGWLuRi6bpxayzVFDcGi", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000031'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$tFKAN4BaRDYvZSxHhjrjru", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000030'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000030')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000032')}, {"encrypted_password"=>"$2a$10$PEVw8cRZtGoSIPZHr79p0uAeuDkyy9MeGETnJmdkoBQg5sv3cwX9a", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000032'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$PEVw8cRZtGoSIPZHr79p0u", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000030'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000030')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000033')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000033'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000030'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000033')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000033'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>nil, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000034'), "workflow_state"=>nil}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000030'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000033')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:"insurance_claims._id"=>BSON::ObjectId('4cd71eedb2693d5cb9000034')}, {})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000035')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"a"=>1, "b"=>"2"}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000035'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000030'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000033'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000033'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000034'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000036')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000036'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000036')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000037')}, {"encrypted_password"=>"$2a$10$TxD/tIQY.LM56hTAYSnbPehuSOfY8JvhcWgNm6ptydn2ZtnUsCfVy", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000037'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$TxD/tIQY.LM56hTAYSnbPe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000036'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000036')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000038')}, {"encrypted_password"=>"$2a$10$Cii8sX1bQa5qjfEZaGJXPOvWvB6qDVddxRREwFSSqxVtBewlrtW0e", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000038'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$Cii8sX1bQa5qjfEZaGJXPO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000036'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000036')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000039')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000039'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000036'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000039')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71eedb2693d5cb9000039')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb900003a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb900003a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000036'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000039'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000039'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb900003a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb900003a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000036'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000039'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000039'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71eedb2693d5cb900003a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"a"=>"b"}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eedb2693d5cb900003a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000036'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000039'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000039'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71eeeb2693d5cb900003b"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb900003c')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71eeeb2693d5cb900003b", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb900003c'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000036'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71eedb2693d5cb900003a'), "billing_record_id"=>BSON::ObjectId('4cd71eedb2693d5cb9000039'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb900003d')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb900003d'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb900003d')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb900003e')}, {"encrypted_password"=>"$2a$10$fM3P4OefLaHNcyUme3X0TeQyjvRLkIBZ6dA4RqY.xB7ZToh/Uq7/S", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb900003e'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$fM3P4OefLaHNcyUme3X0Te", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb900003d'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb900003d')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb900003f')}, {"encrypted_password"=>"$2a$10$NvOJbGBVsUeJeoJZqQGf9OXCx8HfmZ2p/VFpKYJYEjTxN4OaLp/CW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb900003f'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$NvOJbGBVsUeJeoJZqQGf9O", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb900003d'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb900003d')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000040')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000040'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb900003d'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000040')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000040')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000041')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd71eeeb2693d5cb9000040", "context_type"=>"BillingRecord", "is_emergent_transport"=>"yes", "params"=>{"response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000041'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb900003d'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000040'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000040'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000041')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd71eeeb2693d5cb9000040", "context_type"=>"BillingRecord", "previous_params"=>{"response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000041'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb900003d'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000040'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000040'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000041')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd71eeeb2693d5cb9000040", "context_type"=>"BillingRecord", "previous_params"=>{"response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"response_field"=>"is_emergent_transport"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000041'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb900003d'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000040'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000040'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000040')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000040'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"yes", "charges"=>[], "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb900003d'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71eeeb2693d5cb9000042"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000043')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71eeeb2693d5cb9000042", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000043'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb900003d'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000041'), "billing_record_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000040'), "user_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000040')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000044')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000044'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000044')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000045')}, {"encrypted_password"=>"$2a$10$vpxGUjEPuaCPZ73Ad1K63OTUW86N.PQMz7uUDVe0WRVM5IfhammAK", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000045'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$vpxGUjEPuaCPZ73Ad1K63O", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000044'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000044')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000046')}, {"encrypted_password"=>"$2a$10$y3M86jfKQ67xaBUoeVGFP.RFfObkLS8/RJ6ckQ0hieOy0/YqaARCW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000046'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$y3M86jfKQ67xaBUoeVGFP.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000044'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000044')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000047')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000047'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000044'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000047')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000047')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000048')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd71eeeb2693d5cb9000047", "is_valid_pcs"=>"no", "context_type"=>"BillingRecord", "is_emergent_transport"=>"yes", "params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport"}}]}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000048'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000044'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000047'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000047'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000048')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd71eeeb2693d5cb9000047", "context_type"=>"BillingRecord", "is_valid_pcs"=>"no", "previous_params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport"}}]}, "is_emergent_transport"=>"yes", "params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport"}}]}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000048'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000044'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000047'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000047'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000048')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd71eeeb2693d5cb9000047", "context_type"=>"BillingRecord", "is_valid_pcs"=>"no", "previous_params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport"}}]}, "is_emergent_transport"=>"yes", "params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport"}}]}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000048'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000044'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000047'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000047'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000047')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>"no", "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000047'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"yes", "charges"=>[], "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000044'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71eeeb2693d5cb9000049"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb900004a')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71eeeb2693d5cb9000049", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eeeb2693d5cb900004a'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000044'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000048'), "billing_record_id"=>BSON::ObjectId('4cd71eeeb2693d5cb9000047'), "user_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71eeeb2693d5cb9000047')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb900004b')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004b'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eefb2693d5cb900004b')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb900004c')}, {"encrypted_password"=>"$2a$10$ZQRqRblO5iN6BeCnevh5oOd4Bjg7dL9Z77cXWQFCrJ.wE16Cmd.ri", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004c'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$ZQRqRblO5iN6BeCnevh5oO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004b'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eefb2693d5cb900004b')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb900004d')}, {"encrypted_password"=>"$2a$10$TI.LAiLV8vzi/y3NPxbnZuKA2YpIJBakHW4srCk88zLW0KXP3LfZ6", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$TI.LAiLV8vzi/y3NPxbnZu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004b'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eefb2693d5cb900004b')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb900004e')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004e'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004b'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71eefb2693d5cb900004e')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71eefb2693d5cb900004e')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb900004f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd71eefb2693d5cb900004e", "is_valid_pcs"=>"no", "context_type"=>"BillingRecord", "was_billed_with_gy_modifier"=>"yes", "is_emergent_transport"=>"no", "params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport", "choices"=>["yes", {"no"=>{"response_field"=>"was_billed_with_gy_modifier"}}]}}]}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb900004f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd71eefb2693d5cb900004e", "context_type"=>"BillingRecord", "is_valid_pcs"=>"no", "was_billed_with_gy_modifier"=>"yes", "previous_params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport", "choices"=>["yes", {"no"=>{"response_field"=>"was_billed_with_gy_modifier"}}]}}]}, "is_emergent_transport"=>"no", "params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport", "choices"=>["yes", {"no"=>{"response_field"=>"was_billed_with_gy_modifier"}}]}}]}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb900004f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd71eefb2693d5cb900004e", "context_type"=>"BillingRecord", "is_valid_pcs"=>"no", "was_billed_with_gy_modifier"=>"yes", "previous_params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport", "choices"=>["yes", {"no"=>{"response_field"=>"was_billed_with_gy_modifier"}}]}}]}, "is_emergent_transport"=>"no", "params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport", "choices"=>["yes", {"no"=>{"response_field"=>"was_billed_with_gy_modifier"}}]}}]}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb900004e')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>"no", "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>"yes", "_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004e'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"no", "charges"=>[], "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004b'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71eefb2693d5cb9000050"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000051')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71eefb2693d5cb9000050", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000051'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004b'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004f'), "billing_record_id"=>BSON::ObjectId('4cd71eefb2693d5cb900004e'), "user_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71eefb2693d5cb900004e')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000052')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000052'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000052')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000053')}, {"encrypted_password"=>"$2a$10$CXZ3Uzlc1Jw6tUruycmM8./enzWyAK.ilmFxpX5QXHncBxbLj9VYW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000053'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$CXZ3Uzlc1Jw6tUruycmM8.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000052'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000052')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000054')}, {"encrypted_password"=>"$2a$10$EjT4F.nsP8OBzWRVwBxeO.ktYgUeDjJ9N5reQIfuJVIZZ3kILjQxG", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000054'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$EjT4F.nsP8OBzWRVwBxeO.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000052'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000052')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000055')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000055'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000052'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000055')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000055')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000056')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000056'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000052'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000055'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000055'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000056')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"skipped", "resolved_by"=>"system", "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000056'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000052'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000055'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000055'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000057')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000057'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000057')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000058')}, {"encrypted_password"=>"$2a$10$ZMRnNlrMsLoIPNqu3g68H.lWbmN9mXGg4djgfMFjz3SKrPUQyRfWa", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000058'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$ZMRnNlrMsLoIPNqu3g68H.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000057'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000057')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000059')}, {"encrypted_password"=>"$2a$10$kCNczVFY59jlyFuX0bfNCeRxvKW0tWJNE9GNJX6difMo1TGoSNOq6", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000059'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$kCNczVFY59jlyFuX0bfNCe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000057'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71eefb2693d5cb9000057')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb900005a')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Mon Jan 01 00:00:00 UTC 2001, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Mon Jan 01 00:00:00 UTC 2001, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005a'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000057'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb900005a')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb900005a')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb900005b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000057'), "work_item_id"=>nil, "due_date"=>Mon Jan 01 00:00:00 UTC 2001, "grace_period_expiration_date"=>Tue Jan 02 00:00:00 UTC 2001, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb900005b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"test", "resolved_by"=>"system", "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>Mon Jan 01 00:00:00 UTC 2001, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71eefb2693d5cb9000057'), "work_item_id"=>nil, "due_date"=>Mon Jan 01 00:00:00 UTC 2001, "grace_period_expiration_date"=>Tue Jan 02 00:00:00 UTC 2001, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb900005c')}, {"name"=>"Test Inc.", "created_at"=>Mon Jan 01 00:00:00 UTC 2001, "global_id"=>"1", "updated_at"=>Mon Jan 01 00:00:00 UTC 2001, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005c'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb900005c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb900005d')}, {"encrypted_password"=>"$2a$10$HfWqhHql/0etN2aYh/jgFuTogGAAkGBsSZK3WgeCZJWp/W1ptsYJO", "created_at"=>Mon Jan 01 00:00:00 UTC 2001, "global_id"=>"69", "updated_at"=>Mon Jan 01 00:00:00 UTC 2001, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$HfWqhHql/0etN2aYh/jgFu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005c'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb900005c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb900005e')}, {"encrypted_password"=>"$2a$10$kkxVClAXqAjmuUGVnfY5vene2uuXUwXlkhOr1SMYrMBoKBbteQscW", "created_at"=>Mon Jan 01 00:00:00 UTC 2001, "global_id"=>"70", "updated_at"=>Mon Jan 01 00:00:00 UTC 2001, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005e'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$kkxVClAXqAjmuUGVnfY5ve", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005c'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb900005c')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb900005f')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005f'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005c'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb900005f')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb900005f')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000060')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000060'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005c'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005f'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005f'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000060')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"test", "resolved_by"=>"system", "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000060'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005c'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005f'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef0b2693d5cb900005f'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000061')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000061'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000061')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000062')}, {"encrypted_password"=>"$2a$10$bh2Vma7RdLtvllafogY2deym/ptU/nfsPzEuXPZr3u.tvmi7woTi.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000062'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$bh2Vma7RdLtvllafogY2de", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000061'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000061')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000063')}, {"encrypted_password"=>"$2a$10$pqR4cUfr8lWQnXIr4iJBveHIWcvqKa5wbG5/mPhtP1KnsZpmqF9gS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000063'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$pqR4cUfr8lWQnXIr4iJBve", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000061'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000061')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000064')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000064'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000061'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000064')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000064')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000065')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000065'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000061'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000064'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000064'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000065')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"test", "resolved_by"=>"Jones, Jim", "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000065'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000061'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000064'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000064'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000066')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000066'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000066')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000067')}, {"encrypted_password"=>"$2a$10$z1H7isy.7Ymo.wKzxEnr/OYEoXrf.ufMzQ27avwooCBGKN.G0YV46", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000067'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$z1H7isy.7Ymo.wKzxEnr/O", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000066'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000066')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000068')}, {"encrypted_password"=>"$2a$10$o0zaIZSeGmKl//Pb9KoXoe6hWO5/T0wrgCW.xXTK.jFtM6Xaofkki", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000068'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$o0zaIZSeGmKl//Pb9KoXoe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000066'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef0b2693d5cb9000066')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000069')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000069'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000066'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000069')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000069')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000066'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000069'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000069'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"test", "resolved_by"=>"system", "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef0b2693d5cb9000066'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000069'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000069'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006b')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006b'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006b')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006c')}, {"encrypted_password"=>"$2a$10$PDFrrpPNWY3e624GJgPemuqcojUUidHWrysw9OguAiaa6eD3U6aBu", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006c'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$PDFrrpPNWY3e624GJgPemu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006b'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006b')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006d')}, {"encrypted_password"=>"$2a$10$3EU5qCPNtxpV3FHENIiddO79mls1kG20qvfafW8FCD0s2ca.HNYRa", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$3EU5qCPNtxpV3FHENIiddO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006b'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006b')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006e')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006e'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006b'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006e')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006e')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"task_type"=>"event", "event"=>"claim_entered"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006e')}, {})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"cancelled", "resolved_by"=>"system", "data"=>{"fields"=>{"params"=>{"task_type"=>"event", "event"=>"claim_entered"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"cancelled", "resolved_by"=>"system", "data"=>{"fields"=>{"params"=>{"task_type"=>"event", "event"=>"claim_entered"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006e')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006e')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006e'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006b'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered"})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"task_type"=>"event", "event"=>"claim_entered"}, "params"=>{"task_type"=>"event", "event"=>"claim_entered"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"task_type"=>"event", "event"=>"claim_entered"}, "params"=>{"task_type"=>"event", "event"=>"claim_entered"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71ef1b2693d5cb9000070"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000071')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71ef1b2693d5cb9000070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000071'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006b'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006f'), "billing_record_id"=>BSON::ObjectId('4cd71ef1b2693d5cb900006e'), "user_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb900006e')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000072')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000072'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000072')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000073')}, {"encrypted_password"=>"$2a$10$9mTQSMl.TT8B0ZeqTT/C5.tpoFik2UuGVLdEmT.C5KoVo0ylV/YWG", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000073'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$9mTQSMl.TT8B0ZeqTT/C5.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000072'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000072')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000074')}, {"encrypted_password"=>"$2a$10$xCTffiRINfAPycT4F1NkbeQO2BcGKZ0btzWkq.hq5Y7g2Ym/oPGw.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000074'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$xCTffiRINfAPycT4F1Nkbe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000072'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000072')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000075')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000075'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000072'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000075')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000075')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000076')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"unique_id"=>"a"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000076'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000072'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000075'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000075'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000076')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"unique_id"=>"a"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000076'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000072'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000075'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000075'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000075')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000075')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000077')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"unique_id"=>"b"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000077'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000072'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000075'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000075'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000077')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"unique_id"=>"b"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000077'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000072'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000075'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000075'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef1b2693d5cb9000075')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000075'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef1b2693d5cb9000072'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['work_items'].find({:"data.fields.params.unique_id"=>"b"}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000078')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000078'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000078')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000079')}, {"encrypted_password"=>"$2a$10$cfjOXGde0dCu6jKc20MhpO8SZaNUbdxDzdya06f.BnyMWL0L8ow2S", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000079'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$cfjOXGde0dCu6jKc20MhpO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000078'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000078')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb900007a')}, {"encrypted_password"=>"$2a$10$.UwRGsoZkHHdIETORfqXq.ksG9cT39ocy1IyWFXYqqd2jp2hTcENS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb900007a'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$.UwRGsoZkHHdIETORfqXq.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000078'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000078')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb900007b')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb900007b'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000078'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb900007b')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb900007b')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb900007c')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"due_in"=>"3 days"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb900007c'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000078'), "work_item_id"=>nil, "due_date"=>Fri Aug 06 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Aug 09 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef2b2693d5cb900007b'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef2b2693d5cb900007b'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb900007d')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb900007d'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb900007d')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb900007e')}, {"encrypted_password"=>"$2a$10$Ktz6LMdmqUHsm96ft1fqCO4RbBkPr60/qhAblNyagax9QiL7Rvv6K", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb900007e'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$Ktz6LMdmqUHsm96ft1fqCO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb900007d'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb900007d')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb900007f')}, {"encrypted_password"=>"$2a$10$JZn96SxSNi333zwnQSCgoez6MY5rPM1ytAozd1PbbnG52um2B3jWq", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb900007f'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$JZn96SxSNi333zwnQSCgoe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb900007d'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb900007d')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000080')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000080'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb900007d'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000080')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000080')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000081')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"due_in"=>"3 days", "grace_period"=>"3 days"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000081'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb900007d'), "work_item_id"=>nil, "due_date"=>Fri Aug 06 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 11 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000080'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000080'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000082')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000082'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000082')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000083')}, {"encrypted_password"=>"$2a$10$qc9FAh4vhvEo4YtoVl1wDOhcxvQ8d5CVQ0b8hKm1TfE2r.sn5J6ge", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000083'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$qc9FAh4vhvEo4YtoVl1wDO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000082'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000082')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000084')}, {"encrypted_password"=>"$2a$10$/jn6lzrvLZHXcBK1agz7veFJVG44sIJjY7ItvpPa0rBbxpAB65LYq", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000084'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$/jn6lzrvLZHXcBK1agz7ve", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000082'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000082')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000085')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000085'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000082'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000085')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000085')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000086')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000086'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000082'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000085'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000085'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000087')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000087'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000087')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb9000088')}, {"encrypted_password"=>"$2a$10$8iOObnKyvyz5V.vCOhQtUudI9zQ3njeB9QfhBBSJrPmm2flKEsawq", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000088'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$8iOObnKyvyz5V.vCOhQtUu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000087'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000087')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb9000089')}, {"encrypted_password"=>"$2a$10$UXAt80POEvq10O30vWa/7OsEqzWLGZZqLtrjcv1VFLX6ENKQdm4iG", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000089'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$UXAt80POEvq10O30vWa/7O", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000087'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef2b2693d5cb9000087')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb900008a')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef3b2693d5cb900008a'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000087'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb900008a')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb900008a')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb900008b')}, {"name"=>"Billed With Gy Modifier", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"task"=>"billed_with_gy_modifier"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef3b2693d5cb900008b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef2b2693d5cb9000087'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef3b2693d5cb900008a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef3b2693d5cb900008a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb900008c')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef3b2693d5cb900008c'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb900008c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb900008d')}, {"encrypted_password"=>"$2a$10$UDerH.NDKXeUmsq1bGzQDOk2Kw1HECZqAuivn/YP.AdZhqTCO6OLy", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef3b2693d5cb900008d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$UDerH.NDKXeUmsq1bGzQDO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef3b2693d5cb900008c'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb900008c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb900008e')}, {"encrypted_password"=>"$2a$10$LVGB1Na4H6U6z0uzICs5S.FDM2KNhmXtQFzpfwP0bv5QPMh0OvQbS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef3b2693d5cb900008e'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$LVGB1Na4H6U6z0uzICs5S.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef3b2693d5cb900008c'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb900008c')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb900008f')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef3b2693d5cb900008f'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef3b2693d5cb900008c'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb900008f')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb900008f')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb9000090')}, {"name"=>"Billed With GY Modifier", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"title"=>"Billed With GY Modifier", "task"=>"billed_with_gy_modifier"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000090'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef3b2693d5cb900008c'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef3b2693d5cb900008f'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef3b2693d5cb900008f'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb9000091')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000091'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb9000091')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb9000092')}, {"encrypted_password"=>"$2a$10$H0/jom52R3pWMT1end6zUuZQ.O.pbxi0BDVp5AJl/oVQM65qHKn/6", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000092'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$H0/jom52R3pWMT1end6zUu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000091'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb9000091')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb9000093')}, {"encrypted_password"=>"$2a$10$XgraD4JsC.FnCHVhwWAnveKsfidc6oGmax8sw/60tZXtv22p9DZV6", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000093'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$XgraD4JsC.FnCHVhwWAnve", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000091'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef3b2693d5cb9000091')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb9000094')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb9000094'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000091'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb9000094')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb9000095')}, {"name"=>"test1", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb9000095'), "assigned_to_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000092'), "company_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000091'), "work_item_id"=>nil, "due_date"=>Tue Jul 20 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Aug 10 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef4b2693d5cb9000094'), "assigned_to_name"=>nil, "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb9000094')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb9000096')}, {"name"=>"test2", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb9000096'), "assigned_to_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000092'), "company_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000091'), "work_item_id"=>nil, "due_date"=>Sun Jul 25 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Aug 10 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef4b2693d5cb9000094'), "assigned_to_name"=>nil, "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb9000094')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb9000097')}, {"name"=>"test6", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb9000097'), "assigned_to_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000093'), "company_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000091'), "work_item_id"=>nil, "due_date"=>Mon Jul 26 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Aug 10 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef4b2693d5cb9000094'), "assigned_to_name"=>nil, "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb9000094')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb9000098')}, {"name"=>"test3", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb9000098'), "assigned_to_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000092'), "company_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000091'), "work_item_id"=>nil, "due_date"=>Thu Jul 29 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Aug 09 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef4b2693d5cb9000094'), "assigned_to_name"=>nil, "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb9000094')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb9000099')}, {"name"=>"test4", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb9000099'), "assigned_to_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000093'), "company_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000091'), "work_item_id"=>nil, "due_date"=>Thu Jul 29 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Aug 10 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef4b2693d5cb9000094'), "assigned_to_name"=>nil, "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb9000094')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb900009a')}, {"name"=>"test5", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb900009a'), "assigned_to_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000092'), "company_id"=>BSON::ObjectId('4cd71ef3b2693d5cb9000091'), "work_item_id"=>nil, "due_date"=>Mon Aug 09 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Aug 10 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef4b2693d5cb9000094'), "assigned_to_name"=>nil, "context_entity"=>nil})
RpmOnline_test['$cmd'].find({"count"=>"work_items", "query"=>{:resolution=>"pending"}, "fields"=>nil}, {}).limit(-1)
RpmOnline_test['$cmd'].find({"count"=>"work_items", "query"=>{:assigned_to_id=>BSON::ObjectId('4cd71ef3b2693d5cb9000092'), :due_date=>{"$lte"=>Tue Aug 03 00:00:00 UTC 2010}, :resolution=>"pending"}, "fields"=>nil}, {}).limit(-1)
RpmOnline_test['$cmd'].find({"count"=>"work_items", "query"=>{:due_date=>{"$lte"=>Tue Aug 03 00:00:00 UTC 2010}}, "fields"=>nil}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb900009e')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb900009e'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb900009e')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb900009f')}, {"encrypted_password"=>"$2a$10$df2dRJTXClsGkJbZddGetuVmK96Z081L3WAKmOfyVL4r9BNoouogq", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb900009f'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$df2dRJTXClsGkJbZddGetu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef4b2693d5cb900009e'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb900009e')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a0')}, {"encrypted_password"=>"$2a$10$70zmA/6KaoPRkfS6Jmqc6ucnhng8TESQnh.W2ReqJr8MWS.NWAoR.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a0'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$70zmA/6KaoPRkfS6Jmqc6u", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef4b2693d5cb900009e'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb900009e')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a1')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a1'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>"TRISTATE CAREFLIGHT 20", "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef4b2693d5cb900009e'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a1')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a1')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a2')}, {"name"=>"Verify Consent Form", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"task"=>"verify_consent_form", "ref"=>"data_entry"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a2'), "assigned_to_id"=>BSON::ObjectId('4cd71ef4b2693d5cb900009b'), "company_id"=>BSON::ObjectId('4cd71ef4b2693d5cb900009e'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a1'), "assigned_to_name"=>"DOE, JOHN", "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a1'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a3')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a3'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a3')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a4')}, {"encrypted_password"=>"$2a$10$ukHw4wt.Uz0rH9Ok21b/4OKPilzal5iwddaul5pcOSKSWpb2/juaG", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a4'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$ukHw4wt.Uz0rH9Ok21b/4O", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a3'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a3')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a5')}, {"encrypted_password"=>"$2a$10$K/R8ZgGobuUQ/NgMx..eW.826SYMTIywRk6RrG/9qUxLJ27pkzrLa", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a5'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$K/R8ZgGobuUQ/NgMx..eW.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a3'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a3')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>"TRISTATE CAREFLIGHT 30", "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a3'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a6')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a7')}, {"name"=>"Verify Consent Form", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"task"=>"verify_consent_form", "ref"=>"data_entry"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a7'), "assigned_to_id"=>BSON::ObjectId('4cd71ef4b2693d5cb900009c'), "company_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a3'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a6'), "assigned_to_name"=>"DOE, JILL", "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a6'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a8')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a8'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a8')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a9')}, {"encrypted_password"=>"$2a$10$RvGHxP93cU1XGk4XBoqLHeQ7BQ1jgGUWngfkfEGvkoWHAenIOAoJO", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a9'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$RvGHxP93cU1XGk4XBoqLHe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a8'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a8')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000aa')}, {"encrypted_password"=>"$2a$10$eyNaJ/f1JVi9D/XRYj4QjOLxSrWJmKiFOcvd6BM1PC3.q6d6iZHCm", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000aa'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$eyNaJ/f1JVi9D/XRYj4QjO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a8'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef4b2693d5cb90000a8')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000ab')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000ab'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>"TRISTATE CAREFLIGHT 20", "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a8'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000ab')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000ab')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000ac')}, {"name"=>"Contact Patient", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"task"=>"contact_patient", "ref"=>"biller"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000ac'), "assigned_to_id"=>BSON::ObjectId('4cd71ef4b2693d5cb900009d'), "company_id"=>BSON::ObjectId('4cd71ef4b2693d5cb90000a8'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000ab'), "assigned_to_name"=>"DOE, JUAN", "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000ab'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000ad')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000ad'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000ad')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000ae')}, {"encrypted_password"=>"$2a$10$poLLyq77HRorFx.OMUzDWOZrXThfrtD/9QnWmGNRBkDlF6AUTKU1i", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000ae'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$poLLyq77HRorFx.OMUzDWO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000ad'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000ad')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000af')}, {"encrypted_password"=>"$2a$10$.qK7rMOUsjK7OKdW0cZ4AOEbd6O5M44lrCks/1kg2rDP.I0Kil.bC", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000af'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$.qK7rMOUsjK7OKdW0cZ4AO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000ad'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000ad')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b0')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b0'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000ad'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b0')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b0')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b1')}, {"name"=>"Contact Patient", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"task"=>"contact_patient", "ref"=>"biller"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b1'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000ad'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b0'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b0'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b2')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b2'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b2')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b3')}, {"encrypted_password"=>"$2a$10$4fwJsnZtc0jGs.UNKBk4O.jtIthvxScnRr8ObFVoz2k/w7PM1d.dy", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b3'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$4fwJsnZtc0jGs.UNKBk4O.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b2'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b2')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b4')}, {"encrypted_password"=>"$2a$10$Jvpo/4iRx.ntcqFqSD0m/uhkdC.xaw4ZthesDZkbdDiBF6A6y0lFi", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b4'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$Jvpo/4iRx.ntcqFqSD0m/u", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b2'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b2')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b5')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b5'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>"TRISTATE CAREFLIGHT 30", "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b5')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b5'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>nil, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b6'), "workflow_state"=>nil}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>"TRISTATE CAREFLIGHT 30", "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b5')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:"insurance_claims._id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b6')}, {})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b7')}, {"name"=>"Verify Insurance Claim", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"task"=>"verify_insurance_claim", "ref"=>"biller"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b7'), "assigned_to_id"=>BSON::ObjectId('4cd71ef4b2693d5cb900009d'), "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b2'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b5'), "assigned_to_name"=>"DOE, JUAN", "context_entity"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b5'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b6'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b8')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b8'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b8')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b9')}, {"encrypted_password"=>"$2a$10$ef/DwzYd4e5dkWQGJmmgKeM6BSDxVZh83mc57Bcu0MS4TWvQXMS8G", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b9'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$ef/DwzYd4e5dkWQGJmmgKe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b8'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b8')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000ba')}, {"encrypted_password"=>"$2a$10$oGex8FSy5HLPlPppIpOj9OucUmzh2Jwmjf5he13xDbor7rAgjVJam", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000ba'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$oGex8FSy5HLPlPppIpOj9O", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b8'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef5b2693d5cb90000b8')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000bb')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bb'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b8'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000bb')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000bb')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000bc')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd71ef6b2693d5cb90000bb", "context_type"=>"BillingRecord", "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bc'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b8'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bb'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bb'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000bc')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd71ef6b2693d5cb90000bb", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bc'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b8'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bb'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bb'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000bc')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd71ef6b2693d5cb90000bb", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bc'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b8'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bb'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bb'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000bb')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bb'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"yes", "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b8'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71ef6b2693d5cb90000bd"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000be')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item 'Test' completed. ", "global_id"=>"4cd71ef6b2693d5cb90000bd", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000be'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef5b2693d5cb90000b8'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bc'), "billing_record_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bb'), "user_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000bb')}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000bf')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bf'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000bf')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c0')}, {"encrypted_password"=>"$2a$10$aP..OLIfxrZv1R2UpdTWpOS4p0Wxr7YZQF.olkUMm2MvUWEOw3A6q", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c0'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$aP..OLIfxrZv1R2UpdTWpO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bf'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000bf')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c1')}, {"encrypted_password"=>"$2a$10$tijDikPoHcq8EDQmq44y2uoxCI2WKmFjiQs1vE9pwQEFg5031c2Iq", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c1'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$tijDikPoHcq8EDQmq44y2u", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bf'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000bf')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c2')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c2'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bf'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c2')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c2')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c3')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd71ef6b2693d5cb90000c2", "context_type"=>"BillingRecord", "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c3'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bf'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c2'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c2'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c3')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd71ef6b2693d5cb90000c2", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c3'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bf'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c2'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c2'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c3')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd71ef6b2693d5cb90000c2", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c3'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bf'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c2'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c2'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c2')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c2'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"yes", "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bf'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71ef6b2693d5cb90000c4"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c5')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item 'Test' completed. ", "global_id"=>"4cd71ef6b2693d5cb90000c4", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c5'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000bf'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c3'), "billing_record_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c2'), "user_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c2')}, {})
RpmOnline_test['work_items'].find({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c3')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c6')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c6'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c6')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c7')}, {"encrypted_password"=>"$2a$10$jykrJAGXoA.SKdHKuEK1V.UhdhTsSJJyYzKJlGwqyLg29sRDhZ3kW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c7'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$jykrJAGXoA.SKdHKuEK1V.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c6'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c6')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c8')}, {"encrypted_password"=>"$2a$10$htTsaX/iHPQVxfBQIRb8y.F5nzaCtYf4Ke2FGH2mgU.hOZrDfEzUK", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c8'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$htTsaX/iHPQVxfBQIRb8y.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c6'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c6')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c9')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c9'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c9')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c9')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000ca')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd71ef6b2693d5cb90000c9", "context_type"=>"BillingRecord", "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000ca'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c6'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c9'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c9'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000ca')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd71ef6b2693d5cb90000c9", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000ca'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c6'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c9'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c9'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000ca')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd71ef6b2693d5cb90000c9", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000ca'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c6'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c9'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c9'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c9')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c9'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"yes", "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71ef7b2693d5cb90000cb"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000cc')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item 'Test' completed. ", "global_id"=>"4cd71ef7b2693d5cb90000cb", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000cc'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c6'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000ca'), "billing_record_id"=>BSON::ObjectId('4cd71ef6b2693d5cb90000c9'), "user_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71ef6b2693d5cb90000c9')}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000cd')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000cd'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000cd')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000ce')}, {"encrypted_password"=>"$2a$10$qxNFhGWbguG1/CmiTvUCougVTfP6.JAdD1wvgzPlRjLe4ozlF/t3K", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000ce'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$qxNFhGWbguG1/CmiTvUCou", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000cd'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000cd')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000cf')}, {"encrypted_password"=>"$2a$10$WyJd1VZnhSzIZ5QTVcdoqu4ZeZztddjaGB2ZzXPxH950O7SiskoAi", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000cf'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$WyJd1VZnhSzIZ5QTVcdoqu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000cd'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000cd')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d0')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d0'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000cd'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d0')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d0')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d1')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd71ef7b2693d5cb90000d0", "context_type"=>"BillingRecord", "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d1'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000cd'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d0'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d0'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d1')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"Blow, Joe", "data"=>{"fields"=>{"context_id"=>"4cd71ef7b2693d5cb90000d0", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d1'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000cd'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000ce'), "billing_record_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d0'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d0'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d1')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"Blow, Joe", "data"=>{"fields"=>{"context_id"=>"4cd71ef7b2693d5cb90000d0", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d1'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000cd'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000ce'), "billing_record_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d0'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d0'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d0')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d0'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"yes", "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000cd'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71ef7b2693d5cb90000d2"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d3')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item 'Test' completed. ", "global_id"=>"4cd71ef7b2693d5cb90000d2", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d3'), "tags"=>["system", "work_item", "user_created"], "user_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000ce'), "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000cd'), "user_name"=>"Blow, Joe", "work_item_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d1'), "billing_record_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d0'), "user_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d0')}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d4')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d4'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d4')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d5')}, {"encrypted_password"=>"$2a$10$yXRW8ONOeihIeGyiS2VTEOgSoCtsISai5zz0zNAcTwLUIbrQUww8q", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d5'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$yXRW8ONOeihIeGyiS2VTEO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d4'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d4')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d6')}, {"encrypted_password"=>"$2a$10$dEBI7D0qnlAZGPm0AFZTFuBUcCbi8QlDRbQ5D7ku3jh2pSQbmPn7u", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d6'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$dEBI7D0qnlAZGPm0AFZTFu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d4'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d4')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d4'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d7')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d7')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d8')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd71ef7b2693d5cb90000d7", "context_type"=>"BillingRecord", "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport", "question"=>"Is this an emergent transport?"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d8'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d4'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d7'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d8')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd71ef7b2693d5cb90000d7", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport", "question"=>"Is this an emergent transport?"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "question"=>"Is this an emergent transport?", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d8'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d4'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d7'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d8')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd71ef7b2693d5cb90000d7", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport", "question"=>"Is this an emergent transport?"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "question"=>"Is this an emergent transport?", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d8'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d4'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d7'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"yes", "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d4'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71ef7b2693d5cb90000d9"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000da')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item 'Test' completed. Question asked: Is this an emergent transport? Answer: yes", "global_id"=>"4cd71ef7b2693d5cb90000d9", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000da'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d4'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d8'), "billing_record_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000d7'), "user_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000d7')}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000db')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000db'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef7b2693d5cb90000dc')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"12345", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Wed Jul 07 00:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000dc'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef7b2693d5cb90000db'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Wed Jul 07 00:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:billing_record_number=>"12345"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000dd')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000dd'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000de')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"12345", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Jul 12 00:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000de'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000dd'), "patient_name"=>nil, "last_payment_date"=>Mon Jul 12 00:00:00 UTC 2010, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Wed Jul 07 00:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>{"credit_type"=>"test", "amount"=>200, "effective_date"=>"2010-07-12"}})
RpmOnline_test['billing_records'].find({:billing_record_number=>"12345"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000df')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000df'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e0')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"12345", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Wed Jul 07 00:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e0'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000df'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Wed Jul 07 00:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil})
RpmOnline_test['billing_records'].find({:billing_record_number=>"12345"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e1')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e1'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e2')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"12345", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Jul 12 00:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e2'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e1'), "patient_name"=>nil, "last_payment_date"=>Mon Jul 12 00:00:00 UTC 2010, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Wed Jul 07 00:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>{"credit_type"=>"test", "amount"=>200, "effective_date"=>"2010-07-12"}})
RpmOnline_test['billing_records'].find({:billing_record_number=>"12345"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e3')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e3'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e4')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e4')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e4'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e3'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"pcr_received", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"PcrReceived", "last_credit_received"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e5')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e5'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"payer_source_pending", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"PayerSourcePending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"private_pay_pending", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"PrivatePayPending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e7'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{}, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e7'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"private_pay_pending", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"PrivatePayPending", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e7'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{}, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e7'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"private_pay_pending", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"PrivatePayPending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e7'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{}, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e7'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e7'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{}, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e7'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"credit_balance_pending", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"CreditBalancePending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e6'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e7'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{}, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e7'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"zero_balance", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ZeroBalance", "last_credit_received"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e8')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e8'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e9')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e9')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e9'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e8'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e9')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e9')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e9'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e9'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000ea'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000ea'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e8'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e9')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e9'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e9'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000ea'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000ea'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e8'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e9')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000e9')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e9'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e9'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000ea'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000ea'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000e8'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef8b2693d5cb90000eb')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000eb'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ec')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ec')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ec'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000eb'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ec')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ec')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ec'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ec'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ed'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ed'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000eb'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ec')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ec'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ec'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ed'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ed'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000eb'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ec')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ec')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ec'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ec'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ed'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ed'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef8b2693d5cb90000eb'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['billing_records'].find({:"insurance_claims._id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ed')}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ee')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ee'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ee'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f0'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f0'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ee'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f0'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f0'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ee'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f0'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f0'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ee'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f0'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f0'), "workflow_state"=>"complete"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ee'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ef'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f0'), "workflow_state"=>"complete"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000ee'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['billing_records'].find({:billing_record_number=>"1234"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f2')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f2'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f4'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f4'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f4'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f4'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f4'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f4'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f4'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f4'), "workflow_state"=>"claim_submitted"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['billing_records'].find({:billing_record_number=>"1234"}, {}).limit(-1)
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f4'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f4'), "workflow_state"=>"complete"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f3'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f4'), "workflow_state"=>"complete"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['billing_records'].find({:billing_record_number=>"1234"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f6')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f6'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f8'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f8'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f8'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f8'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f8'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f8'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f8'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f8'), "workflow_state"=>"claim_submitted"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['billing_records'].find({:billing_record_number=>"1234"}, {}).limit(-1)
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f8'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f8'), "workflow_state"=>"complete"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f8'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f8'), "workflow_state"=>"complete"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71ef9b2693d5cb90000f6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['billing_records'].find({:billing_record_number=>"1234"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb90000f9')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb90000f9'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71efab2693d5cb90000f9'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "company_id"=>BSON::ObjectId('4cd71efab2693d5cb90000f9')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71efab2693d5cb90000f9')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb90000fb')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fb'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb90000fc')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fc'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb90000fd')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fd')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb90000fe')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fe')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb90000ff')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb90000ff')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000100')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000100'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000101')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000101'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000102')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000102'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000103')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000103'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000104')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000104'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000105')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000105'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000106')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000106'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000107')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000107'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000108')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000108'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000109')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000109'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb900010a')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb900010a'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb900010b')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb900010b')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efab2693d5cb90000f9'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130011331"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130011087"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71efab2693d5cb90000f9'), :global_id=>"22222"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130003521"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71efab2693d5cb900010c'), "company_id"=>BSON::ObjectId('4cd71efab2693d5cb90000f9')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb900010c'), "company_id"=>BSON::ObjectId('4cd71efab2693d5cb90000f9')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71efab2693d5cb900010c'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71efab2693d5cb90000f9'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"130003521", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fd'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"130003521", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efab2693d5cb90000f9'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71efab2693d5cb90000f9')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb900010d')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb900010d'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71efab2693d5cb900010d'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb900010e'), "company_id"=>BSON::ObjectId('4cd71efab2693d5cb900010d')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb900010e'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71efab2693d5cb900010d')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000111')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000111')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000112')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000112')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000113')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000113')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000114')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000114'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000115')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000115'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efab2693d5cb9000116')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efab2693d5cb9000116'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000117')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000117'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000118')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000118'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000119')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000119'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb900011a')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd71efbb2693d5cb900011a'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb900011b')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd71efbb2693d5cb900011b'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb900011c')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd71efbb2693d5cb900011c'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb900011d')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efbb2693d5cb900011d'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb900011e')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efbb2693d5cb900011e'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb900011f')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efbb2693d5cb900011f')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efab2693d5cb900010d'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130005277"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130005324"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71efbb2693d5cb9000120'), "company_id"=>BSON::ObjectId('4cd71efab2693d5cb900010d')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000120'), "company_id"=>BSON::ObjectId('4cd71efab2693d5cb900010d')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"My Schedule", "diagnoses"=>[{"is_deleted"=>false, "diagnosis_global_id"=>"130005277"}, {"is_deleted"=>false, "diagnosis_global_id"=>"130005324"}], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130027892", "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000120'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>{"city"=>nil, "address1"=>nil, "zip"=>nil, "address2"=>nil, "_id"=>nil, "county"=>nil, "state"=>nil}, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71efab2693d5cb900010d'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71efbb2693d5cb900011f'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efab2693d5cb900010d'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000121')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000121'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000121'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000122'), "company_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000121')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000122'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000121')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000123')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000123'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000124')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000124'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000125')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000125')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000126')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000126')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000127')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000127')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000128')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000128'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000129')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000129'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb900012a')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efbb2693d5cb900012a'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb900012b')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efbb2693d5cb900012b'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb900012c')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd71efbb2693d5cb900012c'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb900012d')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efbb2693d5cb900012d'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb900012e')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd71efbb2693d5cb900012e'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb900012f')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd71efbb2693d5cb900012f'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000130')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000130'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000131')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000131'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000132')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000132'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000133')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000133')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000121'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71efbb2693d5cb9000134'), "company_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000121')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71efbb2693d5cb9000134'), "company_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000121')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[{"name"=>"POISONING AMPHETAMINE", "dx_code"=>"969.72", "is_deleted"=>false, "diagnosis_global_id"=>"130106066", "diagnosis_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000128')}, {"name"=>"PSOAS MUSCLE ABSCESS", "dx_code"=>"567.31", "is_deleted"=>false, "diagnosis_global_id"=>"130106243", "diagnosis_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000129')}], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000134'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000121'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000125'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efbb2693d5cb9000121'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000135')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000135'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000135'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000136'), "company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000135')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000136'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000135')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000137')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000137'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000138')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000138'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000139')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000139')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb900013a')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb900013a')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb900013b')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb900013b')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb900013c')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb900013c'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb900013d')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb900013d'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb900013e')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efcb2693d5cb900013e'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb900013f')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efcb2693d5cb900013f'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000140')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000140'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000141')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000141'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000142')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000142'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000143')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000143'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000144')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000144'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000145')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000145'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000146')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000146'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000147')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000147')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000135'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130003521"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130003521"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130003694"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71efcb2693d5cb9000148'), "company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000135')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000148'), "company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000135')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>26708.15, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>1578.27, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000148'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000135'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>28286.42, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[{"credit_type"=>{"name"=>"INSURANCE PYMNT FROM PATIENT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130075453", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070003", "payer_global_id"=>"130003521", "amount"=>6313.09, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130094614", "payer_id"=>nil, "effective_date"=>Sat May 22 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Sat May 22 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>nil, "credit_id"=>"1338019070004", "payer_global_id"=>"", "amount"=>1578.27, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>nil, "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070005", "payer_global_id"=>"130003694", "amount"=>20395.06, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000139'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000135'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000149')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000149'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000149'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb900014a'), "company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000149')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb900014a'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000149')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb900014b')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb900014b'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb900014c')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb900014c'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb900014d')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb900014d')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb900014e')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb900014e')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb900014f')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb900014f')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000150')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000150'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000151')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000151'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000152')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000152'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000153')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000153'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000154')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000154'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000155')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000155'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000156')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000156'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000157')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000157'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efcb2693d5cb9000158')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000158'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb9000159')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efdb2693d5cb9000159'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb900015a')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efdb2693d5cb900015a'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb900015b')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efdb2693d5cb900015b')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000149'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71efdb2693d5cb900015c'), "company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000149')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb900015c'), "company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000149')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>26708.15, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>1578.27, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71efdb2693d5cb900015c'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000149'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>28286.42, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[{"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070001", "payer_global_id"=>"", "amount"=>20449.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130103254", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"INSURANCE PYMNT FROM PATIENT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130075453", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070003", "payer_global_id"=>"", "amount"=>6313.09, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130094614", "payer_id"=>nil, "effective_date"=>Sat May 22 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Sat May 22 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>nil, "credit_id"=>"1338019070004", "payer_global_id"=>"", "amount"=>1578.27, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>nil, "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070002", "payer_global_id"=>"", "amount"=>-20449.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070005", "payer_global_id"=>"", "amount"=>20395.06, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71efcb2693d5cb900014d'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000149'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000149'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71efdb2693d5cb900015c'), "company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000149')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb900015c'), "company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000149')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>-20449.64, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>1678.27, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71efdb2693d5cb900015c'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000149'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>-18771.37, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[{"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>nil, "credit_id"=>"1338019070004", "payer_global_id"=>"", "amount"=>1578.27, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>nil, "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070002", "payer_global_id"=>"", "amount"=>-20449.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>nil, "credit_id"=>"1338019070001", "payer_global_id"=>"", "amount"=>100.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130103254", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71efcb2693d5cb900014d'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efcb2693d5cb9000149'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb900015d')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efdb2693d5cb900015d'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71efdb2693d5cb900015d'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb900015e'), "company_id"=>BSON::ObjectId('4cd71efdb2693d5cb900015d')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efdb2693d5cb900015e'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71efdb2693d5cb900015d')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb900015f')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efdb2693d5cb900015f'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb9000160')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efdb2693d5cb9000160'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb9000161')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efdb2693d5cb9000161')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb9000162')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efdb2693d5cb9000162')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb9000163')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efdb2693d5cb9000163')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb9000164')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efdb2693d5cb9000164'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb9000165')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efdb2693d5cb9000165'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb9000166')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efdb2693d5cb9000166'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb9000167')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efdb2693d5cb9000167'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb9000168')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd71efdb2693d5cb9000168'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efdb2693d5cb9000169')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efdb2693d5cb9000169'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb900016a')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd71efeb2693d5cb900016a'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb900016b')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd71efeb2693d5cb900016b'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb900016c')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd71efeb2693d5cb900016c'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb900016d')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb900016d'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb900016e')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb900016e'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb900016f')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb900016f')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efdb2693d5cb900015d'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71efeb2693d5cb9000170'), "company_id"=>BSON::ObjectId('4cd71efdb2693d5cb900015d')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000170'), "company_id"=>BSON::ObjectId('4cd71efdb2693d5cb900015d')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>950.0, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>300.0, "total_adjustments"=>150.0, "total_refunds"=>-350.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000170'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71efdb2693d5cb900015d'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>1050.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[{"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>nil, "credit_id"=>"1338019070001", "payer_global_id"=>"", "amount"=>100.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130103254", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>nil, "credit_id"=>"1338019070003", "payer_global_id"=>"", "amount"=>200.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130094614", "payer_id"=>nil, "effective_date"=>Sat May 22 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Sat May 22 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070004", "payer_global_id"=>"", "amount"=>300.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>nil, "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070002", "payer_global_id"=>"", "amount"=>250.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070005", "payer_global_id"=>"", "amount"=>400.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"ADJUSTMENT", "credit_sub_category"=>"Misc Adjustment", "credit_type_id"=>"130017870", "credit_category"=>"Adjustment"}, "payer_name"=>nil, "credit_id"=>"1338019070014", "payer_global_id"=>"", "amount"=>150.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>nil, "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"REFUND", "credit_sub_category"=>"Medicaid Refund", "credit_type_id"=>"130006070", "credit_category"=>"Refund"}, "payer_name"=>nil, "credit_id"=>"1338019070015", "payer_global_id"=>"", "amount"=>-350.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>nil, "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71efdb2693d5cb9000161'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efdb2693d5cb900015d'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000171')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000171'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000171'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000172'), "company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000171')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000172'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000171')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000173')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000173'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000174')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000174'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000175')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000175')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000176')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000176')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000177')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000177')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000178')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000178'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000179')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000179'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb900017a')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efeb2693d5cb900017a'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb900017b')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efeb2693d5cb900017b'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb900017c')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd71efeb2693d5cb900017c'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb900017d')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71efeb2693d5cb900017d'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb900017e')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd71efeb2693d5cb900017e'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb900017f')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd71efeb2693d5cb900017f'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000180')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000180'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000181')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000181'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000182')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000182'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000183')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000183')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000171'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71efeb2693d5cb9000184'), "company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000171')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000184'), "company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000171')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>300.0, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>200.0, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000184'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000171'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>500.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[{"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>"Test Primary Payer", "credit_id"=>"1338019070004", "payer_global_id"=>"888888", "amount"=>300.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000173'), "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>"Test Current Payer", "credit_id"=>"1338019070003", "payer_global_id"=>"999999", "amount"=>200.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130094614", "payer_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000174'), "effective_date"=>Sat May 22 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Sat May 22 00:00:00 UTC 2010}], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000175'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000171'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000185')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000185'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000185'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000186'), "company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000185')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000186'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000185')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000187')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000187'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000188')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000188'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71efeb2693d5cb9000189')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000189')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb900018a')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71effb2693d5cb900018a')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb900018b')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71effb2693d5cb900018b')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb900018c')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71effb2693d5cb900018c'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb900018d')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71effb2693d5cb900018d'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb900018e')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71effb2693d5cb900018e'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb900018f')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71effb2693d5cb900018f'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb9000190')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd71effb2693d5cb9000190'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb9000191')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71effb2693d5cb9000191'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb9000192')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd71effb2693d5cb9000192'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb9000193')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd71effb2693d5cb9000193'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb9000194')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd71effb2693d5cb9000194'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb9000195')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71effb2693d5cb9000195'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb9000196')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71effb2693d5cb9000196'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb9000197')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71effb2693d5cb9000197')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000185'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71effb2693d5cb9000198'), "company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000185')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb9000198'), "company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000185')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>26708.15, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>1578.27, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71effb2693d5cb9000198'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000185'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>28286.42, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[{"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070001", "payer_global_id"=>"", "amount"=>20449.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130103254", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"INSURANCE PYMNT FROM PATIENT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130075453", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070003", "payer_global_id"=>"", "amount"=>6313.09, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130094614", "payer_id"=>nil, "effective_date"=>Sat May 22 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Sat May 22 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>nil, "credit_id"=>"1338019070004", "payer_global_id"=>"", "amount"=>1578.27, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>nil, "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070002", "payer_global_id"=>"", "amount"=>-20449.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070005", "payer_global_id"=>"", "amount"=>20395.06, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000189'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000185'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000185'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71effb2693d5cb9000198'), "company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000185')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71effb2693d5cb9000198'), "company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000185')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>20595.06, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>1578.27, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71effb2693d5cb9000198'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000185'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>22173.33, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[{"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070001", "payer_global_id"=>"", "amount"=>20449.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130103254", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070002", "payer_global_id"=>"", "amount"=>-20449.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070009", "payer_global_id"=>"", "amount"=>200.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130103254", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070005", "payer_global_id"=>"", "amount"=>20395.06, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000189'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71efeb2693d5cb9000185'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb9000199')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb9000199'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f00b2693d5cb9000199'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb900019a'), "company_id"=>BSON::ObjectId('4cd71f00b2693d5cb9000199')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb900019a'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71f00b2693d5cb9000199')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb900019b')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb900019b'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb900019c')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb900019c'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb900019d')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb900019d')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb900019e')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb900019e')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb900019f')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb900019f')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001a0')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001a0'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001a1')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001a1'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001a2')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001a2'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001a3')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001a3'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001a4')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001a4'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001a5')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001a5'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001a6')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001a6'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001a7')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001a7'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001a8')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001a8'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001a9')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001a9'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001aa')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001aa'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001ab')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ab')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f00b2693d5cb9000199'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71f00b2693d5cb90001ac'), "company_id"=>BSON::ObjectId('4cd71f00b2693d5cb9000199')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001ac'), "company_id"=>BSON::ObjectId('4cd71f00b2693d5cb9000199')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ac'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[{"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Fri Feb 19 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472715"}, {"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Thu Jul 08 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472719"}, {"unit_cost"=>296.64, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-296.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Tue Aug 10 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472721"}], "company_id"=>BSON::ObjectId('4cd71f00b2693d5cb9000199'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71f00b2693d5cb900019d'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f00b2693d5cb9000199'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001ad')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ad'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ad'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001ae'), "company_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ad')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ae'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ad')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001af')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001af'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001b0')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001b0'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001b1')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001b1')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001b2')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001b2')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001b3')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001b3')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001b4')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001b4'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001b5')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001b5'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001b6')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001b6'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001b7')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001b7'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001b8')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001b8'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001b9')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001b9'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001ba')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ba'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001bb')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001bb'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001bc')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001bc'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001bd')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001bd'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001be')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001be'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f00b2693d5cb90001bf')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001bf')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ad'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71f01b2693d5cb90001c0'), "company_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ad')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001c0'), "company_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ad')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c0'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[{"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Fri Feb 19 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472715"}, {"unit_cost"=>970.81, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-970.81, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Mon Jun 07 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472717"}, {"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Thu Jul 08 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472719"}, {"unit_cost"=>296.64, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-296.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Tue Aug 10 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472721"}], "company_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ad'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001b1'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ad'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ad'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71f01b2693d5cb90001c0'), "company_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ad')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001c0'), "company_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ad')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c0'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[{"unit_cost"=>970.81, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-970.81, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Mon Jun 07 00:00:00 UTC 2010, "charge_type"=>{"charge_category"=>"Supplies", "name"=>"UVC PLACEMENT", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472717"}, {"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Thu Jul 08 00:00:00 UTC 2010, "charge_type"=>{"charge_category"=>"Supplies", "name"=>"UVC PLACEMENT", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472719"}, {"unit_cost"=>50.0, "quantity"=>3.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-450.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Fri Feb 19 00:00:00 UTC 2010, "charge_type"=>{"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "charge_type_id"=>"130006306"}, "charge_id"=>"13320472715"}], "company_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ad'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001b1'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f00b2693d5cb90001ad'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001c1')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c1'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c1'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001c2'), "company_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c1')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c2'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c1')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001c3')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c3'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001c4')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c4'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001c5')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c5')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001c6')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c6')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001c7')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c7')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001c8')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c8'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001c9')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c9'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001ca')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001ca'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001cb')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001cb'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001cc')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001cc'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001cd')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001cd'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001ce')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001ce'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001cf')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001cf'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001d0')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001d0'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001d1')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001d1'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001d2')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001d2'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f01b2693d5cb90001d3')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001d3')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c1'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71f02b2693d5cb90001d4'), "company_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c1')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001d4'), "company_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c1')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d4'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[{"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Fri Feb 19 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472715"}, {"unit_cost"=>970.81, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-970.81, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Mon Jun 07 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472717"}, {"unit_cost"=>296.64, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-296.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Tue Aug 10 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472721"}], "company_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c1'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c5'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c1'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c1'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71f02b2693d5cb90001d4'), "company_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c1')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001d4'), "company_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c1')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d4'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[{"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Fri Feb 19 00:00:00 UTC 2010, "charge_type"=>{"charge_category"=>"Supplies", "name"=>"UVC PLACEMENT", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472715"}, {"unit_cost"=>970.81, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-970.81, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Mon Jun 07 00:00:00 UTC 2010, "charge_type"=>{"charge_category"=>"Supplies", "name"=>"UVC PLACEMENT", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472717"}, {"unit_cost"=>296.64, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-296.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Tue Aug 10 00:00:00 UTC 2010, "charge_type"=>{"charge_category"=>"Supplies", "name"=>"UVC PLACEMENT", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472721"}, {"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Thu Jul 08 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472719"}], "company_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c1'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c5'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f01b2693d5cb90001c1'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001d5')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001d6'), "company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d6'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001d7')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d7'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001d8')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d8'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001d9')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d9')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001da')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001da')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001db')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001db')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001dc')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001dc'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001dd')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001dd'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001de')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001de'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001df')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001df'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001e0')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001e0'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001e1')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001e1'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001e2')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001e2'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001e3')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001e3'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001e4')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001e4'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001e5')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001e5'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001e6')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001e6'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001e7')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001e7')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71f02b2693d5cb90001e8'), "company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001e8'), "company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001e8'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d9'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5'), :global_id=>"133207035792496"}, {}).limit(-1)
RpmOnline_test['users'].find({"company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5'), :global_id=>"130088546"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5'), :global_id=>"133207035792496"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001e9'), "company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>"9-1002085", "timestamp"=>Thu Sep 02 19:20:37 UTC 2010, "body"=>"RPM: ***** ROLLED INTO RPM****", "global_id"=>"133207035792496", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001e9'), "tags"=>[], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5'), "user_name"=>nil, "work_item_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001e8'), "user_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5'), :global_id=>"133207035792497"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5'), :global_id=>"133207035792497"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001ea'), "company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>"9-1002085", "timestamp"=>Thu Sep 02 23:10:31 UTC 2010, "body"=>"Something is wrong!!!", "global_id"=>"133207035792497", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001ea'), "tags"=>[], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5'), "user_name"=>nil, "work_item_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001e8'), "user_global_id"=>nil})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71f02b2693d5cb90001e8'), "company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001d5')}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001eb')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001eb'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001eb'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001ec'), "company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001eb')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001ec'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001eb')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001ed')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001ed'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001ee')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001ee'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001ef')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001ef')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001f0')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001f0')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001f1')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001f1')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001f2')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001f2'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001f3')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001f3'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001f4')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001f4'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f02b2693d5cb90001f5')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001f5'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb90001f6')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001f6'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb90001f7')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001f7'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb90001f8')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001f8'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb90001f9')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001f9'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb90001fa')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001fa'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb90001fb')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001fb'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb90001fc')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001fc'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb90001fd')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001fd')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001eb'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71f03b2693d5cb90001fe'), "company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001eb')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb90001fe'), "company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001eb')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001fe'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001eb'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001ef'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f02b2693d5cb90001eb'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb90001ff')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb9000200'), "company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000200'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb9000201')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000201'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb9000202')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000202'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb9000203')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000203')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb9000204')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000204')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb9000205')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000205')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb9000206')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000206'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb9000207')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000207'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb9000208')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000208'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb9000209')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000209'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb900020a')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd71f03b2693d5cb900020a'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb900020b')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f03b2693d5cb900020b'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb900020c')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd71f03b2693d5cb900020c'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb900020d')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd71f03b2693d5cb900020d'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb900020e')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd71f03b2693d5cb900020e'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb900020f')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb900020f'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb9000210')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000210'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb9000211')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000211')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71f03b2693d5cb9000212'), "company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb9000212'), "company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000212'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>{"city"=>"RED BLUFF", "address1"=>"SCENE CALL", "zip"=>"96080", "address2"=>"17915 RED BANK ROAD", "_id"=>nil, "county"=>"TEHAMA COUNTY", "state"=>"CA"}, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000203'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff'), :global_id=>"133207035792496"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff'), :global_id=>"133207035792496"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb9000213'), "company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>"9-1002085", "timestamp"=>Thu Sep 02 19:20:37 UTC 2010, "body"=>"RPM: ***** ROLLED INTO RPM****", "global_id"=>"133207035792496", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000213'), "tags"=>[], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff'), "user_name"=>nil, "work_item_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000212'), "user_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff'), :global_id=>"133207035792497"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff'), :global_id=>"133207035792497"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f03b2693d5cb9000214'), "company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>"9-1002085", "timestamp"=>Thu Sep 02 23:10:31 UTC 2010, "body"=>"Something is wrong!!!", "global_id"=>"133207035792497", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000214'), "tags"=>[], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff'), "user_name"=>nil, "work_item_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f03b2693d5cb9000212'), "user_global_id"=>nil})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f03b2693d5cb90001ff'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000215')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000215'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000215'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000216'), "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000215')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000216'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000215')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000217')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000217'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000218')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000218'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000219')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000219')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900021a')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb900021a')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900021b')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb900021b')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900021c')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb900021c'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900021d')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb900021d'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900021e')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f04b2693d5cb900021e'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900021f')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f04b2693d5cb900021f'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000220')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000220'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000221')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000221'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000222')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000222'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000223')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000223'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000224')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000224'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000225')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000225'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000226')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000226'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000227')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000227')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000215'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd71f04b2693d5cb9000228'), "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000215')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000228'), "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000215')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000228'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb900010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd71efab2693d5cb90000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000215'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd71efab2693d5cb9000110')}, "current_schedule_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000219'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000215'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000229')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000229'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000229')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900022a')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022a'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000229'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900022a')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900022a')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900022b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000229'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900022b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000229'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900022b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>3.0, "rating_value"=>1.0, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000229'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71f04b2693d5cb900022c"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900022d')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71f04b2693d5cb900022c", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022d'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000229'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022b'), "billing_record_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022a'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900022e')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022e'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900022e')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900022f')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022f'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022e'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900022f')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f04b2693d5cb900022f')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000230')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3, "due_in"=>"1 days", "grace_period"=>"2 days"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000230'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022e'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 15 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022f'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022f'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000230')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3, "due_in"=>"1 days", "grace_period"=>"2 days"}, "params"=>{"priority_weight"=>3, "due_in"=>"1 days", "grace_period"=>"2 days"}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000230'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022e'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 15 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022f'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022f'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000230')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3, "due_in"=>"1 days", "grace_period"=>"2 days"}, "params"=>{"priority_weight"=>3, "due_in"=>"1 days", "grace_period"=>"2 days"}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>2.4, "rating_value"=>0.8, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000230'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022e'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 15 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022f'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022f'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71f04b2693d5cb9000231"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000232')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71f04b2693d5cb9000231", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000232'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022e'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000230'), "billing_record_id"=>BSON::ObjectId('4cd71f04b2693d5cb900022f'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000233')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000233'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f04b2693d5cb9000233')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000234')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000234'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000233'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000234')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000234')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000235')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000235'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000233'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000234'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000234'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000235')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000235'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000233'), "work_item_id"=>nil, "due_date"=>Thu Sep 09 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000234'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000234'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000235')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>2.4, "rating_value"=>0.8, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000235'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000233'), "work_item_id"=>nil, "due_date"=>Thu Sep 09 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000234'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000234'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71f05b2693d5cb9000236"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000237')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71f05b2693d5cb9000236", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000237'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f04b2693d5cb9000233'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000235'), "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000234'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000238')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000238'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000238')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000239')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000239'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000238'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000239')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000239')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900023a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000238'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000239'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000239'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900023a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"cancelled", "resolved_by"=>"system", "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000238'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000239'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000239'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900023a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"cancelled", "resolved_by"=>"system", "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>3.0, "rating_value"=>1.0, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000238'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000239'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000239'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900023b')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023b'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900023b')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900023c')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023c'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023b'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900023c')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900023c')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900023d')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>2, "due_in"=>"1 days", "grace_period"=>"2 days"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023d'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023b'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 15 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023c'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023c'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900023d')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>2, "due_in"=>"1 days", "grace_period"=>"2 days"}, "params"=>{"priority_weight"=>2, "due_in"=>"1 days", "grace_period"=>"2 days"}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023d'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023b'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 15 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023c'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023c'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900023d')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>2, "due_in"=>"1 days", "grace_period"=>"2 days"}, "params"=>{"priority_weight"=>2, "due_in"=>"1 days", "grace_period"=>"2 days"}}}, "performance_audit"=>{"priority_weight"=>2.0, "_id"=>nil, "performance_score"=>1.6, "rating_value"=>0.8, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023d'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023b'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 15 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023c'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023c'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71f05b2693d5cb900023e"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900023f')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71f05b2693d5cb900023e", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023f'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023b'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023d'), "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb900023c'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000240')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000240'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000240')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000241')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000241'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000240'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000241')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000241')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000242')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000242'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000240'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000241'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000241'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000242')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000242'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000240'), "work_item_id"=>nil, "due_date"=>Wed Sep 08 00:00:00 UTC 2010, "grace_period_expiration_date"=>Fri Sep 10 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000241'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000241'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000242')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>1.5, "rating_value"=>0.5, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000242'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000240'), "work_item_id"=>nil, "due_date"=>Wed Sep 08 00:00:00 UTC 2010, "grace_period_expiration_date"=>Fri Sep 10 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000241'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000241'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71f05b2693d5cb9000243"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000244')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71f05b2693d5cb9000243", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000244'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000240'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000242'), "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000241'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000245')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000245'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000245')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000246')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000246'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000245'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000246')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000246')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000247')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000247'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000245'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000246'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000246'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000247')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000247'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000245'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Thu Sep 09 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000246'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000246'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000247')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>1.5, "rating_value"=>0.5, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000247'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000245'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Thu Sep 09 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000246'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000246'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71f05b2693d5cb9000248"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000249')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71f05b2693d5cb9000248", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000249'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000245'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000247'), "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000246'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900024a')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024a'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900024a')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900024b')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024b'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024a'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900024b')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900024b')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900024c')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024c'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024a'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024b'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024b'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900024c')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024c'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024a'), "work_item_id"=>nil, "due_date"=>Wed Sep 01 00:00:00 UTC 2010, "grace_period_expiration_date"=>Fri Sep 03 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024b'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024b'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900024c')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>0.6, "rating_value"=>0.2, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024c'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024a'), "work_item_id"=>nil, "due_date"=>Wed Sep 01 00:00:00 UTC 2010, "grace_period_expiration_date"=>Fri Sep 03 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024b'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024b'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71f05b2693d5cb900024d"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900024e')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71f05b2693d5cb900024d", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024e'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024a'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024c'), "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024b'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900024f')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024f'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb900024f')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000250')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000250'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024f'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000250')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000250')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000251')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000251'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024f'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000250'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000250'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000251')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000251'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024f'), "work_item_id"=>nil, "due_date"=>Tue Aug 31 00:00:00 UTC 2010, "grace_period_expiration_date"=>Thu Sep 02 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000250'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000250'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f05b2693d5cb9000251')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>0.6, "rating_value"=>0.2, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000251'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024f'), "work_item_id"=>nil, "due_date"=>Tue Aug 31 00:00:00 UTC 2010, "grace_period_expiration_date"=>Thu Sep 02 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000250'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000250'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71f06b2693d5cb9000252"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000253')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71f06b2693d5cb9000252", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000253'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f05b2693d5cb900024f'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000251'), "billing_record_id"=>BSON::ObjectId('4cd71f05b2693d5cb9000250'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000254')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000254'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000254')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000255')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000255'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000254'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000255')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000255')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000256')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000256'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000254'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000255'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000255'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000256')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000256'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000254'), "work_item_id"=>nil, "due_date"=>Mon Aug 30 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 01 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000255'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000255'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000256')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.0, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000256'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000254'), "work_item_id"=>nil, "due_date"=>Mon Aug 30 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 01 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000255'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000255'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71f06b2693d5cb9000257"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000258')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71f06b2693d5cb9000257", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000258'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000254'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000256'), "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000255'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000259')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000259'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000259')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb900025a')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb900025a'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000259'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f06b2693d5cb900025a')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f06b2693d5cb900025a')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb900025b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb900025b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000259'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb900025a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f06b2693d5cb900025a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb900025b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb900025b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000259'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb900025a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f06b2693d5cb900025a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb900025b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>3.0, "rating_value"=>1.0, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb900025b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000259'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb900025a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f06b2693d5cb900025a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71f06b2693d5cb900025c"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb900025d')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71f06b2693d5cb900025c", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb900025d'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000259'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71f06b2693d5cb900025b'), "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb900025a'), "user_global_id"=>nil})
RpmOnline_test['work_items'].find({:_id=>BSON::ObjectId('4cd71f06b2693d5cb900025b')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000260')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000260'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000261')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"123", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000261'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000262')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"4", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000262'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000261'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000261')}, {}).limit(-1)
RpmOnline_test['profit_centers'].find({:global_id=>"1234"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000263')}, {"name"=>nil, "address"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "provider_id"=>"REACH", "global_id"=>"1234", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000263'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000261')})
RpmOnline_test['profit_centers'].find({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000263')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000262')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"4", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000262'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000263'), "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000261'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000262')}, {}).limit(-1)
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71f06b2693d5cb9000262')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000262')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"4", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000262'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000263'), "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000261'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71f06b2693d5cb9000262')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000262')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"4", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000262'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000263'), "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000261'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"payer_source_pending", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"PayerSourcePending", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000262')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000262')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000264')}, {"name"=>"Early Claim Follow Up", "billing_record_number"=>"4", "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3, "task"=>"early claim follow up"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000264'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000261'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000262'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000262'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000264')}, {"name"=>"Early Claim Follow Up", "billing_record_number"=>"4", "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3, "task"=>"early claim follow up"}, "params"=>{"priority_weight"=>3, "task"=>"early claim follow up"}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000264'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000261'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000262'), "assigned_to_name"=>"Doe, John", "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000262'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000264')}, {"name"=>"Early Claim Follow Up", "billing_record_number"=>"4", "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3, "task"=>"early claim follow up"}, "params"=>{"priority_weight"=>3, "task"=>"early claim follow up"}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>3.0, "rating_value"=>1.0, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000264'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000261'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000262'), "assigned_to_name"=>"Doe, John", "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000262'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['profit_centers'].find({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000263')}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71f06b2693d5cb9000265"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000266')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>"4", "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item 'Early Claim Follow Up' completed. ", "global_id"=>"4cd71f06b2693d5cb9000265", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000266'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000261'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000264'), "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000262'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000267')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000267'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000268')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"123", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000268'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000269')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"4", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000269'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000268'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000269')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f06b2693d5cb9000269')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb900026a')}, {"name"=>nil, "billing_record_number"=>"4", "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb900026a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000268'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000269'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000269'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb900026a')}, {"name"=>nil, "billing_record_number"=>"4", "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb900026a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000268'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000269'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000269'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb900026a')}, {"name"=>nil, "billing_record_number"=>"4", "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>3.0, "rating_value"=>1.0, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb900026a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000268'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000269'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000269'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71f06b2693d5cb900026b"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f06b2693d5cb900026c')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>"4", "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd71f06b2693d5cb900026b", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f06b2693d5cb900026c'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000268'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd71f06b2693d5cb900026a'), "billing_record_id"=>BSON::ObjectId('4cd71f06b2693d5cb9000269'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['users'].find({:global_id=>"1"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['users'].find({:global_id=>"1"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['users'].find({:global_id=>"1"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f07b2693d5cb9000270')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f07b2693d5cb9000270'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>nil}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f07b2693d5cb9000272')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f07b2693d5cb9000272'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f07b2693d5cb9000273')}, {"encrypted_password"=>"$2a$10$ppvtkCT9LEPZyDbfSBavmeUEEs97Sfi7SS4TMCyURqYyqdIRY5eU6", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f07b2693d5cb9000273'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$ppvtkCT9LEPZyDbfSBavme", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f07b2693d5cb9000272'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f07b2693d5cb9000274')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f07b2693d5cb9000274'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f07b2693d5cb9000275')}, {"encrypted_password"=>"$2a$10$dHV5CLv5D.Ob1LuSXZ/jf.Nof1qf3UjJj.51A3wMhUWVK5kX1RLa.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f07b2693d5cb9000275'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$dHV5CLv5D.Ob1LuSXZ/jf.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f07b2693d5cb9000274'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f07b2693d5cb9000274')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f07b2693d5cb9000276')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f07b2693d5cb9000276'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f07b2693d5cb9000277')}, {"encrypted_password"=>"$2a$10$E014kkFQTfYB2i31ThH7.OmUnYAmV4MxT5oZYtBdVnjCPqM78z3h6", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f07b2693d5cb9000277'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$E014kkFQTfYB2i31ThH7.O", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f07b2693d5cb9000276'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison"], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f07b2693d5cb9000278')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f07b2693d5cb9000278'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f07b2693d5cb9000279')}, {"encrypted_password"=>"$2a$10$I4hxooT21dPj.Qr.g1DtROXeU5pOFyZ8QHd6UJQPnCxmE59qVfV7i", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f07b2693d5cb9000279'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$I4hxooT21dPj.Qr.g1DtRO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f07b2693d5cb9000278'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["supervisor"], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f07b2693d5cb900027a')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f07b2693d5cb900027a'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f07b2693d5cb900027b')}, {"encrypted_password"=>"$2a$10$EUZ3UiKIn4CBxO4gGPSflOeewa7YhyWcRDd6HBShURu2DvRGjrETO", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f07b2693d5cb900027b'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$EUZ3UiKIn4CBxO4gGPSflO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f07b2693d5cb900027a'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["executive"], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f08b2693d5cb900027c')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f08b2693d5cb900027c'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f08b2693d5cb900027d')}, {"encrypted_password"=>"$2a$10$O0wXTy2Z.tUAeJhI6I5ZOuBPiJzC3jb0B.ayiceGyj/6UXfEK0I/C", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f08b2693d5cb900027d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$O0wXTy2Z.tUAeJhI6I5ZOu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f08b2693d5cb900027c'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f08b2693d5cb900027d')}, {"encrypted_password"=>"$2a$10$DiMwlWueIFTUY6ZA3m.pOuHF0/vSaElE5sxOxegxLzmaOlOKB76Ni", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f08b2693d5cb900027d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$DiMwlWueIFTUY6ZA3m.pOu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f08b2693d5cb900027c'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f08b2693d5cb900027e')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f08b2693d5cb900027e'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f08b2693d5cb900027f')}, {"encrypted_password"=>"$2a$10$bPDCTk2VWLdfOZP2kzgHfOIgtjjGTU9/bqPc1oJiPacDvAE6AHcPW", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f08b2693d5cb900027f'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$bPDCTk2VWLdfOZP2kzgHfO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f08b2693d5cb900027e'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f08b2693d5cb9000280')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f08b2693d5cb9000280'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f08b2693d5cb9000281')}, {"encrypted_password"=>"$2a$10$NGb9vA00LXs6PcRpEHFN7eGZtmOlVCUKH4nmuGVvN3gHrqFzg0cUa", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f08b2693d5cb9000281'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$NGb9vA00LXs6PcRpEHFN7e", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f08b2693d5cb9000280'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["executive", "biller"], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000282')}, {"name"=>"Test, Inc", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000282'), "is_customer"=>false, "domain_name"=>"test_inc.com"})
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000283')}, {"name"=>"Test Inc", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000283'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"130105640"}, {}).limit(-1)
RpmOnline_test['companies'].find({:is_customer=>false}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000282')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"130105640"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"CHRISTINA_SINCLAIR@test_inc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000284')}, {"encrypted_password"=>"", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130105640", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000284'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000282'), "last_name"=>"SINCLAIR", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"CHRISTINA_SINCLAIR@test_inc.com", "first_name"=>"CHRISTINA"})
RpmOnline_test['users'].find({:global_id=>"130105640"}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000282')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000285')}, {"name"=>"Test, Inc", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000285'), "is_customer"=>false, "domain_name"=>"test_inc.com"})
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000286')}, {"name"=>"Test Inc", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000286'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000285')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"130105640"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@hsi.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000287')}, {"encrypted_password"=>"$2a$10$yLRbRKTK1m6Re02wtOe12eUYT5CuyVY.59RR0aU1owxTGY8XGodla", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130105640", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000287'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$yLRbRKTK1m6Re02wtOe12e", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000285'), "last_name"=>"Smith", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@hsi.com", "first_name"=>"Christine"})
RpmOnline_test['users'].find({:global_id=>"130105640"}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000282')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"130105640"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@hsi.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000287')}, {"encrypted_password"=>"$2a$10$yLRbRKTK1m6Re02wtOe12eUYT5CuyVY.59RR0aU1owxTGY8XGodla", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130105640", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000287'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$yLRbRKTK1m6Re02wtOe12e", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000282'), "last_name"=>"SINCLAIR", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@hsi.com", "first_name"=>"CHRISTINA"})
RpmOnline_test['users'].find({:global_id=>"130105640"}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000282')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000288')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"123", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000288'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000288')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"72"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000289')}, {"encrypted_password"=>"$2a$10$lcPhUhj0ev.DwFj1Ol/9TuIe1TxongSqawSnWAL2GwuT9VHHUc/UC", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"72", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000289'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$lcPhUhj0ev.DwFj1Ol/9Tu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000288'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Tim"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb900028a')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"12345", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Wed Jul 07 00:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb900028a'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000288'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Wed Jul 07 00:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71f09b2693d5cb900028b"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb900028c')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>"12345", "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"this is a note", "global_id"=>"4cd71f09b2693d5cb900028b", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb900028c'), "tags"=>["user_created"], "user_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000289'), "company_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000288'), "user_name"=>"Above, Tim", "work_item_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f09b2693d5cb900028a'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb900028d')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"123", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb900028d'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f09b2693d5cb900028d')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"72"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb900028e')}, {"encrypted_password"=>"$2a$10$WwSvB3gIQYbPmiFOJ1Wm6u0/TL72wizR5YlB7WZ0Ce6hr4qPL54Wa", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"72", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb900028e'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$WwSvB3gIQYbPmiFOJ1Wm6u", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f09b2693d5cb900028d'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Tim"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb900028f')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"12345", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Wed Jul 07 00:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb900028f'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f09b2693d5cb900028d'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Wed Jul 07 00:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71f09b2693d5cb9000290"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000291')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>"12345", "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"this is a note", "global_id"=>"4cd71f09b2693d5cb9000290", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000291'), "tags"=>["system", "workitem", "user_created"], "user_id"=>BSON::ObjectId('4cd71f09b2693d5cb900028e'), "company_id"=>BSON::ObjectId('4cd71f09b2693d5cb900028d'), "user_name"=>"Above, Tim", "work_item_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f09b2693d5cb900028f'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000292')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"123", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000292'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000292')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"72"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000293')}, {"encrypted_password"=>"$2a$10$MVGytVjgSCEQZcRpHhTXpOx6PraUc/oqolznzZSTC3A99UryIhoze", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"72", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000293'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$MVGytVjgSCEQZcRpHhTXpO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000292'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Tim"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000294')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"12345", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Wed Jul 07 00:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000294'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000292'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Wed Jul 07 00:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd71f09b2693d5cb9000295"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000296')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>"12345", "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"this is a note", "global_id"=>"4cd71f09b2693d5cb9000295", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000296'), "tags"=>["user_created"], "user_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000293'), "company_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000292'), "user_name"=>"Above, Tim", "work_item_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000294'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['credit_types'].find({:global_id=>"130016163"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130016163"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000297')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130016163", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "credit_sub_category"=>"Transfer", "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000297'), "credit_category"=>"Adjustment"})
RpmOnline_test['credit_types'].find({:global_id=>"130016163"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000298')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000298'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71f09b2693d5cb9000299')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb9000299')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000299'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>nil, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb900029a'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f09b2693d5cb9000298'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb900029b')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb900029b'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd71f09b2693d5cb900029c')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f09b2693d5cb900029c')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb900029c'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>nil, "_id"=>BSON::ObjectId('4cd71f09b2693d5cb900029d'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f09b2693d5cb900029b'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb900029e')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb900029e'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb900029e')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb900029f')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb900029f'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f0ab2693d5cb900029e'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb900029f')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb900029f'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>nil, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002a0'), "workflow_state"=>nil}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f0ab2693d5cb900029e'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:"insurance_claims._id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002a0')}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
MONGODB RpmOnline_test['facilities'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002a1')}, {"name"=>"RIVERSIDE MUNI AIRPORT", "address"=>{"city"=>"RIVERSIDE", "address1"=>"6951 FLIGHT ROAD", "zip"=>"92504", "address2"=>"", "_id"=>nil, "county"=>"RIVERSIDE COUNTY", "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130109116", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002a1'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(951)351-6113", "(951)359-3570 Ext. FAX"], "last_name"=>"", "email_address"=>"", "organization"=>"RIVERSIDE MUNI AIRPORT", "first_name"=>""}})
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"facilities"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
MONGODB RpmOnline_test['facilities'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002a3')}, {"name"=>"RIVERSIDE MUNI AIRPORT", "address"=>{"city"=>"RIVERSIDE", "address1"=>"PO BOX 1234", "zip"=>"92503", "address2"=>"6951 FLIGHT ROAD", "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002a2'), "county"=>nil, "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130109116", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002a3'), "contact"=>nil})
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
MONGODB RpmOnline_test['facilities'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002a3')}, {"name"=>"RIVERSIDE MUNI AIRPORT", "address"=>{"city"=>"RIVERSIDE", "address1"=>"6951 FLIGHT ROAD", "zip"=>"92504", "address2"=>"", "_id"=>nil, "county"=>"RIVERSIDE COUNTY", "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130109116", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002a3'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(951)351-6113", "(951)359-3570 Ext. FAX"], "last_name"=>"", "email_address"=>"", "organization"=>"RIVERSIDE MUNI AIRPORT", "first_name"=>""}})
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"facilities"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
MONGODB RpmOnline_test['facilities'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002a5')}, {"name"=>"RIVERSIDE MUNI AIRPORT", "address"=>{"city"=>"RIVERSIDE", "address1"=>"6951 FLIGHT ROAD", "zip"=>"92504", "address2"=>"", "_id"=>nil, "county"=>"RIVERSIDE COUNTY", "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130109116", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002a5'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(951)351-6113", "(951)359-3570 Ext. FAX"], "last_name"=>"", "email_address"=>"", "organization"=>"RIVERSIDE MUNI AIRPORT", "first_name"=>""}})
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"facilities"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
MONGODB RpmOnline_test['facilities'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002a6')}, {"name"=>"RIVERSIDE MUNI AIRPORT", "address"=>{"city"=>"RIVERSIDE", "address1"=>"6951 FLIGHT ROAD", "zip"=>"92504", "address2"=>"", "_id"=>nil, "county"=>"RIVERSIDE COUNTY", "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130109116", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002a6'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(951)351-6113"], "last_name"=>"", "email_address"=>"", "organization"=>"RIVERSIDE MUNI AIRPORT", "first_name"=>""}})
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"facilities"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002a7')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002a7'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['discrepancies'].find({:transport_number=>"12345"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002a9')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002a9'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002aa')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002aa'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002a9'), "description"=>"this is a test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['discrepancies'].find({:transport_number=>"12345"}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002a9')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002ab')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002ab'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002ac')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002ac'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002ab'), "description"=>"this is a test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['discrepancies'].find({:transport_number=>"12345"}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002ab')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002ad')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002ad'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002ae')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002ae'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002ad'), "description"=>"this is a test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['discrepancies'].find({:transport_number=>"12345"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002af')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002af'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002b0')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b0'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002af'), "description"=>"another test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12346", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd71f0ab2693d5cb90002b0')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[{"comment"=>"Just received this", "timestamp"=>nil, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b1'), "file_name"=>"attachment.png", "file_size"=>539619, "user_id"=>nil, "user_name"=>nil, "file_type"=>"image/png", "file_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b2')}, {"comment"=>"Here's the revised version", "timestamp"=>nil, "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b3'), "file_name"=>"attachment.png", "file_size"=>459228, "user_id"=>nil, "user_name"=>nil, "file_type"=>"image/png", "file_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b4')}], "_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b0'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002af'), "description"=>"another test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12346", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
MONGODB RpmOnline_test['system.indexes'].insert([{:unique=>true, :ns=>"RpmOnline_test.fs.chunks", :name=>"files_id_1_n_1", :key=>{"files_id"=>1, "n"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['fs.files'].remove({"_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b2')})
MONGODB RpmOnline_test['fs.chunks'].remove({"files_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b2')})
MONGODB RpmOnline_test['fs.chunks'].insert([{"_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b5'), "n"=>0, "files_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b2'), "data"=><BSON::Binary:70278952305420>}])
MONGODB RpmOnline_test['fs.chunks'].insert([{"_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b6'), "n"=>1, "files_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b2'), "data"=><BSON::Binary:70278952503040>}])
MONGODB RpmOnline_test['fs.chunks'].insert([{"_id"=>BSON::ObjectId('4cd71f0bb2693d5cb90002b7'), "n"=>2, "files_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b2'), "data"=><BSON::Binary:70278953172060>}])
RpmOnline_test['$cmd'].find({"filemd5"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b2'), "root"=>"fs"}, {}).limit(-1)
MONGODB RpmOnline_test['fs.files'].insert([{"_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b2'), "filename"=>"attachment.png", "contentType"=>"image/png", "length"=>539619, "chunkSize"=>262144, "uploadDate"=>Fri Sep 10 15:27:00 UTC 2010, "md5"=>"33fa9b640f56586e1ff1895ffe688ee3", "filename"=>"attachment.png"}])
MONGODB RpmOnline_test['system.indexes'].insert([{:unique=>true, :ns=>"RpmOnline_test.fs.chunks", :name=>"files_id_1_n_1", :key=>{"files_id"=>1, "n"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['fs.files'].remove({"_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b4')})
MONGODB RpmOnline_test['fs.chunks'].remove({"files_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b4')})
MONGODB RpmOnline_test['fs.chunks'].insert([{"_id"=>BSON::ObjectId('4cd71f0bb2693d5cb90002b8'), "n"=>0, "files_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b4'), "data"=><BSON::Binary:70278958968420>}])
MONGODB RpmOnline_test['fs.chunks'].insert([{"_id"=>BSON::ObjectId('4cd71f0bb2693d5cb90002b9'), "n"=>1, "files_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b4'), "data"=><BSON::Binary:70278958963200>}])
RpmOnline_test['$cmd'].find({"filemd5"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b4'), "root"=>"fs"}, {}).limit(-1)
MONGODB RpmOnline_test['fs.files'].insert([{"_id"=>BSON::ObjectId('4cd71f0ab2693d5cb90002b4'), "filename"=>"attachment.png", "contentType"=>"image/png", "length"=>459228, "chunkSize"=>262144, "uploadDate"=>Fri Sep 10 15:27:00 UTC 2010, "md5"=>"848e525fae580c053abacfc44b87c944", "filename"=>"attachment.png"}])
RpmOnline_test['discrepancies'].find({:transport_number=>"12346"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"fs.chunks"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"fs.files"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0bb2693d5cb90002ba')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0bb2693d5cb90002ba'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd71f0bb2693d5cb90002bb')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd71f0bb2693d5cb90002bb'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd71f0bb2693d5cb90002ba'), "description"=>"this is a test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd71f0bb2693d5cb90002bc')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd71f0bb2693d5cb90002bc'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd71f0bb2693d5cb90002ba'), "description"=>"this is a test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"123125", "discrepancy_category"=>nil, "status"=>"Resolved", "base"=>nil, "routed_user_ids"=>[]})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002bd')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002bd'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd71f0bb2693d5cb90002ba'), "description"=>"this is a test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"123125", "discrepancy_category"=>nil, "status"=>"Closed", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['discrepancies'].find({:status=>{"$ne"=>"Closed"}}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002be')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002be'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002bf')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002bf'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002be'), "description"=>"ha ha", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002c0')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c0'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002c1')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c1'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c0'), "description"=>"ha ha", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Routed", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002c2')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c2'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002c3')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c3'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c2'), "description"=>"ha ha", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Resolved", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002c4')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c4'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002c5')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c5'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c4'), "description"=>"ha ha", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002c6')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c6'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002c7')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c7'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c6'), "description"=>"haha", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002c8')}, {"name"=>"REACH", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c8'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c8'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c8'), :global_id=>"130075617"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002c9'), "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c8')}, {"name"=>"REACH AIR MEDICAL SVC. (R55)", "address"=>{"city"=>"SAN JOSE", "address1"=>"PO BOX 49126", "zip"=>"95161", "address2"=>"2360 BECKER BLVD-SANTA ROSA", "_id"=>nil, "county"=>nil, "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "provider_id"=>"1", "global_id"=>"130075617", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c9'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(707)571-2349", "(800)811-4045"], "last_name"=>"", "email_address"=>"", "organization"=>"REACH AIR MEDICAL SVC. (R55)", "first_name"=>""}, "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c8')})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002c8'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002ca')}, {"name"=>"REACH", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002ca'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002ca'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002ca'), :global_id=>"130075617"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002cb'), "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002ca')}, {"name"=>"REACH AIR MEDICAL SVC. (R55)", "address"=>{"city"=>"SAN JOSE", "address1"=>"PO BOX 49126", "zip"=>"95161", "address2"=>"2360 BECKER BLVD-SANTA ROSA", "_id"=>nil, "county"=>nil, "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "provider_id"=>"1", "global_id"=>"130075617", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002cb'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(707)571-2349", "(800)811-4045"], "last_name"=>"", "email_address"=>"", "organization"=>"REACH AIR MEDICAL SVC. (R55)", "first_name"=>""}, "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002ca')})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002ca'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002cc')}, {"name"=>"REACH", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002cc'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002cc'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002cc'), :global_id=>"130075617"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002cd'), "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002cc')}, {"name"=>"REACH AIR MEDICAL SVC. (R55)", "address"=>{"city"=>"SAN JOSE", "address1"=>"PO BOX 49126", "zip"=>"95161", "address2"=>"2360 BECKER BLVD-SANTA ROSA", "_id"=>nil, "county"=>nil, "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "provider_id"=>"1", "global_id"=>"130075617", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002cd'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(707)571-2349", "(800)811-4045"], "last_name"=>"", "email_address"=>"", "organization"=>"REACH AIR MEDICAL SVC. (R55)", "first_name"=>""}, "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002cc')})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002cc'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002ce')}, {"name"=>"REACH", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002ce'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002ce'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002ce'), :global_id=>"130075617"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002cf'), "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002ce')}, {"name"=>"REACH AIR MEDICAL SVC. (R55)", "address"=>{"city"=>"SAN JOSE", "address1"=>"PO BOX 49126", "zip"=>"95161", "address2"=>"2360 BECKER BLVD-SANTA ROSA", "_id"=>nil, "county"=>nil, "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "provider_id"=>"1", "global_id"=>"130075617", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002cf'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(707)571-2349", "(800)811-4045"], "last_name"=>"", "email_address"=>"", "organization"=>"REACH AIR MEDICAL SVC. (R55)", "first_name"=>""}, "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002ce')})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002ce'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d1')}, {"encrypted_password"=>"$2a$10$ZNmug24/ku1ZRg94UfY04eJnmFCNUgWlGN/JewwH.iGryW.YVTr3O", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"69", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d1'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$ZNmug24/ku1ZRg94UfY04e", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"72"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d2')}, {"encrypted_password"=>"$2a$10$qF.etgVqpcobDMan8z3z6.84eO1rOea5xKJk4RGOzbAFOMTG1I9xC", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"72", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d2'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$qF.etgVqpcobDMan8z3z6.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"211"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"john@doe.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d3')}, {"encrypted_password"=>"$2a$10$2xvaDPdEefq3HWwBVbMqzuXAl2E/1neyZ6t3nf7lVOc0PRxofmJjK", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"211", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d3'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$2xvaDPdEefq3HWwBVbMqzu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "last_name"=>"Doe", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison", "biller"], "email"=>"john@doe.com", "first_name"=>"John"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"212"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"jane@doe.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d4')}, {"encrypted_password"=>"$2a$10$Y/4s3.KQEC7hV0zcBYsd5.LBZdWEgXzdG0FUmL78um349zC.y0pQG", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"212", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d4'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$Y/4s3.KQEC7hV0zcBYsd5.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "last_name"=>"Doe", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison", "biller"], "email"=>"jane@doe.com", "first_name"=>"Jane"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d5')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d5'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"2", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"3", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d7')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d8')}, {"name"=>nil, "billing_record_number"=>"3", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 06:59:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d8'), "assigned_to_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d3'), "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "work_item_id"=>"97", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d7'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d5')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d9')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 07:01:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d9'), "assigned_to_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d3'), "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "work_item_id"=>"98", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d5'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d5')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002da')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 07:01:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002da'), "assigned_to_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d3'), "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "work_item_id"=>"99", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d5'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d5')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002db')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002db'), "assigned_to_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d4'), "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "work_item_id"=>"100", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d5'), "assigned_to_name"=>"Doe, Jane", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d5')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002dc')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002dc'), "assigned_to_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d3'), "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "work_item_id"=>"101", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d5'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d5')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002dd')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002dd'), "assigned_to_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d3'), "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "work_item_id"=>"102", "due_date"=>Tue Jul 06 00:00:00 UTC 2010, "grace_period_expiration_date"=>Thu Jul 08 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d5'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002de')}, {"name"=>nil, "billing_record_number"=>"2", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002de'), "assigned_to_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d3'), "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "work_item_id"=>"103", "due_date"=>Sun Jul 04 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Jul 06 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d6'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0cb2693d5cb90002d6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002df')}, {"name"=>nil, "billing_record_number"=>"2", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002df'), "assigned_to_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d3'), "company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), "work_item_id"=>"104", "due_date"=>Wed Jul 07 00:00:00 UTC 2010, "grace_period_expiration_date"=>Fri Jul 09 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d6'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
Processing WorkItemCube @ Tue Jul 06 13:00:00 UTC 2010
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({"mapreduce"=>"work_items", "map"=><BSON::Code:70278951411580 @data="function(){emit({company_id:this.company_id, name:this.name, work_item_id:this.work_item_id, resolution:this.resolution, due_date:this.due_date, grace_period_expiration_date:this.grace_period_expiration_date, assigned_to_id:this.assigned_to_id, resolved_by:this.resolved_by, assigned_to_name:this.assigned_to_name, resolution_time:this.resolution_time, assigned_to:this.resolved_by, is_currently_due:(this.due_date && new Date(1278374400000) >= this.due_date && ((this.grace_period_expiration_date && this.grace_period_expiration_date >= new Date(1278374400000)) || !this.grace_period_expiration_date) && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))},{number_of_work_items:(((((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_currently_due:(((this.due_date && new Date(1278374400000) >= this.due_date && ((this.grace_period_expiration_date && this.grace_period_expiration_date >= new Date(1278374400000)) || !this.grace_period_expiration_date) && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_overdue:(((this.grace_period_expiration_date && new Date(1278374400000) > this.grace_period_expiration_date && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_of_accounts:(((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse')) ? (this.billing_record_number) : null, number_completed_today:(((this.resolution_time && this.resolution_time.toDateString() == (new Date(1278399600000)).toDateString())) ? 1 : 0), number_of_accounts_today:(this.resolution_time && this.resolution_time.toDateString() == (new Date(1278399600000)).toDateString() ? this.billing_record_number : 0)});}" @scope="{}">, "reduce"=><BSON::Code:70278951411520 @data="  function(key,values){
	var output = {};
	values.forEach(function(doc){
        for(var measure_name in doc){
            var measure_value = doc[measure_name];
            if (measure_value || measure_value == 0){
                if (typeof(measure_value) == "number") {
                  output[measure_name] = output[measure_name] || 0;
                  output[measure_name] += measure_value;
                }
                else if (measure_value) {
                  output[measure_name] = output[measure_name] || {}
                  if (typeof(measure_value)=="string")
                    output[measure_name][measure_value] = true;
                  if (typeof(measure_value)=="object") {
                    for (var unique in measure_value){
                      if (typeof(unique)=="string"){output[measure_name][unique]=true;}
                    }
                  }

                }
			}
		}
	  });     
	  return output;
  }
" @scope="{}">, "out"=>"cubicle.fact.work_item_cube", "finalize"=>"    function(key,value)\n    {\n\n          \n\n\n\n\n    return value;\n    }\n", "query"=>{}}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"company_id_1", :key=>{"company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"name_1", :key=>{"name"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"work_item_id_1", :key=>{"work_item_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolution_1", :key=>{"resolution"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"due_date_1", :key=>{"due_date"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"grace_period_expiration_date_1", :key=>{"grace_period_expiration_date"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_id_1", :key=>{"assigned_to_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolved_by_1", :key=>{"resolved_by"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_name_1", :key=>{"assigned_to_name"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolution_time_1", :key=>{"resolution_time"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_1", :key=>{"assigned_to"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"is_currently_due_1", :key=>{"is_currently_due"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].update({:aggregation=>"WorkItemCube"}, {"$set"=>{:protect=>false}})
RpmOnline_test['cubicle.metadata.aggregations'].find({:aggregation=>"WorkItemCube"}, {})
WorkItemCube processed @ Tue Jul 06 13:00:00 UTC 2010.
MONGODB RpmOnline_test['cubicle.metadata'].update({:aggregation=>"WorkItemCube"}, {"$set"=>{:result=>:success, :last_duration_in_seconds=>0.0, :aggregation=>"WorkItemCube", :last_processed=>Tue Jul 06 13:00:00 UTC 2010, :timestamp=>Tue Jul 06 13:00:00 UTC 2010}})
  Processing by WorkItemsController#dashboard as HTML
[Barista] Compiling all scripts
[Barista] Compiling all coffeescripts
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['cubicle.metadata.aggregations'].find({:document_count=>{"$gte"=>0}, :aggregation=>"WorkItemCube", :member_names=>{"$all"=>["assigned_to_id", "assigned_to_name", "company_id"]}}, {}).limit(1).sort([:document_count, :asc])
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].remove({:aggregation=>"WorkItemCube", :member_names=>["assigned_to_id", "assigned_to_name", "company_id"]})
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].insert([{"document_count"=>-1, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "aggregation"=>"WorkItemCube", "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e0'), "member_names"=>["assigned_to_id", "assigned_to_name", "company_id"], "protect"=>false}])
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({"mapreduce"=>"cubicle.fact.work_item_cube", "map"=><BSON::Code:70278950943200 @data="function(){emit({assigned_to_id:(this._id.assigned_to_id), assigned_to_name:(this._id.assigned_to_name), company_id:(this._id.company_id)},{number_of_work_items:(this.value.number_of_work_items), number_currently_due:(this.value.number_currently_due), number_overdue:(this.value.number_overdue), number_of_accounts:(this.value.number_of_accounts), number_completed_today:(this.value.number_completed_today), number_of_accounts_today:(this.value.number_of_accounts_today)});}" @scope="{}">, "reduce"=><BSON::Code:70278950932400 @data="  function(key,values){
	var output = {};
	values.forEach(function(doc){
        for(var measure_name in doc){
            var measure_value = doc[measure_name];
            if (measure_value || measure_value == 0){
                if (typeof(measure_value) == "number") {
                  output[measure_name] = output[measure_name] || 0;
                  output[measure_name] += measure_value;
                }
                else if (measure_value) {
                  output[measure_name] = output[measure_name] || {}
                  if (typeof(measure_value)=="string")
                    output[measure_name][measure_value] = true;
                  if (typeof(measure_value)=="object") {
                    for (var unique in measure_value){
                      if (typeof(unique)=="string"){output[measure_name][unique]=true;}
                    }
                  }

                }
			}
		}
	  });     
	  return output;
  }
" @scope="{}">, "out"=>"cubicle.aggregation.WorkItemCube._4cd71f0db2693d5cb90002e0", "finalize"=>"    function(key,value)\n    {\n\n          \n\n\n\n\n    return value;\n    }\n", "query"=>{"_id.company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0')}}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.aggregation.WorkItemCube._4cd71f0db2693d5cb90002e0", :name=>"assigned_to_id_1", :key=>{"assigned_to_id"=>1}}])
RpmOnline_test['$cmd'].find({"query"=>{"company_id"=>BSON::ObjectId('4cd71f0cb2693d5cb90002d0'), :getlasterror=>1}}, {}).limit(-1)
Completed   in 0ms
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.metadata.aggregations"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.fact.work_item_cube"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.metadata"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.aggregation.WorkItemCube._4cd71f0db2693d5cb90002e0"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e1')}, {"name"=>"Test Inc.", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e1')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e2')}, {"encrypted_password"=>"$2a$10$nBOvFsVEXcls/O9/T.osT.97VEgjFbfO7w8Nz3p.Wh6SuPrdYVlxK", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e2'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$nBOvFsVEXcls/O9/T.osT.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e1')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"72"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e3')}, {"encrypted_password"=>"$2a$10$HHIV6S1wgoFLIKkEAA0ZmeGKZ3piKfN9JnUosmnIl42Z8tn86kjS6", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"72", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e3'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$HHIV6S1wgoFLIKkEAA0Zme", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e1')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"211"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"john@doe.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e4')}, {"encrypted_password"=>"$2a$10$z1Ih278rpfWI3GwRIAQt7.i63DUe2g2C.CVgavwD8vb8BsAxS4z32", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"211", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e4'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$z1Ih278rpfWI3GwRIAQt7.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "last_name"=>"Doe", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison", "biller"], "email"=>"john@doe.com", "first_name"=>"John"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e1')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"212"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"jane@doe.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e5')}, {"encrypted_password"=>"$2a$10$ehx/9uGNxiZ7ojpn280eAeqtLD/1ee.CI/fX3y63Y1AB7n1n6Chb.", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"212", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e5'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$ehx/9uGNxiZ7ojpn280eAe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "last_name"=>"Doe", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison", "biller"], "email"=>"jane@doe.com", "first_name"=>"Jane"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"2", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e8')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"3", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e8'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e8')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e9')}, {"name"=>nil, "billing_record_number"=>"3", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 06:59:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e9'), "assigned_to_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e4'), "company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "work_item_id"=>"97", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e8'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002ea')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 07:01:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002ea'), "assigned_to_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e4'), "company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "work_item_id"=>"98", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e6'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002eb')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 07:01:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002eb'), "assigned_to_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e4'), "company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "work_item_id"=>"99", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e6'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002ec')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002ec'), "assigned_to_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e5'), "company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "work_item_id"=>"100", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e6'), "assigned_to_name"=>"Doe, Jane", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002ed')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002ed'), "assigned_to_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e4'), "company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "work_item_id"=>"101", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e6'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002ee')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002ee'), "assigned_to_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e4'), "company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "work_item_id"=>"102", "due_date"=>Tue Jul 06 00:00:00 UTC 2010, "grace_period_expiration_date"=>Thu Jul 08 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e6'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e7')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0eb2693d5cb90002ef')}, {"name"=>nil, "billing_record_number"=>"2", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002ef'), "assigned_to_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e4'), "company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "work_item_id"=>"103", "due_date"=>Sun Jul 04 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Jul 06 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e7'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0db2693d5cb90002e7')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0eb2693d5cb90002f0')}, {"name"=>nil, "billing_record_number"=>"2", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f0'), "assigned_to_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e4'), "company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), "work_item_id"=>"104", "due_date"=>Wed Jul 07 00:00:00 UTC 2010, "grace_period_expiration_date"=>Fri Jul 09 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e7'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
Processing WorkItemCube @ Tue Jul 06 13:00:00 UTC 2010
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({"mapreduce"=>"work_items", "map"=><BSON::Code:70278956706220 @data="function(){emit({company_id:this.company_id, name:this.name, work_item_id:this.work_item_id, resolution:this.resolution, due_date:this.due_date, grace_period_expiration_date:this.grace_period_expiration_date, assigned_to_id:this.assigned_to_id, resolved_by:this.resolved_by, assigned_to_name:this.assigned_to_name, resolution_time:this.resolution_time, assigned_to:this.resolved_by, is_currently_due:(this.due_date && new Date(1278374400000) >= this.due_date && ((this.grace_period_expiration_date && this.grace_period_expiration_date >= new Date(1278374400000)) || !this.grace_period_expiration_date) && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))},{number_of_work_items:(((((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_currently_due:(((this.due_date && new Date(1278374400000) >= this.due_date && ((this.grace_period_expiration_date && this.grace_period_expiration_date >= new Date(1278374400000)) || !this.grace_period_expiration_date) && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_overdue:(((this.grace_period_expiration_date && new Date(1278374400000) > this.grace_period_expiration_date && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_of_accounts:(((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse')) ? (this.billing_record_number) : null, number_completed_today:(((this.resolution_time && this.resolution_time.toDateString() == (new Date(1278399600000)).toDateString())) ? 1 : 0), number_of_accounts_today:(this.resolution_time && this.resolution_time.toDateString() == (new Date(1278399600000)).toDateString() ? this.billing_record_number : 0)});}" @scope="{}">, "reduce"=><BSON::Code:70278956614000 @data="  function(key,values){
	var output = {};
	values.forEach(function(doc){
        for(var measure_name in doc){
            var measure_value = doc[measure_name];
            if (measure_value || measure_value == 0){
                if (typeof(measure_value) == "number") {
                  output[measure_name] = output[measure_name] || 0;
                  output[measure_name] += measure_value;
                }
                else if (measure_value) {
                  output[measure_name] = output[measure_name] || {}
                  if (typeof(measure_value)=="string")
                    output[measure_name][measure_value] = true;
                  if (typeof(measure_value)=="object") {
                    for (var unique in measure_value){
                      if (typeof(unique)=="string"){output[measure_name][unique]=true;}
                    }
                  }

                }
			}
		}
	  });     
	  return output;
  }
" @scope="{}">, "out"=>"cubicle.fact.work_item_cube", "finalize"=>"    function(key,value)\n    {\n\n          \n\n\n\n\n    return value;\n    }\n", "query"=>{}}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"company_id_1", :key=>{"company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"name_1", :key=>{"name"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"work_item_id_1", :key=>{"work_item_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolution_1", :key=>{"resolution"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"due_date_1", :key=>{"due_date"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"grace_period_expiration_date_1", :key=>{"grace_period_expiration_date"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_id_1", :key=>{"assigned_to_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolved_by_1", :key=>{"resolved_by"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_name_1", :key=>{"assigned_to_name"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolution_time_1", :key=>{"resolution_time"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_1", :key=>{"assigned_to"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"is_currently_due_1", :key=>{"is_currently_due"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].update({:aggregation=>"WorkItemCube"}, {"$set"=>{:protect=>false}})
RpmOnline_test['cubicle.metadata.aggregations'].find({:aggregation=>"WorkItemCube"}, {})
WorkItemCube processed @ Tue Jul 06 13:00:00 UTC 2010.
MONGODB RpmOnline_test['cubicle.metadata'].update({:aggregation=>"WorkItemCube"}, {"$set"=>{:result=>:success, :last_duration_in_seconds=>0.0, :aggregation=>"WorkItemCube", :last_processed=>Tue Jul 06 13:00:00 UTC 2010, :timestamp=>Tue Jul 06 13:00:00 UTC 2010}})
  Processing by WorkItemsController#dashboard as HTML
[Barista] Compiling all scripts
[Barista] Compiling all coffeescripts
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['cubicle.metadata.aggregations'].find({:document_count=>{"$gte"=>0}, :aggregation=>"WorkItemCube", :member_names=>{"$all"=>["assigned_to_id", "assigned_to_name", "company_id"]}}, {}).limit(1).sort([:document_count, :asc])
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].remove({:aggregation=>"WorkItemCube", :member_names=>["assigned_to_id", "assigned_to_name", "company_id"]})
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].insert([{"document_count"=>-1, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "aggregation"=>"WorkItemCube", "_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f1'), "member_names"=>["assigned_to_id", "assigned_to_name", "company_id"], "protect"=>false}])
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({"mapreduce"=>"cubicle.fact.work_item_cube", "map"=><BSON::Code:70278954281460 @data="function(){emit({assigned_to_id:(this._id.assigned_to_id), assigned_to_name:(this._id.assigned_to_name), company_id:(this._id.company_id)},{number_of_work_items:(this.value.number_of_work_items), number_currently_due:(this.value.number_currently_due), number_overdue:(this.value.number_overdue), number_of_accounts:(this.value.number_of_accounts), number_completed_today:(this.value.number_completed_today), number_of_accounts_today:(this.value.number_of_accounts_today)});}" @scope="{}">, "reduce"=><BSON::Code:70278954252420 @data="  function(key,values){
	var output = {};
	values.forEach(function(doc){
        for(var measure_name in doc){
            var measure_value = doc[measure_name];
            if (measure_value || measure_value == 0){
                if (typeof(measure_value) == "number") {
                  output[measure_name] = output[measure_name] || 0;
                  output[measure_name] += measure_value;
                }
                else if (measure_value) {
                  output[measure_name] = output[measure_name] || {}
                  if (typeof(measure_value)=="string")
                    output[measure_name][measure_value] = true;
                  if (typeof(measure_value)=="object") {
                    for (var unique in measure_value){
                      if (typeof(unique)=="string"){output[measure_name][unique]=true;}
                    }
                  }

                }
			}
		}
	  });     
	  return output;
  }
" @scope="{}">, "out"=>"cubicle.aggregation.WorkItemCube._4cd71f0eb2693d5cb90002f1", "finalize"=>"    function(key,value)\n    {\n\n          \n\n\n\n\n    return value;\n    }\n", "query"=>{"_id.company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1')}}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.aggregation.WorkItemCube._4cd71f0eb2693d5cb90002f1", :name=>"assigned_to_id_1", :key=>{"assigned_to_id"=>1}}])
RpmOnline_test['$cmd'].find({"query"=>{"company_id"=>BSON::ObjectId('4cd71f0db2693d5cb90002e1'), :getlasterror=>1}}, {}).limit(-1)
Completed   in 0ms
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.fact.work_item_cube"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.metadata"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.metadata.aggregations"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.aggregation.WorkItemCube._4cd71f0eb2693d5cb90002f1"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2')}, {"name"=>"Test Inc.", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0eb2693d5cb90002f3')}, {"encrypted_password"=>"$2a$10$LODRBo2REIpaL3o4TucBQOvyZVxrpjXYtwTwYXA1A4CFZS5NPPome", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f3'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$LODRBo2REIpaL3o4TucBQO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"72"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0eb2693d5cb90002f4')}, {"encrypted_password"=>"$2a$10$6IecVfV8UxKS4/6X2IjTUuTOgXBml3N7lLV.ca1mh5C3Z1S2K.BPC", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"72", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f4'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$6IecVfV8UxKS4/6X2IjTUu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"211"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"john@doe.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0eb2693d5cb90002f5')}, {"encrypted_password"=>"$2a$10$OuBWEQ8nkV7VJvshpoSWdO9Y6J0.K6soMvm78tzt5cHqbdiPJIMOq", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"211", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f5'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$OuBWEQ8nkV7VJvshpoSWdO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "last_name"=>"Doe", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison", "biller"], "email"=>"john@doe.com", "first_name"=>"John"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"212"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"jane@doe.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002f6')}, {"encrypted_password"=>"$2a$10$jlutEONA1W58rlq4uXSPNubIRNbfF/gPcY34dE1IubI.X1ZcxYDU2", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"212", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002f6'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$jlutEONA1W58rlq4uXSPNu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "last_name"=>"Doe", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison", "biller"], "email"=>"jane@doe.com", "first_name"=>"Jane"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002f7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002f7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002f8')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"2", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002f8'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002f9')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"3", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002f9'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002f9')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002fa')}, {"name"=>nil, "billing_record_number"=>"3", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 06:59:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002fa'), "assigned_to_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f5'), "company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "work_item_id"=>"97", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002f9'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002f7')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002fb')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 07:01:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002fb'), "assigned_to_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f5'), "company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "work_item_id"=>"98", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002f7'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002f7')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002fc')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 07:01:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002fc'), "assigned_to_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f5'), "company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "work_item_id"=>"99", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002f7'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002f7')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002fd')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002fd'), "assigned_to_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002f6'), "company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "work_item_id"=>"100", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002f7'), "assigned_to_name"=>"Doe, Jane", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002f7')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002fe')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002fe'), "assigned_to_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f5'), "company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "work_item_id"=>"101", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002f7'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002f7')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002ff')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002ff'), "assigned_to_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f5'), "company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "work_item_id"=>"102", "due_date"=>Tue Jul 06 00:00:00 UTC 2010, "grace_period_expiration_date"=>Thu Jul 08 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002f7'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002f8')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb9000300')}, {"name"=>nil, "billing_record_number"=>"2", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000300'), "assigned_to_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f5'), "company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "work_item_id"=>"103", "due_date"=>Sun Jul 04 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Jul 06 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002f8'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb90002f8')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb9000301')}, {"name"=>nil, "billing_record_number"=>"2", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000301'), "assigned_to_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f5'), "company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), "work_item_id"=>"104", "due_date"=>Wed Jul 07 00:00:00 UTC 2010, "grace_period_expiration_date"=>Fri Jul 09 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f0fb2693d5cb90002f8'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
Processing WorkItemCube @ Tue Jul 06 13:00:00 UTC 2010
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({"mapreduce"=>"work_items", "map"=><BSON::Code:70278952168840 @data="function(){emit({company_id:this.company_id, name:this.name, work_item_id:this.work_item_id, resolution:this.resolution, due_date:this.due_date, grace_period_expiration_date:this.grace_period_expiration_date, assigned_to_id:this.assigned_to_id, resolved_by:this.resolved_by, assigned_to_name:this.assigned_to_name, resolution_time:this.resolution_time, assigned_to:this.resolved_by, is_currently_due:(this.due_date && new Date(1278374400000) >= this.due_date && ((this.grace_period_expiration_date && this.grace_period_expiration_date >= new Date(1278374400000)) || !this.grace_period_expiration_date) && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))},{number_of_work_items:(((((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_currently_due:(((this.due_date && new Date(1278374400000) >= this.due_date && ((this.grace_period_expiration_date && this.grace_period_expiration_date >= new Date(1278374400000)) || !this.grace_period_expiration_date) && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_overdue:(((this.grace_period_expiration_date && new Date(1278374400000) > this.grace_period_expiration_date && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_of_accounts:(((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse')) ? (this.billing_record_number) : null, number_completed_today:(((this.resolution_time && this.resolution_time.toDateString() == (new Date(1278399600000)).toDateString())) ? 1 : 0), number_of_accounts_today:(this.resolution_time && this.resolution_time.toDateString() == (new Date(1278399600000)).toDateString() ? this.billing_record_number : 0)});}" @scope="{}">, "reduce"=><BSON::Code:70278952168780 @data="  function(key,values){
	var output = {};
	values.forEach(function(doc){
        for(var measure_name in doc){
            var measure_value = doc[measure_name];
            if (measure_value || measure_value == 0){
                if (typeof(measure_value) == "number") {
                  output[measure_name] = output[measure_name] || 0;
                  output[measure_name] += measure_value;
                }
                else if (measure_value) {
                  output[measure_name] = output[measure_name] || {}
                  if (typeof(measure_value)=="string")
                    output[measure_name][measure_value] = true;
                  if (typeof(measure_value)=="object") {
                    for (var unique in measure_value){
                      if (typeof(unique)=="string"){output[measure_name][unique]=true;}
                    }
                  }

                }
			}
		}
	  });     
	  return output;
  }
" @scope="{}">, "out"=>"cubicle.fact.work_item_cube", "finalize"=>"    function(key,value)\n    {\n\n          \n\n\n\n\n    return value;\n    }\n", "query"=>{}}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"company_id_1", :key=>{"company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"name_1", :key=>{"name"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"work_item_id_1", :key=>{"work_item_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolution_1", :key=>{"resolution"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"due_date_1", :key=>{"due_date"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"grace_period_expiration_date_1", :key=>{"grace_period_expiration_date"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_id_1", :key=>{"assigned_to_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolved_by_1", :key=>{"resolved_by"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_name_1", :key=>{"assigned_to_name"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolution_time_1", :key=>{"resolution_time"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_1", :key=>{"assigned_to"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"is_currently_due_1", :key=>{"is_currently_due"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].update({:aggregation=>"WorkItemCube"}, {"$set"=>{:protect=>false}})
RpmOnline_test['cubicle.metadata.aggregations'].find({:aggregation=>"WorkItemCube"}, {})
WorkItemCube processed @ Tue Jul 06 13:00:00 UTC 2010.
MONGODB RpmOnline_test['cubicle.metadata'].update({:aggregation=>"WorkItemCube"}, {"$set"=>{:result=>:success, :last_duration_in_seconds=>0.0, :aggregation=>"WorkItemCube", :last_processed=>Tue Jul 06 13:00:00 UTC 2010, :timestamp=>Tue Jul 06 13:00:00 UTC 2010}})
  Processing by WorkItemsController#dashboard as HTML
[Barista] Compiling all scripts
[Barista] Compiling all coffeescripts
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['cubicle.metadata.aggregations'].find({:document_count=>{"$gte"=>0}, :aggregation=>"WorkItemCube", :member_names=>{"$all"=>["assigned_to_id", "assigned_to_name", "company_id"]}}, {}).limit(1).sort([:document_count, :asc])
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].remove({:aggregation=>"WorkItemCube", :member_names=>["assigned_to_id", "assigned_to_name", "company_id"]})
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].insert([{"document_count"=>-1, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "aggregation"=>"WorkItemCube", "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000302'), "member_names"=>["assigned_to_id", "assigned_to_name", "company_id"], "protect"=>false}])
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({"mapreduce"=>"cubicle.fact.work_item_cube", "map"=><BSON::Code:70278951950640 @data="function(){emit({assigned_to_id:(this._id.assigned_to_id), assigned_to_name:(this._id.assigned_to_name), company_id:(this._id.company_id)},{number_of_work_items:(this.value.number_of_work_items), number_currently_due:(this.value.number_currently_due), number_overdue:(this.value.number_overdue), number_of_accounts:(this.value.number_of_accounts), number_completed_today:(this.value.number_completed_today), number_of_accounts_today:(this.value.number_of_accounts_today)});}" @scope="{}">, "reduce"=><BSON::Code:70278951939700 @data="  function(key,values){
	var output = {};
	values.forEach(function(doc){
        for(var measure_name in doc){
            var measure_value = doc[measure_name];
            if (measure_value || measure_value == 0){
                if (typeof(measure_value) == "number") {
                  output[measure_name] = output[measure_name] || 0;
                  output[measure_name] += measure_value;
                }
                else if (measure_value) {
                  output[measure_name] = output[measure_name] || {}
                  if (typeof(measure_value)=="string")
                    output[measure_name][measure_value] = true;
                  if (typeof(measure_value)=="object") {
                    for (var unique in measure_value){
                      if (typeof(unique)=="string"){output[measure_name][unique]=true;}
                    }
                  }

                }
			}
		}
	  });     
	  return output;
  }
" @scope="{}">, "out"=>"cubicle.aggregation.WorkItemCube._4cd71f0fb2693d5cb9000302", "finalize"=>"    function(key,value)\n    {\n\n          \n\n\n\n\n    return value;\n    }\n", "query"=>{"_id.company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2')}}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.aggregation.WorkItemCube._4cd71f0fb2693d5cb9000302", :name=>"assigned_to_id_1", :key=>{"assigned_to_id"=>1}}])
RpmOnline_test['$cmd'].find({"query"=>{"company_id"=>BSON::ObjectId('4cd71f0eb2693d5cb90002f2'), :getlasterror=>1}}, {}).limit(-1)
Completed   in 0ms
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.fact.work_item_cube"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.metadata"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.metadata.aggregations"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.aggregation.WorkItemCube._4cd71f0fb2693d5cb9000302"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb9000303')}, {"name"=>"Test Inc.", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb9000303')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb9000304')}, {"encrypted_password"=>"$2a$10$KlkQWGxyzS2oFBSFB.oMye7E8S07uHRGWm.Rfggp6lGAxNOmSqHTu", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000304'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$KlkQWGxyzS2oFBSFB.oMye", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb9000303')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"72"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb9000305')}, {"encrypted_password"=>"$2a$10$oeesf1uNCIUeZA/CqFqRWOp69Gq3vr5vkNXwnqwll4qmfmrAowEN2", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"72", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000305'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$oeesf1uNCIUeZA/CqFqRWO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb9000303')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"211"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"john@doe.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb9000306')}, {"encrypted_password"=>"$2a$10$Wsm2XFoEYBy.DIBtwiB5P.8ZDywMGYailu7v7fNzHeAmtKqUwSBuC", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"211", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000306'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$Wsm2XFoEYBy.DIBtwiB5P.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "last_name"=>"Doe", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison", "biller"], "email"=>"john@doe.com", "first_name"=>"John"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb9000303')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"212"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"jane@doe.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd71f0fb2693d5cb9000307')}, {"encrypted_password"=>"$2a$10$Mu8XMAVO9BRBOqNFxi.kq.80MKCiq4Kw44JTXVhGgmgXl4bTFQgrq", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"212", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000307'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$Mu8XMAVO9BRBOqNFxi.kq.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "last_name"=>"Doe", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison", "biller"], "email"=>"jane@doe.com", "first_name"=>"Jane"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f10b2693d5cb9000308')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f10b2693d5cb9000308'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f10b2693d5cb9000309')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"2", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f10b2693d5cb9000309'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd71f10b2693d5cb900030a')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"3", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd71f10b2693d5cb900030a'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f10b2693d5cb900030a')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f10b2693d5cb900030b')}, {"name"=>nil, "billing_record_number"=>"3", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 06:59:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f10b2693d5cb900030b'), "assigned_to_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000306'), "company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "work_item_id"=>"97", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f10b2693d5cb900030a'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f10b2693d5cb9000308')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f10b2693d5cb900030c')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 07:01:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f10b2693d5cb900030c'), "assigned_to_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000306'), "company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "work_item_id"=>"98", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f10b2693d5cb9000308'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f10b2693d5cb9000308')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f10b2693d5cb900030d')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 07:01:00 UTC 2010, "_id"=>BSON::ObjectId('4cd71f10b2693d5cb900030d'), "assigned_to_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000306'), "company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "work_item_id"=>"99", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f10b2693d5cb9000308'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f10b2693d5cb9000308')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f10b2693d5cb900030e')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f10b2693d5cb900030e'), "assigned_to_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000307'), "company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "work_item_id"=>"100", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f10b2693d5cb9000308'), "assigned_to_name"=>"Doe, Jane", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f10b2693d5cb9000308')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f10b2693d5cb900030f')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f10b2693d5cb900030f'), "assigned_to_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000306'), "company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "work_item_id"=>"101", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f10b2693d5cb9000308'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f10b2693d5cb9000308')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f10b2693d5cb9000310')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f10b2693d5cb9000310'), "assigned_to_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000306'), "company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "work_item_id"=>"102", "due_date"=>Tue Jul 06 00:00:00 UTC 2010, "grace_period_expiration_date"=>Thu Jul 08 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f10b2693d5cb9000308'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f10b2693d5cb9000309')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f10b2693d5cb9000311')}, {"name"=>nil, "billing_record_number"=>"2", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f10b2693d5cb9000311'), "assigned_to_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000306'), "company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "work_item_id"=>"103", "due_date"=>Sun Jul 04 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Jul 06 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f10b2693d5cb9000309'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd71f10b2693d5cb9000309')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd71f10b2693d5cb9000312')}, {"name"=>nil, "billing_record_number"=>"2", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd71f10b2693d5cb9000312'), "assigned_to_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000306'), "company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), "work_item_id"=>"104", "due_date"=>Wed Jul 07 00:00:00 UTC 2010, "grace_period_expiration_date"=>Fri Jul 09 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd71f10b2693d5cb9000309'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
Processing WorkItemCube @ Tue Jul 06 13:00:00 UTC 2010
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({"mapreduce"=>"work_items", "map"=><BSON::Code:70278950818900 @data="function(){emit({company_id:this.company_id, name:this.name, work_item_id:this.work_item_id, resolution:this.resolution, due_date:this.due_date, grace_period_expiration_date:this.grace_period_expiration_date, assigned_to_id:this.assigned_to_id, resolved_by:this.resolved_by, assigned_to_name:this.assigned_to_name, resolution_time:this.resolution_time, assigned_to:this.resolved_by, is_currently_due:(this.due_date && new Date(1278374400000) >= this.due_date && ((this.grace_period_expiration_date && this.grace_period_expiration_date >= new Date(1278374400000)) || !this.grace_period_expiration_date) && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))},{number_of_work_items:(((((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_currently_due:(((this.due_date && new Date(1278374400000) >= this.due_date && ((this.grace_period_expiration_date && this.grace_period_expiration_date >= new Date(1278374400000)) || !this.grace_period_expiration_date) && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_overdue:(((this.grace_period_expiration_date && new Date(1278374400000) > this.grace_period_expiration_date && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_of_accounts:(((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse')) ? (this.billing_record_number) : null, number_completed_today:(((this.resolution_time && this.resolution_time.toDateString() == (new Date(1278399600000)).toDateString())) ? 1 : 0), number_of_accounts_today:(this.resolution_time && this.resolution_time.toDateString() == (new Date(1278399600000)).toDateString() ? this.billing_record_number : 0)});}" @scope="{}">, "reduce"=><BSON::Code:70278950818840 @data="  function(key,values){
	var output = {};
	values.forEach(function(doc){
        for(var measure_name in doc){
            var measure_value = doc[measure_name];
            if (measure_value || measure_value == 0){
                if (typeof(measure_value) == "number") {
                  output[measure_name] = output[measure_name] || 0;
                  output[measure_name] += measure_value;
                }
                else if (measure_value) {
                  output[measure_name] = output[measure_name] || {}
                  if (typeof(measure_value)=="string")
                    output[measure_name][measure_value] = true;
                  if (typeof(measure_value)=="object") {
                    for (var unique in measure_value){
                      if (typeof(unique)=="string"){output[measure_name][unique]=true;}
                    }
                  }

                }
			}
		}
	  });     
	  return output;
  }
" @scope="{}">, "out"=>"cubicle.fact.work_item_cube", "finalize"=>"    function(key,value)\n    {\n\n          \n\n\n\n\n    return value;\n    }\n", "query"=>{}}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"company_id_1", :key=>{"company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"name_1", :key=>{"name"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"work_item_id_1", :key=>{"work_item_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolution_1", :key=>{"resolution"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"due_date_1", :key=>{"due_date"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"grace_period_expiration_date_1", :key=>{"grace_period_expiration_date"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_id_1", :key=>{"assigned_to_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolved_by_1", :key=>{"resolved_by"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_name_1", :key=>{"assigned_to_name"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolution_time_1", :key=>{"resolution_time"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_1", :key=>{"assigned_to"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"is_currently_due_1", :key=>{"is_currently_due"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].update({:aggregation=>"WorkItemCube"}, {"$set"=>{:protect=>false}})
RpmOnline_test['cubicle.metadata.aggregations'].find({:aggregation=>"WorkItemCube"}, {})
WorkItemCube processed @ Tue Jul 06 13:00:00 UTC 2010.
MONGODB RpmOnline_test['cubicle.metadata'].update({:aggregation=>"WorkItemCube"}, {"$set"=>{:result=>:success, :last_duration_in_seconds=>0.0, :aggregation=>"WorkItemCube", :last_processed=>Tue Jul 06 13:00:00 UTC 2010, :timestamp=>Tue Jul 06 13:00:00 UTC 2010}})
  Processing by WorkItemsController#dashboard as HTML
[Barista] Compiling all scripts
[Barista] Compiling all coffeescripts
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['cubicle.metadata.aggregations'].find({:document_count=>{"$gte"=>0}, :aggregation=>"WorkItemCube", :member_names=>{"$all"=>["assigned_to_id", "assigned_to_name", "company_id"]}}, {}).limit(1).sort([:document_count, :asc])
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].remove({:aggregation=>"WorkItemCube", :member_names=>["assigned_to_id", "assigned_to_name", "company_id"]})
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].insert([{"document_count"=>-1, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "aggregation"=>"WorkItemCube", "_id"=>BSON::ObjectId('4cd71f10b2693d5cb9000313'), "member_names"=>["assigned_to_id", "assigned_to_name", "company_id"], "protect"=>false}])
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({"mapreduce"=>"cubicle.fact.work_item_cube", "map"=><BSON::Code:70278950595020 @data="function(){emit({assigned_to_id:(this._id.assigned_to_id), assigned_to_name:(this._id.assigned_to_name), company_id:(this._id.company_id)},{number_of_work_items:(this.value.number_of_work_items), number_currently_due:(this.value.number_currently_due), number_overdue:(this.value.number_overdue), number_of_accounts:(this.value.number_of_accounts), number_completed_today:(this.value.number_completed_today), number_of_accounts_today:(this.value.number_of_accounts_today)});}" @scope="{}">, "reduce"=><BSON::Code:70278950582120 @data="  function(key,values){
	var output = {};
	values.forEach(function(doc){
        for(var measure_name in doc){
            var measure_value = doc[measure_name];
            if (measure_value || measure_value == 0){
                if (typeof(measure_value) == "number") {
                  output[measure_name] = output[measure_name] || 0;
                  output[measure_name] += measure_value;
                }
                else if (measure_value) {
                  output[measure_name] = output[measure_name] || {}
                  if (typeof(measure_value)=="string")
                    output[measure_name][measure_value] = true;
                  if (typeof(measure_value)=="object") {
                    for (var unique in measure_value){
                      if (typeof(unique)=="string"){output[measure_name][unique]=true;}
                    }
                  }

                }
			}
		}
	  });     
	  return output;
  }
" @scope="{}">, "out"=>"cubicle.aggregation.WorkItemCube._4cd71f10b2693d5cb9000313", "finalize"=>"    function(key,value)\n    {\n\n          \n\n\n\n\n    return value;\n    }\n", "query"=>{"_id.company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303')}}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.aggregation.WorkItemCube._4cd71f10b2693d5cb9000313", :name=>"assigned_to_id_1", :key=>{"assigned_to_id"=>1}}])
RpmOnline_test['$cmd'].find({"query"=>{"company_id"=>BSON::ObjectId('4cd71f0fb2693d5cb9000303'), :getlasterror=>1}}, {}).limit(-1)
Completed   in 0ms
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.fact.work_item_cube"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.metadata"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.metadata.aggregations"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.aggregation.WorkItemCube._4cd71f10b2693d5cb9000313"}, {}).limit(-1)
admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.users", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.users", :name=>"company_id_1", :key=>{"company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_records", :name=>"billing_record_number_1", :key=>{"billing_record_number"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_records", :name=>"company_id_1", :key=>{"company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_records", :name=>"billing_record_number_1", :key=>{"billing_record_number"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_records", :name=>"company_id_1_date_of_service_-1_last_payment_date_-1_provider_id_1", :key=>{"company_id"=>1, "date_of_service"=>-1, "last_payment_date"=>-1, "provider_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_records", :name=>"work_items.work_item_id_1", :key=>{"work_items.work_item_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_records", :name=>"work_items.data.fields.params.unique_id_1", :key=>{"work_items.data.fields.params.unique_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_record_notes", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_record_notes", :name=>"billing_record_id_1_company_id_1", :key=>{"billing_record_id"=>1, "company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_record_notes", :name=>"billing_record_id_1_company_id_1_timestamp_-1", :key=>{"billing_record_id"=>1, "company_id"=>1, "timestamp"=>-1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_record_notes", :name=>"billing_record_number_1_company_id_1", :key=>{"billing_record_number"=>1, "company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_record_notes", :name=>"billing_record_number_1_company_id_1_timestamp_-1", :key=>{"billing_record_number"=>1, "company_id"=>1, "timestamp"=>-1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_schedules", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.billing_schedule_events", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.charge_types", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.companies", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.credit_types", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.diagnoses", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.discrepancies", :name=>"company_id_1", :key=>{"company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.discrepancies", :name=>"transport_number_1", :key=>{"transport_number"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.discrepancies", :name=>"resolution_activities.file_id_1", :key=>{"resolution_activities.file_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.discrepancy_categories", :name=>"name_1", :key=>{"name"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.facilities", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.patients", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.payers", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.profit_centers", :name=>"global_id_1", :key=>{"global_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.profit_centers", :name=>"company_id_1", :key=>{"company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.work_items", :name=>"company_id_1_billing_record_id_1", :key=>{"company_id"=>1, "billing_record_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.work_items", :name=>"company_id_1_resolution_1_assigned_to_id_1_grace_period_expiration_date_-1_due_date_-1", :key=>{"company_id"=>1, "resolution"=>1, "assigned_to_id"=>1, "grace_period_expiration_date"=>-1, "due_date"=>-1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.work_items", :name=>"company_id_1_resolution_1_assigned_to_id_1", :key=>{"company_id"=>1, "resolution"=>1, "assigned_to_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"facilities"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancy_categories"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721e2b2693d5d23000001')}, {"name"=>"FAMILY CARE 11111", "address"=>{"city"=>"HOUSTON", "address1"=>"11111 RICHMOND AVE STE 200", "zip"=>"77082", "address2"=>"", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "created_at"=>Sun Nov 07 22:02:10 UTC 2010, "global_id"=>"130109945", "updated_at"=>Sun Nov 07 22:02:10 UTC 2010, "_id"=>BSON::ObjectId('4cd721e2b2693d5d23000001'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(866)460-2111", "(713)720-1424 Ext. FAX"], "last_name"=>"", "email_address"=>"", "organization"=>"FAMILY CARE 11111", "first_name"=>""}, "payer_type"=>"Insurance"})
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721e2b2693d5d23000002')}, {"name"=>"FAMILY CARE 11111", "address"=>{"city"=>"HOUSTON", "address1"=>"11111 RICHMOND AVE STE 200", "zip"=>"77082", "address2"=>"", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "created_at"=>Sun Nov 07 22:02:10 UTC 2010, "global_id"=>"130109945", "updated_at"=>Sun Nov 07 22:02:10 UTC 2010, "_id"=>BSON::ObjectId('4cd721e2b2693d5d23000002'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(866)460-2111", "(713)720-1424 Ext. FAX"], "last_name"=>"", "email_address"=>"", "organization"=>"FAMILY CARE 11111", "first_name"=>""}, "payer_type"=>"Insurance"})
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721e2b2693d5d23000003')}, {"name"=>"FAMILY CARE 11111", "address"=>{"city"=>"HOUSTON", "address1"=>"11111 RICHMOND AVE STE 200", "zip"=>"77082", "address2"=>"", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "created_at"=>Sun Nov 07 22:02:10 UTC 2010, "global_id"=>"130109945", "updated_at"=>Sun Nov 07 22:02:10 UTC 2010, "_id"=>BSON::ObjectId('4cd721e2b2693d5d23000003'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(866)460-2111", "(713)720-1424 Ext. FAX"], "last_name"=>"", "email_address"=>"", "organization"=>"FAMILY CARE 11111", "first_name"=>""}, "payer_type"=>"Insurance"})
RpmOnline_test['payers'].find({:global_id=>"130109945"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e2b2693d5d23000004')}, {"name"=>"Test Inc.", "created_at"=>Sun Nov 07 22:02:10 UTC 2010, "global_id"=>"1", "updated_at"=>Sun Nov 07 22:02:10 UTC 2010, "_id"=>BSON::ObjectId('4cd721e2b2693d5d23000004'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:name=>"Test Inc."}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e2b2693d5d23000005')}, {"name"=>"Test2 Inc.", "created_at"=>Sun Nov 07 22:02:10 UTC 2010, "global_id"=>"1", "updated_at"=>Sun Nov 07 22:02:10 UTC 2010, "_id"=>BSON::ObjectId('4cd721e2b2693d5d23000005'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:name=>"Test2 Inc."}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e2b2693d5d23000006')}, {"name"=>"Test3 Inc.", "created_at"=>Sun Nov 07 22:02:10 UTC 2010, "global_id"=>"1", "updated_at"=>Sun Nov 07 22:02:10 UTC 2010, "_id"=>BSON::ObjectId('4cd721e2b2693d5d23000006'), "is_customer"=>false, "domain_name"=>nil})
RpmOnline_test['companies'].find({:name=>"Test3 Inc."}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e2b2693d5d23000007')}, {"name"=>"Test2 Inc.", "created_at"=>Sun Nov 07 22:02:10 UTC 2010, "global_id"=>"1", "updated_at"=>Sun Nov 07 22:02:10 UTC 2010, "_id"=>BSON::ObjectId('4cd721e2b2693d5d23000007'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e2b2693d5d23000007')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e2b2693d5d23000008')}, {"name"=>"Test4 Inc.", "created_at"=>Sun Nov 07 22:02:10 UTC 2010, "global_id"=>"1", "updated_at"=>Sun Nov 07 22:02:10 UTC 2010, "_id"=>BSON::ObjectId('4cd721e2b2693d5d23000008'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"email1@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e2b2693d5d23000009')}, {"encrypted_password"=>"$2a$10$tZWqbCVvS2pxYhc59hg.p.7nhpcKMGcMef3BumdOow9F8w13t3gPC", "created_at"=>Sun Nov 07 22:02:10 UTC 2010, "global_id"=>"2", "updated_at"=>Sun Nov 07 22:02:10 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e2b2693d5d23000009'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$tZWqbCVvS2pxYhc59hg.p.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e2b2693d5d23000008'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"email1@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"3"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"email2@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e2b2693d5d2300000a')}, {"encrypted_password"=>"$2a$10$GHkk2efC.un4YSkpVRx0h.E9UlowO3eJLooZ/jidKABld2Ke3Cc4C", "created_at"=>Sun Nov 07 22:02:10 UTC 2010, "global_id"=>"3", "updated_at"=>Sun Nov 07 22:02:10 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e2b2693d5d2300000a'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$GHkk2efC.un4YSkpVRx0h.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e2b2693d5d23000008'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison"], "email"=>"email2@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"4"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"email3@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e2b2693d5d2300000b')}, {"encrypted_password"=>"$2a$10$m5GhU7h30CYMtvIoSZoBWeHWRXX59qLDPPKi/xYsWU2aK0O6E6H3a", "created_at"=>Sun Nov 07 22:02:10 UTC 2010, "global_id"=>"4", "updated_at"=>Sun Nov 07 22:02:10 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e2b2693d5d2300000b'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$m5GhU7h30CYMtvIoSZoBWe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e2b2693d5d23000008'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison"], "email"=>"email3@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:company_id=>BSON::ObjectId('4cd721e2b2693d5d23000008')}, {})
RpmOnline_test['$cmd'].find({"count"=>"users", "query"=>{:roles=>"liaison", :company_id=>BSON::ObjectId('4cd721e2b2693d5d23000008')}, "fields"=>nil}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e2b2693d5d2300000c')}, {"name"=>"Air Angels", "created_at"=>Sun Nov 07 22:02:10 UTC 2010, "global_id"=>"2", "updated_at"=>Sun Nov 07 22:02:10 UTC 2010, "_id"=>BSON::ObjectId('4cd721e2b2693d5d2300000c'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e2b2693d5d2300000d')}, {"name"=>"Air Angels (to be changed)", "created_at"=>Sun Nov 07 22:02:11 UTC 2010, "global_id"=>"2", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "_id"=>BSON::ObjectId('4cd721e2b2693d5d2300000d'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e2b2693d5d2300000d')}, {"name"=>"Air Angels", "created_at"=>Sun Nov 07 22:02:11 UTC 2010, "global_id"=>"2", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "_id"=>BSON::ObjectId('4cd721e2b2693d5d2300000d'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['$cmd'].find({"count"=>"companies", "query"=>{}, "fields"=>nil}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d2300000e')}, {"created_at"=>Sun Nov 07 22:02:11 UTC 2010, "social_security_number"=>"457292618.0", "global_id"=>"133203750", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "patient_number"=>"12102978.0", "_id"=>BSON::ObjectId('4cd721e3b2693d5d2300000e'), "medicare_number"=>"", "is_deceased"=>true, "contact"=>{"address"=>{"address1"=>"427 MONTROSE ST APT 104", "city"=>"SAN ANTONIO", "address2"=>"", "zip"=>"78210", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "is_person"=>true, "_id"=>nil, "phone_numbers"=>["(210)328-7912", "(619)947-1535 Ext. JESSI"], "last_name"=>"ROSAS", "email_address"=>"PT'S DAUGHTER JESSICA", "organization"=>"", "first_name"=>"ELVIRA"}, "gender"=>"Female", "medicaid_number"=>"", "middle_initial"=>"", "date_of_birth"=>Sun Feb 20 00:00:00 UTC 1966, "patient_payer"=>[{"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>""}, {"payment_source"=>"D - Medicaid", "coverage"=>"Medicaid", "relationship"=>"Self", "eligibility_status"=>""}]})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d2300000f')}, {"created_at"=>Sun Nov 07 22:02:11 UTC 2010, "social_security_number"=>"457292618.0", "global_id"=>"133203750", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "patient_number"=>"12102978.0", "_id"=>BSON::ObjectId('4cd721e3b2693d5d2300000f'), "medicare_number"=>"", "is_deceased"=>true, "contact"=>{"address"=>{"address1"=>"427 MONTROSE ST APT 104", "city"=>"SAN ANTONIO", "address2"=>"", "zip"=>"78210", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "is_person"=>true, "_id"=>nil, "phone_numbers"=>["(210)328-7912", "(619)947-1535 Ext. JESSI"], "last_name"=>"ROSAS", "email_address"=>"PT'S DAUGHTER JESSICA", "organization"=>"", "first_name"=>"ELVIRA"}, "gender"=>"Female", "medicaid_number"=>"", "middle_initial"=>"A", "date_of_birth"=>Sun Feb 20 00:00:00 UTC 1966, "patient_payer"=>[{"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>""}, {"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>""}, {"payment_source"=>"D - Medicaid", "coverage"=>"Medicaid", "relationship"=>"Self", "eligibility_status"=>""}]})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d2300000f')}, {"created_at"=>Sun Nov 07 22:02:11 UTC 2010, "social_security_number"=>"457292618.0", "global_id"=>"133203750", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "patient_number"=>"12102978.0", "_id"=>BSON::ObjectId('4cd721e3b2693d5d2300000f'), "medicare_number"=>"", "is_deceased"=>true, "contact"=>{"address"=>{"address1"=>"427 MONTROSE ST APT 104", "city"=>"SAN ANTONIO", "address2"=>"", "zip"=>"78210", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "is_person"=>true, "_id"=>nil, "phone_numbers"=>["(210)328-7912", "(619)947-1535 Ext. JESSI"], "last_name"=>"ROSAS", "email_address"=>"PT'S DAUGHTER JESSICA", "organization"=>"", "first_name"=>"ELVIRA"}, "gender"=>"Female", "medicaid_number"=>"", "middle_initial"=>"A", "date_of_birth"=>Sun Feb 20 00:00:00 UTC 1966, "patient_payer"=>[{"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>""}, {"payment_source"=>"D - Medicaid", "coverage"=>"Medicaid", "relationship"=>"Child", "eligibility_status"=>""}]})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d23000011')}, {"created_at"=>Sun Nov 07 22:02:11 UTC 2010, "social_security_number"=>"457292618.0", "global_id"=>"133203750", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "patient_number"=>"12102978.0", "_id"=>BSON::ObjectId('4cd721e3b2693d5d23000011'), "medicare_number"=>"", "is_deceased"=>true, "contact"=>{"address"=>{"address1"=>"427 MONTROSE ST APT 104", "city"=>"SAN ANTONIO", "address2"=>"", "zip"=>"78210", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "is_person"=>true, "_id"=>nil, "phone_numbers"=>["(210)328-7912", "(619)947-1535 Ext. JESSI"], "last_name"=>"ROSAS", "email_address"=>"PT'S DAUGHTER JESSICA", "organization"=>"", "first_name"=>"ELVIRA"}, "gender"=>"Female", "medicaid_number"=>"", "middle_initial"=>"A", "date_of_birth"=>Sun Feb 20 00:00:00 UTC 1966, "patient_payer"=>[{"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>""}, {"payment_source"=>"D - Medicaid", "coverage"=>"Medicaid", "relationship"=>"Self", "eligibility_status"=>""}]})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d23000012')}, {"created_at"=>Sun Nov 07 22:02:11 UTC 2010, "social_security_number"=>"457292618.0", "global_id"=>"133203750", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "patient_number"=>"12102978.0", "_id"=>BSON::ObjectId('4cd721e3b2693d5d23000012'), "medicare_number"=>"", "is_deceased"=>true, "contact"=>{"address"=>{"address1"=>"427 MONTROSE ST APT 104", "city"=>"SAN ANTONIO", "address2"=>"", "zip"=>"78210", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "is_person"=>true, "_id"=>nil, "phone_numbers"=>["(210)328-7912", "(619)947-1535 Ext. JESSI"], "last_name"=>"ROSAS", "email_address"=>"PT'S DAUGHTER JESSICA", "organization"=>"", "first_name"=>"ELVIRA"}, "gender"=>"Female", "medicaid_number"=>"", "middle_initial"=>"A", "date_of_birth"=>Sun Feb 20 00:00:00 UTC 1966, "patient_payer"=>[{"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>"Verification Required"}, {"payment_source"=>"D - Medicaid", "coverage"=>"Medicaid", "relationship"=>"Self", "eligibility_status"=>""}]})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d23000013')}, {"created_at"=>Sun Nov 07 22:02:11 UTC 2010, "social_security_number"=>"457292618.0", "global_id"=>"133203750", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "patient_number"=>"12102978.0", "_id"=>BSON::ObjectId('4cd721e3b2693d5d23000013'), "medicare_number"=>"", "is_deceased"=>true, "contact"=>{"address"=>{"address1"=>"427 MONTROSE ST APT 104", "city"=>"SAN ANTONIO", "address2"=>"", "zip"=>"78210", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "is_person"=>true, "_id"=>nil, "phone_numbers"=>["(210)328-7912", "(619)947-1535 Ext. JESSI"], "last_name"=>"ROSAS", "email_address"=>"PT'S DAUGHTER JESSICA", "organization"=>"", "first_name"=>"ELVIRA"}, "gender"=>"Female", "medicaid_number"=>"", "middle_initial"=>"A", "date_of_birth"=>Sun Feb 20 00:00:00 UTC 1966, "patient_payer"=>[{"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>""}, {"payment_source"=>"D - Medicaid", "coverage"=>"Medicaid", "relationship"=>"Self", "eligibility_status"=>""}]})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"11"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d23000014')}, {"created_at"=>Sun Nov 07 22:02:11 UTC 2010, "social_security_number"=>nil, "global_id"=>"11", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "patient_number"=>nil, "_id"=>BSON::ObjectId('4cd721e3b2693d5d23000014'), "medicare_number"=>nil, "is_deceased"=>false, "contact"=>{"address"=>{"address1"=>"123 Main Street", "city"=>"Santa Rosa", "address2"=>nil, "zip"=>"95401", "_id"=>nil, "county"=>nil, "state"=>"CA"}, "is_person"=>false, "_id"=>nil, "phone_numbers"=>[], "last_name"=>nil, "email_address"=>nil, "organization"=>nil, "first_name"=>nil}, "gender"=>nil, "medicaid_number"=>nil, "last_name"=>"Duo", "middle_initial"=>nil, "date_of_birth"=>nil, "patient_payer"=>nil, "first_name"=>"John"})
RpmOnline_test['patients'].find({:global_id=>"11"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d23000014')}, {"created_at"=>Sun Nov 07 22:02:11 UTC 2010, "social_security_number"=>nil, "global_id"=>"11", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "patient_number"=>nil, "_id"=>BSON::ObjectId('4cd721e3b2693d5d23000014'), "medicare_number"=>nil, "is_deceased"=>false, "contact"=>{"address"=>{"address1"=>"123 Main Street", "city"=>"Santa Rosa", "address2"=>nil, "zip"=>"95401", "_id"=>nil, "county"=>nil, "state"=>"CA"}, "is_person"=>false, "_id"=>nil, "phone_numbers"=>[], "last_name"=>nil, "email_address"=>nil, "organization"=>nil, "first_name"=>nil}, "gender"=>nil, "medicaid_number"=>nil, "last_name"=>"Duo", "middle_initial"=>nil, "date_of_birth"=>nil, "patient_payer"=>nil, "first_name"=>"John"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"11"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d23000016')}, {"created_at"=>Sun Nov 07 22:02:11 UTC 2010, "social_security_number"=>nil, "global_id"=>"11", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "patient_number"=>nil, "_id"=>BSON::ObjectId('4cd721e3b2693d5d23000016'), "medicare_number"=>nil, "is_deceased"=>false, "contact"=>{"address"=>{"address1"=>"123 Main Street", "city"=>"Santa Rosa", "address2"=>nil, "zip"=>"95401", "_id"=>nil, "county"=>nil, "state"=>"CA"}, "is_person"=>false, "_id"=>BSON::ObjectId('4cd721e3b2693d5d23000015'), "phone_numbers"=>["(123)-456-7890", "(098)-765-4321"], "last_name"=>nil, "email_address"=>nil, "organization"=>nil, "first_name"=>nil}, "gender"=>nil, "medicaid_number"=>nil, "last_name"=>"Duo", "middle_initial"=>nil, "date_of_birth"=>nil, "patient_payer"=>nil, "first_name"=>"John"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"11"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d23000019')}, {"created_at"=>Sun Nov 07 22:02:11 UTC 2010, "social_security_number"=>nil, "global_id"=>"11", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "patient_number"=>nil, "_id"=>BSON::ObjectId('4cd721e3b2693d5d23000019'), "medicare_number"=>nil, "is_deceased"=>false, "contact"=>{"address"=>{"address1"=>"123 Main Street", "city"=>"Santa Rosa", "address2"=>nil, "zip"=>"95401", "_id"=>BSON::ObjectId('4cd721e3b2693d5d23000017'), "county"=>nil, "state"=>"CA"}, "is_person"=>false, "_id"=>BSON::ObjectId('4cd721e3b2693d5d23000018'), "phone_numbers"=>["(123)-456-7890", "(098)-765-4321"], "last_name"=>nil, "email_address"=>nil, "organization"=>nil, "first_name"=>nil}, "gender"=>nil, "medicaid_number"=>nil, "last_name"=>"Duo", "middle_initial"=>nil, "date_of_birth"=>nil, "patient_payer"=>nil, "first_name"=>"John"})
RpmOnline_test['patients'].find({:global_id=>"11"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d23000019')}, {"created_at"=>Sun Nov 07 22:02:11 UTC 2010, "social_security_number"=>nil, "global_id"=>"11", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "patient_number"=>nil, "_id"=>BSON::ObjectId('4cd721e3b2693d5d23000019'), "medicare_number"=>nil, "is_deceased"=>false, "contact"=>{"address"=>{"address1"=>"123 Main Street", "city"=>"Santa Rosa", "address2"=>nil, "zip"=>"95401", "_id"=>BSON::ObjectId('4cd721e3b2693d5d23000017'), "county"=>nil, "state"=>"CA"}, "is_person"=>false, "_id"=>BSON::ObjectId('4cd721e3b2693d5d23000018'), "phone_numbers"=>["(123)-456-7890", "(098)-765-4321"], "last_name"=>nil, "email_address"=>nil, "organization"=>nil, "first_name"=>nil}, "gender"=>nil, "medicaid_number"=>nil, "last_name"=>"Duo", "middle_initial"=>nil, "date_of_birth"=>nil, "patient_payer"=>nil, "first_name"=>"John"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
MONGODB RpmOnline_test['patients'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d2300001a')}, {"created_at"=>Sun Nov 07 22:02:11 UTC 2010, "social_security_number"=>"457292618.0", "global_id"=>"133203750", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "patient_number"=>"12102978.0", "_id"=>BSON::ObjectId('4cd721e3b2693d5d2300001a'), "medicare_number"=>"", "is_deceased"=>true, "contact"=>{"address"=>{"address1"=>"427 MONTROSE ST APT 104", "city"=>"SAN ANTONIO", "address2"=>"", "zip"=>"78210", "_id"=>nil, "county"=>nil, "state"=>"TX"}, "is_person"=>true, "_id"=>nil, "phone_numbers"=>["(210)328-7912", "(619)947-1535 Ext. JESSI"], "last_name"=>"ROSAS", "email_address"=>"PT'S DAUGHTER JESSICA", "organization"=>"", "first_name"=>"ELVIRA"}, "gender"=>"Female", "medicaid_number"=>"", "last_name"=>nil, "middle_initial"=>"", "date_of_birth"=>Sun Feb 20 00:00:00 UTC 1966, "patient_payer"=>[{"payment_source"=>"A - Self Pay", "coverage"=>"Private", "relationship"=>"Self", "eligibility_status"=>""}, {"payment_source"=>"D - Medicaid", "coverage"=>"Medicaid", "relationship"=>"Self", "eligibility_status"=>""}], "first_name"=>nil})
RpmOnline_test['patients'].find({:global_id=>"133203750"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"patients"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['charge_types'].find({:global_id=>"130092992"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130092992"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d2300001b')}, {"name"=>"TRANDUCER NEONATE", "charge_category"=>"Supplies", "created_at"=>Sun Nov 07 22:02:11 UTC 2010, "global_id"=>"130092992", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "_id"=>BSON::ObjectId('4cd721e3b2693d5d2300001b'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130092992"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d2300001c')}, {"name"=>"Test Inc.", "created_at"=>Sun Nov 07 22:02:11 UTC 2010, "global_id"=>"1", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "_id"=>BSON::ObjectId('4cd721e3b2693d5d2300001c'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e3b2693d5d2300001c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d2300001d')}, {"encrypted_password"=>"$2a$10$Uyew.KYwxCxqE49VOLMFk.spr1Meb.5RDWI3JqkA4dQzx0IY7/JGe", "created_at"=>Sun Nov 07 22:02:11 UTC 2010, "global_id"=>"69", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e3b2693d5d2300001d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$Uyew.KYwxCxqE49VOLMFk.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e3b2693d5d2300001c'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e3b2693d5d2300001c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d2300001e')}, {"encrypted_password"=>"$2a$10$0JlJWcE3tWthulxfrQnpyOvGWSxA9gAenV9uhuu18vylXOJx0Pqsy", "created_at"=>Sun Nov 07 22:02:11 UTC 2010, "global_id"=>"70", "updated_at"=>Sun Nov 07 22:02:11 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e3b2693d5d2300001e'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$0JlJWcE3tWthulxfrQnpyO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e3b2693d5d2300001c'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d23000020')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e3b2693d5d23000020'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e3b2693d5d23000020')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e3b2693d5d23000021')}, {"encrypted_password"=>"$2a$10$dQ4O1n4qicnUwnwjvBAjr.leFj4wwQ8XrobC2YKuMJdoWl9OE3YIO", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e3b2693d5d23000021'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$dQ4O1n4qicnUwnwjvBAjr.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e3b2693d5d23000020'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e3b2693d5d23000020')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000022')}, {"encrypted_password"=>"$2a$10$lA2211rxxvMt5nE69Ptat.6rD.D296ZGk8zbplk/88.zINDh8fKHy", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e4b2693d5d23000022'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$lA2211rxxvMt5nE69Ptat.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e3b2693d5d23000020'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000024')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e4b2693d5d23000024'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000024')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000025')}, {"encrypted_password"=>"$2a$10$bfsXc3rEqSa3EOKakQWq8.PVHliiEjJa/2n0MRWMyGZjZTuqdljsa", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e4b2693d5d23000025'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$bfsXc3rEqSa3EOKakQWq8.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e4b2693d5d23000024'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000024')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000026')}, {"encrypted_password"=>"$2a$10$FKg0ZS06pm2ik5/WJRUc6OHoXWNxO5pXbUDFQMz8Aqq.SJf0tWL/m", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e4b2693d5d23000026'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$FKg0ZS06pm2ik5/WJRUc6O", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e4b2693d5d23000024'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000028')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e4b2693d5d23000028'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000028')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000029')}, {"encrypted_password"=>"$2a$10$Qz8qroCsJOTifBYkfQYVtOAt60QyiEg8HbWWKajwjzaSOZb7KU0Xi", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e4b2693d5d23000029'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$Qz8qroCsJOTifBYkfQYVtO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e4b2693d5d23000028'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000028')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e4b2693d5d2300002a')}, {"encrypted_password"=>"$2a$10$DD4KVawDm9f2EB5XGjFsZOxbQDW0Beb7VIdo5HfzQYsJ9sdpB1TgO", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e4b2693d5d2300002a'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$DD4KVawDm9f2EB5XGjFsZO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e4b2693d5d23000028'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e4b2693d5d2300002c')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e4b2693d5d2300002c'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e4b2693d5d2300002c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e4b2693d5d2300002d')}, {"encrypted_password"=>"$2a$10$CKLp7CzULJPFzcP.mrXjAOZYvC9QM4rx2ywM6LtrifKHpeMTyVWGy", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e4b2693d5d2300002d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$CKLp7CzULJPFzcP.mrXjAO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e4b2693d5d2300002c'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e4b2693d5d2300002c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e4b2693d5d2300002e')}, {"encrypted_password"=>"$2a$10$UuizP9VcIq808kERdPLHnep0if1S0sX4raXkAl.IE0mrJnr5pzxfq", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e4b2693d5d2300002e'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$UuizP9VcIq808kERdPLHne", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e4b2693d5d2300002c'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000030')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e4b2693d5d23000030'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000030')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000031')}, {"encrypted_password"=>"$2a$10$EqXS5k32gUOap/RE4XB0N.YWtOs9M4dbGyU/KaQzQbO5wKELBRsAu", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e4b2693d5d23000031'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$EqXS5k32gUOap/RE4XB0N.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e4b2693d5d23000030'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000030')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000032')}, {"encrypted_password"=>"$2a$10$xIZWuoi8Lddj9hpssPQg4.zs/d7GOLE6nq0AbRPdBEur3TGQHZpD2", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e4b2693d5d23000032'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$xIZWuoi8Lddj9hpssPQg4.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e4b2693d5d23000030'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e4b2693d5d23000030')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000033')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e5b2693d5d23000033'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e4b2693d5d23000030'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000033')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e5b2693d5d23000033'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>nil, "_id"=>BSON::ObjectId('4cd721e5b2693d5d23000034'), "workflow_state"=>nil}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e4b2693d5d23000030'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000033')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:"insurance_claims._id"=>BSON::ObjectId('4cd721e5b2693d5d23000034')}, {})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000035')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"a"=>1, "b"=>"2"}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e5b2693d5d23000035'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e4b2693d5d23000030'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e5b2693d5d23000033'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e5b2693d5d23000033'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721e5b2693d5d23000034'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000036')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e5b2693d5d23000036'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000036')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000037')}, {"encrypted_password"=>"$2a$10$whc9v53wDF3L2gG.DT2Q1OEAGAfzShGziNpPsSwG4ckSDFejpyOb.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e5b2693d5d23000037'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$whc9v53wDF3L2gG.DT2Q1O", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e5b2693d5d23000036'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000036')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000038')}, {"encrypted_password"=>"$2a$10$WqE53rbDaakKDN6VJbUG4eejDaf9RzxHpw4sCOBOZabRRcZRvxP8G", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e5b2693d5d23000038'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$WqE53rbDaakKDN6VJbUG4e", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e5b2693d5d23000036'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000036')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000039')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e5b2693d5d23000039'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e5b2693d5d23000036'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000039')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000039')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d2300003a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e5b2693d5d23000036'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e5b2693d5d23000039'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e5b2693d5d23000039'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d2300003a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e5b2693d5d23000036'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e5b2693d5d23000039'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e5b2693d5d23000039'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d2300003a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"a"=>"b"}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e5b2693d5d23000036'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e5b2693d5d23000039'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e5b2693d5d23000039'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721e5b2693d5d2300003b"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d2300003c')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721e5b2693d5d2300003b", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003c'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e5b2693d5d23000036'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003a'), "billing_record_id"=>BSON::ObjectId('4cd721e5b2693d5d23000039'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d2300003d')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003d'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e5b2693d5d2300003d')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d2300003e')}, {"encrypted_password"=>"$2a$10$9vT2mJo3KMQzKPjwNHQbZe66BSXxe6R.9tG8nRq6cYslwl83AMGwy", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003e'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$9vT2mJo3KMQzKPjwNHQbZe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003d'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e5b2693d5d2300003d')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d2300003f')}, {"encrypted_password"=>"$2a$10$.Ybuu9o.knyZWHlE60CWqeSW8tXQYZOtxRXfzq5s0JSRhnqhQHY9q", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003f'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$.Ybuu9o.knyZWHlE60CWqe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003d'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e5b2693d5d2300003d')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000040')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e5b2693d5d23000040'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003d'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000040')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000040')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000041')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd721e5b2693d5d23000040", "context_type"=>"BillingRecord", "is_emergent_transport"=>"yes", "params"=>{"response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e5b2693d5d23000041'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003d'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e5b2693d5d23000040'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e5b2693d5d23000040'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000041')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd721e5b2693d5d23000040", "context_type"=>"BillingRecord", "previous_params"=>{"response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e5b2693d5d23000041'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003d'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e5b2693d5d23000040'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e5b2693d5d23000040'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000041')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd721e5b2693d5d23000040", "context_type"=>"BillingRecord", "previous_params"=>{"response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"response_field"=>"is_emergent_transport"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e5b2693d5d23000041'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003d'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e5b2693d5d23000040'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e5b2693d5d23000040'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000040')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e5b2693d5d23000040'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"yes", "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003d'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721e6b2693d5d23000042"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000043')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721e6b2693d5d23000042", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e6b2693d5d23000043'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e5b2693d5d2300003d'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721e5b2693d5d23000041'), "billing_record_id"=>BSON::ObjectId('4cd721e5b2693d5d23000040'), "user_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e5b2693d5d23000040')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000044')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e6b2693d5d23000044'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000044')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000045')}, {"encrypted_password"=>"$2a$10$1XvOfDwWckBOqlOORDvVWug8kBCA73PI6r9s7V9iraFE6gIxCUOla", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e6b2693d5d23000045'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$1XvOfDwWckBOqlOORDvVWu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d23000044'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000044')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000046')}, {"encrypted_password"=>"$2a$10$ZO61Hb3jDzGZ.HuDo9.KlOP4B/Eo13BXJcC01RrIzAnNIEoL6s4oy", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e6b2693d5d23000046'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$ZO61Hb3jDzGZ.HuDo9.KlO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d23000044'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000044')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000047')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e6b2693d5d23000047'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e6b2693d5d23000044'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000047')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000047')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000048')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd721e6b2693d5d23000047", "is_valid_pcs"=>"no", "context_type"=>"BillingRecord", "is_emergent_transport"=>"yes", "params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport"}}]}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e6b2693d5d23000048'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d23000044'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e6b2693d5d23000047'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e6b2693d5d23000047'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000048')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd721e6b2693d5d23000047", "context_type"=>"BillingRecord", "is_valid_pcs"=>"no", "previous_params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport"}}]}, "is_emergent_transport"=>"yes", "params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport"}}]}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e6b2693d5d23000048'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d23000044'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e6b2693d5d23000047'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e6b2693d5d23000047'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000048')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd721e6b2693d5d23000047", "context_type"=>"BillingRecord", "is_valid_pcs"=>"no", "previous_params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport"}}]}, "is_emergent_transport"=>"yes", "params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport"}}]}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e6b2693d5d23000048'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d23000044'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e6b2693d5d23000047'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e6b2693d5d23000047'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000047')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>"no", "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e6b2693d5d23000047'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"yes", "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e6b2693d5d23000044'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721e6b2693d5d23000049"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d2300004a')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721e6b2693d5d23000049", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004a'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d23000044'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721e6b2693d5d23000048'), "billing_record_id"=>BSON::ObjectId('4cd721e6b2693d5d23000047'), "user_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000047')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d2300004b')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004b'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e6b2693d5d2300004b')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d2300004c')}, {"encrypted_password"=>"$2a$10$xocF1Xb4kuT6OB1RgUAudOH6t2SeSWuoX0cqAbMyFWovSzUbcBDIm", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004c'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$xocF1Xb4kuT6OB1RgUAudO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004b'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e6b2693d5d2300004b')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d2300004d')}, {"encrypted_password"=>"$2a$10$JBFYZqEErvjeDoB8mNscF.Yvk3DQIBGkWe1VpijDjrIStksHLDC8S", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$JBFYZqEErvjeDoB8mNscF.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004b'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e6b2693d5d2300004b')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d2300004e')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004e'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004b'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e6b2693d5d2300004e')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e6b2693d5d2300004e')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d2300004f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd721e6b2693d5d2300004e", "is_valid_pcs"=>"no", "context_type"=>"BillingRecord", "was_billed_with_gy_modifier"=>"yes", "is_emergent_transport"=>"no", "params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport", "choices"=>["yes", {"no"=>{"response_field"=>"was_billed_with_gy_modifier"}}]}}]}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d2300004f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd721e6b2693d5d2300004e", "context_type"=>"BillingRecord", "is_valid_pcs"=>"no", "was_billed_with_gy_modifier"=>"yes", "previous_params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport", "choices"=>["yes", {"no"=>{"response_field"=>"was_billed_with_gy_modifier"}}]}}]}, "is_emergent_transport"=>"no", "params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport", "choices"=>["yes", {"no"=>{"response_field"=>"was_billed_with_gy_modifier"}}]}}]}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d2300004f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd721e6b2693d5d2300004e", "context_type"=>"BillingRecord", "is_valid_pcs"=>"no", "was_billed_with_gy_modifier"=>"yes", "previous_params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport", "choices"=>["yes", {"no"=>{"response_field"=>"was_billed_with_gy_modifier"}}]}}]}, "is_emergent_transport"=>"no", "params"=>{"response_field"=>"is_valid_pcs", "choices"=>["yes", {"no"=>{"response_field"=>"is_emergent_transport", "choices"=>["yes", {"no"=>{"response_field"=>"was_billed_with_gy_modifier"}}]}}]}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d2300004e')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>"no", "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>"yes", "_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004e'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"no", "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004b'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721e6b2693d5d23000050"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000051')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721e6b2693d5d23000050", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e6b2693d5d23000051'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004b'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004f'), "billing_record_id"=>BSON::ObjectId('4cd721e6b2693d5d2300004e'), "user_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e6b2693d5d2300004e')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000052')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e6b2693d5d23000052'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000052')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000053')}, {"encrypted_password"=>"$2a$10$RRnNpPE.DE4iQz4QEk..SORdZVYurxbTffSK1sBwlGIbfSdBoTTe2", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e6b2693d5d23000053'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$RRnNpPE.DE4iQz4QEk..SO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d23000052'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000052')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000054')}, {"encrypted_password"=>"$2a$10$MEVl0PEHmT37KHvoCD9.jeHJj53Ju/I.3GX4P9BH.Kc5HpaS8bel2", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e6b2693d5d23000054'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$MEVl0PEHmT37KHvoCD9.je", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d23000052'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e6b2693d5d23000052')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000055')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721e7b2693d5d23000055'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e6b2693d5d23000052'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000055')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000055')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000056')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e7b2693d5d23000056'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d23000052'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e7b2693d5d23000055'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e7b2693d5d23000055'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000056')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"skipped", "resolved_by"=>"system", "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e7b2693d5d23000056'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e6b2693d5d23000052'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e7b2693d5d23000055'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e7b2693d5d23000055'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000057')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e7b2693d5d23000057'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000057')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000058')}, {"encrypted_password"=>"$2a$10$TDM2m4VBSc/w34nz7MuZWO842N4HUSPQ4Va5P9m2f.LzEulyKETs2", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e7b2693d5d23000058'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$TDM2m4VBSc/w34nz7MuZWO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e7b2693d5d23000057'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000057')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000059')}, {"encrypted_password"=>"$2a$10$ur5IBTODF2hPOkjW0YaC7exCNRUm.x.NdK8563AxOKMhAvW.64fmS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e7b2693d5d23000059'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$ur5IBTODF2hPOkjW0YaC7e", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e7b2693d5d23000057'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000057')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d2300005a')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Mon Jan 01 00:00:00 UTC 2001, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Mon Jan 01 00:00:00 UTC 2001, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005a'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e7b2693d5d23000057'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e7b2693d5d2300005a')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e7b2693d5d2300005a')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d2300005b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e7b2693d5d23000057'), "work_item_id"=>nil, "due_date"=>Mon Jan 01 00:00:00 UTC 2001, "grace_period_expiration_date"=>Tue Jan 02 00:00:00 UTC 2001, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d2300005b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"test", "resolved_by"=>"system", "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>Mon Jan 01 00:00:00 UTC 2001, "_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e7b2693d5d23000057'), "work_item_id"=>nil, "due_date"=>Mon Jan 01 00:00:00 UTC 2001, "grace_period_expiration_date"=>Tue Jan 02 00:00:00 UTC 2001, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d2300005c')}, {"name"=>"Test Inc.", "created_at"=>Mon Jan 01 00:00:00 UTC 2001, "global_id"=>"1", "updated_at"=>Mon Jan 01 00:00:00 UTC 2001, "_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005c'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e7b2693d5d2300005c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d2300005d')}, {"encrypted_password"=>"$2a$10$eDo2gTL6jDa4.BvQMHsZfuGHWPhc9lw8yG2rQtUiyBgpuI0SW5A0S", "created_at"=>Mon Jan 01 00:00:00 UTC 2001, "global_id"=>"69", "updated_at"=>Mon Jan 01 00:00:00 UTC 2001, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$eDo2gTL6jDa4.BvQMHsZfu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005c'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e7b2693d5d2300005c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d2300005e')}, {"encrypted_password"=>"$2a$10$3TGQmycVuW1UC/u7mZth..PfMNx1cP6PtmwMHlapi.BrvDDfBoS/O", "created_at"=>Mon Jan 01 00:00:00 UTC 2001, "global_id"=>"70", "updated_at"=>Mon Jan 01 00:00:00 UTC 2001, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005e'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$3TGQmycVuW1UC/u7mZth..", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005c'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e7b2693d5d2300005c')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d2300005f')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005f'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005c'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e7b2693d5d2300005f')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e7b2693d5d2300005f')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000060')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e7b2693d5d23000060'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005c'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005f'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005f'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000060')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"test", "resolved_by"=>"system", "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e7b2693d5d23000060'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005c'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005f'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e7b2693d5d2300005f'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000061')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e7b2693d5d23000061'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000061')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000062')}, {"encrypted_password"=>"$2a$10$l8B0or1hYuRIWHDFOTirzuHOG7JhBeEdMI4PsZuFa1G/j3sZp9MnS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e7b2693d5d23000062'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$l8B0or1hYuRIWHDFOTirzu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e7b2693d5d23000061'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000061')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d23000063')}, {"encrypted_password"=>"$2a$10$DmSJFukcVheWRU4Opfikf.zT.Z7Vbu8EBudzWesi1euY7203vV2vi", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e8b2693d5d23000063'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$DmSJFukcVheWRU4Opfikf.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e7b2693d5d23000061'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e7b2693d5d23000061')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d23000064')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721e8b2693d5d23000064'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e7b2693d5d23000061'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e8b2693d5d23000064')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e8b2693d5d23000064')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d23000065')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e8b2693d5d23000065'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e7b2693d5d23000061'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e8b2693d5d23000064'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e8b2693d5d23000064'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d23000065')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"test", "resolved_by"=>"Jones, Jim", "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e8b2693d5d23000065'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e7b2693d5d23000061'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e8b2693d5d23000064'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e8b2693d5d23000064'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d23000066')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e8b2693d5d23000066'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e8b2693d5d23000066')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d23000067')}, {"encrypted_password"=>"$2a$10$O.x3rRCgMzZjTVyQ.MdhX.plUsfqJRdStU5oDBQfGgUsPQOv4oojO", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e8b2693d5d23000067'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$O.x3rRCgMzZjTVyQ.MdhX.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e8b2693d5d23000066'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e8b2693d5d23000066')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d23000068')}, {"encrypted_password"=>"$2a$10$3fVZRTVpek9f62pMJGk.BeMFVcrXrlC5ZJ7JxaW1TCXszu6xQ1dQK", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e8b2693d5d23000068'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$3fVZRTVpek9f62pMJGk.Be", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e8b2693d5d23000066'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e8b2693d5d23000066')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d23000069')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721e8b2693d5d23000069'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e8b2693d5d23000066'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e8b2693d5d23000069')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e8b2693d5d23000069')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e8b2693d5d23000066'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e8b2693d5d23000069'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e8b2693d5d23000069'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"test", "resolved_by"=>"system", "data"=>{"a"=>"b"}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e8b2693d5d23000066'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e8b2693d5d23000069'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e8b2693d5d23000069'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006b')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006b'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006b')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006c')}, {"encrypted_password"=>"$2a$10$sf7qtHcRjjko4/zUVoQ3Eu1A1bKREbD3hiFlLz4a8FZa.tdUdiK5m", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006c'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$sf7qtHcRjjko4/zUVoQ3Eu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006b'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006b')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006d')}, {"encrypted_password"=>"$2a$10$RPI/dQosk56mGmIUC/Rv4ua87G7LsccCz5ckxan8wQ0KEG8NlUHs.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$RPI/dQosk56mGmIUC/Rv4u", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006b'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006b')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006e')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006e'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006b'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006e')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006e')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"task_type"=>"event", "event"=>"claim_entered"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721e8b2693d5d2300006e')}, {})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"cancelled", "resolved_by"=>"system", "data"=>{"fields"=>{"params"=>{"task_type"=>"event", "event"=>"claim_entered"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"cancelled", "resolved_by"=>"system", "data"=>{"fields"=>{"params"=>{"task_type"=>"event", "event"=>"claim_entered"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006e')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006e')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006e'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006b'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered"})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"task_type"=>"event", "event"=>"claim_entered"}, "params"=>{"task_type"=>"event", "event"=>"claim_entered"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006f')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"task_type"=>"event", "event"=>"claim_entered"}, "params"=>{"task_type"=>"event", "event"=>"claim_entered"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006f'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006b'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006e'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006e'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721e9b2693d5d23000070"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000071')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721e9b2693d5d23000070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e9b2693d5d23000071'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006b'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006f'), "billing_record_id"=>BSON::ObjectId('4cd721e8b2693d5d2300006e'), "user_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e8b2693d5d2300006e')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000072')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e9b2693d5d23000072'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000072')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000073')}, {"encrypted_password"=>"$2a$10$8BOOVdSCwoydAWKzGNxSb.ariuRTdt3aMJhf9zqATgL3W2GaIm2Ai", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e9b2693d5d23000073'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$8BOOVdSCwoydAWKzGNxSb.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e9b2693d5d23000072'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000072')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000074')}, {"encrypted_password"=>"$2a$10$KdGBW9xg1mpFdTpn4R0Sfe6EX0vw.7m8d/gvHZXKVP7g3b24RA4sq", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e9b2693d5d23000074'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$KdGBW9xg1mpFdTpn4R0Sfe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e9b2693d5d23000072'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000072')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000075')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721e9b2693d5d23000075'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e9b2693d5d23000072'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000075')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000075')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000076')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"unique_id"=>"a"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e9b2693d5d23000076'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e9b2693d5d23000072'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e9b2693d5d23000075'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e9b2693d5d23000075'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000076')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"unique_id"=>"a"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e9b2693d5d23000076'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e9b2693d5d23000072'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e9b2693d5d23000075'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e9b2693d5d23000075'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000075')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000075')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000077')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"unique_id"=>"b"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e9b2693d5d23000077'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e9b2693d5d23000072'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e9b2693d5d23000075'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e9b2693d5d23000075'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000077')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"unique_id"=>"b"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e9b2693d5d23000077'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e9b2693d5d23000072'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e9b2693d5d23000075'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e9b2693d5d23000075'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000075')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721e9b2693d5d23000075'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e9b2693d5d23000072'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['work_items'].find({:"data.fields.params.unique_id"=>"b"}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000078')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e9b2693d5d23000078'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000078')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000079')}, {"encrypted_password"=>"$2a$10$eKFoE280wfPyt/vEE1syMewNqbOsTlLdK3MUJJGqqHDeZNp1dtvKa", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e9b2693d5d23000079'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$eKFoE280wfPyt/vEE1syMe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e9b2693d5d23000078'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000078')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d2300007a')}, {"encrypted_password"=>"$2a$10$cRrSjnfirRWpciRmt8WWK.IVnfUSoOX/QjjUXtddQxYm1RZhuyHve", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e9b2693d5d2300007a'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$cRrSjnfirRWpciRmt8WWK.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e9b2693d5d23000078'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e9b2693d5d23000078')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d2300007b')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721e9b2693d5d2300007b'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e9b2693d5d23000078'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e9b2693d5d2300007b')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721e9b2693d5d2300007b')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d2300007c')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"due_in"=>"3 days"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721e9b2693d5d2300007c'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e9b2693d5d23000078'), "work_item_id"=>nil, "due_date"=>Fri Aug 06 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Aug 09 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721e9b2693d5d2300007b'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721e9b2693d5d2300007b'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d2300007d')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721e9b2693d5d2300007d'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e9b2693d5d2300007d')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d2300007e')}, {"encrypted_password"=>"$2a$10$zJuhebAyYAdyaVQYqyunN.2Xo10ExB5fap6/CPP1SJ99IEcVw5GrK", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e9b2693d5d2300007e'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$zJuhebAyYAdyaVQYqyunN.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e9b2693d5d2300007d'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e9b2693d5d2300007d')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721e9b2693d5d2300007f')}, {"encrypted_password"=>"$2a$10$7x.mkoz.AjOxqLGj14pmDeS4Okemt0XxBKgxScOGwu7tDL698kRKa", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721e9b2693d5d2300007f'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$7x.mkoz.AjOxqLGj14pmDe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721e9b2693d5d2300007d'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721e9b2693d5d2300007d')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721eab2693d5d23000080')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721eab2693d5d23000080'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721e9b2693d5d2300007d'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721eab2693d5d23000080')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721eab2693d5d23000080')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721eab2693d5d23000081')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"due_in"=>"3 days", "grace_period"=>"3 days"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721eab2693d5d23000081'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721e9b2693d5d2300007d'), "work_item_id"=>nil, "due_date"=>Fri Aug 06 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 11 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721eab2693d5d23000080'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721eab2693d5d23000080'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721eab2693d5d23000082')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721eab2693d5d23000082'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721eab2693d5d23000082')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721eab2693d5d23000083')}, {"encrypted_password"=>"$2a$10$LWjte7O.mPuIxBVnodmSSuATwchMXhpQ.CUocxbVaUUfub/8zIGvK", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721eab2693d5d23000083'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$LWjte7O.mPuIxBVnodmSSu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721eab2693d5d23000082'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721eab2693d5d23000082')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721eab2693d5d23000084')}, {"encrypted_password"=>"$2a$10$GO0T8Dnv6ic4dvH9pPZtUu1SZGMxLLumxhFcB/RctyuvWnhxp6ORO", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721eab2693d5d23000084'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$GO0T8Dnv6ic4dvH9pPZtUu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721eab2693d5d23000082'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721eab2693d5d23000082')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721eab2693d5d23000085')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721eab2693d5d23000085'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721eab2693d5d23000082'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721eab2693d5d23000085')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721eab2693d5d23000085')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721eab2693d5d23000086')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721eab2693d5d23000086'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721eab2693d5d23000082'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721eab2693d5d23000085'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721eab2693d5d23000085'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721eab2693d5d23000087')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721eab2693d5d23000087'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721eab2693d5d23000087')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721eab2693d5d23000088')}, {"encrypted_password"=>"$2a$10$2TPYTiBxR1pJjKECGxZqFuNYwBYYNCZbwzN/9EqqEPXkAgEiS6JtW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721eab2693d5d23000088'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$2TPYTiBxR1pJjKECGxZqFu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721eab2693d5d23000087'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721eab2693d5d23000087')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721eab2693d5d23000089')}, {"encrypted_password"=>"$2a$10$ouZw/Kqv9rO5bpEgq5EaROO8n0M6JKUAI3/P79Qoo3E6j/EnbOM5K", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721eab2693d5d23000089'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$ouZw/Kqv9rO5bpEgq5EaRO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721eab2693d5d23000087'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721eab2693d5d23000087')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721eab2693d5d2300008a')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721eab2693d5d2300008a'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721eab2693d5d23000087'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721eab2693d5d2300008a')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721eab2693d5d2300008a')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721eab2693d5d2300008b')}, {"name"=>"Billed With Gy Modifier", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"task"=>"billed_with_gy_modifier"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721eab2693d5d2300008b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721eab2693d5d23000087'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721eab2693d5d2300008a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721eab2693d5d2300008a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721eab2693d5d2300008c')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721eab2693d5d2300008c'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721eab2693d5d2300008c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721eab2693d5d2300008d')}, {"encrypted_password"=>"$2a$10$l12dtriRThzeDE1CwAcm/OMGJlHYckzVypwfE6hV7RoQleGyfOKqe", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721eab2693d5d2300008d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$l12dtriRThzeDE1CwAcm/O", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721eab2693d5d2300008c'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721eab2693d5d2300008c')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d2300008e')}, {"encrypted_password"=>"$2a$10$ouACqHzyykCkc74hfDt1tu/uC/O2m7HFEG5hDOPfSeA88cEuDRxqG", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d2300008e'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$ouACqHzyykCkc74hfDt1tu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721eab2693d5d2300008c'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721eab2693d5d2300008c')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d2300008f')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d2300008f'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721eab2693d5d2300008c'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d2300008f')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d2300008f')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000090')}, {"name"=>"Billed With GY Modifier", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"title"=>"Billed With GY Modifier", "task"=>"billed_with_gy_modifier"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d23000090'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721eab2693d5d2300008c'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721ebb2693d5d2300008f'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721ebb2693d5d2300008f'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000091')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721ebb2693d5d23000091'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000091')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000092')}, {"encrypted_password"=>"$2a$10$XSbl5nIr203GnVpocZSICeudANit8BWwPZ4.SMc8HgTFlurPLaf.m", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d23000092'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$XSbl5nIr203GnVpocZSICe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721ebb2693d5d23000091'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000091')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000093')}, {"encrypted_password"=>"$2a$10$vVn9EjkAV/OWz9VFEAn5euRd6lVYyh4DF288U3sEmcnK97RL5hFkq", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d23000093'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$vVn9EjkAV/OWz9VFEAn5eu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721ebb2693d5d23000091'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000091')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000094')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d23000094'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721ebb2693d5d23000091'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000094')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000095')}, {"name"=>"test1", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d23000095'), "assigned_to_id"=>BSON::ObjectId('4cd721ebb2693d5d23000092'), "company_id"=>BSON::ObjectId('4cd721ebb2693d5d23000091'), "work_item_id"=>nil, "due_date"=>Tue Jul 20 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Aug 10 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721ebb2693d5d23000094'), "assigned_to_name"=>nil, "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000094')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000096')}, {"name"=>"test2", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d23000096'), "assigned_to_id"=>BSON::ObjectId('4cd721ebb2693d5d23000092'), "company_id"=>BSON::ObjectId('4cd721ebb2693d5d23000091'), "work_item_id"=>nil, "due_date"=>Sun Jul 25 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Aug 10 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721ebb2693d5d23000094'), "assigned_to_name"=>nil, "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000094')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000097')}, {"name"=>"test6", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d23000097'), "assigned_to_id"=>BSON::ObjectId('4cd721ebb2693d5d23000093'), "company_id"=>BSON::ObjectId('4cd721ebb2693d5d23000091'), "work_item_id"=>nil, "due_date"=>Mon Jul 26 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Aug 10 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721ebb2693d5d23000094'), "assigned_to_name"=>nil, "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000094')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000098')}, {"name"=>"test3", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d23000098'), "assigned_to_id"=>BSON::ObjectId('4cd721ebb2693d5d23000092'), "company_id"=>BSON::ObjectId('4cd721ebb2693d5d23000091'), "work_item_id"=>nil, "due_date"=>Thu Jul 29 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Aug 09 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721ebb2693d5d23000094'), "assigned_to_name"=>nil, "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000094')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000099')}, {"name"=>"test4", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d23000099'), "assigned_to_id"=>BSON::ObjectId('4cd721ebb2693d5d23000093'), "company_id"=>BSON::ObjectId('4cd721ebb2693d5d23000091'), "work_item_id"=>nil, "due_date"=>Thu Jul 29 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Aug 10 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721ebb2693d5d23000094'), "assigned_to_name"=>nil, "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d23000094')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d2300009a')}, {"name"=>"test5", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d2300009a'), "assigned_to_id"=>BSON::ObjectId('4cd721ebb2693d5d23000092'), "company_id"=>BSON::ObjectId('4cd721ebb2693d5d23000091'), "work_item_id"=>nil, "due_date"=>Mon Aug 09 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Aug 10 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721ebb2693d5d23000094'), "assigned_to_name"=>nil, "context_entity"=>nil})
RpmOnline_test['$cmd'].find({"count"=>"work_items", "query"=>{:resolution=>"pending"}, "fields"=>nil}, {}).limit(-1)
RpmOnline_test['$cmd'].find({"count"=>"work_items", "query"=>{:assigned_to_id=>BSON::ObjectId('4cd721ebb2693d5d23000092'), :due_date=>{"$lte"=>Tue Aug 03 00:00:00 UTC 2010}, :resolution=>"pending"}, "fields"=>nil}, {}).limit(-1)
RpmOnline_test['$cmd'].find({"count"=>"work_items", "query"=>{:due_date=>{"$lte"=>Tue Aug 03 00:00:00 UTC 2010}}, "fields"=>nil}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d2300009e')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721ebb2693d5d2300009e'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d2300009e')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d2300009f')}, {"encrypted_password"=>"$2a$10$jBODh9eSmEfMuD08E0uHYuXjae4ZnI5KlvnqnvY/RpDFv/2IfBcie", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d2300009f'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$jBODh9eSmEfMuD08E0uHYu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721ebb2693d5d2300009e'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d2300009e')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d230000a0')}, {"encrypted_password"=>"$2a$10$r164TkYoDjUOH1qThSNTRuDFnT.4omwHSEq3Kgm87Bulu3waaCdPm", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d230000a0'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$r164TkYoDjUOH1qThSNTRu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721ebb2693d5d2300009e'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d2300009e')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d230000a1')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d230000a1'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>"TRISTATE CAREFLIGHT 20", "charges"=>[], "company_id"=>BSON::ObjectId('4cd721ebb2693d5d2300009e'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d230000a1')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d230000a1')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d230000a2')}, {"name"=>"Verify Consent Form", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"task"=>"verify_consent_form", "ref"=>"data_entry"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d230000a2'), "assigned_to_id"=>BSON::ObjectId('4cd721ebb2693d5d2300009b'), "company_id"=>BSON::ObjectId('4cd721ebb2693d5d2300009e'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721ebb2693d5d230000a1'), "assigned_to_name"=>"DOE, JOHN", "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721ebb2693d5d230000a1'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d230000a3')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721ebb2693d5d230000a3'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d230000a3')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721ebb2693d5d230000a4')}, {"encrypted_password"=>"$2a$10$f6IeP7WEOnvRgFSsf/qzfeJbJ.TXolX6qCnu3Wi60F8RGnajG/IvK", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721ebb2693d5d230000a4'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$f6IeP7WEOnvRgFSsf/qzfe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721ebb2693d5d230000a3'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d230000a3')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000a5')}, {"encrypted_password"=>"$2a$10$jF5HdHga9pKCOBOp7CzOTeaGHG8DxEuKtbGOEqAhLikoLqvC2gWwu", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721ecb2693d5d230000a5'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$jF5HdHga9pKCOBOp7CzOTe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721ebb2693d5d230000a3'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721ebb2693d5d230000a3')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000a6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721ecb2693d5d230000a6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>"TRISTATE CAREFLIGHT 30", "charges"=>[], "company_id"=>BSON::ObjectId('4cd721ebb2693d5d230000a3'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000a6')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000a6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000a7')}, {"name"=>"Verify Consent Form", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"task"=>"verify_consent_form", "ref"=>"data_entry"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721ecb2693d5d230000a7'), "assigned_to_id"=>BSON::ObjectId('4cd721ebb2693d5d2300009c'), "company_id"=>BSON::ObjectId('4cd721ebb2693d5d230000a3'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721ecb2693d5d230000a6'), "assigned_to_name"=>"DOE, JILL", "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721ecb2693d5d230000a6'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000a8')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721ecb2693d5d230000a8'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000a8')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000a9')}, {"encrypted_password"=>"$2a$10$/7FNyVLroo7pLyYAWa41FObE2Wqjup/8o6RYBW8uPeroEuboZgF7m", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721ecb2693d5d230000a9'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$/7FNyVLroo7pLyYAWa41FO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721ecb2693d5d230000a8'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000a8')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000aa')}, {"encrypted_password"=>"$2a$10$y3ZExXMjhnYP5QQ9CkcGwe0FZAKM9vSXlXe7MHFpa9V7ri/caJQ6e", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721ecb2693d5d230000aa'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$y3ZExXMjhnYP5QQ9CkcGwe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721ecb2693d5d230000a8'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000a8')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000ab')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721ecb2693d5d230000ab'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>"TRISTATE CAREFLIGHT 20", "charges"=>[], "company_id"=>BSON::ObjectId('4cd721ecb2693d5d230000a8'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000ab')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000ab')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000ac')}, {"name"=>"Contact Patient", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"task"=>"contact_patient", "ref"=>"biller"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721ecb2693d5d230000ac'), "assigned_to_id"=>BSON::ObjectId('4cd721ebb2693d5d2300009d'), "company_id"=>BSON::ObjectId('4cd721ecb2693d5d230000a8'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721ecb2693d5d230000ab'), "assigned_to_name"=>"DOE, JUAN", "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721ecb2693d5d230000ab'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000ad')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721ecb2693d5d230000ad'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000ad')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000ae')}, {"encrypted_password"=>"$2a$10$pOTqmTG4RvemnkXi5oQt5eArZASVFc0pFpFcP9oCl/qnQSiD21pVW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721ecb2693d5d230000ae'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$pOTqmTG4RvemnkXi5oQt5e", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721ecb2693d5d230000ad'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000ad')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000af')}, {"encrypted_password"=>"$2a$10$fDTd3q/.tEKJhAyNISaUPu6WjHoUdyFGfzKrh4Qm8obX.SqXVIwaS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721ecb2693d5d230000af'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$fDTd3q/.tEKJhAyNISaUPu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721ecb2693d5d230000ad'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000ad')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000b0')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721ecb2693d5d230000b0'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721ecb2693d5d230000ad'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000b0')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721ecb2693d5d230000b0')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b1')}, {"name"=>"Contact Patient", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"task"=>"contact_patient", "ref"=>"biller"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000b1'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721ecb2693d5d230000ad'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721ecb2693d5d230000b0'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721ecb2693d5d230000b0'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b2')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000b2'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b2')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b3')}, {"encrypted_password"=>"$2a$10$c/ck70m0NVRVtfrfPd.lou2FB.HI9nYmnaqqqGwl3Djwx/S0G5NNy", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000b3'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$c/ck70m0NVRVtfrfPd.lou", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000b2'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b2')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b4')}, {"encrypted_password"=>"$2a$10$q0EVztakNanr8BsQGDZHQ.EGMQJy.qAaOWGYs5heP2q4Gnk.53GkS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000b4'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$q0EVztakNanr8BsQGDZHQ.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000b2'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b2')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b5')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000b5'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>"TRISTATE CAREFLIGHT 30", "charges"=>[], "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000b2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b5')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000b5'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000b6'), "workflow_state"=>nil}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>"TRISTATE CAREFLIGHT 30", "charges"=>[], "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000b2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b5')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:"insurance_claims._id"=>BSON::ObjectId('4cd721edb2693d5d230000b6')}, {})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b7')}, {"name"=>"Verify Insurance Claim", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"task"=>"verify_insurance_claim", "ref"=>"biller"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000b7'), "assigned_to_id"=>BSON::ObjectId('4cd721ebb2693d5d2300009d'), "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000b2'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721edb2693d5d230000b5'), "assigned_to_name"=>"DOE, JUAN", "context_entity"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721edb2693d5d230000b5'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721edb2693d5d230000b6'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b8')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000b8'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b8')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b9')}, {"encrypted_password"=>"$2a$10$sEYEf2HKPhiCpo7/3oAJ1e2edvQ51zJrmndJTFx6Wa0TcYWzynVm.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000b9'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$sEYEf2HKPhiCpo7/3oAJ1e", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000b8'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b8')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000ba')}, {"encrypted_password"=>"$2a$10$J9Y.1Mz8gLACaxQGHfuQ9.lX/1/PGJWJdQlvoYO2OXUyM6hqmxD0y", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000ba'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$J9Y.1Mz8gLACaxQGHfuQ9.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000b8'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721edb2693d5d230000b8')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000bb')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000bb'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000b8'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721edb2693d5d230000bb')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721edb2693d5d230000bb')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000bc')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd721edb2693d5d230000bb", "context_type"=>"BillingRecord", "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000bc'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000b8'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721edb2693d5d230000bb'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721edb2693d5d230000bb'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000bc')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd721edb2693d5d230000bb", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000bc'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000b8'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721edb2693d5d230000bb'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721edb2693d5d230000bb'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000bc')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd721edb2693d5d230000bb", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000bc'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000b8'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721edb2693d5d230000bb'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721edb2693d5d230000bb'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000bb')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000bb'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"yes", "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000b8'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721edb2693d5d230000bd"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000be')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item 'Test' completed. ", "global_id"=>"4cd721edb2693d5d230000bd", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000be'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000b8'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721edb2693d5d230000bc'), "billing_record_id"=>BSON::ObjectId('4cd721edb2693d5d230000bb'), "user_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721edb2693d5d230000bb')}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000bf')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000bf'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721edb2693d5d230000bf')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000c0')}, {"encrypted_password"=>"$2a$10$i0kt1MwNDl5AuNTF2KnIruTizYxZwRYyhOVNOPTcqbKvZQvTYpPA6", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000c0'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$i0kt1MwNDl5AuNTF2KnIru", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000bf'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721edb2693d5d230000bf')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000c1')}, {"encrypted_password"=>"$2a$10$WscdP073Kn4W0p3P768YP.NltibUErO7lpEzn5Uo/xxfL/7CMdTBK", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000c1'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$WscdP073Kn4W0p3P768YP.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000bf'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721edb2693d5d230000bf')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000c2')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000c2'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000bf'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721edb2693d5d230000c2')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721edb2693d5d230000c2')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000c3')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd721edb2693d5d230000c2", "context_type"=>"BillingRecord", "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000c3'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000bf'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721edb2693d5d230000c2'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721edb2693d5d230000c2'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000c3')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd721edb2693d5d230000c2", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000c3'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000bf'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721edb2693d5d230000c2'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721edb2693d5d230000c2'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000c3')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd721edb2693d5d230000c2", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000c3'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000bf'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721edb2693d5d230000c2'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721edb2693d5d230000c2'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721edb2693d5d230000c2')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721edb2693d5d230000c2'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"yes", "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000bf'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721eeb2693d5d230000c4"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000c5')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item 'Test' completed. ", "global_id"=>"4cd721eeb2693d5d230000c4", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c5'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721edb2693d5d230000bf'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721edb2693d5d230000c3'), "billing_record_id"=>BSON::ObjectId('4cd721edb2693d5d230000c2'), "user_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721edb2693d5d230000c2')}, {})
RpmOnline_test['work_items'].find({:_id=>BSON::ObjectId('4cd721edb2693d5d230000c3')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000c6')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c6'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000c6')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000c7')}, {"encrypted_password"=>"$2a$10$1c.P8fGogZ44xL/SkeHOzeupV4Y4.D96LNgQn6.NaHSrirvsLPetS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c7'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$1c.P8fGogZ44xL/SkeHOze", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c6'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000c6')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000c8')}, {"encrypted_password"=>"$2a$10$XQqc0O2Sl.N/btvYvYajceIa/PSMVS9jsU8cf9fUN3EYNWG61zJFS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c8'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$XQqc0O2Sl.N/btvYvYajce", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c6'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000c6')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000c9')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c9'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000c9')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000c9')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000ca')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd721eeb2693d5d230000c9", "context_type"=>"BillingRecord", "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000ca'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c6'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c9'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c9'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000ca')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd721eeb2693d5d230000c9", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000ca'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c6'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c9'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c9'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000ca')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd721eeb2693d5d230000c9", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000ca'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c6'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c9'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c9'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000c9')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c9'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"yes", "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721eeb2693d5d230000cb"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000cc')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item 'Test' completed. ", "global_id"=>"4cd721eeb2693d5d230000cb", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000cc'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c6'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721eeb2693d5d230000ca'), "billing_record_id"=>BSON::ObjectId('4cd721eeb2693d5d230000c9'), "user_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721eeb2693d5d230000c9')}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000cd')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000cd'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000cd')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000ce')}, {"encrypted_password"=>"$2a$10$yj38JHxLUG9D6/0A.vFgCuanqW7IT.MY4pOLdSsuPHb1aWfOexaba", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000ce'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$yj38JHxLUG9D6/0A.vFgCu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000cd'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000cd')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000cf')}, {"encrypted_password"=>"$2a$10$Gij4/DwDP1pO7toA1OXlJ.25jxUqKXLdICfbqQj99jei17IsfrI7m", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000cf'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$Gij4/DwDP1pO7toA1OXlJ.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000cd'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000cd')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000d0')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000d0'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000cd'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000d0')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000d0')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000d1')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd721eeb2693d5d230000d0", "context_type"=>"BillingRecord", "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000d1'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000cd'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721eeb2693d5d230000d0'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721eeb2693d5d230000d0'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000d1')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"Blow, Joe", "data"=>{"fields"=>{"context_id"=>"4cd721eeb2693d5d230000d0", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000d1'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000cd'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>BSON::ObjectId('4cd721eeb2693d5d230000ce'), "billing_record_id"=>BSON::ObjectId('4cd721eeb2693d5d230000d0'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721eeb2693d5d230000d0'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000d1')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"Blow, Joe", "data"=>{"fields"=>{"context_id"=>"4cd721eeb2693d5d230000d0", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000d1'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000cd'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>BSON::ObjectId('4cd721eeb2693d5d230000ce'), "billing_record_id"=>BSON::ObjectId('4cd721eeb2693d5d230000d0'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721eeb2693d5d230000d0'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000d0')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000d0'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"yes", "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000cd'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721eeb2693d5d230000d2"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721eeb2693d5d230000d3')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item 'Test' completed. ", "global_id"=>"4cd721eeb2693d5d230000d2", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721eeb2693d5d230000d3'), "tags"=>["system", "work_item", "user_created"], "user_id"=>BSON::ObjectId('4cd721eeb2693d5d230000ce'), "company_id"=>BSON::ObjectId('4cd721eeb2693d5d230000cd'), "user_name"=>"Blow, Joe", "work_item_id"=>BSON::ObjectId('4cd721eeb2693d5d230000d1'), "billing_record_id"=>BSON::ObjectId('4cd721eeb2693d5d230000d0'), "user_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721eeb2693d5d230000d0')}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000d4')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000d4'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721efb2693d5d230000d4')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000d5')}, {"encrypted_password"=>"$2a$10$H1zCZmn3WFBW.eOPWZJ5mOYDvw3RPomFQxl4RJ2nHtpmkyThPGj.K", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000d5'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$H1zCZmn3WFBW.eOPWZJ5mO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000d4'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721efb2693d5d230000d4')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"70"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000d6')}, {"encrypted_password"=>"$2a$10$xRI1e6xb0qilU5N6z9Moj.rNNFRC0Jdw0nmha7Qw6YfrnrVfkab.O", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"70", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000d6'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$xRI1e6xb0qilU5N6z9Moj.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000d4'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721efb2693d5d230000d4')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000d7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000d7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000d4'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721efb2693d5d230000d7')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721efb2693d5d230000d7')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000d8')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"context_id"=>"4cd721efb2693d5d230000d7", "context_type"=>"BillingRecord", "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport", "question"=>"Is this an emergent transport?"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000d8'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000d4'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721efb2693d5d230000d7'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721efb2693d5d230000d7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000d8')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd721efb2693d5d230000d7", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport", "question"=>"Is this an emergent transport?"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "question"=>"Is this an emergent transport?", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>nil, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000d8'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000d4'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721efb2693d5d230000d7'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721efb2693d5d230000d7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000d8')}, {"name"=>"Test", "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"context_id"=>"4cd721efb2693d5d230000d7", "context_type"=>"BillingRecord", "previous_params"=>{"title"=>"Test", "response_field"=>"is_emergent_transport", "question"=>"Is this an emergent transport?"}, "is_emergent_transport"=>"yes", "params"=>{"title"=>"Test", "question"=>"Is this an emergent transport?", "response_field"=>"is_emergent_transport"}}}, "performance_audit"=>{"priority_weight"=>0.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.8, "audit_time"=>Tue Aug 03 00:00:00 UTC 2010}, "resolution_time"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000d8'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000d4'), "work_item_id"=>nil, "due_date"=>Tue Aug 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Aug 04 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721efb2693d5d230000d7'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721efb2693d5d230000d7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000d7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000d7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>"yes", "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000d4'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721efb2693d5d230000d9"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000da')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Tue Aug 03 00:00:00 UTC 2010, "body"=>"Work item 'Test' completed. Question asked: Is this an emergent transport? Answer: yes", "global_id"=>"4cd721efb2693d5d230000d9", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000da'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000d4'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721efb2693d5d230000d8'), "billing_record_id"=>BSON::ObjectId('4cd721efb2693d5d230000d7'), "user_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721efb2693d5d230000d7')}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000db')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000db'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000dc')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"12345", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Wed Jul 07 00:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000dc'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000db'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Wed Jul 07 00:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created"})
RpmOnline_test['billing_records'].find({:billing_record_number=>"12345"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000dd')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000dd'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000de')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"12345", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Jul 12 00:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000de'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000dd'), "patient_name"=>nil, "last_payment_date"=>Mon Jul 12 00:00:00 UTC 2010, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Wed Jul 07 00:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>{"credit_type"=>"test", "amount"=>200, "effective_date"=>"2010-07-12"}})
RpmOnline_test['billing_records'].find({:billing_record_number=>"12345"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000df')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000df'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000e0')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"12345", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Wed Jul 07 00:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e0'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000df'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Wed Jul 07 00:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil})
RpmOnline_test['billing_records'].find({:billing_record_number=>"12345"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000e1')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e1'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000e2')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"12345", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Jul 12 00:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e2'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000e1'), "patient_name"=>nil, "last_payment_date"=>Mon Jul 12 00:00:00 UTC 2010, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Wed Jul 07 00:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>{"credit_type"=>"test", "amount"=>200, "effective_date"=>"2010-07-12"}})
RpmOnline_test['billing_records'].find({:billing_record_number=>"12345"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000e3')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e3'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721efb2693d5d230000e4')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000e4')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e4'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000e3'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"pcr_received", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"PcrReceived", "last_credit_received"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000e5')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e5'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721efb2693d5d230000e6')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721efb2693d5d230000e6')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"payer_source_pending", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"PayerSourcePending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721efb2693d5d230000e6')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"private_pay_pending", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"PrivatePayPending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721efb2693d5d230000e6')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721efb2693d5d230000e6'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721efb2693d5d230000e7'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{}, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e7'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"private_pay_pending", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"PrivatePayPending", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721efb2693d5d230000e6'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721efb2693d5d230000e7'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{}, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e7'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"private_pay_pending", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"PrivatePayPending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721efb2693d5d230000e6')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721efb2693d5d230000e6'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721efb2693d5d230000e7'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{}, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e7'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721efb2693d5d230000e6')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721efb2693d5d230000e6'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721efb2693d5d230000e7'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{}, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e7'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"credit_balance_pending", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"CreditBalancePending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721efb2693d5d230000e6')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721efb2693d5d230000e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721efb2693d5d230000e6'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721efb2693d5d230000e7'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{}, "_id"=>BSON::ObjectId('4cd721efb2693d5d230000e7'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721efb2693d5d230000e5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"zero_balance", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ZeroBalance", "last_credit_received"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000e8')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000e8'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f0b2693d5d230000e9')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000e9')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000e9'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000e8'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f0b2693d5d230000e9')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000e9')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000e9'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000e9'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ea'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ea'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000e8'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000e9')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000e9'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000e9'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ea'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ea'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000e8'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f0b2693d5d230000e9')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000e9')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000e9'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000e9'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ea'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ea'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000e8'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000eb')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000eb'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f0b2693d5d230000ec')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000ec')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ec'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000eb'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f0b2693d5d230000ec')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000ec')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ec'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ec'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ed'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ed'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000eb'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000ec')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ec'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ec'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ed'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ed'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000eb'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f0b2693d5d230000ec')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000ec')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ec'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ec'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ed'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ed'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000eb'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['billing_records'].find({:"insurance_claims._id"=>BSON::ObjectId('4cd721f0b2693d5d230000ed')}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000ee')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ee'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f0b2693d5d230000ef')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000ef')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ef'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ee'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f0b2693d5d230000ef')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000ef')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ef'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ef'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f0'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f0'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ee'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000ef')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ef'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ef'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f0'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f0'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ee'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f0b2693d5d230000ef')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000ef')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ef'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ef'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f0'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f0'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ee'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f0b2693d5d230000ef')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000ef')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ef'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ef'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f0'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f0'), "workflow_state"=>"complete"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ee'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000ef')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ef'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f0'), "workflow_state"=>"complete"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000ee'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['billing_records'].find({:billing_record_number=>"1234"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000f2')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f2'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f0b2693d5d230000f3')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000f3')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f3'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f0b2693d5d230000f3')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000f3')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f3'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f3'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f4'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f4'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000f3')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f3'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f3'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f4'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f4'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f0b2693d5d230000f3')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000f3')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f3'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f3'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f4'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f4'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f0b2693d5d230000f3')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000f3')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f3'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f3'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f4'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f4'), "workflow_state"=>"claim_submitted"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['billing_records'].find({:billing_record_number=>"1234"}, {}).limit(-1)
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f0b2693d5d230000f3')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000f3')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f3'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f3'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f4'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f4'), "workflow_state"=>"complete"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f0b2693d5d230000f3')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f3'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f4'), "workflow_state"=>"complete"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f0b2693d5d230000f2'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['billing_records'].find({:billing_record_number=>"1234"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000f6')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f6'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f1b2693d5d230000f7')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000f7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f1b2693d5d230000f7')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000f7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f8'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f8'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000f7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f8'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f8'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f1b2693d5d230000f7')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000f7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f8'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f8'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f1b2693d5d230000f7')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000f7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f8'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f8'), "workflow_state"=>"claim_submitted"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['billing_records'].find({:billing_record_number=>"1234"}, {}).limit(-1)
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721f1b2693d5d230000f7')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000f7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f8'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f8'), "workflow_state"=>"complete"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000f7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1234", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>{"parent"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f7'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}, "entity_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f8'), "_id"=>nil, "entity_class_name"=>"InsuranceClaim"}, "loaded_miles"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>{"name"=>"hi", "type"=>"ho"}, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f8'), "workflow_state"=>"complete"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f6'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "credits"=>[], "workflow_state"=>"insurance_claim_pending", "date_of_service"=>nil, "current_payer"=>{"name"=>"hi", "type"=>"ho"}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "billing_record_status"=>"InsuranceClaimPending", "last_credit_received"=>nil})
RpmOnline_test['billing_records'].find({:billing_record_number=>"1234"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000f9')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f9'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f9'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f9')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f9')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000fb')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fb'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000fc')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fc'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000fd')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fd')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000fe')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fe')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000ff')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f1b2693d5d230000ff')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d23000100')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f1b2693d5d23000100'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d23000101')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f1b2693d5d23000101'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d23000102')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f1b2693d5d23000102'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d23000103')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f1b2693d5d23000103'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d23000104')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd721f1b2693d5d23000104'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d23000105')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f1b2693d5d23000105'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d23000106')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd721f1b2693d5d23000106'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d23000107')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd721f1b2693d5d23000107'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d23000108')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd721f1b2693d5d23000108'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d23000109')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f1b2693d5d23000109'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f1b2693d5d2300010a')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f1b2693d5d2300010a'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300010b')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010b')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f9'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130011331"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130011087"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f9'), :global_id=>"22222"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130003521"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f2b2693d5d2300010c'), "company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f9')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300010c'), "company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f9')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010c'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f9'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"130003521", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fd'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"130003521", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f1b2693d5d230000f9'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721f1b2693d5d230000f9')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300010d')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010d'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010d'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300010e'), "company_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010d')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010e'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010d')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000111')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000111')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000112')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000112')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000113')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000113')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000114')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000114'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000115')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000115'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000116')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000116'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000117')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000117'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000118')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000118'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000119')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000119'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300011a')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300011a'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300011b')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300011b'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300011c')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300011c'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300011d')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300011d'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300011e')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300011e'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300011f')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300011f')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010d'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130005277"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130005324"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f2b2693d5d23000120'), "company_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010d')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000120'), "company_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010d')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"My Schedule", "diagnoses"=>[{"is_deleted"=>false, "diagnosis_global_id"=>"130005277"}, {"is_deleted"=>false, "diagnosis_global_id"=>"130005324"}], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130027892", "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000120'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>{"city"=>nil, "address1"=>nil, "zip"=>nil, "address2"=>nil, "_id"=>nil, "county"=>nil, "state"=>nil}, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010d'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721f2b2693d5d2300011f'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010d'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000121')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000121'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721f2b2693d5d23000121'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000122'), "company_id"=>BSON::ObjectId('4cd721f2b2693d5d23000121')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000122'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721f2b2693d5d23000121')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000123')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000123'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000124')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000124'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000125')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000125')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000126')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000126')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000127')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000127')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000128')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000128'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d23000129')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f2b2693d5d23000129'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300012a')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300012a'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300012b')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300012b'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300012c')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300012c'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300012d')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300012d'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f2b2693d5d2300012e')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd721f2b2693d5d2300012e'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d2300012f')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd721f3b2693d5d2300012f'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000130')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000130'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000131')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000131'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000132')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000132'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000133')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000133')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f2b2693d5d23000121'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f3b2693d5d23000134'), "company_id"=>BSON::ObjectId('4cd721f2b2693d5d23000121')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000134'), "company_id"=>BSON::ObjectId('4cd721f2b2693d5d23000121')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[{"name"=>"POISONING AMPHETAMINE", "dx_code"=>"969.72", "is_deleted"=>false, "diagnosis_global_id"=>"130106066", "diagnosis_id"=>BSON::ObjectId('4cd721f2b2693d5d23000128')}, {"name"=>"PSOAS MUSCLE ABSCESS", "dx_code"=>"567.31", "is_deleted"=>false, "diagnosis_global_id"=>"130106243", "diagnosis_id"=>BSON::ObjectId('4cd721f2b2693d5d23000129')}], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000134'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f2b2693d5d23000121'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721f2b2693d5d23000125'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f2b2693d5d23000121'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000135')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000135'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721f3b2693d5d23000135'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000136'), "company_id"=>BSON::ObjectId('4cd721f3b2693d5d23000135')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000136'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721f3b2693d5d23000135')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000137')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000137'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000138')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000138'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000139')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000139')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d2300013a')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f3b2693d5d2300013a')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d2300013b')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f3b2693d5d2300013b')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d2300013c')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f3b2693d5d2300013c'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d2300013d')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f3b2693d5d2300013d'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d2300013e')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f3b2693d5d2300013e'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d2300013f')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f3b2693d5d2300013f'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000140')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000140'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000141')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000141'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000142')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000142'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000143')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000143'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000144')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000144'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000145')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000145'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000146')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000146'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000147')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000147')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f3b2693d5d23000135'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130003521"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130003521"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"130003694"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f3b2693d5d23000148'), "company_id"=>BSON::ObjectId('4cd721f3b2693d5d23000135')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f3b2693d5d23000148'), "company_id"=>BSON::ObjectId('4cd721f3b2693d5d23000135')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>26708.15, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>1578.27, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721f3b2693d5d23000148'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f3b2693d5d23000135'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>28286.42, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[{"credit_type"=>{"name"=>"INSURANCE PYMNT FROM PATIENT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130075453", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070003", "payer_global_id"=>"130003521", "amount"=>6313.09, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130094614", "payer_id"=>nil, "effective_date"=>Sat May 22 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Sat May 22 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>nil, "credit_id"=>"1338019070004", "payer_global_id"=>"", "amount"=>1578.27, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>nil, "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070005", "payer_global_id"=>"130003694", "amount"=>20395.06, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721f3b2693d5d23000139'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f3b2693d5d23000135'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d23000149')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d23000149'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721f4b2693d5d23000149'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d2300014a'), "company_id"=>BSON::ObjectId('4cd721f4b2693d5d23000149')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d2300014a'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721f4b2693d5d23000149')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d2300014b')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d2300014b'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d2300014c')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d2300014c'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d2300014d')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d2300014d')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d2300014e')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d2300014e')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d2300014f')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d2300014f')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d23000150')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d23000150'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d23000151')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d23000151'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d23000152')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f4b2693d5d23000152'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d23000153')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f4b2693d5d23000153'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d23000154')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd721f4b2693d5d23000154'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d23000155')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f4b2693d5d23000155'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d23000156')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd721f4b2693d5d23000156'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d23000157')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd721f4b2693d5d23000157'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d23000158')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd721f4b2693d5d23000158'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d23000159')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d23000159'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d2300015a')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d2300015a'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d2300015b')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d2300015b')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f4b2693d5d23000149'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f4b2693d5d2300015c'), "company_id"=>BSON::ObjectId('4cd721f4b2693d5d23000149')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d2300015c'), "company_id"=>BSON::ObjectId('4cd721f4b2693d5d23000149')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>26708.15, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>1578.27, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721f4b2693d5d2300015c'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f4b2693d5d23000149'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>28286.42, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[{"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070001", "payer_global_id"=>"", "amount"=>20449.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130103254", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"INSURANCE PYMNT FROM PATIENT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130075453", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070003", "payer_global_id"=>"", "amount"=>6313.09, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130094614", "payer_id"=>nil, "effective_date"=>Sat May 22 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Sat May 22 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>nil, "credit_id"=>"1338019070004", "payer_global_id"=>"", "amount"=>1578.27, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>nil, "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070002", "payer_global_id"=>"", "amount"=>-20449.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070005", "payer_global_id"=>"", "amount"=>20395.06, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721f4b2693d5d2300014d'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f4b2693d5d23000149'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f4b2693d5d23000149'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f4b2693d5d2300015c'), "company_id"=>BSON::ObjectId('4cd721f4b2693d5d23000149')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d2300015c'), "company_id"=>BSON::ObjectId('4cd721f4b2693d5d23000149')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>-20449.64, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>1678.27, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721f4b2693d5d2300015c'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f4b2693d5d23000149'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>-18771.37, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[{"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>nil, "credit_id"=>"1338019070004", "payer_global_id"=>"", "amount"=>1578.27, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>nil, "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070002", "payer_global_id"=>"", "amount"=>-20449.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>nil, "credit_id"=>"1338019070001", "payer_global_id"=>"", "amount"=>100.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130103254", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721f4b2693d5d2300014d'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f4b2693d5d23000149'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d2300015d')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d2300015d'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721f4b2693d5d2300015d'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d2300015e'), "company_id"=>BSON::ObjectId('4cd721f4b2693d5d2300015d')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d2300015e'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721f4b2693d5d2300015d')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d2300015f')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d2300015f'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d23000160')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d23000160'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d23000161')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d23000161')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d23000162')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d23000162')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd721f4b2693d5d23000163')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f4b2693d5d23000163')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000164')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000164'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000165')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000165'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000166')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000166'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000167')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000167'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000168')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000168'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000169')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000169'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d2300016a')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd721f5b2693d5d2300016a'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d2300016b')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd721f5b2693d5d2300016b'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d2300016c')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd721f5b2693d5d2300016c'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d2300016d')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f5b2693d5d2300016d'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d2300016e')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f5b2693d5d2300016e'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d2300016f')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f5b2693d5d2300016f')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f4b2693d5d2300015d'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f5b2693d5d23000170'), "company_id"=>BSON::ObjectId('4cd721f4b2693d5d2300015d')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000170'), "company_id"=>BSON::ObjectId('4cd721f4b2693d5d2300015d')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>950.0, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>300.0, "total_adjustments"=>150.0, "total_refunds"=>-350.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000170'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f4b2693d5d2300015d'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>1050.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[{"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>nil, "credit_id"=>"1338019070001", "payer_global_id"=>"", "amount"=>100.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130103254", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>nil, "credit_id"=>"1338019070003", "payer_global_id"=>"", "amount"=>200.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130094614", "payer_id"=>nil, "effective_date"=>Sat May 22 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Sat May 22 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070004", "payer_global_id"=>"", "amount"=>300.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>nil, "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070002", "payer_global_id"=>"", "amount"=>250.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070005", "payer_global_id"=>"", "amount"=>400.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"ADJUSTMENT", "credit_sub_category"=>"Misc Adjustment", "credit_type_id"=>"130017870", "credit_category"=>"Adjustment"}, "payer_name"=>nil, "credit_id"=>"1338019070014", "payer_global_id"=>"", "amount"=>150.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>nil, "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"REFUND", "credit_sub_category"=>"Medicaid Refund", "credit_type_id"=>"130006070", "credit_category"=>"Refund"}, "payer_name"=>nil, "credit_id"=>"1338019070015", "payer_global_id"=>"", "amount"=>-350.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>nil, "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721f4b2693d5d23000161'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f4b2693d5d2300015d'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000171')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000171'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721f5b2693d5d23000171'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000172'), "company_id"=>BSON::ObjectId('4cd721f5b2693d5d23000171')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000172'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721f5b2693d5d23000171')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000173')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000173'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000174')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000174'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000175')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000175')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000176')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000176')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000177')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000177')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000178')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000178'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d23000179')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f5b2693d5d23000179'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d2300017a')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f5b2693d5d2300017a'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d2300017b')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f5b2693d5d2300017b'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d2300017c')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd721f5b2693d5d2300017c'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d2300017d')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f5b2693d5d2300017d'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d2300017e')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd721f5b2693d5d2300017e'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f5b2693d5d2300017f')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd721f5b2693d5d2300017f'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000180')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000180'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000181')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000181'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000182')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000182'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000183')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000183')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f5b2693d5d23000171'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f6b2693d5d23000184'), "company_id"=>BSON::ObjectId('4cd721f5b2693d5d23000171')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000184'), "company_id"=>BSON::ObjectId('4cd721f5b2693d5d23000171')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>300.0, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>200.0, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000184'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f5b2693d5d23000171'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>500.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[{"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>"Test Primary Payer", "credit_id"=>"1338019070004", "payer_global_id"=>"888888", "amount"=>300.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>BSON::ObjectId('4cd721f5b2693d5d23000173'), "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>"Test Current Payer", "credit_id"=>"1338019070003", "payer_global_id"=>"999999", "amount"=>200.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130094614", "payer_id"=>BSON::ObjectId('4cd721f5b2693d5d23000174'), "effective_date"=>Sat May 22 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Sat May 22 00:00:00 UTC 2010}], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721f5b2693d5d23000175'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f5b2693d5d23000171'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000185')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000185'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721f6b2693d5d23000185'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000186'), "company_id"=>BSON::ObjectId('4cd721f6b2693d5d23000185')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000186'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721f6b2693d5d23000185')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000187')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000187'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000188')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000188'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000189')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000189')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d2300018a')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f6b2693d5d2300018a')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d2300018b')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f6b2693d5d2300018b')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d2300018c')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f6b2693d5d2300018c'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d2300018d')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f6b2693d5d2300018d'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d2300018e')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f6b2693d5d2300018e'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d2300018f')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f6b2693d5d2300018f'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000190')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000190'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000191')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000191'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000192')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000192'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000193')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000193'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000194')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000194'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000195')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000195'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000196')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000196'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000197')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000197')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f6b2693d5d23000185'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f6b2693d5d23000198'), "company_id"=>BSON::ObjectId('4cd721f6b2693d5d23000185')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000198'), "company_id"=>BSON::ObjectId('4cd721f6b2693d5d23000185')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>26708.15, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>1578.27, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000198'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f6b2693d5d23000185'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>28286.42, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[{"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070001", "payer_global_id"=>"", "amount"=>20449.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130103254", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"INSURANCE PYMNT FROM PATIENT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130075453", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070003", "payer_global_id"=>"", "amount"=>6313.09, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130094614", "payer_id"=>nil, "effective_date"=>Sat May 22 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Sat May 22 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"COLLECTION W/O-PD TO PATIENT", "credit_sub_category"=>"Collection Write Off", "credit_type_id"=>"130103337", "credit_category"=>"WriteOff"}, "payer_name"=>nil, "credit_id"=>"1338019070004", "payer_global_id"=>"", "amount"=>1578.27, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130062842", "payer_id"=>nil, "effective_date"=>Tue May 25 00:00:00 UTC 2010, "credit_entered_date"=>Tue May 25 00:00:00 UTC 2010, "credit_received_date"=>Tue May 25 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070002", "payer_global_id"=>"", "amount"=>-20449.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070005", "payer_global_id"=>"", "amount"=>20395.06, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721f6b2693d5d23000189'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f6b2693d5d23000185'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f6b2693d5d23000185'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['payers'].find({:global_id=>""}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f6b2693d5d23000198'), "company_id"=>BSON::ObjectId('4cd721f6b2693d5d23000185')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f6b2693d5d23000198'), "company_id"=>BSON::ObjectId('4cd721f6b2693d5d23000185')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>20595.06, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>1578.27, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721f6b2693d5d23000198'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f6b2693d5d23000185'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>22173.33, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[{"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070001", "payer_global_id"=>"", "amount"=>20449.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130103254", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070002", "payer_global_id"=>"", "amount"=>-20449.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070009", "payer_global_id"=>"", "amount"=>200.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130103254", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}, {"credit_type"=>{"name"=>"WC/CHAMP/VA/PRISON PYMT", "credit_sub_category"=>"Payment", "credit_type_id"=>"130041713", "credit_category"=>"Payment"}, "payer_name"=>nil, "credit_id"=>"1338019070005", "payer_global_id"=>"", "amount"=>20395.06, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130049953", "payer_id"=>nil, "effective_date"=>Mon Apr 05 00:00:00 UTC 2010, "credit_entered_date"=>Fri Aug 27 00:00:00 UTC 2010, "credit_received_date"=>Mon Apr 05 00:00:00 UTC 2010}], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721f6b2693d5d23000189'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f6b2693d5d23000185'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d23000199')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d23000199'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721f7b2693d5d23000199'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d2300019a'), "company_id"=>BSON::ObjectId('4cd721f7b2693d5d23000199')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d2300019a'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721f7b2693d5d23000199')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d2300019b')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d2300019b'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d2300019c')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d2300019c'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d2300019d')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d2300019d')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d2300019e')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d2300019e')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d2300019f')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d2300019f')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001a0')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001a0'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001a1')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001a1'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001a2')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001a2'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001a3')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001a3'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001a4')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001a4'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001a5')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001a5'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001a6')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001a6'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001a7')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001a7'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001a8')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001a8'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001a9')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001a9'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001aa')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001aa'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001ab')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ab')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f7b2693d5d23000199'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f7b2693d5d230001ac'), "company_id"=>BSON::ObjectId('4cd721f7b2693d5d23000199')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001ac'), "company_id"=>BSON::ObjectId('4cd721f7b2693d5d23000199')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ac'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[{"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Fri Feb 19 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472715"}, {"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Thu Jul 08 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472719"}, {"unit_cost"=>296.64, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-296.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Tue Aug 10 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472721"}], "company_id"=>BSON::ObjectId('4cd721f7b2693d5d23000199'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721f7b2693d5d2300019d'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f7b2693d5d23000199'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001ad')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ad'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ad'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001ae'), "company_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ad')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ae'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ad')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001af')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001af'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001b0')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001b0'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001b1')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001b1')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001b2')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001b2')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001b3')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001b3')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001b4')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001b4'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f7b2693d5d230001b5')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f7b2693d5d230001b5'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001b6')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001b6'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001b7')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001b7'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001b8')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001b8'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001b9')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001b9'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001ba')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001ba'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001bb')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001bb'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001bc')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001bc'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001bd')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001bd'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001be')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001be'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001bf')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001bf')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ad'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f8b2693d5d230001c0'), "company_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ad')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001c0'), "company_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ad')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c0'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[{"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Fri Feb 19 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472715"}, {"unit_cost"=>970.81, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-970.81, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Mon Jun 07 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472717"}, {"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Thu Jul 08 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472719"}, {"unit_cost"=>296.64, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-296.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Tue Aug 10 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472721"}], "company_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ad'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721f7b2693d5d230001b1'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ad'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ad'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f8b2693d5d230001c0'), "company_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ad')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001c0'), "company_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ad')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c0'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[{"unit_cost"=>970.81, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-970.81, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Mon Jun 07 00:00:00 UTC 2010, "charge_type"=>{"charge_category"=>"Supplies", "name"=>"UVC PLACEMENT", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472717"}, {"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Thu Jul 08 00:00:00 UTC 2010, "charge_type"=>{"charge_category"=>"Supplies", "name"=>"UVC PLACEMENT", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472719"}, {"unit_cost"=>50.0, "quantity"=>3.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-450.0, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Fri Feb 19 00:00:00 UTC 2010, "charge_type"=>{"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "charge_type_id"=>"130006306"}, "charge_id"=>"13320472715"}], "company_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ad'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721f7b2693d5d230001b1'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f7b2693d5d230001ad'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001c1')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c1'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c1'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001c2'), "company_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c1')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c2'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c1')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001c3')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c3'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001c4')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c4'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001c5')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c5')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001c6')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c6')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001c7')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c7')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001c8')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c8'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001c9')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c9'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001ca')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001ca'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001cb')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001cb'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001cc')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001cc'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001cd')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001cd'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001ce')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001ce'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001cf')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001cf'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001d0')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001d0'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001d1')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001d1'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001d2')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001d2'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f8b2693d5d230001d3')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f8b2693d5d230001d3')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c1'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f9b2693d5d230001d4'), "company_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c1')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001d4'), "company_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c1')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d4'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[{"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Fri Feb 19 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472715"}, {"unit_cost"=>970.81, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-970.81, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Mon Jun 07 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472717"}, {"unit_cost"=>296.64, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-296.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Tue Aug 10 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472721"}], "company_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c1'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c5'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c1'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c1'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f9b2693d5d230001d4'), "company_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c1')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001d4'), "company_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c1')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d4'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[{"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Fri Feb 19 00:00:00 UTC 2010, "charge_type"=>{"charge_category"=>"Supplies", "name"=>"UVC PLACEMENT", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472715"}, {"unit_cost"=>970.81, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-970.81, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Mon Jun 07 00:00:00 UTC 2010, "charge_type"=>{"charge_category"=>"Supplies", "name"=>"UVC PLACEMENT", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472717"}, {"unit_cost"=>296.64, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-296.64, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Tue Aug 10 00:00:00 UTC 2010, "charge_type"=>{"charge_category"=>"Supplies", "name"=>"UVC PLACEMENT", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472721"}, {"unit_cost"=>278.66, "quantity"=>-1.0, "charge_entered_date"=>Thu Sep 02 00:00:00 UTC 2010, "amount"=>-278.66, "_id"=>nil, "is_deleted"=>false, "user_id"=>"130080575", "effective_date"=>Thu Jul 08 00:00:00 UTC 2010, "charge_type"=>{"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "charge_type_id"=>"130006305"}, "charge_id"=>"13320472719"}], "company_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c1'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c5'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f8b2693d5d230001c1'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001d5')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001d6'), "company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d6'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001d7')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d7'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001d8')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d8'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001d9')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d9')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001da')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001da')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001db')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001db')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001dc')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001dc'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001dd')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001dd'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001de')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001de'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001df')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001df'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001e0')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001e0'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001e1')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001e1'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001e2')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001e2'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001e3')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001e3'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001e4')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001e4'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001e5')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001e5'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001e6')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001e6'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001e7')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001e7')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f9b2693d5d230001e8'), "company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001e8'), "company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001e8'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d9'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5'), :global_id=>"133207035792496"}, {}).limit(-1)
RpmOnline_test['users'].find({"company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5'), :global_id=>"130088546"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5'), :global_id=>"133207035792496"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001e9'), "company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>"9-1002085", "timestamp"=>Thu Sep 02 19:20:37 UTC 2010, "body"=>"RPM: ***** ROLLED INTO RPM****", "global_id"=>"133207035792496", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001e9'), "tags"=>[], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5'), "user_name"=>nil, "work_item_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721f9b2693d5d230001e8'), "user_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5'), :global_id=>"133207035792497"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5'), :global_id=>"133207035792497"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721f9b2693d5d230001ea'), "company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>"9-1002085", "timestamp"=>Thu Sep 02 23:10:31 UTC 2010, "body"=>"Something is wrong!!!", "global_id"=>"133207035792497", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721f9b2693d5d230001ea'), "tags"=>[], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5'), "user_name"=>nil, "work_item_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721f9b2693d5d230001e8'), "user_global_id"=>nil})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721f9b2693d5d230001e8'), "company_id"=>BSON::ObjectId('4cd721f9b2693d5d230001d5')}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001eb')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d230001eb'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721fab2693d5d230001eb'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001ec'), "company_id"=>BSON::ObjectId('4cd721fab2693d5d230001eb')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d230001ec'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721fab2693d5d230001eb')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001ed')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d230001ed'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001ee')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d230001ee'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001ef')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d230001ef')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001f0')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d230001f0')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001f1')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d230001f1')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001f2')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d230001f2'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001f3')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d230001f3'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001f4')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721fab2693d5d230001f4'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001f5')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721fab2693d5d230001f5'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001f6')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd721fab2693d5d230001f6'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001f7')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721fab2693d5d230001f7'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001f8')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd721fab2693d5d230001f8'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001f9')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd721fab2693d5d230001f9'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001fa')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd721fab2693d5d230001fa'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001fb')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d230001fb'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001fc')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d230001fc'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001fd')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d230001fd')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721fab2693d5d230001eb'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721fab2693d5d230001fe'), "company_id"=>BSON::ObjectId('4cd721fab2693d5d230001eb')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001fe'), "company_id"=>BSON::ObjectId('4cd721fab2693d5d230001eb')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721fab2693d5d230001fe'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fab2693d5d230001eb'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721fab2693d5d230001ef'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721fab2693d5d230001eb'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d230001ff')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d23000200'), "company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d23000200'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d23000201')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d23000201'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d23000202')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d23000202'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d23000203')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d23000203')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d23000204')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d23000204')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d23000205')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d23000205')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d23000206')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d23000206'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d23000207')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d23000207'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d23000208')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721fab2693d5d23000208'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d23000209')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721fab2693d5d23000209'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d2300020a')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd721fab2693d5d2300020a'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d2300020b')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721fab2693d5d2300020b'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d2300020c')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd721fab2693d5d2300020c'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d2300020d')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd721fab2693d5d2300020d'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d2300020e')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd721fab2693d5d2300020e'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d2300020f')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d2300020f'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d23000210')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d23000210'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d23000211')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fab2693d5d23000211')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721fab2693d5d23000212'), "company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fab2693d5d23000212'), "company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721fab2693d5d23000212'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>{"city"=>"RED BLUFF", "address1"=>"SCENE CALL", "zip"=>"96080", "address2"=>"17915 RED BANK ROAD", "_id"=>nil, "county"=>"TEHAMA COUNTY", "state"=>"CA"}, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721fab2693d5d23000203'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff'), :global_id=>"133207035792496"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff'), :global_id=>"133207035792496"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000213'), "company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>"9-1002085", "timestamp"=>Thu Sep 02 19:20:37 UTC 2010, "body"=>"RPM: ***** ROLLED INTO RPM****", "global_id"=>"133207035792496", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000213'), "tags"=>[], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff'), "user_name"=>nil, "work_item_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fab2693d5d23000212'), "user_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff'), :global_id=>"133207035792497"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({"company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff'), :global_id=>"133207035792497"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000214'), "company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff')}, {"created_at"=>Tue Aug 03 00:00:00 UTC 2010, "billing_record_number"=>"9-1002085", "timestamp"=>Thu Sep 02 23:10:31 UTC 2010, "body"=>"Something is wrong!!!", "global_id"=>"133207035792497", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000214'), "tags"=>[], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff'), "user_name"=>nil, "work_item_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fab2693d5d23000212'), "user_global_id"=>nil})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721fab2693d5d230001ff'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000215')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"123", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000215'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd721fbb2693d5d23000215'), :global_id=>"22222"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000216'), "company_id"=>BSON::ObjectId('4cd721fbb2693d5d23000215')}, {"name"=>"Base 1", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "provider_id"=>nil, "global_id"=>"22222", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000216'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721fbb2693d5d23000215')})
RpmOnline_test['payers'].find({:global_id=>"888888"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000217')}, {"name"=>"Test Primary Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"888888", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000217'), "contact"=>nil, "payer_type"=>"private"})
RpmOnline_test['payers'].find({:global_id=>"999999"}, {}).limit(-1)
MONGODB RpmOnline_test['payers'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000218')}, {"name"=>"Test Current Payer", "address"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"999999", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000218'), "contact"=>nil, "payer_type"=>"insurance"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130009528"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000219')}, {"name"=>"PRIVATE PAY ACCOUNTS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130009528", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000219')})
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130013405"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d2300021a')}, {"name"=>"PAYOR SOURCE PENDING", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130013405", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d2300021a')})
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
RpmOnline_test['billing_schedule_events'].find({:global_id=>"130109897"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedule_events'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d2300021b')}, {"name"=>"COMPLIANCE AUDIT REVIEW", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130109897", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d2300021b')})
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106066"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d2300021c')}, {"name"=>"POISONING AMPHETAMINE", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106066", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d2300021c'), "dx_code"=>"969.72", "diagnosis_id"=>nil})
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
RpmOnline_test['diagnoses'].find({:global_id=>"130106243"}, {}).limit(-1)
MONGODB RpmOnline_test['diagnoses'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d2300021d')}, {"name"=>"PSOAS MUSCLE ABSCESS", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130106243", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d2300021d'), "dx_code"=>"567.31", "diagnosis_id"=>nil})
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130041713"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d2300021e')}, {"name"=>"WC/CHAMP/VA/PRISON PYMT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130041713", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721fbb2693d5d2300021e'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130075453"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d2300021f')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130075453", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721fbb2693d5d2300021f'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103337"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000220')}, {"name"=>"COLLECTION W/O-PD TO PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103337", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Collection Write Off", "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000220'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130103774"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000221')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130103774", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Payment", "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000221'), "credit_category"=>"Payment"})
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130105142"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000222')}, {"name"=>"TIMELY FILING WRITE OFF", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130105142", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Write Off", "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000222'), "credit_category"=>"WriteOff"})
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130006070"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000223')}, {"name"=>"REFUND", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006070", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Medicaid Refund", "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000223'), "credit_category"=>"Refund"})
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130017870"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000224')}, {"name"=>"ADJUSTMENT", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130017870", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "credit_sub_category"=>"Misc Adjustment", "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000224'), "credit_category"=>"Adjustment"})
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006305"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000225')}, {"name"=>"UVC PLACEMENT", "charge_category"=>"Supplies", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006305", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000225'), "charge_category_id"=>"3"})
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
RpmOnline_test['charge_types'].find({:global_id=>"130006306"}, {}).limit(-1)
MONGODB RpmOnline_test['charge_types'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000226')}, {"name"=>"TEST PLACEMENT", "charge_category"=>"Mileage", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130006306", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000226'), "charge_category_id"=>"2"})
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
RpmOnline_test['billing_schedules'].find({:global_id=>"130027892"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_schedules'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000227')}, {"name"=>"My Schedule", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"130027892", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000227')})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721fbb2693d5d23000215'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['patients'].find({:global_id=>"133801080"}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:billing_record_id=>BSON::ObjectId('4cd721fbb2693d5d23000228'), "company_id"=>BSON::ObjectId('4cd721fbb2693d5d23000215')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000228'), "company_id"=>BSON::ObjectId('4cd721fbb2693d5d23000215')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>43.66, "type_of_service"=>"Interfacility", "billing_record_number"=>"9-1002085", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Mon Apr 12 07:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>"PRIVATE PAY ACCOUNTS", "diagnoses"=>[], "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>"130009528", "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000228'), "profit_center_name"=>"Base 1", "pickup_facility_name"=>nil, "primary_payer"=>{"name"=>"Test Primary Payer", "payer_type"=>"private", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d2300010f')}, "total_charges"=>32605.0, "child_state_machine"=>nil, "loaded_miles"=>120.0, "receiving_facility_global_id"=>"130011087", "profit_center_id"=>BSON::ObjectId('4cd721f1b2693d5d230000fa'), "patient_id"=>nil, "total_miles"=>0.0, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fbb2693d5d23000215'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>"888888", "patient_global_id"=>"133801080", "cad_record_id"=>"68604", "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Mon Apr 12 07:00:00 UTC 2010, "current_payer"=>{"name"=>"Test Current Payer", "payer_type"=>"insurance", "payer_id"=>BSON::ObjectId('4cd721f2b2693d5d23000110')}, "current_schedule_id"=>BSON::ObjectId('4cd721fbb2693d5d23000219'), "transport_unit_name"=>nil, "is_consent_form_on_file"=>true, "current_payer_global_id"=>"999999", "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>"22222", "pickup_facility_global_id"=>"130011331"})
RpmOnline_test['billing_records'].find({"company_id"=>BSON::ObjectId('4cd721fbb2693d5d23000215'), :billing_record_number=>"9-1002085"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"payers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"diagnoses"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"charge_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedules"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_schedule_events"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000229')}, {"name"=>"Test Inc.", "created_at"=>Tue Aug 03 00:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Aug 03 00:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d23000229'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721fbb2693d5d23000229')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d2300022a')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fbb2693d5d2300022a'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fbb2693d5d23000229'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fbb2693d5d2300022a')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fbb2693d5d2300022a')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d2300022b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721fbb2693d5d2300022b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fbb2693d5d23000229'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fbb2693d5d2300022a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fbb2693d5d2300022a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d2300022b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d2300022b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fbb2693d5d23000229'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fbb2693d5d2300022a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fbb2693d5d2300022a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fbb2693d5d2300022b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>3.0, "rating_value"=>1.0, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fbb2693d5d2300022b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fbb2693d5d23000229'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fbb2693d5d2300022a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fbb2693d5d2300022a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721fcb2693d5d2300022c"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300022d')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721fcb2693d5d2300022c", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300022d'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fbb2693d5d23000229'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721fbb2693d5d2300022b'), "billing_record_id"=>BSON::ObjectId('4cd721fbb2693d5d2300022a'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300022e')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300022e'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300022e')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300022f')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300022f'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fcb2693d5d2300022e'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300022f')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300022f')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000230')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3, "due_in"=>"1 days", "grace_period"=>"2 days"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000230'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d2300022e'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 15 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d2300022f'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d2300022f'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000230')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3, "due_in"=>"1 days", "grace_period"=>"2 days"}, "params"=>{"priority_weight"=>3, "due_in"=>"1 days", "grace_period"=>"2 days"}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000230'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d2300022e'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 15 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d2300022f'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d2300022f'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000230')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3, "due_in"=>"1 days", "grace_period"=>"2 days"}, "params"=>{"priority_weight"=>3, "due_in"=>"1 days", "grace_period"=>"2 days"}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>2.4, "rating_value"=>0.8, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000230'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d2300022e'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 15 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d2300022f'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d2300022f'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721fcb2693d5d23000231"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000232')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721fcb2693d5d23000231", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000232'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d2300022e'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721fcb2693d5d23000230'), "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d2300022f'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000233')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000233'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000233')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000234')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000234'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000233'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000234')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000234')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000235')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000235'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000233'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d23000234'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d23000234'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000235')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000235'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000233'), "work_item_id"=>nil, "due_date"=>Thu Sep 09 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d23000234'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d23000234'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000235')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>2.4, "rating_value"=>0.8, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000235'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000233'), "work_item_id"=>nil, "due_date"=>Thu Sep 09 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d23000234'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d23000234'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721fcb2693d5d23000236"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000237')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721fcb2693d5d23000236", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000237'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000233'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721fcb2693d5d23000235'), "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d23000234'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000238')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000238'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000238')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000239')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000239'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000238'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000239')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000239')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300023a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000238'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d23000239'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d23000239'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300023a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"cancelled", "resolved_by"=>"system", "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000238'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d23000239'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d23000239'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300023a')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"cancelled", "resolved_by"=>"system", "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>3.0, "rating_value"=>1.0, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000238'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d23000239'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d23000239'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300023b')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023b'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300023b')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300023c')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023c'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023b'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300023c')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300023c')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300023d')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>2, "due_in"=>"1 days", "grace_period"=>"2 days"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023d'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023b'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 15 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023c'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023c'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300023d')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>2, "due_in"=>"1 days", "grace_period"=>"2 days"}, "params"=>{"priority_weight"=>2, "due_in"=>"1 days", "grace_period"=>"2 days"}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023d'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023b'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 15 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023c'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023c'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300023d')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>2, "due_in"=>"1 days", "grace_period"=>"2 days"}, "params"=>{"priority_weight"=>2, "due_in"=>"1 days", "grace_period"=>"2 days"}}}, "performance_audit"=>{"priority_weight"=>2.0, "_id"=>nil, "performance_score"=>1.6, "rating_value"=>0.8, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023d'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023b'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 15 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023c'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023c'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721fcb2693d5d2300023e"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300023f')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721fcb2693d5d2300023e", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023f'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023b'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023d'), "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d2300023c'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000240')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000240'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000240')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000241')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000241'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000240'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000241')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000241')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000242')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000242'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000240'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d23000241'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d23000241'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000242')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000242'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000240'), "work_item_id"=>nil, "due_date"=>Wed Sep 08 00:00:00 UTC 2010, "grace_period_expiration_date"=>Fri Sep 10 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d23000241'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d23000241'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000242')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>1.5, "rating_value"=>0.5, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000242'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000240'), "work_item_id"=>nil, "due_date"=>Wed Sep 08 00:00:00 UTC 2010, "grace_period_expiration_date"=>Fri Sep 10 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d23000241'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d23000241'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721fcb2693d5d23000243"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000244')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721fcb2693d5d23000243", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000244'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000240'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721fcb2693d5d23000242'), "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d23000241'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000245')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000245'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000245')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000246')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000246'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000245'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000246')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000246')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000247')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000247'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000245'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d23000246'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d23000246'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000247')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000247'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000245'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Thu Sep 09 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d23000246'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d23000246'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000247')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>1.5, "rating_value"=>0.5, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000247'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000245'), "work_item_id"=>nil, "due_date"=>Mon Sep 13 00:00:00 UTC 2010, "grace_period_expiration_date"=>Thu Sep 09 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d23000246'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d23000246'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721fcb2693d5d23000248"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d23000249')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721fcb2693d5d23000248", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d23000249'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d23000245'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721fcb2693d5d23000247'), "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d23000246'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300024a')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024a'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300024a')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300024b')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024b'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024a'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300024b')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300024b')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300024c')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024c'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024a'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024b'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024b'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300024c')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024c'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024a'), "work_item_id"=>nil, "due_date"=>Wed Sep 01 00:00:00 UTC 2010, "grace_period_expiration_date"=>Fri Sep 03 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024b'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024b'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fcb2693d5d2300024c')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>0.6, "rating_value"=>0.2, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024c'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024a'), "work_item_id"=>nil, "due_date"=>Wed Sep 01 00:00:00 UTC 2010, "grace_period_expiration_date"=>Fri Sep 03 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024b'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024b'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721fdb2693d5d2300024d"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d2300024e')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721fdb2693d5d2300024d", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d2300024e'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024a'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024c'), "billing_record_id"=>BSON::ObjectId('4cd721fcb2693d5d2300024b'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d2300024f')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d2300024f'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d2300024f')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000250')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000250'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fdb2693d5d2300024f'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000250')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000250')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000251')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000251'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d2300024f'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000250'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fdb2693d5d23000250'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000251')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000251'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d2300024f'), "work_item_id"=>nil, "due_date"=>Tue Aug 31 00:00:00 UTC 2010, "grace_period_expiration_date"=>Thu Sep 02 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000250'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fdb2693d5d23000250'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000251')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>0.6, "rating_value"=>0.2, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000251'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d2300024f'), "work_item_id"=>nil, "due_date"=>Tue Aug 31 00:00:00 UTC 2010, "grace_period_expiration_date"=>Thu Sep 02 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000250'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fdb2693d5d23000250'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721fdb2693d5d23000252"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000253')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721fdb2693d5d23000252", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000253'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d2300024f'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721fdb2693d5d23000251'), "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000250'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000254')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000254'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000254')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000255')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000255'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000254'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000255')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000255')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000256')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000256'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000254'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000255'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fdb2693d5d23000255'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000256')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000256'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000254'), "work_item_id"=>nil, "due_date"=>Mon Aug 30 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 01 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000255'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fdb2693d5d23000255'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000256')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>0.0, "rating_value"=>0.0, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000256'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000254'), "work_item_id"=>nil, "due_date"=>Mon Aug 30 00:00:00 UTC 2010, "grace_period_expiration_date"=>Wed Sep 01 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000255'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fdb2693d5d23000255'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721fdb2693d5d23000257"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000258')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721fdb2693d5d23000257", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000258'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000254'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721fdb2693d5d23000256'), "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000255'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000259')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000259'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000259')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d2300025a')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fdb2693d5d2300025a'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000259'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d2300025a')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d2300025a')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d2300025b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721fdb2693d5d2300025b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000259'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d2300025a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fdb2693d5d2300025a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d2300025b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d2300025b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000259'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d2300025a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fdb2693d5d2300025a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d2300025b')}, {"name"=>nil, "billing_record_number"=>nil, "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>3.0, "rating_value"=>1.0, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d2300025b'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000259'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d2300025a'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fdb2693d5d2300025a'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721fdb2693d5d2300025c"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d2300025d')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>nil, "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721fdb2693d5d2300025c", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d2300025d'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000259'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721fdb2693d5d2300025b'), "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d2300025a'), "user_global_id"=>nil})
RpmOnline_test['work_items'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d2300025b')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000260')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000260'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000261')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"123", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000261'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000262')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"4", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000262'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000261'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000261')}, {}).limit(-1)
RpmOnline_test['profit_centers'].find({:global_id=>"1234"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000263')}, {"name"=>nil, "address"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "provider_id"=>"REACH", "global_id"=>"1234", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000263'), "contact"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000261')})
RpmOnline_test['profit_centers'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000263')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000262')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"4", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000262'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>BSON::ObjectId('4cd721fdb2693d5d23000263'), "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000261'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000262')}, {}).limit(-1)
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721fdb2693d5d23000262')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000262')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"4", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000262'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>BSON::ObjectId('4cd721fdb2693d5d23000263'), "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000261'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"claim_entered", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"ClaimEntered", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd721fdb2693d5d23000262')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000262')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"4", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000262'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>BSON::ObjectId('4cd721fdb2693d5d23000263'), "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000261'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"payer_source_pending", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"PayerSourcePending", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000262')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000262')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000264')}, {"name"=>"Early Claim Follow Up", "billing_record_number"=>"4", "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3, "task"=>"early claim follow up"}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000264'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000261'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000262'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fdb2693d5d23000262'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000264')}, {"name"=>"Early Claim Follow Up", "billing_record_number"=>"4", "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3, "task"=>"early claim follow up"}, "params"=>{"priority_weight"=>3, "task"=>"early claim follow up"}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000264'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000261'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000262'), "assigned_to_name"=>"Doe, John", "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fdb2693d5d23000262'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000264')}, {"name"=>"Early Claim Follow Up", "billing_record_number"=>"4", "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3, "task"=>"early claim follow up"}, "params"=>{"priority_weight"=>3, "task"=>"early claim follow up"}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>3.0, "rating_value"=>1.0, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000264'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000261'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000262'), "assigned_to_name"=>"Doe, John", "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fdb2693d5d23000262'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['profit_centers'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000263')}, {}).limit(-1)
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721fdb2693d5d23000265"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000266')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>"4", "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item 'Early Claim Follow Up' completed. ", "global_id"=>"4cd721fdb2693d5d23000265", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000266'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000261'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721fdb2693d5d23000264'), "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000262'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000267')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000267'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000268')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"123", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000268'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000269')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"4", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd721fdb2693d5d23000269'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000268'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000269')}, {}).limit(-1)
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd721fdb2693d5d23000269')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d2300026a')}, {"name"=>nil, "billing_record_number"=>"4", "resolution"=>"pending", "resolved_by"=>nil, "data"=>{"fields"=>{"params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd721fdb2693d5d2300026a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000268'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000269'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fdb2693d5d23000269'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d2300026a')}, {"name"=>nil, "billing_record_number"=>"4", "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>nil, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d2300026a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000268'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000269'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fdb2693d5d23000269'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d2300026a')}, {"name"=>nil, "billing_record_number"=>"4", "resolution"=>"completed", "resolved_by"=>"system", "data"=>{"fields"=>{"previous_params"=>{"priority_weight"=>3}, "params"=>{"priority_weight"=>3}}}, "performance_audit"=>{"priority_weight"=>3.0, "_id"=>nil, "performance_score"=>3.0, "rating_value"=>1.0, "audit_time"=>Fri Sep 10 15:27:00 UTC 2010}, "resolution_time"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d2300026a'), "assigned_to_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000268'), "work_item_id"=>nil, "due_date"=>Fri Sep 10 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Sep 13 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000269'), "assigned_to_name"=>nil, "context_entity"=>{"parent"=>nil, "entity_id"=>BSON::ObjectId('4cd721fdb2693d5d23000269'), "_id"=>nil, "entity_class_name"=>"BillingRecord"}})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd721fdb2693d5d2300026b"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd721fdb2693d5d2300026c')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>"4", "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"Work item '' completed. ", "global_id"=>"4cd721fdb2693d5d2300026b", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721fdb2693d5d2300026c'), "tags"=>["system", "work_item"], "user_id"=>nil, "company_id"=>BSON::ObjectId('4cd721fdb2693d5d23000268'), "user_name"=>nil, "work_item_id"=>BSON::ObjectId('4cd721fdb2693d5d2300026a'), "billing_record_id"=>BSON::ObjectId('4cd721fdb2693d5d23000269'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['users'].find({:global_id=>"1"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['users'].find({:global_id=>"1"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['users'].find({:global_id=>"1"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721feb2693d5d23000270')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721feb2693d5d23000270'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>nil}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721feb2693d5d23000272')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721feb2693d5d23000272'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721feb2693d5d23000273')}, {"encrypted_password"=>"$2a$10$vtKeF6bBTOvuFxD5nTd2d.j4ZMI0XdLI44BSqY1PrTHwk5TAV1TYG", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721feb2693d5d23000273'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$vtKeF6bBTOvuFxD5nTd2d.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721feb2693d5d23000272'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721feb2693d5d23000274')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721feb2693d5d23000274'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721feb2693d5d23000275')}, {"encrypted_password"=>"$2a$10$z0F96jkJBN.H7Ss6vRDym.lmyswrw8/TzP17uyW6e.oliXwW/cUj6", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721feb2693d5d23000275'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$z0F96jkJBN.H7Ss6vRDym.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721feb2693d5d23000274'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd721feb2693d5d23000274')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721feb2693d5d23000276')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721feb2693d5d23000276'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721feb2693d5d23000277')}, {"encrypted_password"=>"$2a$10$O5ClmlN80hyAYuPOP7pt/urfnotyH/o78u4LIARi3U9MPOAGwf6BG", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721feb2693d5d23000277'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$O5ClmlN80hyAYuPOP7pt/u", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721feb2693d5d23000276'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison"], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721feb2693d5d23000278')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721feb2693d5d23000278'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721feb2693d5d23000279')}, {"encrypted_password"=>"$2a$10$QBkrn231557STH6EnMCebeqk7DdqU7evqyf2fg8dVhPJEWdnC3xtC", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721feb2693d5d23000279'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$QBkrn231557STH6EnMCebe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721feb2693d5d23000278'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["supervisor"], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721ffb2693d5d2300027a')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721ffb2693d5d2300027a'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721ffb2693d5d2300027b')}, {"encrypted_password"=>"$2a$10$HCus59VXYoRZAovbYZ3L3.r6V74vLHH7KGLkcJ/JO.UWvDD0Zyn8O", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721ffb2693d5d2300027b'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$HCus59VXYoRZAovbYZ3L3.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721ffb2693d5d2300027a'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["executive"], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721ffb2693d5d2300027c')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721ffb2693d5d2300027c'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721ffb2693d5d2300027d')}, {"encrypted_password"=>"$2a$10$A4TyXL2e37Nc1UByX5iluesd0ar/dw9dTznXumaPEA1Fjr9mb9Md2", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721ffb2693d5d2300027d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$A4TyXL2e37Nc1UByX5ilue", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721ffb2693d5d2300027c'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721ffb2693d5d2300027d')}, {"encrypted_password"=>"$2a$10$sMTQ149EsPI0i8k/GCq4muIVd69UXK9H3QntewymghCLhm/AI69FO", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721ffb2693d5d2300027d'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$sMTQ149EsPI0i8k/GCq4mu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721ffb2693d5d2300027c'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd721ffb2693d5d2300027e')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd721ffb2693d5d2300027e'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd721ffb2693d5d2300027f')}, {"encrypted_password"=>"$2a$10$Zo03SyuVtDLw2ETr5BTjZ.R6XFd29vNv6QqMfA6MWABcDHgzU6vS2", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd721ffb2693d5d2300027f'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$Zo03SyuVtDLw2ETr5BTjZ.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd721ffb2693d5d2300027e'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000280')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000280'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"2"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000281')}, {"encrypted_password"=>"$2a$10$Fh3dyxR40P5eMvtWBEmV9eus/Qqpvt3HzYz/F0f2InjpnSjujMjk2", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000281'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$Fh3dyxR40P5eMvtWBEmV9e", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd72200b2693d5d23000280'), "last_name"=>nil, "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["executive", "biller"], "email"=>"abc@abc.com", "first_name"=>nil})
RpmOnline_test['users'].find({:email=>"abc@abc.com"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000282')}, {"name"=>"Test, Inc", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000282'), "is_customer"=>false, "domain_name"=>"test_inc.com"})
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000283')}, {"name"=>"Test Inc", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000283'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['users'].find({:global_id=>"130105640"}, {}).limit(-1)
RpmOnline_test['companies'].find({:is_customer=>false}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72200b2693d5d23000282')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"130105640"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"CHRISTINA_SINCLAIR@test_inc.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000284')}, {"encrypted_password"=>"", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130105640", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000284'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd72200b2693d5d23000282'), "last_name"=>"SINCLAIR", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"CHRISTINA_SINCLAIR@test_inc.com", "first_name"=>"CHRISTINA"})
RpmOnline_test['users'].find({:global_id=>"130105640"}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72200b2693d5d23000282')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000285')}, {"name"=>"Test, Inc", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000285'), "is_customer"=>false, "domain_name"=>"test_inc.com"})
RpmOnline_test['companies'].find({:global_id=>"2"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000286')}, {"name"=>"Test Inc", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"2", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000286'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72200b2693d5d23000285')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"130105640"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@hsi.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000287')}, {"encrypted_password"=>"$2a$10$/xnwRVethB2Ma7xkFrBzouGEXFw69wgRC1JJZoDCtZ5Xt8wnYosc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130105640", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000287'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$/xnwRVethB2Ma7xkFrBzou", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd72200b2693d5d23000285'), "last_name"=>"Smith", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@hsi.com", "first_name"=>"Christine"})
RpmOnline_test['users'].find({:global_id=>"130105640"}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72200b2693d5d23000282')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"130105640"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@hsi.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000287')}, {"encrypted_password"=>"$2a$10$/xnwRVethB2Ma7xkFrBzouGEXFw69wgRC1JJZoDCtZ5Xt8wnYosc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130105640", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000287'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$/xnwRVethB2Ma7xkFrBzou", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd72200b2693d5d23000282'), "last_name"=>"SINCLAIR", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@hsi.com", "first_name"=>"CHRISTINA"})
RpmOnline_test['users'].find({:global_id=>"130105640"}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72200b2693d5d23000282')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000288')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"123", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000288'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72200b2693d5d23000288')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"72"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000289')}, {"encrypted_password"=>"$2a$10$dX4gLvfLsNyFQCgEk4e1Oe1kz.CfsgQerxgXE7OkFbgY3iKqyQl/O", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"72", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000289'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$dX4gLvfLsNyFQCgEk4e1Oe", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd72200b2693d5d23000288'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Tim"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d2300028a')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"12345", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Wed Jul 07 00:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd72200b2693d5d2300028a'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd72200b2693d5d23000288'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Wed Jul 07 00:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd72200b2693d5d2300028b"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d2300028c')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>"12345", "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"this is a note", "global_id"=>"4cd72200b2693d5d2300028b", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72200b2693d5d2300028c'), "tags"=>["user_created"], "user_id"=>BSON::ObjectId('4cd72200b2693d5d23000289'), "company_id"=>BSON::ObjectId('4cd72200b2693d5d23000288'), "user_name"=>"Above, Tim", "work_item_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72200b2693d5d2300028a'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d2300028d')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"123", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72200b2693d5d2300028d'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72200b2693d5d2300028d')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"72"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d2300028e')}, {"encrypted_password"=>"$2a$10$x1gZ90cxfBbkhn.GemDsFOhRdhriYoESjdL4aorSLNV/e0gwUeAvK", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"72", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd72200b2693d5d2300028e'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$x1gZ90cxfBbkhn.GemDsFO", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd72200b2693d5d2300028d'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Tim"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d2300028f')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"12345", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Wed Jul 07 00:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd72200b2693d5d2300028f'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd72200b2693d5d2300028d'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Wed Jul 07 00:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd72200b2693d5d23000290"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000291')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>"12345", "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"this is a note", "global_id"=>"4cd72200b2693d5d23000290", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000291'), "tags"=>["system", "workitem", "user_created"], "user_id"=>BSON::ObjectId('4cd72200b2693d5d2300028e'), "company_id"=>BSON::ObjectId('4cd72200b2693d5d2300028d'), "user_name"=>"Above, Tim", "work_item_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72200b2693d5d2300028f'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"123"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000292')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"123", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000292'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72200b2693d5d23000292')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"72"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000293')}, {"encrypted_password"=>"$2a$10$JDp4MDDRP4Br2olcP7t7wew3IjZ4IIPGr2/3A23wiaGY8YbpU8qCW", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"72", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000293'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$JDp4MDDRP4Br2olcP7t7we", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd72200b2693d5d23000292'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Tim"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000294')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"12345", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>Wed Jul 07 00:00:00 UTC 2010, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000294'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd72200b2693d5d23000292'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>Wed Jul 07 00:00:00 UTC 2010, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_record_notes'].find({:global_id=>"4cd72200b2693d5d23000295"}, {}).limit(-1)
MONGODB RpmOnline_test['billing_record_notes'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000296')}, {"created_at"=>Fri Sep 10 15:27:00 UTC 2010, "billing_record_number"=>"12345", "timestamp"=>Fri Sep 10 15:27:00 UTC 2010, "body"=>"this is a note", "global_id"=>"4cd72200b2693d5d23000295", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000296'), "tags"=>["user_created"], "user_id"=>BSON::ObjectId('4cd72200b2693d5d23000293'), "company_id"=>BSON::ObjectId('4cd72200b2693d5d23000292'), "user_name"=>"Above, Tim", "work_item_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72200b2693d5d23000294'), "user_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_record_notes"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['credit_types'].find({:global_id=>"130016163"}, {}).limit(-1)
RpmOnline_test['credit_types'].find({:global_id=>"130016163"}, {}).limit(-1)
MONGODB RpmOnline_test['credit_types'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000297')}, {"name"=>"INSURANCE PYMNT FROM PATIENT", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130016163", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "credit_sub_category"=>"Transfer", "_id"=>BSON::ObjectId('4cd72200b2693d5d23000297'), "credit_category"=>"Adjustment"})
RpmOnline_test['credit_types'].find({:global_id=>"130016163"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"credit_types"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000298')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000298'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd72200b2693d5d23000299')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d23000299')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd72200b2693d5d23000299'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>nil, "_id"=>BSON::ObjectId('4cd72200b2693d5d2300029a'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd72200b2693d5d23000298'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d2300029b')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72200b2693d5d2300029b'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['work_items'].find({:billing_record_id=>BSON::ObjectId('4cd72200b2693d5d2300029c')}, {})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd72200b2693d5d2300029c')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd72200b2693d5d2300029c'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>nil, "_id"=>BSON::ObjectId('4cd72200b2693d5d2300029d'), "workflow_state"=>"claim_entry"}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd72200b2693d5d2300029b'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d2300029e')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72201b2693d5d2300029e'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72201b2693d5d2300029e')}, {}).limit(-1)
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d2300029f')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd72201b2693d5d2300029f'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd72201b2693d5d2300029e'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d2300029f')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>nil, "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd72201b2693d5d2300029f'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[{"is_abandoned"=>false, "payer"=>nil, "_id"=>BSON::ObjectId('4cd72201b2693d5d230002a0'), "workflow_state"=>nil}], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd72201b2693d5d2300029e'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:"insurance_claims._id"=>BSON::ObjectId('4cd72201b2693d5d230002a0')}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
MONGODB RpmOnline_test['facilities'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d230002a1')}, {"name"=>"RIVERSIDE MUNI AIRPORT", "address"=>{"city"=>"RIVERSIDE", "address1"=>"6951 FLIGHT ROAD", "zip"=>"92504", "address2"=>"", "_id"=>nil, "county"=>"RIVERSIDE COUNTY", "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130109116", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72201b2693d5d230002a1'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(951)351-6113", "(951)359-3570 Ext. FAX"], "last_name"=>"", "email_address"=>"", "organization"=>"RIVERSIDE MUNI AIRPORT", "first_name"=>""}})
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"facilities"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
MONGODB RpmOnline_test['facilities'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d230002a3')}, {"name"=>"RIVERSIDE MUNI AIRPORT", "address"=>{"city"=>"RIVERSIDE", "address1"=>"PO BOX 1234", "zip"=>"92503", "address2"=>"6951 FLIGHT ROAD", "_id"=>BSON::ObjectId('4cd72201b2693d5d230002a2'), "county"=>nil, "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130109116", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72201b2693d5d230002a3'), "contact"=>nil})
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
MONGODB RpmOnline_test['facilities'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d230002a3')}, {"name"=>"RIVERSIDE MUNI AIRPORT", "address"=>{"city"=>"RIVERSIDE", "address1"=>"6951 FLIGHT ROAD", "zip"=>"92504", "address2"=>"", "_id"=>nil, "county"=>"RIVERSIDE COUNTY", "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130109116", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72201b2693d5d230002a3'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(951)351-6113", "(951)359-3570 Ext. FAX"], "last_name"=>"", "email_address"=>"", "organization"=>"RIVERSIDE MUNI AIRPORT", "first_name"=>""}})
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"facilities"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
MONGODB RpmOnline_test['facilities'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d230002a5')}, {"name"=>"RIVERSIDE MUNI AIRPORT", "address"=>{"city"=>"RIVERSIDE", "address1"=>"6951 FLIGHT ROAD", "zip"=>"92504", "address2"=>"", "_id"=>nil, "county"=>"RIVERSIDE COUNTY", "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130109116", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72201b2693d5d230002a5'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(951)351-6113", "(951)359-3570 Ext. FAX"], "last_name"=>"", "email_address"=>"", "organization"=>"RIVERSIDE MUNI AIRPORT", "first_name"=>""}})
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"facilities"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
MONGODB RpmOnline_test['facilities'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d230002a6')}, {"name"=>"RIVERSIDE MUNI AIRPORT", "address"=>{"city"=>"RIVERSIDE", "address1"=>"6951 FLIGHT ROAD", "zip"=>"92504", "address2"=>"", "_id"=>nil, "county"=>"RIVERSIDE COUNTY", "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"130109116", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72201b2693d5d230002a6'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(951)351-6113"], "last_name"=>"", "email_address"=>"", "organization"=>"RIVERSIDE MUNI AIRPORT", "first_name"=>""}})
RpmOnline_test['facilities'].find({:global_id=>"130109116"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"facilities"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d230002a7')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72201b2693d5d230002a7'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['discrepancies'].find({:transport_number=>"12345"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d230002a9')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72201b2693d5d230002a9'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d230002aa')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd72201b2693d5d230002aa'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd72201b2693d5d230002a9'), "description"=>"this is a test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['discrepancies'].find({:transport_number=>"12345"}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72201b2693d5d230002a9')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d230002ab')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72201b2693d5d230002ab'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d230002ac')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd72201b2693d5d230002ac'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd72201b2693d5d230002ab'), "description"=>"this is a test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['discrepancies'].find({:transport_number=>"12345"}, {}).limit(-1)
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72201b2693d5d230002ab')}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d230002ad')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72201b2693d5d230002ad'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d230002ae')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd72201b2693d5d230002ae'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd72201b2693d5d230002ad'), "description"=>"this is a test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['discrepancies'].find({:transport_number=>"12345"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d230002af')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72201b2693d5d230002af'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d230002b0')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd72201b2693d5d230002b0'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd72201b2693d5d230002af'), "description"=>"another test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12346", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd72201b2693d5d230002b0')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[{"comment"=>"Just received this", "timestamp"=>nil, "_id"=>BSON::ObjectId('4cd72201b2693d5d230002b1'), "file_name"=>"attachment.png", "file_size"=>539619, "user_id"=>nil, "user_name"=>nil, "file_type"=>"image/png", "file_id"=>BSON::ObjectId('4cd72201b2693d5d230002b2')}, {"comment"=>"Here's the revised version", "timestamp"=>nil, "_id"=>BSON::ObjectId('4cd72201b2693d5d230002b3'), "file_name"=>"attachment.png", "file_size"=>459228, "user_id"=>nil, "user_name"=>nil, "file_type"=>"image/png", "file_id"=>BSON::ObjectId('4cd72201b2693d5d230002b4')}], "_id"=>BSON::ObjectId('4cd72201b2693d5d230002b0'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd72201b2693d5d230002af'), "description"=>"another test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12346", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
MONGODB RpmOnline_test['system.indexes'].insert([{:unique=>true, :ns=>"RpmOnline_test.fs.chunks", :name=>"files_id_1_n_1", :key=>{"files_id"=>1, "n"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['fs.files'].remove({"_id"=>BSON::ObjectId('4cd72201b2693d5d230002b2')})
MONGODB RpmOnline_test['fs.chunks'].remove({"files_id"=>BSON::ObjectId('4cd72201b2693d5d230002b2')})
MONGODB RpmOnline_test['fs.chunks'].insert([{"_id"=>BSON::ObjectId('4cd72201b2693d5d230002b5'), "n"=>0, "files_id"=>BSON::ObjectId('4cd72201b2693d5d230002b2'), "data"=><BSON::Binary:70071210427280>}])
MONGODB RpmOnline_test['fs.chunks'].insert([{"_id"=>BSON::ObjectId('4cd72202b2693d5d230002b6'), "n"=>1, "files_id"=>BSON::ObjectId('4cd72201b2693d5d230002b2'), "data"=><BSON::Binary:70071210623120>}])
MONGODB RpmOnline_test['fs.chunks'].insert([{"_id"=>BSON::ObjectId('4cd72202b2693d5d230002b7'), "n"=>2, "files_id"=>BSON::ObjectId('4cd72201b2693d5d230002b2'), "data"=><BSON::Binary:70071211294060>}])
RpmOnline_test['$cmd'].find({"filemd5"=>BSON::ObjectId('4cd72201b2693d5d230002b2'), "root"=>"fs"}, {}).limit(-1)
MONGODB RpmOnline_test['fs.files'].insert([{"_id"=>BSON::ObjectId('4cd72201b2693d5d230002b2'), "filename"=>"attachment.png", "contentType"=>"image/png", "length"=>539619, "chunkSize"=>262144, "uploadDate"=>Fri Sep 10 15:27:00 UTC 2010, "md5"=>"33fa9b640f56586e1ff1895ffe688ee3", "filename"=>"attachment.png"}])
MONGODB RpmOnline_test['system.indexes'].insert([{:unique=>true, :ns=>"RpmOnline_test.fs.chunks", :name=>"files_id_1_n_1", :key=>{"files_id"=>1, "n"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['fs.files'].remove({"_id"=>BSON::ObjectId('4cd72201b2693d5d230002b4')})
MONGODB RpmOnline_test['fs.chunks'].remove({"files_id"=>BSON::ObjectId('4cd72201b2693d5d230002b4')})
MONGODB RpmOnline_test['fs.chunks'].insert([{"_id"=>BSON::ObjectId('4cd72202b2693d5d230002b8'), "n"=>0, "files_id"=>BSON::ObjectId('4cd72201b2693d5d230002b4'), "data"=><BSON::Binary:70071217088220>}])
MONGODB RpmOnline_test['fs.chunks'].insert([{"_id"=>BSON::ObjectId('4cd72202b2693d5d230002b9'), "n"=>1, "files_id"=>BSON::ObjectId('4cd72201b2693d5d230002b4'), "data"=><BSON::Binary:70071217082860>}])
RpmOnline_test['$cmd'].find({"filemd5"=>BSON::ObjectId('4cd72201b2693d5d230002b4'), "root"=>"fs"}, {}).limit(-1)
MONGODB RpmOnline_test['fs.files'].insert([{"_id"=>BSON::ObjectId('4cd72201b2693d5d230002b4'), "filename"=>"attachment.png", "contentType"=>"image/png", "length"=>459228, "chunkSize"=>262144, "uploadDate"=>Fri Sep 10 15:27:00 UTC 2010, "md5"=>"848e525fae580c053abacfc44b87c944", "filename"=>"attachment.png"}])
RpmOnline_test['discrepancies'].find({:transport_number=>"12346"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"fs.chunks"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"fs.files"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002ba')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002ba'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002bb')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd72203b2693d5d230002bb'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002ba'), "description"=>"this is a test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002bc')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd72203b2693d5d230002bc'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002ba'), "description"=>"this is a test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"123125", "discrepancy_category"=>nil, "status"=>"Resolved", "base"=>nil, "routed_user_ids"=>[]})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002bd')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd72203b2693d5d230002bd'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002ba'), "description"=>"this is a test", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"123125", "discrepancy_category"=>nil, "status"=>"Closed", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['discrepancies'].find({:status=>{"$ne"=>"Closed"}}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002be')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002be'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002bf')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd72203b2693d5d230002bf'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002be'), "description"=>"ha ha", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002c0')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002c0'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002c1')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd72203b2693d5d230002c1'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002c0'), "description"=>"ha ha", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Routed", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002c2')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002c2'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002c3')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd72203b2693d5d230002c3'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002c2'), "description"=>"ha ha", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Resolved", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002c4')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002c4'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002c5')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd72203b2693d5d230002c5'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002c4'), "description"=>"ha ha", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002c6')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002c6'), "is_customer"=>true, "domain_name"=>nil})
MONGODB RpmOnline_test['discrepancies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002c7')}, {"resolution_action"=>nil, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "resolution_activities"=>[], "_id"=>BSON::ObjectId('4cd72203b2693d5d230002c7'), "routed_at"=>nil, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002c6'), "description"=>"haha", "document_type"=>nil, "resolved_at"=>nil, "closed_at"=>nil, "transport_number"=>"12345", "discrepancy_category"=>nil, "status"=>"Open", "base"=>nil, "routed_user_ids"=>[]})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"discrepancies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002c8')}, {"name"=>"REACH", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002c8'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd72203b2693d5d230002c8'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd72203b2693d5d230002c8'), :global_id=>"130075617"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002c9'), "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002c8')}, {"name"=>"REACH AIR MEDICAL SVC. (R55)", "address"=>{"city"=>"SAN JOSE", "address1"=>"PO BOX 49126", "zip"=>"95161", "address2"=>"2360 BECKER BLVD-SANTA ROSA", "_id"=>nil, "county"=>nil, "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "provider_id"=>"1", "global_id"=>"130075617", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002c9'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(707)571-2349", "(800)811-4045"], "last_name"=>"", "email_address"=>"", "organization"=>"REACH AIR MEDICAL SVC. (R55)", "first_name"=>""}, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002c8')})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd72203b2693d5d230002c8'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002ca')}, {"name"=>"REACH", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002ca'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd72203b2693d5d230002ca'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd72203b2693d5d230002ca'), :global_id=>"130075617"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002cb'), "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002ca')}, {"name"=>"REACH AIR MEDICAL SVC. (R55)", "address"=>{"city"=>"SAN JOSE", "address1"=>"PO BOX 49126", "zip"=>"95161", "address2"=>"2360 BECKER BLVD-SANTA ROSA", "_id"=>nil, "county"=>nil, "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "provider_id"=>"1", "global_id"=>"130075617", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002cb'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(707)571-2349", "(800)811-4045"], "last_name"=>"", "email_address"=>"", "organization"=>"REACH AIR MEDICAL SVC. (R55)", "first_name"=>""}, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002ca')})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd72203b2693d5d230002ca'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002cc')}, {"name"=>"REACH", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002cc'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd72203b2693d5d230002cc'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd72203b2693d5d230002cc'), :global_id=>"130075617"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002cd'), "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002cc')}, {"name"=>"REACH AIR MEDICAL SVC. (R55)", "address"=>{"city"=>"SAN JOSE", "address1"=>"PO BOX 49126", "zip"=>"95161", "address2"=>"2360 BECKER BLVD-SANTA ROSA", "_id"=>nil, "county"=>nil, "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "provider_id"=>"1", "global_id"=>"130075617", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002cd'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(707)571-2349", "(800)811-4045"], "last_name"=>"", "email_address"=>"", "organization"=>"REACH AIR MEDICAL SVC. (R55)", "first_name"=>""}, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002cc')})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd72203b2693d5d230002cc'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002ce')}, {"name"=>"REACH", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002ce'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd72203b2693d5d230002ce'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd72203b2693d5d230002ce'), :global_id=>"130075617"}, {}).limit(-1)
MONGODB RpmOnline_test['profit_centers'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002cf'), "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002ce')}, {"name"=>"REACH AIR MEDICAL SVC. (R55)", "address"=>{"city"=>"SAN JOSE", "address1"=>"PO BOX 49126", "zip"=>"95161", "address2"=>"2360 BECKER BLVD-SANTA ROSA", "_id"=>nil, "county"=>nil, "state"=>"CA"}, "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "provider_id"=>"1", "global_id"=>"130075617", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002cf'), "contact"=>{"address"=>nil, "is_person"=>false, "_id"=>nil, "phone_numbers"=>["(707)571-2349", "(800)811-4045"], "last_name"=>"", "email_address"=>"", "organization"=>"REACH AIR MEDICAL SVC. (R55)", "first_name"=>""}, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002ce')})
RpmOnline_test['profit_centers'].find({"company_id"=>BSON::ObjectId('4cd72203b2693d5d230002ce'), :global_id=>"130075617"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"profit_centers"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d0')}, {"name"=>"Test Inc.", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"1", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d0')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d1')}, {"encrypted_password"=>"$2a$10$KlQY9XSOjU8EZj9J7qT/jetNqvKLNVUza3DMhAo6OGZQj3zii8/iK", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"69", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002d1'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$KlQY9XSOjU8EZj9J7qT/je", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d0')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"72"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d2')}, {"encrypted_password"=>"$2a$10$3.4zc1YUUsPIYG/xMQ2J4uVmkqNT6tkd7kvvt8JwGvQHvwt7gHSIS", "created_at"=>Fri Sep 10 15:27:00 UTC 2010, "global_id"=>"72", "updated_at"=>Fri Sep 10 15:27:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002d2'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$3.4zc1YUUsPIYG/xMQ2J4u", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d0')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"211"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"john@doe.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d3')}, {"encrypted_password"=>"$2a$10$uwtu0D68luQLt0feZwv91.pDys4NJYKO3ilcbqYDNHJbd8Ssr7N7C", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"211", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002d3'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$uwtu0D68luQLt0feZwv91.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "last_name"=>"Doe", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison", "biller"], "email"=>"john@doe.com", "first_name"=>"John"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d0')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"212"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"jane@doe.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d4')}, {"encrypted_password"=>"$2a$10$AOLfzV3qRGG8D4rS.nOIR..zOhuQ/lmt0H1vwHjuwTQ6515qlQDFO", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"212", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002d4'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$AOLfzV3qRGG8D4rS.nOIR.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "last_name"=>"Doe", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison", "biller"], "email"=>"jane@doe.com", "first_name"=>"Jane"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d5')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002d5'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"2", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002d6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"3", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002d7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d7')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d8')}, {"name"=>nil, "billing_record_number"=>"3", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 06:59:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002d8'), "assigned_to_id"=>BSON::ObjectId('4cd72203b2693d5d230002d3'), "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "work_item_id"=>"97", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72203b2693d5d230002d7'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d5')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d9')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 07:01:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002d9'), "assigned_to_id"=>BSON::ObjectId('4cd72203b2693d5d230002d3'), "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "work_item_id"=>"98", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72203b2693d5d230002d5'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d5')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002da')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 07:01:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002da'), "assigned_to_id"=>BSON::ObjectId('4cd72203b2693d5d230002d3'), "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "work_item_id"=>"99", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72203b2693d5d230002d5'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d5')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72203b2693d5d230002db')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd72203b2693d5d230002db'), "assigned_to_id"=>BSON::ObjectId('4cd72203b2693d5d230002d4'), "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "work_item_id"=>"100", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72203b2693d5d230002d5'), "assigned_to_name"=>"Doe, Jane", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d5')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002dc')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002dc'), "assigned_to_id"=>BSON::ObjectId('4cd72203b2693d5d230002d3'), "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "work_item_id"=>"101", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72203b2693d5d230002d5'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d5')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002dd')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002dd'), "assigned_to_id"=>BSON::ObjectId('4cd72203b2693d5d230002d3'), "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "work_item_id"=>"102", "due_date"=>Tue Jul 06 00:00:00 UTC 2010, "grace_period_expiration_date"=>Thu Jul 08 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72203b2693d5d230002d5'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002de')}, {"name"=>nil, "billing_record_number"=>"2", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002de'), "assigned_to_id"=>BSON::ObjectId('4cd72203b2693d5d230002d3'), "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "work_item_id"=>"103", "due_date"=>Sun Jul 04 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Jul 06 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72203b2693d5d230002d6'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72203b2693d5d230002d6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002df')}, {"name"=>nil, "billing_record_number"=>"2", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002df'), "assigned_to_id"=>BSON::ObjectId('4cd72203b2693d5d230002d3'), "company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), "work_item_id"=>"104", "due_date"=>Wed Jul 07 00:00:00 UTC 2010, "grace_period_expiration_date"=>Fri Jul 09 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72203b2693d5d230002d6'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
Processing WorkItemCube @ Tue Jul 06 13:00:00 UTC 2010
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({"mapreduce"=>"work_items", "map"=><BSON::Code:70071209531300 @data="function(){emit({company_id:this.company_id, name:this.name, work_item_id:this.work_item_id, resolution:this.resolution, due_date:this.due_date, grace_period_expiration_date:this.grace_period_expiration_date, assigned_to_id:this.assigned_to_id, resolved_by:this.resolved_by, assigned_to_name:this.assigned_to_name, resolution_time:this.resolution_time, assigned_to:this.resolved_by, is_currently_due:(this.due_date && new Date(1278374400000) >= this.due_date && ((this.grace_period_expiration_date && this.grace_period_expiration_date >= new Date(1278374400000)) || !this.grace_period_expiration_date) && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))},{number_of_work_items:(((((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_currently_due:(((this.due_date && new Date(1278374400000) >= this.due_date && ((this.grace_period_expiration_date && this.grace_period_expiration_date >= new Date(1278374400000)) || !this.grace_period_expiration_date) && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_overdue:(((this.grace_period_expiration_date && new Date(1278374400000) > this.grace_period_expiration_date && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_of_accounts:(((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse')) ? (this.billing_record_number) : null, number_completed_today:(((this.resolution_time && this.resolution_time.toDateString() == (new Date(1278399600000)).toDateString())) ? 1 : 0), number_of_accounts_today:(this.resolution_time && this.resolution_time.toDateString() == (new Date(1278399600000)).toDateString() ? this.billing_record_number : 0)});}" @scope="{}">, "reduce"=><BSON::Code:70071209531240 @data="  function(key,values){
	var output = {};
	values.forEach(function(doc){
        for(var measure_name in doc){
            var measure_value = doc[measure_name];
            if (measure_value || measure_value == 0){
                if (typeof(measure_value) == "number") {
                  output[measure_name] = output[measure_name] || 0;
                  output[measure_name] += measure_value;
                }
                else if (measure_value) {
                  output[measure_name] = output[measure_name] || {}
                  if (typeof(measure_value)=="string")
                    output[measure_name][measure_value] = true;
                  if (typeof(measure_value)=="object") {
                    for (var unique in measure_value){
                      if (typeof(unique)=="string"){output[measure_name][unique]=true;}
                    }
                  }

                }
			}
		}
	  });     
	  return output;
  }
" @scope="{}">, "out"=>"cubicle.fact.work_item_cube", "finalize"=>"    function(key,value)\n    {\n\n          \n\n\n\n\n    return value;\n    }\n", "query"=>{}}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"company_id_1", :key=>{"company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"name_1", :key=>{"name"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"work_item_id_1", :key=>{"work_item_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolution_1", :key=>{"resolution"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"due_date_1", :key=>{"due_date"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"grace_period_expiration_date_1", :key=>{"grace_period_expiration_date"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_id_1", :key=>{"assigned_to_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolved_by_1", :key=>{"resolved_by"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_name_1", :key=>{"assigned_to_name"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolution_time_1", :key=>{"resolution_time"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_1", :key=>{"assigned_to"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"is_currently_due_1", :key=>{"is_currently_due"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].update({:aggregation=>"WorkItemCube"}, {"$set"=>{:protect=>false}})
RpmOnline_test['cubicle.metadata.aggregations'].find({:aggregation=>"WorkItemCube"}, {})
WorkItemCube processed @ Tue Jul 06 13:00:00 UTC 2010.
MONGODB RpmOnline_test['cubicle.metadata'].update({:aggregation=>"WorkItemCube"}, {"$set"=>{:result=>:success, :last_duration_in_seconds=>0.0, :aggregation=>"WorkItemCube", :last_processed=>Tue Jul 06 13:00:00 UTC 2010, :timestamp=>Tue Jul 06 13:00:00 UTC 2010}})
  Processing by WorkItemsController#dashboard as HTML
[Barista] Compiling all scripts
[Barista] Compiling all coffeescripts
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['cubicle.metadata.aggregations'].find({:document_count=>{"$gte"=>0}, :aggregation=>"WorkItemCube", :member_names=>{"$all"=>["assigned_to_id", "assigned_to_name", "company_id"]}}, {}).limit(1).sort([:document_count, :asc])
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].remove({:aggregation=>"WorkItemCube", :member_names=>["assigned_to_id", "assigned_to_name", "company_id"]})
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].insert([{"document_count"=>-1, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "aggregation"=>"WorkItemCube", "_id"=>BSON::ObjectId('4cd72204b2693d5d230002e0'), "member_names"=>["assigned_to_id", "assigned_to_name", "company_id"], "protect"=>false}])
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({"mapreduce"=>"cubicle.fact.work_item_cube", "map"=><BSON::Code:70071209062880 @data="function(){emit({assigned_to_id:(this._id.assigned_to_id), assigned_to_name:(this._id.assigned_to_name), company_id:(this._id.company_id)},{number_of_work_items:(this.value.number_of_work_items), number_currently_due:(this.value.number_currently_due), number_overdue:(this.value.number_overdue), number_of_accounts:(this.value.number_of_accounts), number_completed_today:(this.value.number_completed_today), number_of_accounts_today:(this.value.number_of_accounts_today)});}" @scope="{}">, "reduce"=><BSON::Code:70071209052080 @data="  function(key,values){
	var output = {};
	values.forEach(function(doc){
        for(var measure_name in doc){
            var measure_value = doc[measure_name];
            if (measure_value || measure_value == 0){
                if (typeof(measure_value) == "number") {
                  output[measure_name] = output[measure_name] || 0;
                  output[measure_name] += measure_value;
                }
                else if (measure_value) {
                  output[measure_name] = output[measure_name] || {}
                  if (typeof(measure_value)=="string")
                    output[measure_name][measure_value] = true;
                  if (typeof(measure_value)=="object") {
                    for (var unique in measure_value){
                      if (typeof(unique)=="string"){output[measure_name][unique]=true;}
                    }
                  }

                }
			}
		}
	  });     
	  return output;
  }
" @scope="{}">, "out"=>"cubicle.aggregation.WorkItemCube._4cd72204b2693d5d230002e0", "finalize"=>"    function(key,value)\n    {\n\n          \n\n\n\n\n    return value;\n    }\n", "query"=>{"_id.company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0')}}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.aggregation.WorkItemCube._4cd72204b2693d5d230002e0", :name=>"assigned_to_id_1", :key=>{"assigned_to_id"=>1}}])
RpmOnline_test['$cmd'].find({"query"=>{"company_id"=>BSON::ObjectId('4cd72203b2693d5d230002d0'), :getlasterror=>1}}, {}).limit(-1)
Completed   in 0ms
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.fact.work_item_cube"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.metadata"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.metadata.aggregations"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.aggregation.WorkItemCube._4cd72204b2693d5d230002e0"}, {}).limit(-1)
RpmOnline_test['companies'].find({:global_id=>"1"}, {}).limit(-1)
MONGODB RpmOnline_test['companies'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e1')}, {"name"=>"Test Inc.", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"1", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "is_customer"=>true, "domain_name"=>nil})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e1')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"69"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e2')}, {"encrypted_password"=>"$2a$10$uXhTvwUWbTFNi4QQNPvw9uCMOTwjj/995LSHvzwIy9kVeoMuWydXy", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"69", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002e2'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$uXhTvwUWbTFNi4QQNPvw9u", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "last_name"=>"Blow", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test@test.com", "first_name"=>"Joe"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e1')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"72"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"test2@test.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e3')}, {"encrypted_password"=>"$2a$10$bukW5s.XkWc4B1H3zgVha.1Esnc3wr5XvmiVeRFwKstATJs98CNm2", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"72", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002e3'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$bukW5s.XkWc4B1H3zgVha.", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "last_name"=>"Above", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>[], "email"=>"test2@test.com", "first_name"=>"Tim"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e1')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"211"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"john@doe.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e4')}, {"encrypted_password"=>"$2a$10$0jNmbvq6n6/S6owhENxxHubEWv5xMadglOIQzRprDbc7Fp2/8EEmm", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"211", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002e4'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$0jNmbvq6n6/S6owhENxxHu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "last_name"=>"Doe", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison", "biller"], "email"=>"john@doe.com", "first_name"=>"John"})
RpmOnline_test['companies'].find({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e1')}, {}).limit(-1)
RpmOnline_test['users'].find({:global_id=>"212"}, {}).limit(-1)
RpmOnline_test['users'].find({:email=>"jane@doe.com"}, {}).limit(-1)
MONGODB RpmOnline_test['users'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e5')}, {"encrypted_password"=>"$2a$10$IntwJT4AUYPd2K69yBpKguXpj8105r4etz.LXhHTLFqVcfbPUkqcG", "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "global_id"=>"212", "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "last_sign_in_ip"=>nil, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002e5'), "last_sign_in_at"=>nil, "sign_in_count"=>0, "password_salt"=>"$2a$10$IntwJT4AUYPd2K69yBpKgu", "authentication_token"=>nil, "remember_token"=>nil, "reset_password_token"=>nil, "current_sign_in_ip"=>nil, "company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "last_name"=>"Doe", "user_name"=>nil, "remember_created_at"=>nil, "current_sign_in_at"=>nil, "middle_initial"=>nil, "roles"=>["liaison", "biller"], "email"=>"jane@doe.com", "first_name"=>"Jane"})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e6')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"1", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002e6'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e7')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"2", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002e7'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
MONGODB RpmOnline_test['billing_records'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e8')}, {"pickup_facility_id"=>nil, "workflow_status"=>nil, "current_balance"=>nil, "type_of_service"=>nil, "billing_record_number"=>"3", "receiving_facility_name"=>nil, "total_payments"=>nil, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "is_valid_pcs"=>nil, "receiving_facility_id"=>nil, "effective_payment_date"=>nil, "total_write_offs"=>nil, "total_adjustments"=>0.0, "total_refunds"=>0.0, "current_schedule_name"=>nil, "diagnoses"=>[], "updated_at"=>Tue Jul 06 13:00:00 UTC 2010, "was_billed_with_gy_modifier"=>nil, "current_schedule_global_id"=>nil, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002e8'), "profit_center_name"=>nil, "pickup_facility_name"=>nil, "primary_payer"=>{}, "total_charges"=>nil, "child_state_machine"=>nil, "loaded_miles"=>nil, "receiving_facility_global_id"=>nil, "profit_center_id"=>nil, "patient_id"=>nil, "total_miles"=>nil, "insurance_claims"=>[], "pickup_location"=>nil, "is_emergent_transport"=>nil, "profit_center_identifier"=>nil, "charges"=>[], "company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "patient_name"=>nil, "last_payment_date"=>nil, "total_credits"=>0.0, "primary_payer_global_id"=>nil, "patient_global_id"=>nil, "cad_record_id"=>nil, "credits"=>[], "workflow_state"=>"created", "date_of_service"=>nil, "current_payer"=>{}, "current_schedule_id"=>nil, "transport_unit_name"=>nil, "is_consent_form_on_file"=>nil, "current_payer_global_id"=>nil, "billing_record_status"=>"Created", "last_credit_received"=>nil, "profit_center_global_id"=>nil, "pickup_facility_global_id"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e8')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e9')}, {"name"=>nil, "billing_record_number"=>"3", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 06:59:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002e9'), "assigned_to_id"=>BSON::ObjectId('4cd72204b2693d5d230002e4'), "company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "work_item_id"=>"97", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72204b2693d5d230002e8'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002ea')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 07:01:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002ea'), "assigned_to_id"=>BSON::ObjectId('4cd72204b2693d5d230002e4'), "company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "work_item_id"=>"98", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72204b2693d5d230002e6'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002eb')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"completed", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>Tue Jul 06 07:01:00 UTC 2010, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002eb'), "assigned_to_id"=>BSON::ObjectId('4cd72204b2693d5d230002e4'), "company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "work_item_id"=>"99", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72204b2693d5d230002e6'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72204b2693d5d230002ec')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd72204b2693d5d230002ec'), "assigned_to_id"=>BSON::ObjectId('4cd72204b2693d5d230002e5'), "company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "work_item_id"=>"100", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72204b2693d5d230002e6'), "assigned_to_name"=>"Doe, Jane", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72205b2693d5d230002ed')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd72205b2693d5d230002ed'), "assigned_to_id"=>BSON::ObjectId('4cd72204b2693d5d230002e4'), "company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "work_item_id"=>"101", "due_date"=>Sat Jul 03 00:00:00 UTC 2010, "grace_period_expiration_date"=>Mon Jul 05 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72204b2693d5d230002e6'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e6')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72205b2693d5d230002ee')}, {"name"=>nil, "billing_record_number"=>"1", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd72205b2693d5d230002ee'), "assigned_to_id"=>BSON::ObjectId('4cd72204b2693d5d230002e4'), "company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "work_item_id"=>"102", "due_date"=>Tue Jul 06 00:00:00 UTC 2010, "grace_period_expiration_date"=>Thu Jul 08 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72204b2693d5d230002e6'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e7')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72205b2693d5d230002ef')}, {"name"=>nil, "billing_record_number"=>"2", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd72205b2693d5d230002ef'), "assigned_to_id"=>BSON::ObjectId('4cd72204b2693d5d230002e4'), "company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "work_item_id"=>"103", "due_date"=>Sun Jul 04 00:00:00 UTC 2010, "grace_period_expiration_date"=>Tue Jul 06 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72204b2693d5d230002e7'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
RpmOnline_test['billing_records'].find({:_id=>BSON::ObjectId('4cd72204b2693d5d230002e7')}, {}).limit(-1)
MONGODB RpmOnline_test['work_items'].update({:_id=>BSON::ObjectId('4cd72205b2693d5d230002f0')}, {"name"=>nil, "billing_record_number"=>"2", "resolution"=>"pending", "resolved_by"=>nil, "data"=>nil, "performance_audit"=>nil, "resolution_time"=>nil, "_id"=>BSON::ObjectId('4cd72205b2693d5d230002f0'), "assigned_to_id"=>BSON::ObjectId('4cd72204b2693d5d230002e4'), "company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), "work_item_id"=>"104", "due_date"=>Wed Jul 07 00:00:00 UTC 2010, "grace_period_expiration_date"=>Fri Jul 09 00:00:00 UTC 2010, "note"=>nil, "resolved_by_id"=>nil, "billing_record_id"=>BSON::ObjectId('4cd72204b2693d5d230002e7'), "assigned_to_name"=>"Doe, John", "context_entity"=>nil})
Processing WorkItemCube @ Tue Jul 06 13:00:00 UTC 2010
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({"mapreduce"=>"work_items", "map"=><BSON::Code:70071213717000 @data="function(){emit({company_id:this.company_id, name:this.name, work_item_id:this.work_item_id, resolution:this.resolution, due_date:this.due_date, grace_period_expiration_date:this.grace_period_expiration_date, assigned_to_id:this.assigned_to_id, resolved_by:this.resolved_by, assigned_to_name:this.assigned_to_name, resolution_time:this.resolution_time, assigned_to:this.resolved_by, is_currently_due:(this.due_date && new Date(1278374400000) >= this.due_date && ((this.grace_period_expiration_date && this.grace_period_expiration_date >= new Date(1278374400000)) || !this.grace_period_expiration_date) && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))},{number_of_work_items:(((((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_currently_due:(((this.due_date && new Date(1278374400000) >= this.due_date && ((this.grace_period_expiration_date && this.grace_period_expiration_date >= new Date(1278374400000)) || !this.grace_period_expiration_date) && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_overdue:(((this.grace_period_expiration_date && new Date(1278374400000) > this.grace_period_expiration_date && ((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse'))) ? 1 : 0), number_of_accounts:(((this.resolution_time == null || this.resolution_time > 'new Date(1278421200000)' || this.resolution=='pending') || this.resolution == 'AwaitingRequestResponse')) ? (this.billing_record_number) : null, number_completed_today:(((this.resolution_time && this.resolution_time.toDateString() == (new Date(1278399600000)).toDateString())) ? 1 : 0), number_of_accounts_today:(this.resolution_time && this.resolution_time.toDateString() == (new Date(1278399600000)).toDateString() ? this.billing_record_number : 0)});}" @scope="{}">, "reduce"=><BSON::Code:70071213715700 @data="  function(key,values){
	var output = {};
	values.forEach(function(doc){
        for(var measure_name in doc){
            var measure_value = doc[measure_name];
            if (measure_value || measure_value == 0){
                if (typeof(measure_value) == "number") {
                  output[measure_name] = output[measure_name] || 0;
                  output[measure_name] += measure_value;
                }
                else if (measure_value) {
                  output[measure_name] = output[measure_name] || {}
                  if (typeof(measure_value)=="string")
                    output[measure_name][measure_value] = true;
                  if (typeof(measure_value)=="object") {
                    for (var unique in measure_value){
                      if (typeof(unique)=="string"){output[measure_name][unique]=true;}
                    }
                  }

                }
			}
		}
	  });     
	  return output;
  }
" @scope="{}">, "out"=>"cubicle.fact.work_item_cube", "finalize"=>"    function(key,value)\n    {\n\n          \n\n\n\n\n    return value;\n    }\n", "query"=>{}}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"company_id_1", :key=>{"company_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"name_1", :key=>{"name"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"work_item_id_1", :key=>{"work_item_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolution_1", :key=>{"resolution"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"due_date_1", :key=>{"due_date"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"grace_period_expiration_date_1", :key=>{"grace_period_expiration_date"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_id_1", :key=>{"assigned_to_id"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolved_by_1", :key=>{"resolved_by"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_name_1", :key=>{"assigned_to_name"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"resolution_time_1", :key=>{"resolution_time"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"assigned_to_1", :key=>{"assigned_to"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.fact.work_item_cube", :name=>"is_currently_due_1", :key=>{"is_currently_due"=>1}}])
RpmOnline_test['$cmd'].find({"getlasterror"=>1}, {}).limit(-1)
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].update({:aggregation=>"WorkItemCube"}, {"$set"=>{:protect=>false}})
RpmOnline_test['cubicle.metadata.aggregations'].find({:aggregation=>"WorkItemCube"}, {})
WorkItemCube processed @ Tue Jul 06 13:00:00 UTC 2010.
MONGODB RpmOnline_test['cubicle.metadata'].update({:aggregation=>"WorkItemCube"}, {"$set"=>{:result=>:success, :last_duration_in_seconds=>0.0, :aggregation=>"WorkItemCube", :last_processed=>Tue Jul 06 13:00:00 UTC 2010, :timestamp=>Tue Jul 06 13:00:00 UTC 2010}})
  Processing by WorkItemsController#dashboard as HTML
[Barista] Compiling all scripts
[Barista] Compiling all coffeescripts
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['cubicle.metadata.aggregations'].find({:document_count=>{"$gte"=>0}, :aggregation=>"WorkItemCube", :member_names=>{"$all"=>["assigned_to_id", "assigned_to_name", "company_id"]}}, {}).limit(1).sort([:document_count, :asc])
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].remove({:aggregation=>"WorkItemCube", :member_names=>["assigned_to_id", "assigned_to_name", "company_id"]})
MONGODB RpmOnline_test['cubicle.metadata.aggregations'].insert([{"document_count"=>-1, "created_at"=>Tue Jul 06 13:00:00 UTC 2010, "aggregation"=>"WorkItemCube", "_id"=>BSON::ObjectId('4cd72205b2693d5d230002f1'), "member_names"=>["assigned_to_id", "assigned_to_name", "company_id"], "protect"=>false}])
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({"mapreduce"=>"cubicle.fact.work_item_cube", "map"=><BSON::Code:70071212407940 @data="function(){emit({assigned_to_id:(this._id.assigned_to_id), assigned_to_name:(this._id.assigned_to_name), company_id:(this._id.company_id)},{number_of_work_items:(this.value.number_of_work_items), number_currently_due:(this.value.number_currently_due), number_overdue:(this.value.number_overdue), number_of_accounts:(this.value.number_of_accounts), number_completed_today:(this.value.number_completed_today), number_of_accounts_today:(this.value.number_of_accounts_today)});}" @scope="{}">, "reduce"=><BSON::Code:70071212374700 @data="  function(key,values){
	var output = {};
	values.forEach(function(doc){
        for(var measure_name in doc){
            var measure_value = doc[measure_name];
            if (measure_value || measure_value == 0){
                if (typeof(measure_value) == "number") {
                  output[measure_name] = output[measure_name] || 0;
                  output[measure_name] += measure_value;
                }
                else if (measure_value) {
                  output[measure_name] = output[measure_name] || {}
                  if (typeof(measure_value)=="string")
                    output[measure_name][measure_value] = true;
                  if (typeof(measure_value)=="object") {
                    for (var unique in measure_value){
                      if (typeof(unique)=="string"){output[measure_name][unique]=true;}
                    }
                  }

                }
			}
		}
	  });     
	  return output;
  }
" @scope="{}">, "out"=>"cubicle.aggregation.WorkItemCube._4cd72205b2693d5d230002f1", "finalize"=>"    function(key,value)\n    {\n\n          \n\n\n\n\n    return value;\n    }\n", "query"=>{"_id.company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1')}}, {}).limit(-1)
MONGODB RpmOnline_test['system.indexes'].insert([{:ns=>"RpmOnline_test.cubicle.aggregation.WorkItemCube._4cd72205b2693d5d230002f1", :name=>"assigned_to_id_1", :key=>{"assigned_to_id"=>1}}])
RpmOnline_test['$cmd'].find({"query"=>{"company_id"=>BSON::ObjectId('4cd72204b2693d5d230002e1'), :getlasterror=>1}}, {}).limit(-1)
Completed   in 0ms
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"companies"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"users"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"work_items"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"billing_records"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.fact.work_item_cube"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.metadata"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.metadata.aggregations"}, {}).limit(-1)
RpmOnline_test['system.namespaces'].find({}, {})
RpmOnline_test['$cmd'].find({:drop=>"cubicle.aggregation.WorkItemCube._4cd72205b2693d5d230002f1"}, {}).limit(-1)
