$ wc -l chairfill/age_group_202012202037.csv
7 chairfill/age_group_202012202037.csv
$ cat chairfill/age_group_202012202037.csv | head -10
"id","label","created_at","updated_at"
1,"18-29",2020-11-13 18:14:03,2020-11-13 18:14:03
2,"30-39",2020-11-13 18:14:03,2020-11-13 18:14:03
3,"40-49",2020-11-13 18:14:03,2020-11-13 18:14:03
4,"50-59",2020-11-13 18:14:03,2020-11-13 18:14:03
5,"60+",2020-11-13 18:14:03,2020-11-13 18:14:03
6,Under 18,2020-11-13 18:14:03,2020-11-13 18:14:03
-----------------------------------------------------------------
$ wc -l chairfill/asset_202012202037.csv
31 chairfill/asset_202012202037.csv
$ cat chairfill/asset_202012202037.csv | head -10
"id","external_id","external_name","is_changed_by_cfadmin","status","office_id","created_at","updated_at"
1,"86",Subject_6004,false,inactive,1,2020-10-13 15:11:43,2020-10-13 15:11:43
2,"115",Subject_6033,false,inactive,1,2020-10-13 15:11:43,2020-10-13 15:11:43
3,"45",CTA_1003,false,inactive,1,2020-10-13 15:11:43,2020-10-13 15:11:43
4,"47",CTA_1005,false,inactive,1,2020-10-13 15:11:43,2020-10-13 15:11:43
6,"358",CTA_1053,false,inactive,1,2020-10-13 15:11:43,2020-10-13 15:11:43
7,"51",Close_3001,false,inactive,1,2020-10-13 15:11:43,2020-10-13 15:11:43
8,"52",Close_3002,false,inactive,1,2020-10-13 15:11:43,2020-10-13 15:11:43
9,"53",Close_3003,false,inactive,1,2020-10-13 15:11:43,2020-10-13 15:11:43
10,"54",Close_3004,false,inactive,1,2020-10-13 15:11:43,2020-10-13 15:11:43
-----------------------------------------------------------------
$ wc -l chairfill/base_media_campaign_202012202037.csv
165 chairfill/base_media_campaign_202012202037.csv
$ cat chairfill/base_media_campaign_202012202037.csv | head -10
"id","campaign_id","media_campaign_statistic_id","office_id","dispatch_day_of_week","dispatch_time_of_day","created_at","updated_at","type"
152,104,152,1,4,09:00:00,2020-10-16 00:28:29,2020-10-16 00:38:50,phone
153,105,153,1,4,09:00:00,2020-10-16 01:07:53,2020-10-16 01:07:53,email
8,3,8,1,1,09:00:00,2020-08-24 19:15:37,2020-08-24 19:15:37,text
9,3,9,1,1,09:00:00,2020-08-24 19:15:37,2020-08-26 18:16:03,phone
77,55,77,1,1,09:00:00,2020-09-16 20:40:56,2020-09-16 20:40:56,email
157,107,157,1,4,09:00:00,2020-10-16 02:12:54,2020-10-16 02:12:54,email
158,107,158,1,4,09:00:00,2020-10-16 02:12:54,2020-10-16 02:12:54,text
159,107,159,1,4,09:00:00,2020-10-16 02:12:54,2020-10-16 02:12:54,phone
160,108,160,1,4,09:00:00,2020-10-16 02:15:51,2020-10-16 02:15:51,text
-----------------------------------------------------------------
$ wc -l chairfill/base_weekly_plan_202012202037.csv
417 chairfill/base_weekly_plan_202012202037.csv
$ cat chairfill/base_weekly_plan_202012202037.csv | head -10
"id","campaign_id","office_id","status","number","start_at","executed_at","created_at","updated_at","type","timezone"
84,26,1,stopped,1,2020-09-14 14:00:00,,2020-09-14 07:23:43,2020-09-14 07:26:16,email,
92,27,1,stopped,1,2020-09-14 14:00:00,,2020-09-14 07:27:57,2020-09-14 07:29:05,email,
95,29,1,stopped,1,2020-09-14 14:00:00,,2020-09-14 07:43:19,2020-09-14 09:35:03,email,
93,28,1,stopped,1,2020-09-14 14:00:00,,2020-09-14 07:42:02,2020-09-14 09:35:03,email,
1,3,1,finished,1,2020-08-23 14:00:00,2020-08-24 19:31:02,2020-08-24 19:15:37,2020-08-24 19:31:02,text,
167,83,1,stopped,5,2020-11-02 14:00:00,,2020-10-02 05:05:03,2020-10-05 22:05:53,phone,
7,3,1,finished,7,2020-08-22 14:00:00,2020-08-24 19:53:02,2020-08-24 19:15:37,2020-08-24 19:53:02,phone,
57,11,1,finished,1,2020-09-14 14:00:00,2020-09-14 14:00:03,2020-09-11 20:10:26,2020-09-14 14:00:09,email,
64,12,1,finished,1,2020-09-14 14:00:00,2020-09-14 14:00:09,2020-09-11 20:11:22,2020-09-14 14:00:14,email,
-----------------------------------------------------------------
$ wc -l chairfill/campaign_202012202037.csv
79 chairfill/campaign_202012202037.csv
$ cat chairfill/campaign_202012202037.csv | head -10
"id","parent_id","campaign_smart_offer_id","campaign_statistic_id","office_id","name","type","method","status","status_changed_at","unfinished_treatment_amount","media_types","start_date","end_date","stop_automatic","is_predefined","current_week_number","csv_file_name","created_at","updated_at","gender","age_groups","zip_codes","smart_services_id","dispatch_day_of_week","dispatch_time_of_day","media_type_per_week","next_dispatch_date","from_name","reply_to","campaign_coupon"
113,29,,113,1,dvzayf 1,manual,unfinishedTreatment,1150,2020-10-19 05:05:05,1,"[""email""]",2020-10-19,2020-11-09,false,false,1,,2020-10-19 05:05:05,2020-10-19 05:05:05,,"[]","[]",,,,"[]",,,,false
3,,,3,1,OPT,automatic,unfinishedTreatment,1150,2020-09-11 19:20:02,10,"[""text"", ""phone""]",2020-08-24,,false,false,3,,2020-08-24 19:15:37,2020-09-11 19:20:02,Both,"[]","[33125]",1,1,09:00:00,"[""Text"", ""Text"", ""Text"", ""Phone"", ""Phone"", ""Phone"", ""Phone""]",,a,a@a.com,false
111,3,,111,1,OPT 2,manual,unfinishedTreatment,1150,2020-10-19 05:05:03,10,"[""text"", ""phone""]",2020-10-19,2020-12-21,false,false,1,,2020-10-19 05:05:03,2020-10-19 05:05:04,,"[]","[]",,,,"[]",,,,false
112,28,,112,1,xrhkv 2,manual,unfinishedTreatment,1150,2020-10-19 05:05:04,1,"[""email""]",2020-10-19,2020-11-09,false,false,1,,2020-10-19 05:05:04,2020-10-19 05:05:05,,"[]","[]",,,,"[]",,,,false
10,,,10,1,a,automatic,unfinishedTreatment,1150,2020-09-11 19:20:29,10,"[""text"", ""email"", ""phone""]",2020-09-11,,false,false,1,,2020-09-11 19:19:34,2020-09-11 19:20:29,Both,"[]","[33142]",1,1,09:00:00,"[""Text"", ""Email"", ""Text"", ""Text"", ""Phone"", ""Phone"", ""Phone""]",,a,a@a.com,false
62,,,62,1,SCHEDULED TEST,automatic,unfinishedTreatment,1150,2020-09-25 12:30:11,10,"[""email"", ""text"", ""phone""]",2020-09-19,,false,false,2,,2020-09-18 20:34:46,2020-09-25 12:30:11,Both,"[]","[]",1,1,09:00:00,"[""Email"", ""Email"", ""None"", ""Text"", ""Phone"", ""Phone"", ""Phone""]",,a,a@a.com,false
29,,,29,1,dvzayf,automatic,unfinishedTreatment,1150,2020-09-14 09:35:02,1,"[""email""]",2020-09-14,,false,false,1,,2020-09-14 07:42:51,2020-09-14 09:35:03,Both,"[]","[]",11,1,09:00:00,"[""Email"", ""None"", ""None"", ""None"", ""None"", ""None"", ""None""]",,from name,reply@email.to,false
22,,,22,1,"8eyrkf",automatic,unfinishedTreatment,1150,2020-09-14 07:11:18,1,"[""email""]",2020-09-14,,false,false,1,,2020-09-14 06:54:03,2020-09-14 07:11:18,Both,"[]","[]",11,1,09:00:00,"[""Email"", ""None"", ""None"", ""None"", ""None"", ""None"", ""None""]",,from name,reply@email.to,false
28,,,28,1,xrhkv,automatic,unfinishedTreatment,1150,2020-09-14 09:35:03,1,"[""email""]",2020-09-14,,false,false,1,,2020-09-14 07:42:02,2020-09-14 09:35:03,Both,"[]","[]",1,1,09:00:00,"[""Email"", ""None"", ""None"", ""None"", ""None"", ""None"", ""None""]",,from name,reply@email.to,false
-----------------------------------------------------------------
$ wc -l chairfill/campaign_provider_202012202037.csv
254 chairfill/campaign_provider_202012202037.csv
$ cat chairfill/campaign_provider_202012202037.csv | head -10
"campaign_id","provider_id"
3,1
26,1
26,2
26,3
26,4
27,1
27,2
10,1
10,2
-----------------------------------------------------------------
$ wc -l chairfill/campaign_recipient_202012202037.csv
264 chairfill/campaign_recipient_202012202037.csv
$ cat chairfill/campaign_recipient_202012202037.csv | head -10
"campaign_id","recipient_id"
3,152
10,147
10,148
11,152
12,147
12,148
55,147
55,148
55,149
-----------------------------------------------------------------
$ wc -l chairfill/campaign_smart_offer_202012202037.csv
1 chairfill/campaign_smart_offer_202012202037.csv
$ cat chairfill/campaign_smart_offer_202012202037.csv | head -10
"id","smart_service_id","smart_offer_id","created_at","updated_at"
-----------------------------------------------------------------
$ wc -l chairfill/campaign_statistic_202012202037.csv
79 chairfill/campaign_statistic_202012202037.csv
$ cat chairfill/campaign_statistic_202012202037.csv | head -10
"id","budget_spent","created_at","updated_at","engaged_count","revenue","visit_count","budget_invested"
87,0.0,2020-10-03 05:05:04,2020-10-03 05:05:04,,,,1.11
88,0.0,2020-10-05 05:05:04,2020-10-05 05:05:04,,,,0.31
3,0.065,2020-08-24 19:15:37,2020-08-26 18:16:03,,,,0.31
34,0.0,2020-09-14 09:36:17,2020-09-14 09:36:17,,,,0.0
62,0.0,2020-09-18 20:34:46,2020-09-18 20:34:46,,,,1.11
63,0.0,2020-09-26 05:05:04,2020-09-26 05:05:04,,,,1.11
64,0.0,2020-09-28 05:05:04,2020-09-28 05:05:05,,,,0.0
10,0.0,2020-09-11 19:19:34,2020-09-11 19:19:34,,,,0.51
11,0.0,2020-09-11 20:10:26,2020-09-11 20:10:26,,,,0.19
-----------------------------------------------------------------
$ wc -l chairfill/email_media_campaign_202012202037.csv
63 chairfill/email_media_campaign_202012202037.csv
$ cat chairfill/email_media_campaign_202012202037.csv | head -10
"id"
29
31
34
110
115
124
130
45
134
-----------------------------------------------------------------
$ wc -l chairfill/email_template_202012202037.csv
1 chairfill/email_template_202012202037.csv
$ cat chairfill/email_template_202012202037.csv | head -10
"id","office_id","from_name","subject","html_body","json_template","preview","name","created_at","updated_at"
-----------------------------------------------------------------
$ wc -l chairfill/email_weekly_plan_202012202037.csv
161 chairfill/email_weekly_plan_202012202037.csv
$ cat chairfill/email_weekly_plan_202012202037.csv | head -10
"id","media_campaign_id","template","week_number"
163,110,5,1
164,110,5,2
53,29,5,2
57,31,5,1
58,31,5,2
59,31,5,3
64,34,5,1
65,34,5,2
66,34,5,3
-----------------------------------------------------------------
$ wc -l chairfill/email_weekly_plan_statistic_202012202037.csv
44 chairfill/email_weekly_plan_statistic_202012202037.csv
$ cat chairfill/email_weekly_plan_statistic_202012202037.csv | head -10
"id","weekly_plan_id","track_id","sent_count","opened_count","created_at","updated_at"
1,57,"74eaef54-b5f9-4dd3-9d68-a1fcde482dcc",1,1,2020-09-14 14:00:03,2020-09-15 05:10:04
2,64,"82f94b41-fd79-4bb5-86e9-a27cba764d1c",2,2,2020-09-14 14:00:09,2020-09-15 05:10:05
3,96,"275658ae-15bd-4f22-92c9-1d45c9f5327c",5,1,2020-09-14 14:00:15,2020-09-15 05:10:05
4,132,c7893c4e-2587-4e43-964c-661748823a75,,,2020-09-21 14:00:02,2020-09-21 14:00:02
5,190,edb8cf37-515e-4d5e-bf29-6947b9e21cd2,,,2020-10-12 14:00:03,2020-10-12 14:00:03
6,250,e0b7a3d9-8a01-4ee8-a977-090b67cdc8ec,2,0,2020-10-15 14:04:03,2020-10-16 05:10:04
8,251,e3f79d8f-e5ce-4b23-afff-9bf53a9f347d,2,0,2020-10-15 23:54:02,2020-10-16 05:10:04
7,252,cd966817-04b1-44fb-af9c-bac4ab89f679,3,1,2020-10-15 14:09:03,2020-10-16 05:10:05
9,267,b7dd6827-9e5c-4e16-9328-85dc979b7829,1,1,2020-10-16 01:42:02,2020-10-16 05:10:06
-----------------------------------------------------------------
$ wc -l chairfill/gender_202012202037.csv
5 chairfill/gender_202012202037.csv
$ cat chairfill/gender_202012202037.csv | head -10
"id","label","created_at","updated_at"
1,male,2020-11-13 18:14:03,2020-11-13 18:14:03
2,female,2020-11-13 18:14:03,2020-11-13 18:14:03
3,undecided,2020-11-13 18:14:03,2020-11-13 18:14:03
4,undeclared,2020-11-13 18:14:03,2020-11-13 18:14:03
-----------------------------------------------------------------
$ wc -l chairfill/last_weekly_plan_sending_log_202012202037.csv
33 chairfill/last_weekly_plan_sending_log_202012202037.csv
$ cat chairfill/last_weekly_plan_sending_log_202012202037.csv | head -10
"id","recipient_id","weekly_plan_id","type","created_at","updated_at"
14,148,244,phone,2020-10-15 03:06:03,2020-10-15 13:54:03
2,152,265,phone,2020-08-24 19:53:02,2020-10-16 00:38:50
22,153,239,text,2020-11-16 13:54:45,2020-12-02 14:00:09
21,156,239,text,2020-11-16 13:54:42,2020-12-02 14:00:09
23,154,239,text,2020-11-16 13:54:45,2020-12-02 14:00:09
24,157,239,text,2020-11-16 13:54:45,2020-12-02 14:00:09
25,146,239,text,2020-11-16 13:54:45,2020-12-02 14:00:09
26,147,239,text,2020-11-16 13:54:45,2020-12-02 14:00:09
27,151,239,text,2020-11-16 13:54:45,2020-12-02 14:00:09
-----------------------------------------------------------------
$ wc -l chairfill/media_campaign_statistic_202012202037.csv
165 chairfill/media_campaign_statistic_202012202037.csv
$ cat chairfill/media_campaign_statistic_202012202037.csv | head -10
"id","sent_count","opened_count","delivered_count","failed_count","created_at","updated_at","engaged_count","revenue","visit_count"
8,,,,,2020-08-24 19:15:37,2020-08-24 19:15:37,,,
9,1,,1,0,2020-08-24 19:15:37,2020-08-27 05:10:02,,,
77,,,,,2020-09-16 20:40:56,2020-09-16 20:40:56,,,
85,,,,,2020-09-18 20:34:46,2020-09-18 20:34:46,,,
86,,,,,2020-09-18 20:34:46,2020-09-18 20:34:46,,,
87,,,,,2020-09-18 20:34:46,2020-09-18 20:34:46,,,
88,,,,,2020-09-26 05:05:04,2020-09-26 05:05:04,,,
89,,,,,2020-09-26 05:05:04,2020-09-26 05:05:04,,,
90,,,,,2020-09-26 05:05:04,2020-09-26 05:05:04,,,
-----------------------------------------------------------------
$ wc -l chairfill/migration_versions_202012202037.csv
39 chairfill/migration_versions_202012202037.csv
$ cat chairfill/migration_versions_202012202037.csv | head -10
"version"
"20190712055613"
"20190826160026"
"20191004175413"
"20191004191335"
"20191105011602"
"20191116082715"
"20191117033021"
"20191120034453"
"20191120090159"
-----------------------------------------------------------------
$ wc -l chairfill/office_202012202037.csv
4 chairfill/office_202012202037.csv
$ cat chairfill/office_202012202037.csv | head -10
"id","office_statistic_id","name","mmg_id","twilio_phone","twilio_shortcode","phone1","address1","address2","city","state","zip","max_capacity","process_style","pms_type","pms_version","created_at","updated_at","timezone","allow_responsible_party"
2,31,PTC & Associates ,e9e2361b-9a80-4bc4-b279-7720a955cdb4,"17076151099","51099","1111111111","105 Any Street",P.O. Box 555,Effingham,IL,"62401",4800,,eaglesoft,"18.1",2020-08-12 19:31:50,2020-11-24 06:05:03,America/New_York,
3,122,Demonstration Dentist,"002eee5f-86d1-4d3f-b5b9-ed47c3d90511","","51099","18004332409",Demonstration Address,"",Hunt Valley,MD,"21030",272,aggressive,softdent,"16.2.5",2020-10-27 17:07:29,2020-11-25 06:05:03,America/New_York,true
1,13,Dentrix 7.3 Office,"16bba59a-5fbf-4429-aa01-35068968cb64","2393207049","51099","123-123-1234","123 Dentrix ","",City,MD,"21146",45,aggressive,dentrix,"6.6",2020-08-11 05:44:11,2020-11-25 06:05:03,America/Chicago,false
-----------------------------------------------------------------
$ wc -l chairfill/office_employees_quantity_202012202037.csv
9 chairfill/office_employees_quantity_202012202037.csv
$ cat chairfill/office_employees_quantity_202012202037.csv | head -10
"id","office_initial_data_id","type","quantity"
1,1,dentist,1
2,1,hygiene,1
3,1,staff,1
4,1,operatories,1
9,2,dentist,2
10,2,hygiene,2
11,2,staff,2
12,2,operatories,4
-----------------------------------------------------------------
$ wc -l chairfill/office_initial_data_202012202037.csv
3 chairfill/office_initial_data_202012202037.csv
$ cat chairfill/office_initial_data_202012202037.csv | head -10
"id","office_id","current_step","seniority","working_days","created_at","updated_at"
1,1,0,new,"[1, 2, 3, 4, 5]",2020-08-12 16:05:41,2020-08-12 16:06:08
2,3,0,new,"[1, 2, 3, 4, 5, 6, 7]",2020-11-15 04:58:45,2020-11-15 05:00:35
-----------------------------------------------------------------
$ wc -l chairfill/office_marketing_type_budget_202012202037.csv
17 chairfill/office_marketing_type_budget_202012202037.csv
$ cat chairfill/office_marketing_type_budget_202012202037.csv | head -10
"id","office_initial_data_id","type","budget"
1,1,internal,100
2,1,social,100
3,1,tv,100
4,1,mail,100
5,1,seo,100
6,1,radio,100
7,1,ppc,100
8,1,newspaper_magazine,100
17,2,internal,0
-----------------------------------------------------------------
$ wc -l chairfill/office_statistic_202012202037.csv
4 chairfill/office_statistic_202012202037.csv
$ cat chairfill/office_statistic_202012202037.csv | head -10
"id","office_id","load_for_2_weeks","load_for_4_weeks","average_load","revenue","new_patients","revenue_per_patient","treatment_acceptance","unscheduled_patients","first_appointment_date_per_year","created_at","updated_at","budget_invested"
31,2,0,0,0.0,0,,,0,11,2020-04-28 10:30:00,2020-08-12 19:31:49,2020-12-20 06:30:03,0.0
122,3,0,0,0.0,0,0,,0,66,2020-03-20 14:00:00,2020-10-27 17:07:29,2020-12-20 06:30:03,0.0
13,1,9600,19200,304.375,0,4,0.0,77,28,2019-12-20 09:00:00,2020-08-11 05:44:11,2020-12-20 06:30:05,33.07
-----------------------------------------------------------------
$ wc -l chairfill/office_working_hours_202012202037.csv
13 chairfill/office_working_hours_202012202037.csv
$ cat chairfill/office_working_hours_202012202037.csv | head -10
"id","office_initial_data_id","day_of_week","open_hours","close_hours"
1,1,1,09:00:00,18:00:00
2,1,2,09:00:00,18:00:00
3,1,3,09:00:00,18:00:00
4,1,4,09:00:00,18:00:00
5,1,5,09:00:00,18:00:00
13,2,1,09:00:00,20:00:00
14,2,2,09:00:00,20:00:00
15,2,3,09:00:00,20:00:00
16,2,4,09:00:00,20:00:00
-----------------------------------------------------------------
$ wc -l chairfill/opted_out_patient_202012202037.csv
1 chairfill/opted_out_patient_202012202037.csv
$ cat chairfill/opted_out_patient_202012202037.csv | head -10
"id","office_id","external_id"
-----------------------------------------------------------------
$ wc -l chairfill/phone_media_campaign_202012202037.csv
49 chairfill/phone_media_campaign_202012202037.csv
$ cat chairfill/phone_media_campaign_202012202037.csv | head -10
"id","budget_spent","budget_invested"
9,0.065,0.2
30,0.0,0.3
33,0.0,0.15
36,0.0,0.3
87,0.0,0.9
90,0.0,0.9
112,0.0,0.15
117,0.0,0.9
119,0.0,0.2
-----------------------------------------------------------------
$ wc -l chairfill/phone_template_202012202037.csv
7 chairfill/phone_template_202012202037.csv
$ cat chairfill/phone_template_202012202037.csv | head -10
"id","office_id","message_text","message_audio_url","optout_confirmation_text","optout_confirmation_audio_url","name","created_at","updated_at"
2,3,"Dear {{patient_firstname}},
Thank you for choosing AWSQA Softdent Family Dentistry. Our mission is to provide an exceptional dental experience through hospitality, quality and efficiency.",,If you receive this call in error or wish to be taken off the calling list. Please call at {{.CfPhoneNumber}},,AWSQA Softdent Family Dentistry Phone Campaign,2020-11-14 05:16:38,2020-11-14 05:20:46
1,1,"Dear {{patient_firstname}},
Our records indicate you have unfinished your {{service}} Treatment.
Check with the office if any Discount {{smart_discount}} {{service}} applies to you. Please call {{pat_office_name}} today at {{.CfPhoneNumber}} to schedule an appointment.
Press 1 to opt out",,"You have opted out, thanks!",,upvru,2020-08-18 21:53:21,2020-12-16 16:31:42
-----------------------------------------------------------------
$ wc -l chairfill/phone_weekly_plan_202012202037.csv
138 chairfill/phone_weekly_plan_202012202037.csv
$ cat chairfill/phone_weekly_plan_202012202037.csv | head -10
"id","media_campaign_id","template","week_number"
4,9,1,4
5,9,1,5
6,9,1,6
7,9,1,7
54,30,1,5
55,30,1,6
56,30,1,7
61,33,1,5
62,33,1,6
-----------------------------------------------------------------
$ wc -l chairfill/phone_weekly_plan_statistic_202012202037.csv
8 chairfill/phone_weekly_plan_statistic_202012202037.csv
$ cat chairfill/phone_weekly_plan_statistic_202012202037.csv | head -10
"id","weekly_plan_id","recipient_id","sid","status","created_at","updated_at"
1,6,152,CA215dcb466d10e7ddb41c6fc4565fdb4d,completed,2020-08-26 18:16:03,2020-08-27 05:10:02
7,510,161,CA82dcc97ee052229940c68d26b35134b4,completed,2020-12-08 14:59:31,2020-12-09 06:10:03
6,510,155,CA66aaeec3d2d110cf8ef0ff2645d9080a,completed,2020-12-08 14:59:30,2020-12-09 06:10:03
5,508,161,CA28da0f73916388dee50a0a6681180831,completed,2020-12-08 14:32:13,2020-12-09 06:10:03
4,508,155,CAee8b2b3dc224bd6b5b84042adaab11ea,completed,2020-12-08 14:32:12,2020-12-09 06:10:03
3,509,161,CAdf0877ec6c1dc7a698c08e386efa7795,completed,2020-12-08 14:26:57,2020-12-09 06:10:03
2,509,155,CA8806815d13d46699c49186cf9e9bf7e2,completed,2020-12-08 14:26:56,2020-12-09 06:10:03
-----------------------------------------------------------------
$ wc -l chairfill/placeholders_202012202037.csv
3 chairfill/placeholders_202012202037.csv
$ cat chairfill/placeholders_202012202037.csv | head -10
"id","email","phone","disclaimer","coupon","quote","quote_author","office_id","created_at","updated_at"
1,adri@adri.com,"786-585-2323",this is a disclaimer message,
{{.smart_discount}}
,LALALA,adri,1,2020-08-26 18:11:03,2020-10-15 23:02:56
2,"","","This message (and any attachments) is intended for use only by the individual to whom it is addressed and may contain information that is confidential and privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by reply email and delete and destroy all copies of this message. Thank you","",Some of my patients have had success using Sedation Dentistry. They have found that using Sedation Dentistry made their dental experience less stressful.,Team AWSQA Softdent Family Dentistry,3,2020-11-14 05:28:55,2020-11-14 05:28:55
-----------------------------------------------------------------
$ wc -l chairfill/postcard_media_campaign_202012202037.csv
5 chairfill/postcard_media_campaign_202012202037.csv
$ cat chairfill/postcard_media_campaign_202012202037.csv | head -10
"id","budget_invested","budget_spent"
196,0.0,0.0
200,0.0,0.0
204,0.0,0.0
207,0.0,0.0
-----------------------------------------------------------------
$ wc -l chairfill/postcard_template_202012202037.csv
1 chairfill/postcard_template_202012202037.csv
$ cat chairfill/postcard_template_202012202037.csv | head -10
"id","office_id","description","text_html_front","text_html_back","image_front_url","image_back_url","html_url_front","html_url_back","preview_front","preview_back","name","created_at","updated_at"
-----------------------------------------------------------------
$ wc -l chairfill/postcard_weekly_plan_202012202037.csv
1 chairfill/postcard_weekly_plan_202012202037.csv
$ cat chairfill/postcard_weekly_plan_202012202037.csv | head -10
"id","media_campaign_id","template","week_number"
-----------------------------------------------------------------
$ wc -l chairfill/postcard_weekly_plan_statistic_202012202037.csv
1 chairfill/postcard_weekly_plan_statistic_202012202037.csv
$ cat chairfill/postcard_weekly_plan_statistic_202012202037.csv | head -10
"id","weekly_plan_id","recipient_id","status","pid","created_at","updated_at"
-----------------------------------------------------------------
$ wc -l chairfill/provider_202012202037.csv
43 chairfill/provider_202012202037.csv
$ cat chairfill/provider_202012202037.csv | head -10
"id","office_id","external_id","first_name","last_name","type","status","pms_first_name","pms_last_name","pms_type","is_changed_by_ap","created_at","updated_at"
6,1,XXX5,TestFName,TestLName,,draft,TestFName,TestLName,Dentist,false,2020-08-12 16:04:44,2020-08-12 16:04:44
7,1,XXX6,TestFName,TestLName,,draft,TestFName,TestLName,Dentist,false,2020-08-12 16:04:44,2020-08-12 16:04:44
8,1,XXX7,TestFName,TestLName,,draft,TestFName,TestLName,Dentist,false,2020-08-12 16:04:44,2020-08-12 16:04:44
9,1,XXX8,TestFName,TestLName,,draft,TestFName,TestLName,Dentist,false,2020-08-12 16:04:44,2020-08-12 16:04:44
11,2,RKM,Robert,"Morgan, DDS",,draft,Robert,"Morgan, DDS",Dentist,false,2020-08-12 19:31:55,2020-08-12 19:31:55
12,2,GGY,George,"Young, DDS",,draft,George,"Young, DDS",Dentist,false,2020-08-12 19:31:55,2020-08-12 19:31:55
13,2,DFD,Debra,"Davis, RDH",,draft,Debra,"Davis, RDH",Hygienist,false,2020-08-12 19:31:55,2020-08-12 19:31:55
14,2,DCM,Diane,"Martin, RDH",,draft,Diane,"Martin, RDH",Hygienist,false,2020-08-12 19:31:55,2020-08-12 19:31:55
15,2,MAH,Maria,Hart,,draft,Maria,Hart,Dental Assistant,false,2020-08-12 19:31:55,2020-08-12 19:31:55
-----------------------------------------------------------------
$ wc -l chairfill/provider_smart_service_202012202037.csv
31 chairfill/provider_smart_service_202012202037.csv
$ cat chairfill/provider_smart_service_202012202037.csv | head -10
"provider_id","smart_service_id"
1,1
2,1
2,11
2,4
3,11
3,4
4,1
4,11
4,4
-----------------------------------------------------------------
$ wc -l chairfill/recipient_202012202037.csv
27 chairfill/recipient_202012202037.csv
$ cat chairfill/recipient_202012202037.csv | head -10
"id","provider_id","smart_service_id","office_id","external_id","first_name","last_name","email","phone_number","is_engaged","is_valid_for_text","is_valid_for_email","is_valid_for_phone","is_valid_for_postcard","is_text_allowed","is_email_allowed","is_phone_allowed","address","address2","city","state","zip","mt_id","created_at","updated_at","gender","service_type","age"
158,3,,1,"1094",Anthony,Paczzz,PA4056802@FakeEmail.com,"5555555555",false,true,true,true,false,true,true,true,"11 OAK HILL CIRCLE","",Fakeyville,UT,"84003",,2020-09-10 12:53:11,2020-09-16 20:08:28,M,,"68"
159,2,,1,"17204",Amy,August,amy@uflydrones.com,,false,false,true,false,false,true,true,true,Amy Street,"",Miami,FL,"33125",,2020-09-10 12:53:11,2020-11-18 21:06:04,F,,"20"
162,2,,1,"17208",Matilda,TestHew,pam@localpatient.com,"4104040976",false,true,true,true,false,true,true,true,"12345 River Ave","",Clearwater,FL,"33762",,2020-10-02 05:05:02,2020-12-14 14:45:00,F,,"50"
146,1,,1,"17195",TesterTerra,DentrixZZZ,person5@none.com,"3335552222",false,true,true,true,false,true,true,true,"444 Nevada Grove Blvd","",LAS VEGAS,NV,"89130",,2020-08-24 15:04:38,2020-12-18 06:05:05,M,,"32"
148,1,,1,"17200",KidGrowKonia,JuneTestRP,kidgrowkonia@uflydrones.com,"7867095740",false,true,true,false,false,true,true,false,Kalima St,"",Miami,FL,"33142",,2020-08-24 15:04:38,2020-12-14 14:32:40,M,,"18"
151,1,,1,"17201",Monica,JulyTestCanceled,monica@uflydrones.com,"3055556333",false,true,true,true,false,true,true,true,Monica st,"",Miami,FL,"33159",,2020-08-24 15:04:38,2020-12-18 06:05:05,F,,"35"
152,1,,1,"17203",Ana,AugustTest,ana@uflydrones.com,"7867095740",false,true,true,true,false,true,true,true,Ana St,"",Miami,FL,"33125",,2020-08-24 19:14:00,2020-12-18 06:05:06,F,,"35"
149,1,,1,"17199",Kenia,JuneTestRP,kalima@uflydrones.com,"7865553232",false,true,true,true,false,true,true,true,Kalima St,"",Miami,FL,"33142",,2020-08-24 15:04:38,2020-12-18 06:05:06,F,,"15"
150,1,,1,"17202",Manuel,JulyTestCanceled,monica@uflydrones.com,"3055556333",false,true,true,true,false,true,true,true,Monica st,"",Miami,FL,"33159",,2020-08-24 15:04:38,2020-12-18 06:05:06,M,,"15"
-----------------------------------------------------------------
$ wc -l chairfill/recipient_service_202012202037.csv
1 chairfill/recipient_service_202012202037.csv
$ cat chairfill/recipient_service_202012202037.csv | head -10
"recipient_id","service_id"
-----------------------------------------------------------------
$ wc -l chairfill/recipient_weekly_plan_daily_statistic_202012202037.csv
1 chairfill/recipient_weekly_plan_daily_statistic_202012202037.csv
$ cat chairfill/recipient_weekly_plan_daily_statistic_202012202037.csv | head -10
"id","recipient_id","weekly_plan_id","office_id","was_engaged","date","type","created_at","updated_at","revenue","visit_count"
-----------------------------------------------------------------
$ wc -l chairfill/reporting_statistic_202012202037.csv
4 chairfill/reporting_statistic_202012202037.csv
$ cat chairfill/reporting_statistic_202012202037.csv | head -10
"id","office_id","new_patient_per_week","new_patient_per_month","new_patient_per_year","scheduled_patient_per_week","scheduled_patient_per_month","scheduled_patient_per_year","no_shows_patient_per_week","no_shows_patient_per_month","no_shows_patient_per_year","unscheduled_patient_for_previous_month","unscheduled_patient_per_month","created_at","updated_at"
3,3,2,7,66,2,7,66,1,1,9,66,6.6,2020-10-27 17:07:29,2020-12-15 06:35:02
1,2,1,1,11,1,1,11,1,1,3,11,1.2222222222222,2020-08-12 19:31:50,2020-12-20 06:35:02
2,1,1,2,22,1,2,23,1,2,27,21,1.6923076923077,2020-08-13 05:35:02,2020-12-20 06:35:03
-----------------------------------------------------------------
$ wc -l chairfill/report_monthly_office_services_performance_stats_202012202037.csv
64 chairfill/report_monthly_office_services_performance_stats_202012202037.csv
$ cat chairfill/report_monthly_office_services_performance_stats_202012202037.csv | head -10
"id","report_monthly_office_stats_id","smart_service_id","presented","unscheduled","created_at","updated_at","performed"
1,1,1,0,0,2020-12-02 15:29:52,2020-12-02 15:29:52,0
2,1,2,0,0,2020-12-02 15:29:52,2020-12-02 15:29:52,0
3,1,3,0,0,2020-12-02 15:29:52,2020-12-02 15:29:52,0
4,1,4,0,0,2020-12-02 15:29:52,2020-12-02 15:29:52,0
5,1,5,0,0,2020-12-02 15:29:52,2020-12-02 15:29:52,0
6,1,6,0,0,2020-12-02 15:29:52,2020-12-02 15:29:52,0
7,1,7,0,0,2020-12-02 15:29:52,2020-12-02 15:29:52,0
8,1,8,0,0,2020-12-02 15:29:52,2020-12-02 15:29:52,0
9,1,9,0,0,2020-12-02 15:29:52,2020-12-02 15:29:52,0
-----------------------------------------------------------------
$ wc -l chairfill/report_monthly_office_stats_202012202037.csv
4 chairfill/report_monthly_office_stats_202012202037.csv
$ cat chairfill/report_monthly_office_stats_202012202037.csv | head -10
"id","office_id","new_patients","scheduled_patients","unscheduled_patients","no_show_patients","month","year","created_at","updated_at","tx_rev_presented","tx_rev_accepted","tx_rev_unscheduled"
1,2,0,0,0,0,11,2020,2020-12-02 15:29:51,2020-12-02 15:29:51,0,0,0
2,3,6,8,8,2,11,2020,2020-12-02 15:29:54,2020-12-02 15:29:54,2911,2036,875
3,1,1,3,2,2,11,2020,2020-12-02 15:29:57,2020-12-02 15:29:57,0,0,0
-----------------------------------------------------------------
$ wc -l chairfill/service_202012202037.csv
2455 chairfill/service_202012202037.csv
$ cat chairfill/service_202012202037.csv | head -10
"id","smart_service_id","office_id","external_id","external_name","ada_code","auto_completed","is_changed_by_ap","status","created_at","updated_at"
1,,1,"801",Sample collection for analysis ,D0422,false,false,draft,2020-08-12 16:04:56,2020-08-12 16:04:56
2,,1,"802",Genetic test-suspect disease ,D0423,false,false,draft,2020-08-12 16:04:56,2020-08-12 16:04:56
3,2,1,"803",Sealant repair - per tooth ,D1353,true,false,draft,2020-08-12 16:04:56,2020-08-12 16:04:56
4,2,1,"804",Caries arresting meds-per tooth ,D1354,true,false,draft,2020-08-12 16:04:56,2020-08-12 16:04:56
5,,1,"805","Autgen con tiss graft, Each Add ",D4283,false,false,draft,2020-08-12 16:04:56,2020-08-12 16:04:56
6,,1,"806","Non-autgen con tis grft, Ea Add ",D4285,false,false,draft,2020-08-12 16:04:56,2020-08-12 16:04:56
7,8,1,"821",Remov ortho retainer adjustment ,D8681,true,false,draft,2020-08-12 16:04:56,2020-08-12 16:04:56
8,5,1,"836",Scaling/debridement of implant ,D6081,true,false,draft,2020-08-12 16:04:56,2020-08-12 16:04:56
9,,1,"854",IV conscious sed/analg-1st15m ,D9239,false,false,draft,2020-08-12 16:04:56,2020-08-12 16:04:56
-----------------------------------------------------------------
$ wc -l chairfill/smart_discount_202012202037.csv
65 chairfill/smart_discount_202012202037.csv
$ cat chairfill/smart_discount_202012202037.csv | head -10
"id","campaign_id","smart_service_id","value","created_at","updated_at"
43,122,1,15,2020-11-15 04:59:58,2020-11-15 04:59:58
44,122,2,15,2020-11-15 04:59:58,2020-11-15 04:59:58
45,122,3,15,2020-11-15 04:59:58,2020-11-15 04:59:58
46,122,4,15,2020-11-15 04:59:58,2020-11-15 04:59:58
47,122,5,15,2020-11-15 04:59:58,2020-11-15 04:59:58
48,122,6,15,2020-11-15 04:59:58,2020-11-15 04:59:58
49,122,7,15,2020-11-15 04:59:58,2020-11-15 04:59:58
50,122,8,15,2020-11-15 04:59:58,2020-11-15 04:59:58
51,122,9,15,2020-11-15 04:59:58,2020-11-15 04:59:58
-----------------------------------------------------------------
$ wc -l chairfill/smart_offer_202012202037.csv
1 chairfill/smart_offer_202012202037.csv
$ cat chairfill/smart_offer_202012202037.csv | head -10
"id","name","created_at","updated_at"
-----------------------------------------------------------------
$ wc -l chairfill/smart_service_202012202037.csv
22 chairfill/smart_service_202012202037.csv
$ cat chairfill/smart_service_202012202037.csv | head -10
"id","name","label","ada_codes","priority","created_at","updated_at"
1,Cleaning,Cleaning,"[""D1110"", ""D1120""]",1,2020-08-11 05:44:11,2020-08-11 05:44:11
2,General Hygiene,General Hygiene,"[""D1206"", ""D1208"", ""D1310"", ""D1320"", ""D1330"", ""D1351"", ""D1353"", ""D1352"", ""D1354""]",2,2020-08-11 05:44:11,2020-08-11 05:44:11
3,Deep Cleaning,Deep Cleaning,"[""D4341"", ""D4342"", ""D4346""]",3,2020-08-11 05:44:11,2020-08-11 05:44:11
4,Fillings,Fillings,"[""D2140"", ""D2150"", ""D2161"", ""D2330"", ""D2331"", ""D2332"", ""D2335"", ""D2390"", ""D2391"", ""D2392"", ""D2393"", ""D2394"", ""D2510"", ""D2520"", ""D2530"", ""D2610"", ""D2620"", ""D2630"", ""D2650"", ""D2651"", ""D2652""]",4,2020-08-11 05:44:11,2020-08-11 05:44:11
5,Implants,Implants,"[""D6190"", ""D6010"", ""D6011"", ""D6012"", ""D6013"", ""D6040"", ""D6050"", ""D6100"", ""D6101"", ""D6102"", ""D6103"", ""D6104"", ""D6055"", ""D6056"", ""D6057"", ""D6051"", ""D6052"", ""D6110"", ""D6111"", ""D6112"", ""D6113"", ""D6114"", ""D6115"", ""D6116"", ""D6117"", ""D6058"", ""D6059"", ""D6060"", ""D6061"", ""D6062"", ""D6063"", ""D6064"", ""D6094"", ""D6065"", ""D6066"", ""D6067"", ""D6068"", ""D6069"", ""D6070"", ""D6071"", ""D6072"", ""D6073"", ""D6074"", ""D6194"", ""D6075"", ""D6076"", ""D6077"", ""D6080"", ""D6081"", ""D6085"", ""D6090"", ""D6095"", ""D6091"", ""D6092"", ""D6093"", ""D6199""]",5,2020-08-11 05:44:11,2020-08-11 05:44:11
6,Traditional Braces,Traditional Braces,"[""D8010"", ""D8020"", ""D8030"", ""D8040"", ""D8050"", ""D8060"", ""D8070"", ""D8080"", ""D8090""]",6,2020-08-11 05:44:11,2020-08-11 05:44:11
7,Retainers,Retainers,"[""D8210"", ""D8220""]",7,2020-08-11 05:44:11,2020-08-11 05:44:11
8,General Orthodontics,Orthodontics,"[""D8660"", ""D8670"", ""D8680"", ""D8681"", ""D8690"", ""D8691"", ""D8692"", ""D8693"", ""D8694"", ""D8999""]",8,2020-08-11 05:44:11,2020-08-11 05:44:11
9,Whitening,Teeth Whitening,"[""D9972"", ""D9973"", ""D9974"", ""D9975""]",9,2020-08-11 05:44:11,2020-08-11 05:44:11
-----------------------------------------------------------------
$ wc -l chairfill/text_media_campaign_202012202037.csv
51 chairfill/text_media_campaign_202012202037.csv
$ cat chairfill/text_media_campaign_202012202037.csv | head -10
"id","budget_spent","budget_invested"
8,0.0,0.11
28,0.0,0.21
32,0.0,0.04
35,0.0,0.07
86,0.0,0.21
89,0.0,0.21
111,0.0,0.04
116,0.0,0.21
118,0.0,0.11
-----------------------------------------------------------------
$ wc -l chairfill/text_template_202012202037.csv
11 chairfill/text_template_202012202037.csv
$ cat chairfill/text_template_202012202037.csv | head -10
"id","office_id","text_body","name","created_at","updated_at"
3,3,"Dear {{patient_firstname}},
Thank you for choosing Osinde Family Dentistry. Our mission is to glorify god in our community by providing and exceptional dental experience through hospitality, quality and efficiency.
If you received this message in error or wish to be taken off the list. Please text STOP now. Msg & Data rates may apply.",AWSQA Softdent Family Dentistry SMS Campaign,2020-11-14 05:21:38,2020-11-14 05:21:38
1,2,"wow, those are some frightening teeth! why don't you let us clean them? press 1 to opt out",sms 1,2020-08-26 14:29:40,2020-08-26 14:29:40
4,1,"Dear {{patient_firstname}},
Our records indicate you have unfinished your {{service}} Treatment.
Check with the office if any Discount {{smart_discount}} {{service}} applies to you. Please call {{pat_office_name}} today at {{.CfPhoneNumber}} to schedule an appointment.
-----------------------------------------------------------------
$ wc -l chairfill/text_weekly_plan_202012202037.csv
120 chairfill/text_weekly_plan_202012202037.csv
$ cat chairfill/text_weekly_plan_202012202037.csv | head -10
"id","media_campaign_id","template","week_number"
1,8,1,1
2,8,1,2
3,8,1,3
50,28,1,1
51,28,1,3
52,28,1,4
60,32,1,4
67,35,1,4
134,86,1,4
-----------------------------------------------------------------
$ wc -l chairfill/text_weekly_plan_statistic_202012202037.csv
4 chairfill/text_weekly_plan_statistic_202012202037.csv
$ cat chairfill/text_weekly_plan_statistic_202012202037.csv | head -10
"id","weekly_plan_id","recipient_id","sid","status","created_at","updated_at"
3,557,148,SM8fc42859faa442b98df1100046b4f550,delivered,2020-12-16 16:23:03,2020-12-17 06:10:03
2,556,148,SM175c8398ca284df1b02d2927eba9b511,delivered,2020-12-16 15:24:03,2020-12-17 06:10:03
1,459,148,SM71d64edcc33048e297a378d8a502d6a3,delivered,2020-12-16 15:00:04,2020-12-17 06:10:03
-----------------------------------------------------------------
$ wc -l chairfill/used_assets_inventory_202012202037.csv
38 chairfill/used_assets_inventory_202012202037.csv
$ cat chairfill/used_assets_inventory_202012202037.csv | head -10
"id","recipient_id","campaign_id","assets","updated_at"
1,152,11,"{""collections"":{""4"":{""assets"":{""51"":1}},""5"":{""assets"":{""354"":1}},""7"":{""assets"":{""463"":1}},""6"":{""assets"":{""368"":1}},""10"":{""assets"":{""260"":1}},""13"":{""assets"":{""244"":1}}}}",2020-09-14 14:00:05
2,147,12,"{""collections"":{""4"":{""assets"":{""51"":1}},""5"":{""assets"":{""354"":1}},""7"":{""assets"":{""463"":1}},""6"":{""assets"":{""368"":1}},""10"":{""assets"":{""264"":1}},""13"":{""assets"":{""244"":1}}}}",2020-09-14 14:00:11
3,148,12,"{""collections"":{""4"":{""assets"":{""285"":1}},""5"":{""assets"":{""354"":1}},""7"":{""assets"":{""463"":1}},""6"":{""assets"":{""368"":1}},""10"":{""assets"":{""256"":1}},""13"":{""assets"":{""244"":1}}}}",2020-09-14 14:00:12
4,153,34,"{""collections"":{""4"":{""assets"":{""285"":1}},""5"":{""assets"":{""354"":1}},""7"":{""assets"":{""463"":1}},""6"":{""assets"":{""368"":1}},""10"":{""assets"":{""249"":1}},""13"":{""assets"":{""244"":1}}}}",2020-09-14 14:00:16
5,156,34,"{""collections"":{""4"":{""assets"":{""51"":1}},""5"":{""assets"":{""354"":1}},""7"":{""assets"":{""463"":1}},""6"":{""assets"":{""368"":1}},""10"":{""assets"":{""264"":1}},""13"":{""assets"":{""244"":1}}}}",2020-09-14 14:00:18
6,154,34,"{""collections"":{""4"":{""assets"":{""51"":1}},""5"":{""assets"":{""354"":1}},""7"":{""assets"":{""463"":1}},""6"":{""assets"":{""368"":1}},""10"":{""assets"":{""260"":1}},""13"":{""assets"":{""244"":1}}}}",2020-09-14 14:00:19
7,157,34,"{""collections"":{""4"":{""assets"":{""285"":1}},""5"":{""assets"":{""354"":1}},""7"":{""assets"":{""463"":1}},""6"":{""assets"":{""368"":1}},""10"":{""assets"":{""249"":1}},""13"":{""assets"":{""244"":1}}}}",2020-09-14 14:00:20
8,146,34,"{""collections"":{""4"":{""assets"":{""51"":1}},""5"":{""assets"":{""354"":1}},""7"":{""assets"":{""463"":1}},""6"":{""assets"":{""368"":1}},""10"":{""assets"":{""264"":1}},""13"":{""assets"":{""244"":1}}}}",2020-09-14 14:00:21
9,151,34,"{""collections"":{""4"":{""assets"":{""51"":1}},""5"":{""assets"":{""354"":1}},""7"":{""assets"":{""463"":1}},""6"":{""assets"":{""368"":1}},""10"":{""assets"":{""260"":1}},""13"":{""assets"":{""244"":1}}}}",2020-09-14 14:00:22
-----------------------------------------------------------------
$ wc -l chairfill/weekly_plan_campaign_recipient_202012202037.csv
239 chairfill/weekly_plan_campaign_recipient_202012202037.csv
$ cat chairfill/weekly_plan_campaign_recipient_202012202037.csv | head -10
"id","campaign_id","recipient_id","media_type","week","dispatch_day_time","dispatched","opened","engaged","failed","error"
1,3,152,text,1,2020-08-24 19:18:03,true,false,false,true,Call to a member function getTextBody() on null
2,3,152,phone,7,2020-08-24 19:53:02,true,false,false,true,Call to a member function getQuote() on null
3,3,152,text,3,2020-08-26 14:51:03,true,false,false,true,Call to a member function getQuote() on null
4,3,152,phone,4,2020-08-26 15:02:02,true,false,false,true,Call to a member function getQuote() on null
5,3,152,phone,5,2020-08-26 15:42:02,true,false,false,true,Call to a member function getQuote() on null
6,3,152,phone,6,2020-08-26 18:16:03,true,false,false,false,""
7,3,152,text,2,2020-08-26 18:18:02,true,false,false,true,"[HTTP 400] Unable to create record: The From phone number 51099 is not a valid, SMS-capable inbound phone number or short code for your account."
8,11,152,email,1,2020-09-14 14:00:09,true,false,false,false,""
9,12,147,email,1,2020-09-14 14:00:14,true,false,false,false,""
-----------------------------------------------------------------
$ wc -l chairfill/weekly_plan_sending_log_202012202037.csv
1 chairfill/weekly_plan_sending_log_202012202037.csv
$ cat chairfill/weekly_plan_sending_log_202012202037.csv | head -10
"id","recipient_id","weekly_plan_id","status","error_message","created_at","updated_at"
-----------------------------------------------------------------
$ wc -l chairfill/_user__202012202037.csv
5 chairfill/_user__202012202037.csv
$ cat chairfill/_user__202012202037.csv | head -10
"id","office_id","username","first_name","last_name","roles","created_at","updated_at"
1,1,none@localpatient.com,MMG,Business,"a:1:{i:0;s:9:""ROLE_USER"";}",2020-08-11 13:47:58,2020-08-11 13:47:58
2,1,none@mmgfusion.com,Dental,Dentist,"a:1:{i:0;s:9:""ROLE_USER"";}",2020-08-12 16:04:36,2020-08-12 16:04:36
3,2,none@localpatient.com,MMG,Business,"a:1:{i:0;s:9:""ROLE_USER"";}",2020-08-12 19:31:55,2020-08-12 19:31:55
4,3,williamray@rspagnolo.com,WilliamRay,AWSQAtester,"a:1:{i:0;s:9:""ROLE_USER"";}",2020-10-27 17:07:38,2020-10-27 17:07:38
-----------------------------------------------------------------
$ wc -l emailcampaignsprod/automated_campaigns_202012202036.csv
8 emailcampaignsprod/automated_campaigns_202012202036.csv
$ cat emailcampaignsprod/automated_campaigns_202012202036.csv | head -10
"id","welcome","confirmation","recall","reactivation","birthday","mmg_id","campaign_type"
9,"{""enabled"":false,""template"":""""}","{""enabled"":false,""template"":""""}","{""enabled"":true,""template"":""https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Html/automatedCampaigns/email/e52684be-67b1-43e9-a86a-75c531ce5ba2recall-custom-template.html"",""templateType"":"""",""last_visit"":3,""time"":""11:57 AM"",""timezone"":""America/New_York""}","{""enabled"":true,""template"":""https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Html/automatedCampaigns/email/e52684be-67b1-43e9-a86a-75c531ce5ba2reactivation-custom-template.html"",""templateType"":""custom-template"",""last_visit"":3,""time"":""11:19 AM"",""timezone"":""America/New_York""}","{""enabled"":true,""template"":""https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Html/automatedCampaigns/email/e52684be-67b1-43e9-a86a-75c531ce5ba2birthday-builder-template.html"",""templateType"":""builder-template"",""time"":""10:08 AM"",""timezone"":""America/New_York""}",e52684be-67b1-43e9-a86a-75c531ce5ba2,email
1,"{""enabled"":true,""template"":""https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Html/automatedCampaigns/email/99d6c326-a123-4592-84fa-5f13593f240ewelcome-builder-template.html""}","{""enabled"":true,""template"":""https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Html/automatedCampaigns/email/99d6c326-a123-4592-84fa-5f13593f240econfirmation-custom-template.html""}","{""timezone"":""America/New_York"",""enabled"":true,""last_visit"":1,""template"":""https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Html/automatedCampaigns/email/99d6c326-a123-4592-84fa-5f13593f240erecall-custom-template.html"",""time"":""7:50 AM""}","{""timezone"":""America/New_York"",""enabled"":true,""last_visit"":1,""template"":""https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Html/automatedCampaigns/email/99d6c326-a123-4592-84fa-5f13593f240ereactivation-custom-template.html"",""time"":""7:23 AM""}","{""timezone"":""America/New_York"",""enabled"":true,""template"":""https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Html/automatedCampaigns/email/99d6c326-a123-4592-84fa-5f13593f240ebirthday-builder-template.html"",""time"":""7:18 AM""}","99d6c326-a123-4592-84fa-5f13593f240e",email
27,"{""enabled"":false,""template"":"""",""templateType"":""""}","{""enabled"":false,""template"":"""",""templateType"":""""}","{""enabled"":false,""template"":"""",""templateType"":"""",""last_visit"":0,""time"":"""",""timezone"":""""}","{""enabled"":false,""template"":"""",""templateType"":"""",""last_visit"":0,""time"":"""",""timezone"":""""}","{""enabled"":false,""template"":""https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Html/automatedCampaigns/email/617792bc-21d0-4f0d-a96c-367f40144666birthday-builder-template.html"",""templateType"":""builder-template"",""time"":""10:00 AM"",""timezone"":""America/New_York""}","617792bc-21d0-4f0d-a96c-367f40144666",email
28,"{""enabled"":false,""template"":""https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Html/automatedCampaigns/email/d8248b2a-81d3-46e3-876d-40b7e449f2e8welcome-builder-template.html"",""templateType"":""builder-template""}","{""enabled"":false,""template"":"""",""templateType"":""""}","{""enabled"":false,""template"":"""",""templateType"":"""",""last_visit"":0,""time"":"""",""timezone"":""""}","{""enabled"":false,""template"":"""",""templateType"":"""",""last_visit"":0,""time"":"""",""timezone"":""""}","{""enabled"":false,""template"":"""",""templateType"":"""",""time"":"""",""timezone"":""""}",d8248b2a-81d3-46e3-876d-40b7e449f2e8,email
16,"{""enabled"":false,""template"":"""",""templateType"":""""}","{""enabled"":true,""template"":""https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Html/automatedCampaigns/email/b8ffc0c1-988a-40d0-abfb-da3a892f979dconfirmation-builder-template.html"",""templateType"":""builder-template""}","{""enabled"":false,""template"":"""",""templateType"":"""",""last_visit"":0,""time"":"""",""timezone"":""""}","{""enabled"":false,""template"":"""",""templateType"":"""",""last_visit"":0,""time"":"""",""timezone"":""""}","{""enabled"":true,""template"":""https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Html/automatedCampaigns/email/b8ffc0c1-988a-40d0-abfb-da3a892f979dbirthday-builder-template.html"",""templateType"":""builder-template"",""time"":""12:00 PM"",""timezone"":""America/New_York""}",b8ffc0c1-988a-40d0-abfb-da3a892f979d,email
31,"{""enabled"":false,""template"":"""",""templateType"":""""}","{""enabled"":false,""template"":"""",""templateType"":""""}","{""enabled"":false,""template"":"""",""templateType"":"""",""last_visit"":0,""time"":"""",""timezone"":""""}","{""enabled"":false,""template"":"""",""templateType"":"""",""last_visit"":0,""time"":"""",""timezone"":""""}","{""enabled"":false,""template"":""https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Html/automatedCampaigns/email/ae9e62d3-8390-4cda-b579-1d2797f95cabbirthday-builder-template.html"",""templateType"":""builder-template"",""time"":""8:00 AM"",""timezone"":""America/Chicago""}",ae9e62d3-8390-4cda-b579-1d2797f95cab,email
35,"{""enabled"":false,""template"":""https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Html/automatedCampaigns/email/011bd9ec-d347-4563-91e3-a841ce819089welcome-builder-template.html"",""templateType"":""builder-template""}","{""enabled"":false,""template"":"""",""templateType"":""""}","{""enabled"":false,""template"":""https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Html/automatedCampaigns/email/011bd9ec-d347-4563-91e3-a841ce819089recall-builder-template.html"",""templateType"":""builder-template"",""last_visit"":0,""time"":"""",""timezone"":""America/New_York""}","{""enabled"":false,""template"":"""",""templateType"":"""",""last_visit"":0,""time"":"""",""timezone"":""""}","{""enabled"":false,""template"":"""",""templateType"":"""",""time"":"""",""timezone"":""""}","011bd9ec-d347-4563-91e3-a841ce819089",email
-----------------------------------------------------------------
$ wc -l emailcampaignsprod/automated_campaign_202012202036.csv
3092 emailcampaignsprod/automated_campaign_202012202036.csv
$ cat emailcampaignsprod/automated_campaign_202012202036.csv | head -10
"id","campaign_action","settings","campaign_type","mmg_id","created_at"
2999,recall,"{""id"":2999,""enabled"":true,""email_subject"":""Get back on track!"",""template"":""https://mmg-fusion-prod.s3.amazonaws.com/Html/automatedCampaigns/email/9cfaa6a2-0d44-4119-b0ca-4fda943c53755fdce61721fe0.html"",""optout"":"""",""templateType"":""builder-template"",""time"":""7:30 AM"",""timezone"":""America/New_York"",""conditions"":[{""name"":""patient_statuses"",""is_include"":false,""list"":[""inactive""]},{""name"":""appointment_codes"",""is_include"":false,""list"":[""D1110"",""D1120"",""D4910""]}],""day_filter"":[{""exclude"":false,""day"":1,""move_to"":-1,""next_week"":true},{""exclude"":false,""day"":2,""move_to"":-1,""next_week"":true},{""exclude"":false,""day"":3,""move_to"":-1,""next_week"":true},{""exclude"":false,""day"":4,""move_to"":-1,""next_week"":true},{""exclude"":false,""day"":5,""move_to"":-1,""next_week"":true},{""exclude"":false,""day"":6,""move_to"":-1,""next_week"":true},{""exclude"":false,""day"":0,""move_to"":-1,""next_week"":true}],""campaign_name"":""Recall 360 days overdue"",""last_visit_days"":0,""send_recall"":360,""send_before_date"":false,""use_exist_date"":true,""exclude_patient_with_app"":false,""reactivate_after"":0,""recurrence"":0}",email,"9cfaa6a2-0d44-4119-b0ca-4fda943c5375",
12,confirmation,"{""enabled"": false, ""template"": """", ""templateType"": """", ""campaign_name"": ""confirmation""}",email,d8248b2a-81d3-46e3-876d-40b7e449f2e8,
2998,recall,"{""id"":2998,""enabled"":true,""email_subject"":""We Miss You. Schedule Today."",""template"":""https://mmg-fusion-prod.s3.amazonaws.com/Html/automatedCampaigns/email/9cfaa6a2-0d44-4119-b0ca-4fda943c53755fdce6141edd5.html"",""optout"":"""",""templateType"":""builder-template"",""time"":""7:30 AM"",""timezone"":""America/New_York"",""conditions"":[{""name"":""patient_statuses"",""is_include"":false,""list"":[""inactive""]},{""name"":""appointment_codes"",""is_include"":false,""list"":[""D1110"",""D1120"",""D4910""]}],""day_filter"":[{""exclude"":false,""day"":1,""move_to"":-1,""next_week"":true},{""exclude"":false,""day"":2,""move_to"":-1,""next_week"":true},{""exclude"":false,""day"":3,""move_to"":-1,""next_week"":true},{""exclude"":false,""day"":4,""move_to"":-1,""next_week"":true},{""exclude"":false,""day"":5,""move_to"":-1,""next_week"":true},{""exclude"":false,""day"":6,""move_to"":-1,""next_week"":true},{""exclude"":false,""day"":0,""move_to"":-1,""next_week"":true}],""campaign_name"":""Recall 120 days overdue"",""last_visit_days"":0,""send_recall"":120,""send_before_date"":false,""use_exist_date"":true,""exclude_patient_with_app"":false,""reactivate_after"":0,""recurrence"":0}",email,"9cfaa6a2-0d44-4119-b0ca-4fda943c5375",
5773,review,"{""id"":5773,""enabled"":true,""email_subject"":""Please share your feedback!"",""template"":""https://mmg-fusion-prod.s3.amazonaws.com/Html/automatedCampaigns/email/88c9699a-b350-4007-a61c-e1dadf223e1d5f68e6ea547df.html"",""optout"":"""",""templateType"":""builder-template"",""timezone"":""America/New_York"",""conditions"":[{""name"":""providers"",""is_include"":true,""list"":[""Matthew Marshall""]},{""name"":""patient_statuses"",""is_include"":false,""list"":[""inactive""]}],""day_filter"":null,""campaign_name"":""24Hour Google Review Request"",""send_in"":24,""frequency"":0,""links"":{""city_search"":false,""droogle"":false,""facebook"":false,""google"":true,""health_grades"":true,""insider_pages"":false,""merchant_circle"":false,""rate_mds"":false,""super_pages"":false,""vitals"":false,""yellow_pages"":false,""yelp"":false}}",email,"88c9699a-b350-4007-a61c-e1dadf223e1d",2020-09-11 00:44:02
5469,review,"{""id"":0,""enabled"":false,""email_subject"":""Please provide feeback on Google"",""template"":""https://mmg-fusion-prod.s3.amazonaws.com/Html/automatedCampaigns/email/87cdf86a-0936-4a9f-b7b4-dae994a9da4a5efd227457d27.html"",""optout"":"""",""templateType"":""builder-template"",""campaign_name"":""Google Email Request"",""conditions"":[{""name"":""patient_statuses"",""is_include"":false,""list"":[""inactive""]}],""send_in"":2,""timezone"":""America/Denver"",""links"":{""city_search"":false,""droogle"":false,""facebook"":false,""google"":true,""health_grades"":false,""insider_pages"":false,""merchant_circle"":false,""rate_mds"":false,""spafinder"":false,""super_pages"":false,""vitals"":false,""yellow_pages"":false,""yelp"":false}}",email,"87cdf86a-0936-4a9f-b7b4-dae994a9da4a",2020-06-29 14:38:39
5481,review,"{""id"":0,""enabled"":true,""email_subject"":""Please share your experience with our community"",""template"":""https://mmg-fusion-prod.s3.amazonaws.com/Html/automatedCampaigns/email/cda8c38b-877d-4ac5-aebd-ec55d80192885efe4ec55e734.html"",""optout"":"""",""templateType"":""builder-template"",""campaign_name"":""Google + Facebook Review Request"",""conditions"":[{""name"":""patient_statuses"",""is_include"":false,""list"":[""inactive""]}],""send_in"":24,""timezone"":""America/New_York"",""links"":{""city_search"":false,""droogle"":false,""facebook"":true,""google"":true,""health_grades"":false,""insider_pages"":false,""merchant_circle"":false,""rate_mds"":false,""spafinder"":false,""super_pages"":false,""vitals"":false,""yellow_pages"":false,""yelp"":false}}",email,cda8c38b-877d-4ac5-aebd-ec55d8019288,2020-06-30 17:24:17
5482,review,"{""id"":5482,""enabled"":true,""email_subject"":"""",""template"":""Hello {{.PatientFirstname}}!\r\n We welcome your feedback for {{.OfficeName}}. Please share your experience on Facebook. \r\n {{.FacebookLink}}"",""optout"":""Reply STOP to opt out"",""templateType"":"""",""timezone"":""America/Los_Angeles"",""conditions"":[{""name"":""patient_statuses"",""is_include"":false,""list"":[""inactive""]}],""day_filter"":null,""campaign_name"":""Facebook Text Review Request"",""send_in"":2,""frequency"":0,""links"":{""city_search"":false,""droogle"":false,""facebook"":true,""google"":false,""health_grades"":false,""insider_pages"":false,""merchant_circle"":false,""rate_mds"":false,""super_pages"":false,""vitals"":false,""yellow_pages"":false,""yelp"":false}}",sms,e4f19a0a-ce34-4dce-9c47-e512199aae56,2020-07-01 13:30:16
20,recall,"{""enabled"":false,""template"":"""",""templateType"":"""",""last_visit"":0,""time"":"""",""timezone"":""""}",email,d8248b2a-81d3-46e3-876d-40b7e449f2e8,
28,reactivation,"{""enabled"":false,""template"":"""",""templateType"":"""",""last_visit"":0,""time"":"""",""timezone"":""""}",email,d8248b2a-81d3-46e3-876d-40b7e449f2e8,
-----------------------------------------------------------------
$ wc -l emailcampaignsprod/campaigns_history_202012202036.csv
19200834 emailcampaignsprod/campaigns_history_202012202036.csv
$ cat emailcampaignsprod/campaigns_history_202012202036.csv | head -10
"id","campaign_type","campaign_name","sent_to","patient_id","sent_at","email_id","mmg_id","communication_type"
51942,automated,confirmation,garren@optonline.net,"470192722",2019-03-29 14:05:14,"1152921505248349628",e122edb9-5a5f-45f1-8306-4b341f8277a1,email
51951,automated,confirmation,megan.f.kinneen@gmail.com,"90093165",2019-03-29 15:00:04,"576460752945191113","83ef97b4-7e43-49bd-a7a6-84d01388f354",email
51954,automated,confirmation,fpudmcfoot@aol.com,"14001242",2019-03-29 15:00:05,"1152921505248569543","112a77af-3b2a-4b09-b473-a0eee8a658f1",email
51972,automated,confirmation,a.aguasvivas809@gmail.com,"90029426",2019-03-29 15:00:38,"576460752945195893","0da58fd4-5484-4e9d-8ab9-9a54f66f512d",email
51974,automated,confirmation,mrjeep76@yahoo.com,"24005925",2019-03-29 15:00:55,"1152921505248576535",d0707fb4-e575-4fa0-b2b6-06d38e1d6232,email
51976,automated,confirmation,laura.lamarche@yahoo.com,"42013010",2019-03-29 15:01:29,"1152921505248579309","3d8b2d72-1b1e-42b0-9abb-bad0930a7ff3",email
51979,automated,confirmation,pauld924@gmail.com,"90088096",2019-03-29 15:01:30,"1152921505248579431",f2692a2c-e9ce-4fd9-b486-bcee6d60c872,email
51981,automated,confirmation,deloiatyler@gmail.com,"90094659",2019-03-29 15:02:03,"576460752945203090","391838b9-f486-482c-95fc-d3eddf9be006",email
51982,automated,confirmation,DANLOU06@YAHOO.COM,"5042532",2019-03-29 15:02:19,"1152921505248583531","593002d4-6dcd-4b3c-b0a4-50281226b7c0",email
-----------------------------------------------------------------
$ wc -l emailcampaignsprod/campaigns_optout_202012202036.csv
104195 emailcampaignsprod/campaigns_optout_202012202036.csv
$ cat emailcampaignsprod/campaigns_optout_202012202036.csv | head -10
"id","email","patient_id","mmg_id","text","email_optout_at","text_optout_at","voice","voice_optout_at","business_id","campaign_action"
14,false,"90057134","3d36a531-7a4b-4b6d-be96-f9806affae30",true,2018-03-20 11:07:27,2018-03-20 11:07:27,false,2018-04-14 09:56:43,0,all
16,false,"90056997","3d36a531-7a4b-4b6d-be96-f9806affae30",true,2018-03-23 12:08:30,2018-03-23 12:08:30,false,2018-04-14 09:56:43,0,all
17,false,"90056760","3d36a531-7a4b-4b6d-be96-f9806affae30",true,2018-03-23 12:30:47,2018-03-23 12:30:47,false,2018-04-14 09:56:43,0,all
15,false,"90056989","3d36a531-7a4b-4b6d-be96-f9806affae30",true,2018-03-21 11:04:40,2018-03-23 14:15:54,false,2018-04-14 09:56:43,0,all
20,false,"90057811","3d36a531-7a4b-4b6d-be96-f9806affae30",true,2018-03-24 11:12:15,2018-03-24 11:12:15,false,2018-04-14 09:56:43,0,all
19,false,"90057821","3d36a531-7a4b-4b6d-be96-f9806affae30",true,2018-03-24 10:31:52,2018-03-24 12:30:14,false,2018-04-14 09:56:43,0,all
22,false,"90056998","3d36a531-7a4b-4b6d-be96-f9806affae30",true,2018-03-28 07:18:28,2018-03-28 07:18:28,false,2018-04-14 09:56:43,0,all
23,false,"90057131","3d36a531-7a4b-4b6d-be96-f9806affae30",true,2018-03-28 12:00:46,2018-03-28 12:00:46,false,2018-04-14 09:56:43,0,all
13,false,"90056439","3d36a531-7a4b-4b6d-be96-f9806affae30",true,2018-03-29 13:27:30,2018-03-29 13:27:30,false,2018-04-14 09:56:43,0,all
-----------------------------------------------------------------
$ wc -l emailcampaignsprod/campaign_recurrence_202012202036.csv
1576489 emailcampaignsprod/campaign_recurrence_202012202036.csv
$ cat emailcampaignsprod/campaign_recurrence_202012202036.csv | head -10
"id","campaign_id","campaign_type","campaign_action","timestamp","message","sent_to","recurrence","sent_at","mmg_id","patient_id","patient","status","created_at","subject"
450,5214,email,survey,1592488811417547,"
-----------------------------------------------------------------
$ wc -l emailcampaignsprod/campaign_reports_202012202036.csv
166 emailcampaignsprod/campaign_reports_202012202036.csv
$ cat emailcampaignsprod/campaign_reports_202012202036.csv | head -10
"id","created_at","sent_at","settings","report_path","mmg_id"
52,2019-08-06 13:20:32,2019-08-06 13:30:05,"{""name"":""August Special"",""stats_type"":""detail"",""campaign_type"":""Email"",""mmg_ids"":[""40e7f0ed-2d37-41b0-a5c9-d90bc9286b7e""],""campaigns"":[{""id"":1316,""name"":""August Back to School Special"",""mmg_id"":""40e7f0ed-2d37-41b0-a5c9-d90bc9286b7e""},{""id"":1329,""name"":""August Back to School Special 2"",""mmg_id"":""40e7f0ed-2d37-41b0-a5c9-d90bc9286b7e""}],""schedule_time"":""2019-08-06T13:30:00Z"",""timezone"":""America/New_York"",""emails"":[""melyndadavis2011@gmail.com""]}",https%3A%2F%2Fs3.amazonaws.com%2Fcampaign-reports-prod%2FAugust_Special_2019-08-06.csv,"40e7f0ed-2d37-41b0-a5c9-d90bc9286b7e"
5,2018-12-28 15:04:36,2018-12-28 15:30:03,"{""name"":""Moved"",""stats_type"":""total"",""campaign_type"":""Email"",""mmg_ids"":[""19dc4c37-cefd-479f-be43-9f6a9427207b""],""campaigns"":[{""id"":86,""name"":""Textable Number"",""mmg_id"":""19dc4c37-cefd-479f-be43-9f6a9427207b""},{""id"":103,""name"":""Textable Number WB"",""mmg_id"":""19dc4c37-cefd-479f-be43-9f6a9427207b""},{""id"":104,""name"":""Test"",""mmg_id"":""19dc4c37-cefd-479f-be43-9f6a9427207b""},{""id"":149,""name"":""WB FSA 2018"",""mmg_id"":""19dc4c37-cefd-479f-be43-9f6a9427207b""},{""id"":158,""name"":""We've Moved"",""mmg_id"":""19dc4c37-cefd-479f-be43-9f6a9427207b""}],""schedule_time"":""2018-12-28T12:30:00Z"",""timezone"":""America/Los_Angeles"",""emails"":[""sarah@mmgfusion.com""]}",https%3A%2F%2Fs3.amazonaws.com%2Fcampaign-reports-prod%2FMoved_2018-12-28.csv,"19dc4c37-cefd-479f-be43-9f6a9427207b"
3,2018-10-30 11:53:14,2018-10-30 13:30:06,"{""name"":""Test Report"",""stats_type"":""detail"",""campaign_type"":""Email"",""mmg_ids"":[""19dc4c37-cefd-479f-be43-9f6a9427207b""],""campaigns"":[{""id"":86,""name"":""Textable Number"",""mmg_id"":""19dc4c37-cefd-479f-be43-9f6a9427207b""},{""id"":103,""name"":""Textable Number WB"",""mmg_id"":""19dc4c37-cefd-479f-be43-9f6a9427207b""},{""id"":104,""name"":""Test"",""mmg_id"":""19dc4c37-cefd-479f-be43-9f6a9427207b""}],""schedule_time"":""2018-10-30T10:30:00Z"",""timezone"":""America/Los_Angeles"",""emails"":[""sarah@mmgfusion.com""]}",https%3A%2F%2Fs3.amazonaws.com%2Fcampaign-reports-prod%2FTest_Report_2018-10-30.csv,"19dc4c37-cefd-479f-be43-9f6a9427207b"
4,2018-12-20 14:41:41,2018-12-20 15:00:03,"{""name"":""Campaign"",""stats_type"":""detail"",""campaign_type"":""Email"",""mmg_ids"":[""1c75308d-1b0d-402d-bc5b-107014995c3f""],""campaigns"":[{""id"":105,""name"":""Geary Textable"",""mmg_id"":""1c75308d-1b0d-402d-bc5b-107014995c3f""},{""id"":144,""name"":""Geary FSA 2018"",""mmg_id"":""1c75308d-1b0d-402d-bc5b-107014995c3f""}],""schedule_time"":""2018-12-20T12:00:00Z"",""timezone"":""America/Los_Angeles"",""emails"":[""sarah@mmgfusion.com""]}",https%3A%2F%2Fs3.amazonaws.com%2Fcampaign-reports-prod%2FCampaign_2018-12-20.csv,"1c75308d-1b0d-402d-bc5b-107014995c3f"
57,2019-08-12 09:36:06,2019-08-12 10:01:17,"{""name"":""Hydrating Facial 8/12 Report"",""stats_type"":""detail"",""campaign_type"":""Email"",""mmg_ids"":[""40e7f0ed-2d37-41b0-a5c9-d90bc9286b7e""],""campaigns"":[{""id"":1366,""name"":""Hydrating facial rebuilt 20-35"",""mmg_id"":""40e7f0ed-2d37-41b0-a5c9-d90bc9286b7e""},{""id"":1374,""name"":""Hydrating facial rebuilt 36-60"",""mmg_id"":""40e7f0ed-2d37-41b0-a5c9-d90bc9286b7e""},{""id"":1377,""name"":""Hydrating facial rebuilt 61-100"",""mmg_id"":""40e7f0ed-2d37-41b0-a5c9-d90bc9286b7e""}],""schedule_time"":""2019-08-12T10:00:00Z"",""timezone"":""America/New_York"",""emails"":[""melynda@mmgfusion.com""]}",https%3A%2F%2Fs3.amazonaws.com%2Fcampaign-reports-prod%2FHydrating_Facial_8%2F12_Report_2019-08-12.csv,"40e7f0ed-2d37-41b0-a5c9-d90bc9286b7e"
170,2020-06-30 13:53:45,2020-06-30 14:00:07,"{""name"":""Smile Virtual Current Patients"",""stats_type"":""detail"",""campaign_type"":""Email"",""mmg_ids"":[""e122edb9-5a5f-45f1-8306-4b341f8277a1""],""campaigns"":[{""id"":5330,""name"":""Smile Virtual Current Patients [All Pts]"",""mmg_id"":""e122edb9-5a5f-45f1-8306-4b341f8277a1""}],""schedule_time"":""2020-06-30T14:00:00Z"",""timezone"":""America/New_York"",""emails"":[""bakerk.dcs@gmail.com""]}",https%3A%2F%2Fs3.amazonaws.com%2Fcampaign-reports-prod%2FSmile_Virtual_Current_Patients_2020-06-30.csv,e122edb9-5a5f-45f1-8306-4b341f8277a1
82,2019-09-18 05:50:55,2019-09-18 06:02:00,"{""name"":""All - Introducing Dr. Griffith - Total"",""stats_type"":""total"",""campaign_type"":""Email"",""mmg_ids"":[""7abecbfb-454a-4047-bef8-c83616b6ff50"",""11ff8c8f-9ef4-4a98-8b70-b6c2cd75f144""],""campaigns"":[{""id"":1471,""name"":""Introducing Dr. Griffith"",""mmg_id"":""7abecbfb-454a-4047-bef8-c83616b6ff50""},{""id"":1474,""name"":""Introducing Dr. Griffith"",""mmg_id"":""11ff8c8f-9ef4-4a98-8b70-b6c2cd75f144""},{""id"":1476,""name"":""Introducing Dr. Griffith 2"",""mmg_id"":""7abecbfb-454a-4047-bef8-c83616b6ff50""},{""id"":1478,""name"":""Introducing Dr. Griffith 3"",""mmg_id"":""11ff8c8f-9ef4-4a98-8b70-b6c2cd75f144""},{""id"":1479,""name"":""Introducing Dr. Griffith 2"",""mmg_id"":""11ff8c8f-9ef4-4a98-8b70-b6c2cd75f144""},{""id"":1480,""name"":""Introducing Dr. Griffith 4"",""mmg_id"":""11ff8c8f-9ef4-4a98-8b70-b6c2cd75f144""},{""id"":1481,""name"":""Introducing Dr. Griffith 5"",""mmg_id"":""11ff8c8f-9ef4-4a98-8b70-b6c2cd75f144""},{""id"":1482,""name"":""Introducing Dr. Griffith 6"",""mmg_id"":""11ff8c8f-9ef4-4a98-8b70-b6c2cd75f144""}],""schedule_time"":""2019-09-18T05:00:00Z"",""timezone"":""America/Chicago"",""emails"":[""Karolyn@mmgfusion.com""]}",https%3A%2F%2Fs3.amazonaws.com%2Fcampaign-reports-prod%2FAll_-_Introducing_Dr._Griffith_-_Total_2019-09-18.csv,"7abecbfb-454a-4047-bef8-c83616b6ff50"
68,2019-08-21 08:29:00,2019-08-21 08:30:04,"{""name"":""Katy - GMS Dental Rebranding Totals"",""stats_type"":""total"",""campaign_type"":""Email"",""mmg_ids"":[""90c472ef-2474-49c7-b1ad-7ea90d2d4768""],""campaigns"":[{""id"":1391,""name"":""GMS Dental Rebranding"",""mmg_id"":""90c472ef-2474-49c7-b1ad-7ea90d2d4768""}],""schedule_time"":""2019-08-21T07:30:00Z"",""timezone"":""America/Chicago"",""emails"":[""Karolyn@mmgfusion.com""]}",https%3A%2F%2Fs3.amazonaws.com%2Fcampaign-reports-prod%2FKaty_-_GMS_Dental_Rebranding_Totals_2019-08-21.csv,"90c472ef-2474-49c7-b1ad-7ea90d2d4768"
85,2019-09-19 14:03:44,2019-09-19 14:30:02,"{""name"":""You are due for your next appointment"",""stats_type"":""detail"",""campaign_type"":""Email"",""mmg_ids"":[""88bc9f79-5986-42c2-b9c7-ad0179bae71f""],""campaigns"":[{""id"":1488,""name"":""You are due for your next appointment"",""mmg_id"":""88bc9f79-5986-42c2-b9c7-ad0179bae71f""}],""schedule_time"":""2019-09-19T14:30:00Z"",""timezone"":""America/New_York"",""emails"":[""allana@drrever.com""]}",https%3A%2F%2Fs3.amazonaws.com%2Fcampaign-reports-prod%2FYou_are_due_for_your_next_appointment_2019-09-19.csv,"88bc9f79-5986-42c2-b9c7-ad0179bae71f"
-----------------------------------------------------------------
$ wc -l emailcampaignsprod/manual_campaigns_202012202036.csv
4600 emailcampaignsprod/manual_campaigns_202012202036.csv
$ cat emailcampaignsprod/manual_campaigns_202012202036.csv | head -10
"id","mmg_id","type","settings","options","created_at"
5195,"00f26251-8dad-4688-b660-587b94e00b3b",email,"{""status"": ""sent"", ""template"": ""https://mmg-fusion-prod.s3.us-east-1.amazonaws.com/Html/manualCampaigns/email/00f26251-8dad-4688-b660-587b94e00b3b5ee98d3855adf.html"", ""timezone"": ""America/Los_Angeles"", ""templateType"": ""builder-template"", ""campaign_name"": ""Reopening 06/16/2020"", ""email_subject"": ""Our office is reopening! Important Message from Thomas J Chess."", ""schedule_campaign"": ""2020-06-17T08:00""}","{""age_range"":{""from"":0,""to"":0},""contact_status"":""all"",""last_visit_range"":{""from"":"""",""to"":""""},""contact_range"":{""from"":"""",""to"":""""},""zip_code"":"""",""is_imported"":false,""patient_ids"":null,""patients"":null,""conditions"":[{""name"":""patient_statuses"",""is_include"":false,""list"":[""inactive""]}],""exclude_duplicates"":true}",2020-06-17 03:29:40
1993,fcd4c1fe-6eb2-4779-aab0-61edbea26621,email,"{""status"": ""sent"", ""template"": ""https://mmg-fusion-prod.s3.us-east-1.amazonaws.com/Html/manualCampaigns/email/fcd4c1fe-6eb2-4779-aab0-61edbea266215dd2cd0f03687.html"", ""timezone"": ""America/New_York"", ""templateType"": ""builder-template"", ""campaign_name"": ""OneHygieneVisit2019"", ""email_subject"": ""Time to schedule your cleaning"", ""schedule_campaign"": ""2019-11-19T11:00""}","{""age_range"":{""from"":0,""to"":0},""contact_status"":"""",""last_visit_range"":{""from"":"""",""to"":""""},""contact_range"":{""from"":"""",""to"":""""},""zip_code"":"""",""is_imported"":true,""patient_ids"":[""90120075"",""90122989"",""90124150"",""90123385"",""53000759"",""90119685"",""90121402"",""90121110"",""90121221"",""90123810"",""90123809"",""53005534"",""53006787"",""53010846"",""53000268"",""53004472"",""53004442"",""53002388"",""90095838"",""53004600"",""90116403"",""90070865"",""53010572"",""53009083"",""53005476"",""90091632"",""53009063"",""53001123"",""53001599"",""90091350"",""53000991"",""53010352"",""90068415"",""53007410"",""53001116"",""53002166"",""53009585"",""90090586"",""90116406"",""53003512"",""53010832"",""53008550"",""53007353"",""53007321"",""90112870"",""53000732"",""53003663"",""53004885"",""53010035"",""53000611"",""90097930"",""53007933"",""53006071"",""53006025"",""53010839"",""90099786"",""53006648"",""90096919"",""90114851"",""53003211"",""90097797"",""90114853"",""53007658"",""53004338"",""90086441"",""53010804"",""53005508"",""90093021"",""53001904"",""53005088"",""90070418"",""90082905"",""53002470"",""53006418"",""53004466"",""53009538"",""53010703"",""53006502"",""53007981"",""53010309"",""90114191"",""53000145"",""53008924"",""53001777"",""53003380"",""90071501"",""53010370"",""53002525"",""53001573"",""53003892"",""53010533"",""90118624"",""53008581"",""53010307"",""90100746"",""53003621"",""53006346"",""53010314"",""90067247"",""53002576"",""53001399"",""53008190"",""53005419"",""53010864"",""90088434"",""53002776"",""53010308"",""53006481"",""53008050"",""53006252"",""53003388"",""90119467"",""53009907"",""53008051"",""53008274"",""53008256"",""53002797"",""53010066"",""53000443"",""53007119"",""53001363"",""53010506"",""53009775"",""53009745"",""53001243"",""53010454"",""53006730"",""53010659"",""53010604"",""53010067"",""53008432"",""53000148"",""53005584"",""53000345"",""53009368"",""53000064"",""53008985"",""53001426"",""53009791"",""53002157"",""53010700"",""53009386"",""90071326"",""53006503"",""53006153"",""53001732"",""53009052"",""53007950"",""53007291"",""53005709"",""53010945"",""53005366"",""53010801"",""53008384"",""53009276"",""53002165"",""53009933"",""53010759"",""53005358"",""53010147"",""53008659"",""53002673"",""90111796"",""53006073"",""53009513"",""53004905"",""53004931"",""53004322"",""53010681"",""53007947"",""53010186"",""90070419"",""53008851"",""53004739"",""53008352"",""53006646"",""53007835"",""90115812"",""90099847"",""53005442"",""90092734"",""53001662"",""53009085"",""53010148"",""53009150"",""53009177"",""53008460"",""53001431"",""53004740"",""90076503"",""53009383"",""53010517"",""53008700"",""53008699"",""53005421"",""53010002"",""53008422"",""53007824"",""90087627"",""53001437"",""90116401"",""53005485"",""53010925"",""53010267"",""53006345"",""53006739"",""53000316"",""53002076"",""53005089"",""53007785"",""53008801"",""53008451"",""53008060"",""53006943"",""90103095"",""53010394"",""53004417"",""53002772"",""53008394"",""53010485"",""53008644"",""53004836"",""53009459"",""53005587"",""53005086"",""53010934"",""53010570"",""53008858"",""53003320"",""53009584"",""53007951"",""53005375"",""53009272"",""53010243"",""53004494"",""53008112"",""53001474"",""90085117"",""53010277"",""53007628"",""53008986"",""53008608"",""90097807"",""53010103"",""53007438"",""90074075"",""53005884"",""53009932"",""53009705"",""53010805"",""53010119"",""53008586"",""53009448"",""53008595"",""53009808"",""53005221"",""53010631"",""53010419"",""53006332"",""53010141"",""53002219"",""53006154"",""53001044"",""53001741"",""90085176"",""53006149"",""53009210"",""53010674"",""53008245"",""53007972"",""53006892"",""53001756"",""53007702"",""53006417"",""53009145"",""53002173"",""53001905"",""90075139"",""53000685"",""53009777"",""53006227"",""53001168"",""53008580"",""53005227"",""53002725"",""53010689"",""53003658"",""90115208"",""53009175"",""53006537"",""53010948"",""53001768"",""53004837"",""53007682"",""53004766"",""53007022"",""53008839"",""53003955"",""53008902"",""90087246"",""53006480"",""53010793"",""53001362"",""53004481"",""53002061"",""53006685"",""53009599"",""53010528"",""53009784"",""53008457"",""53010642"",""90075143"",""53010884"",""53005298"",""53006344"",""53009407"",""53009600"",""90089508"",""90119393"",""53008973"",""53009077"",""53005463""],""patients"":[],""conditions"":null,""exclude_duplicates"":false}",2019-11-19 11:00:00
2645,fbd4c84b-9563-4f88-b87d-fb69e646cd8e,email,"{""status"": ""sent"", ""template"": ""https://mmg-fusion-prod.s3.us-east-1.amazonaws.com/Html/manualCampaigns/email/fbd4c84b-9563-4f88-b87d-fb69e646cd8e5e613cfec4b84.html"", ""timezone"": ""America/New_York"", ""templateType"": ""builder-template"", ""campaign_name"": ""New Website"", ""email_subject"": ""New Website Alert"", ""schedule_campaign"": ""2020-03-05T12:55""}","{""age_range"":{""from"":0,""to"":0},""contact_status"":""all"",""last_visit_range"":{""from"":"""",""to"":""""},""contact_range"":{""from"":"""",""to"":""""},""zip_code"":"""",""is_imported"":false,""patient_ids"":null,""patients"":null,""conditions"":[],""exclude_duplicates"":false}",2020-03-05 12:55:00
5522,"90c472ef-2474-49c7-b1ad-7ea90d2d4768",email,"{""campaign_name"":""Dr. Mo"",""schedule_campaign"":"""",""status"":""draft"",""timezone"":""America/Chicago"",""email_subject"":""Introducing Dr. Mohamed Mostafa!"",""template"":""https://mmg-fusion-prod.s3.amazonaws.com/Html/manualCampaigns/email/90c472ef-2474-49c7-b1ad-7ea90d2d47685f2d76cc45582.html"",""templateType"":""builder-template"",""optout"":""""}","{""age_range"":{""from"":0,""to"":0},""contact_status"":""all"",""last_visit_range"":{""from"":"""",""to"":""""},""contact_range"":{""from"":"""",""to"":""""},""zip_code"":"""",""is_imported"":false,""patient_ids"":null,""patients"":null,""conditions"":[{""name"":""patient_statuses"",""is_include"":false,""list"":[""inactive""]}],""exclude_duplicates"":false}",2020-08-07 15:46:10
87,"9fd6ccb2-1d26-42f3-a226-c28cf773eb5f",email,"{""status"": ""draft"", ""template"": ""https://mmg-fusion-prod.s3.us-east-1.amazonaws.com/Html/manualCampaigns/email/9fd6ccb2-1d26-42f3-a226-c28cf773eb5f5bc8aa6e22dc2.html"", ""timezone"": ""America/Edmonton"", ""templateType"": ""builder-template"", ""campaign_name"": ""Test"", ""email_subject"": ""Test"", ""schedule_campaign"": """"}","{""age_range"":{""from"":0,""to"":0},""recall_status"":""appts"",""last_visit_range"":{""from"":"""",""to"":""""},""zip_code"":"""",""is_imported"":false,""patient_ids"":null,""patients"":null,""day_filter"":{""monday"":false,""tuesday"":false,""wednesday"":false,""thursday"":false,""friday"":false,""saturday"":false,""sunday"":false}}",2020-03-12 10:09:58
4594,"5c97d701-fd50-41c2-b667-a65581f217cb",email,"{""status"": ""sent"", ""template"": ""https://mmg-fusion-prod.s3.us-east-1.amazonaws.com/Html/manualCampaigns/email/5c97d701-fd50-41c2-b667-a65581f217cb5eb01e5e78b85.html"", ""timezone"": ""America/Chicago"", ""templateType"": ""builder-template"", ""campaign_name"": ""Coronavirus - Office still Closed"", ""email_subject"": ""Office Closed"", ""schedule_campaign"": ""2020-05-04T10:30""}","{""age_range"":{""from"":0,""to"":0},""contact_status"":""appts"",""last_visit_range"":{""from"":"""",""to"":""""},""contact_range"":{""from"":""2020-05-04"",""to"":""2020-05-31""},""zip_code"":"""",""is_imported"":false,""patient_ids"":null,""patients"":null,""conditions"":[{""name"":""patient_statuses"",""is_include"":false,""list"":[""inactive""]}],""exclude_duplicates"":false}",2020-05-04 13:51:32
3544,fe228718-d4d4-492b-b52b-8d1cdf5be1b5,sms,"{""optout"": ""Reply \""U\"" to Unsubscribe."", ""status"": ""sent"", ""template"": ""{{.PatientFirstname}}, due to the county wide medical shut down, our office will be closed. A member of our team will contact you to reschedule. If there is an ortho. emergency please call the office at 610-622-4400.\r\nDr. Anthony Cook"", ""timezone"": ""America/New_York"", ""campaign_name"": ""Office Medical shut down wk 4"", ""schedule_campaign"": ""2020-03-30T12:00""}","{""age_range"":{""from"":0,""to"":0},""contact_status"":""appts"",""last_visit_range"":{""from"":"""",""to"":""""},""contact_range"":{""from"":""2020-04-06"",""to"":""2020-04-10""},""zip_code"":"""",""is_imported"":false,""patient_ids"":null,""patients"":null,""conditions"":[{""name"":""patient_statuses"",""is_include"":false,""list"":[""inactive""]}],""exclude_duplicates"":true}",2020-03-30 15:20:44
3144,"70e6ac7b-2ee3-4f86-97e2-329fda873078",email,"{""status"": ""sent"", ""template"": ""https://mmg-fusion-prod.s3.us-east-1.amazonaws.com/Html/manualCampaigns/email/70e6ac7b-2ee3-4f86-97e2-329fda8730785e72ad0723cd1.html"", ""timezone"": ""America/Los_Angeles"", ""templateType"": ""builder-template"", ""campaign_name"": ""Coronavirus - Office Closed"", ""email_subject"": ""Our Office is Closed"", ""schedule_campaign"": ""2020-03-19T09:00""}","{""age_range"":{""from"":0,""to"":0},""contact_status"":""all"",""last_visit_range"":{""from"":"""",""to"":""""},""contact_range"":{""from"":"""",""to"":""""},""zip_code"":"""",""is_imported"":false,""patient_ids"":null,""patients"":null,""conditions"":[{""name"":""patient_statuses"",""is_include"":false,""list"":[""inactive""]}],""exclude_duplicates"":false}",2020-03-18 23:22:25
3395,"60e0cd4f-02c6-40ac-9c1f-196187fc4b34",sms,"{""optout"": """", ""status"": ""sent"", ""template"": ""Please disregard any appointment reminders you have received. The dental office will be closed until at least April 3rd. Emergency contact info is on the answering machine. \r\n Thank you and my apologies for the reminders.\r\nDr Line"", ""timezone"": ""America/Chicago"", ""campaign_name"": ""Spring Hill Dental Care Closure"", ""schedule_campaign"": ""2020-03-22T11:00""}","{""age_range"":{""from"":0,""to"":0},""contact_status"":""appts"",""last_visit_range"":{""from"":"""",""to"":""""},""contact_range"":{""from"":""2020-03-23"",""to"":""2020-04-10""},""zip_code"":"""",""is_imported"":false,""patient_ids"":null,""patients"":null,""conditions"":[{""name"":""patient_statuses"",""is_include"":false,""list"":[""inactive""]}],""exclude_duplicates"":true}",2020-03-22 14:14:42
-----------------------------------------------------------------
$ wc -l emailcampaignsprod/migration_versions_202012202036.csv
27 emailcampaignsprod/migration_versions_202012202036.csv
$ cat emailcampaignsprod/migration_versions_202012202036.csv | head -10
"version"
"20171204144846"
"20171225152752"
"20171226151511"
"20171228103252"
"20180108164544"
"20180109075206"
"20180124120425"
"20180131104525"
"20180219082926"
-----------------------------------------------------------------
$ wc -l emailcampaignsprod/multiloc_campaigns_files_202012202036.csv
55 emailcampaignsprod/multiloc_campaigns_files_202012202036.csv
$ cat emailcampaignsprod/multiloc_campaigns_files_202012202036.csv | head -10
"id","business_id","name","type","upload_date","link","is_propagated"
344,1,"2020 NI GH Insurance Alert",email,2020-10-12 14:55:51,https://mmg-fusion-prod.s3.amazonaws.com/Text/campaignImport/521/3d36a531-7a4b-4b6d-be96-f9806affae305f84a6b6ba20a.txt,true
317,1,We'll Make Your First Braces Payment,email,2020-08-14 11:46:14,https://mmg-fusion-prod.s3.amazonaws.com/Text/campaignImport/521/3d36a531-7a4b-4b6d-be96-f9806affae305f36b1c582c88.txt,true
377,925,PDA - Halloween Recall,email,2020-10-28 19:21:16,https://mmg-fusion-prod.s3.amazonaws.com/Text/campaignImport/1907/2a6dcec4-441c-403c-8336-b35fd2f7743e5f99fcebba190.txt,true
347,1,"2020 NI Affiliate IA",email,2020-10-12 15:02:05,https://mmg-fusion-prod.s3.amazonaws.com/Text/campaignImport/521/3d36a531-7a4b-4b6d-be96-f9806affae305f84a82bd6177.txt,true
437,1,"12042020 Newbury ",email,2020-12-04 13:03:48,https://mmg-fusion-prod.s3.amazonaws.com/Text/campaignImport/521/3d36a531-7a4b-4b6d-be96-f9806affae305fca7a03c6937.txt,true
321,1,Invisalgn Email,email,2020-08-18 16:19:12,https://mmg-fusion-prod.s3.amazonaws.com/Text/campaignImport/521/3d36a531-7a4b-4b6d-be96-f9806affae305f3c37bf82a4b.txt,true
438,718,"3488a33a-7e37-44c8-bb05-e5023b9d6d375fdd2a9d17f9b.txt",email,2020-12-18 17:18:05,https://mmg-fusion-prod.s3.amazonaws.com/Text/campaignImport/1672/3488a33a-7e37-44c8-bb05-e5023b9d6d375fdd2a9d17f9b.txt,false
324,1,Dynamic Dental,email,2020-08-19 19:26:25,https://mmg-fusion-prod.s3.amazonaws.com/Text/campaignImport/521/3d36a531-7a4b-4b6d-be96-f9806affae305f3db520cd7ce.txt,true
337,1,"2020 GD Insurance Alert",email,2020-10-07 16:06:19,https://mmg-fusion-prod.s3.amazonaws.com/Text/campaignImport/521/3d36a531-7a4b-4b6d-be96-f9806affae305f7e1fba5f82d.txt,true
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/accounts_api_settings_202012201753.csv
66 mmg-dashboard-prod/accounts_api_settings_202012201753.csv
$ cat mmg-dashboard-prod/accounts_api_settings_202012201753.csv | head -10
"id","user_id","monkey_token","sf_login","sf_password","sf_token","created_date","updated_date"
2,16,,,,,2016-04-27 14:20:52,2016-04-27 14:20:52
3,15,,,,,2016-04-27 14:21:09,2016-04-27 14:21:09
4,14,,,,,2016-04-27 14:21:20,2016-04-27 14:21:20
5,10,,,,,2016-04-27 14:21:28,2016-04-27 14:21:28
6,8,,,,,2016-04-27 14:21:43,2016-04-27 14:21:43
7,25,,,,,2016-05-05 14:55:08,2016-05-05 14:55:08
8,26,,,,,2016-05-10 12:59:58,2016-05-10 12:59:58
9,44,,,,,2016-06-13 16:11:10,2016-06-13 16:11:10
10,42,,,,,2016-06-13 16:11:26,2016-06-13 16:11:26
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/admin_roles_202012201753.csv
3 mmg-dashboard-prod/admin_roles_202012201753.csv
$ cat mmg-dashboard-prod/admin_roles_202012201753.csv | head -10
"id","admin_role_name","permissions","created_date"
1,MMG Admin,"[""admin_users"",""notifications"",""accounts"",""password_settings"",""add_business"",""removed_negatives"",""verified_listings"",""content_library"",""reset_password"",""email_templates""]",2016-04-19 16:16:27
2,CF Manager,"{""5"":""verified_listings""}",2016-04-26 13:52:49
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/am_appoint_settings_202012201753.csv
1780 mmg-dashboard-prod/am_appoint_settings_202012201753.csv
$ cat mmg-dashboard-prod/am_appoint_settings_202012201753.csv | head -10
"id","business_id","created_date","appointment_platform_key"
1,1,2016-03-03 09:24:50,
72,119,2017-02-24 13:55:26,
74,127,2017-03-16 13:40:37,
75,129,2017-03-21 14:48:56,
6,8,2016-04-08 12:51:32,
7,9,2016-04-08 14:53:13,
8,24,2016-04-27 10:04:30,
11,27,2016-04-27 13:41:03,
13,30,2016-05-12 13:23:41,
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/authorize_image_post_202012201753.csv
43 mmg-dashboard-prod/authorize_image_post_202012201753.csv
$ cat mmg-dashboard-prod/authorize_image_post_202012201753.csv | head -10
"id","social_media_post_id","send_email","name","email","phone","date_created"
1,916,false,tedy,fff@fff.com,"111-111-1111",2017-02-16 06:44:12
2,919,true,test,test@test.com,"111-111-1111",2017-02-16 07:05:17
3,931,true,Test,Test@test.com,"111-111-1111",2017-02-16 08:05:12
4,937,false,Name,Greg@dhksabci.com,"111-111-1111",2017-02-17 08:00:24
5,938,true,rr,de@1.ru,"111-111-1111",2017-02-17 09:23:28
6,940,true,Brigitte,Brigitte@consumerfusion.com,"858-201-8705",2017-02-18 00:52:38
7,944,true,rr,rr@m.kr,"111-111-1111",2017-02-19 13:39:51
8,945,true,r,r,r,2017-02-19 15:23:01
9,946,true,wee,dd@ss.ry,"111-111-2222",2017-02-20 08:06:05
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/billing_packages_202012201753.csv
44 mmg-dashboard-prod/billing_packages_202012201753.csv
$ cat mmg-dashboard-prod/billing_packages_202012201753.csv | head -10
"id","name","is_my_local_directories","is_review_summary","is_review_tool_stats","is_completed_surveys","is_negative_reviews","is_enabled","is_social_media","is_schedule_post","is_email_marketing","is_appointments","created_date","updated_date","section_uniq_mask","is_text_patients","is_marketing_tracker","is_email_reminders","is_text_reminders","is_phone_reminders","is_automated_campaigns","is_chair_fill","is_call_analisys_iframe"
29,V2 All Features,true,true,true,true,true,false,true,true,true,true,2018-04-30 23:12:33,2019-08-19 05:41:14,"11111110111111111",true,true,true,true,true,true,false,true
26,Patient Engagement V2,false,false,false,false,false,false,false,false,true,true,2018-04-30 23:06:33,2019-08-19 05:41:14,"00000000111011110",true,false,true,true,true,true,false,false
40,Agency BP AppPlatf CA iFrame,false,false,false,false,false,false,false,false,false,true,2018-07-31 10:48:51,2019-08-19 05:41:14,"00000000011111111",true,true,true,true,true,true,false,true
20,Test BP AppPlatf,false,true,true,true,true,false,true,true,true,true,2017-12-20 09:19:52,2019-08-19 05:41:14,"01111110111111110",true,true,true,true,true,true,false,false
33,Test ChairFill,true,true,true,true,true,false,true,true,true,true,2018-05-10 08:34:50,2019-08-19 05:41:14,"11111111111100010",true,true,false,false,false,true,true,false
14,V2 PE MLD RM adv MT,true,true,true,true,true,true,false,false,false,true,2017-05-08 11:36:17,2019-08-19 05:41:14,"11111000011111110",true,true,true,true,true,true,false,false
28,V2 Patient Engagement,false,false,false,false,false,true,false,false,true,true,2018-04-30 23:12:17,2019-08-19 05:41:14,"00000000111011110",true,false,true,true,true,true,false,false
24,Ralph Test Package,false,false,false,false,false,false,false,false,true,true,2018-02-21 14:50:33,2019-08-19 05:41:14,"00000000111111110",true,true,true,true,true,true,false,false
34,Test ChairFill,true,true,true,true,true,false,true,true,true,true,2018-05-10 08:40:04,2019-08-19 05:41:14,"11111111111100010",true,true,false,false,false,true,true,false
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_202012201753.csv
3584 mmg-dashboard-prod/business_202012201753.csv
$ cat mmg-dashboard-prod/business_202012201753.csv | head -10
"id","billing_package_id","date_created","business_name","country","state","city","postal_code","address_one","address_two","phone","description","business_lng","business_lat","date_disabled","timezone","is_deleted","accessory_type","display_address","hide_address","local_phone","alternate_phone","fax_phone","mobile_phone","toll_free_phone","tty_phone","is_phone_tracked","featured_message","featured_message_url","payment_methods","youtube_video_url","facebook_page_url","twitter_handle","instagram_handle","year_established","specify_business_hours","additional_hours_text","yext_folder_id","google_preferred_photo","is_service_area","service_area_radius","service_area_unit","service_area_places","service_area_type","date_updated","is_yext_update","yext_error","google_my_business_account","is_patient_chat"
1473,,2019-04-01 11:08:53,Reichheld Ting Orthodontics - North Billerica - Dr. Brian DELETE THIS ACCOUNT OFFICE CANCELED SERVIC,US,MA,North Billerica,"01862","305 Boston Road",,(978) 670-5900,,-71.2780943,42.5707737,2019-05-22 13:52:41,America/New_York,true,mmg,,false,,,,,,,false,,,[],,,,,,true,,"0",,false,,,[],,2019-05-22 13:52:50,false,,,true
1289,,2018-12-06 11:30:49,Westover Dentistry - Please delete this account,US,VA,Arlington,"22205","5730 Washington Boulevard",,(703) 241-0678,,-77.1367765,38.8829342,2019-05-14 11:53:09,America/New_York,true,mmg,,false,,,,,,,false,,,[],,,,,,true,,"0",,false,,,[],,2019-05-15 14:09:18,false,,,true
1486,,2019-04-16 12:36:58,"Southern Connecticut Dental Group, Southbury",US,CT,Southbury,"06488","30 Quaker Farms Rd.",,(203) 264-4351,,-73.161229,41.462781,2019-04-16 13:29:24,America/New_York,true,mmg,,false,,,(203) 264-8751,,,,false,,,[],,,,,,false,,"0",,false,,,[],,2019-04-16 13:29:29,false,,,true
1236,,2018-11-08 12:53:15,Christopher G. Stuzynski DDS,US,MD,Cockeysville,"21030","111 Warren Rd. Suite 1-A",,(410) 666-8383,,-76.6368062,39.4742822,2019-02-21 09:15:56,America/New_York,true,mmg,,false,,,,,,,false,,,[],,,,,,true,,"0",,false,,,[],,2019-03-08 11:50:10,false,,,true
1489,,2019-04-16 13:46:22,"Southern Connecticut Dental Group, Ansonia",US,CT,Ansonia,"06401","497 Main Street",,(203) 735-4701,,-73.0761403,41.3373817,2019-04-18 10:43:17,America/New_York,true,mmg,,false,,,,,,,false,,,[],,,,,,true,,"0",,false,,,[],,2019-04-18 10:43:23,false,,,true
1744,28,2019-10-28 15:31:15,"7th Street Dental",US,OR,Prineville,"97754","302 NE 7th Street",,(541) 447-7000,,-120.8445852,44.3064857,,America/Los_Angeles,false,mmg,,false,,,,,,,false,,,[],,,,,,true,,"0",,false,,,[],,2019-10-29 15:22:04,false,,,true
1573,28,2019-06-19 15:44:39,"Kenneth Noble, DDS",US,OK,Oklahoma City,"73170","12324 South Western Ave.",,(405) 703-2248,,-97.5292022,35.3447205,,America/Chicago,false,mmg,,false,,,,,,,false,,,[],,,,,,true,,"0",,false,,,[],,2019-07-03 08:44:57,false,,,true
1482,28,2019-04-09 12:02:53,Salvatore A. Romeo DDS PC,US,NY,Massapequa,"11758","4170 Sunrise Hwy.",,(516) 541-5515,,-73.4791955,40.6750312,2020-12-03 02:35:36,America/New_York,false,mmg,,false,,,,,,,false,,,[],,,,,,true,,"0",,false,,,[],,2020-12-03 02:35:36,false,,,true
1246,,2018-11-26 16:24:35,Great Smile Dental - Please delete this account,US,FL,Port Saint Lucie,"34984","155 SW Port Saint Lucie Boulevard",,(772) 249-2755,,-80.3462907,27.2742223,2019-05-14 11:46:59,America/New_York,true,mmg,,false,,,,,,,false,,,[],,,,,,true,,"0",,false,,,[],,2019-05-15 14:09:02,false,,,true
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_alerts_202012201753.csv
2791 mmg-dashboard-prod/business_alerts_202012201753.csv
$ cat mmg-dashboard-prod/business_alerts_202012201753.csv | head -10
"id","business","new_survey","new_removed_negatives","new_report","review_update"
105,,false,false,false,true
107,348,true,true,false,true
109,,false,false,false,true
111,,false,false,false,true
113,78,true,true,false,true
36,139,true,true,false,true
115,,false,false,false,true
117,,false,false,false,true
119,,false,false,false,true
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_alerts_emails_202012201753.csv
560 mmg-dashboard-prod/business_alerts_emails_202012201753.csv
$ cat mmg-dashboard-prod/business_alerts_emails_202012201753.csv | head -10
"id","business_alerts_id","email","type"
2,2,mnmbrush@gmail.com,notification
3358,2677,sharon@alabamaperiodontics.com,notification
4,3,fiziregu@top1post.ru,notification
3366,2704,drjeff@singerorthodontics.com,notification
3367,2704,kape@singer-orthodontics.com,notification
7,6,lconcepcion@mysagedental.com,notification
8,6,rlongo@mysagedental.com,notification
9,7,gmendez@mysagedental.com,notification
10,7,rlongo@mysagedental.com,notification
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_api_settings_202012201753.csv
2204 mmg-dashboard-prod/business_api_settings_202012201753.csv
$ cat mmg-dashboard-prod/business_api_settings_202012201753.csv | head -10
"id","business_id","sf_account_id","sf_last_id","created_date","updated_date","cron_date_sf","google_id","yext_id","google_place_id"
450,463,,,2017-11-16 01:37:13,2019-03-06 17:03:23,2019-03-05 16:15:03,,,
709,744,,,2018-06-05 12:39:38,2019-01-31 13:25:50,,,,
698,733,,,2018-05-29 09:44:15,2019-01-21 17:15:34,,,,
1174,1228,,,2018-10-30 09:43:57,2018-10-30 09:43:57,,,,
592,621,,,2018-05-02 13:24:54,2018-07-17 21:10:36,,,,
422,420,,,2017-10-20 14:15:06,2019-02-14 04:44:41,2019-02-13 15:00:03,,,
454,467,,,2017-11-20 03:18:01,2019-02-14 05:58:17,2019-02-13 15:05:04,,,
606,635,,,2018-05-03 10:05:35,2018-05-03 10:05:35,,"2811671909486043027",,
634,667,,,2018-05-04 16:13:52,2018-05-04 16:13:52,,"5428430961216504891",,
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_category_202012201753.csv
2066 mmg-dashboard-prod/business_category_202012201753.csv
$ cat mmg-dashboard-prod/business_category_202012201753.csv | head -10
"id","business_id","category_id"
3,340,"152"
4,340,"1176"
5,340,"1118"
6,340,"2244"
7,340,"1210"
8,340,"1322917"
9,340,"1322911"
10,340,"1113"
11,339,"1683"
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_email_202012201753.csv
128 mmg-dashboard-prod/business_email_202012201753.csv
$ cat mmg-dashboard-prod/business_email_202012201753.csv | head -10
"id","business_id","email"
1,1,info@carouselrestaurant.com
2,5,grayr.spertsyan@oxagile.com
3,81,boardwalkdentalcare@dr.com
4,104,myanosky@yahoo.com
6,31,consumerfusion@gmail.com
7,62,marketing@blackforddental.com
8,86,jessicawillcox@allneedzdental.com
176,501,info@dalycityoralsurgery.com
10,32,consumerfusion@gmail.com
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_google_cover_photo_202012201753.csv
30 mmg-dashboard-prod/business_google_cover_photo_202012201753.csv
$ cat mmg-dashboard-prod/business_google_cover_photo_202012201753.csv | head -10
"id","business_id","name","is_deleted"
1,339,cf74b8c47083684fefe7b455aed81b2b.png,false
2,342,cc8a0dce77cc47e1083db4965d1a3114.png,false
3,344,"79e67d79902afd05b014d047a0433463.png",false
5,346,nature-scenery-wallpaper-2120x1192.jpg,false
6,347,"6d79267ffbd79689e7505ce234037ccd.png",false
7,356,"8637fb17f633aee9163bef44a317786a.png",false
8,370,"19f0a2e9d22cf0b0ec99585bdfd78dc5.png",false
9,371,"086c70a34643fcabd8ad1895484d7244.png",false
10,372,a504ea0d7d20025fc75c25082615e133.png,false
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_google_profile_photo_202012201753.csv
46 mmg-dashboard-prod/business_google_profile_photo_202012201753.csv
$ cat mmg-dashboard-prod/business_google_profile_photo_202012201753.csv | head -10
"id","business_id","name","is_deleted"
1,339,d4ccee114913d4e85ac0ba2f18b7dc54.png,false
2,342,"9e0b9f2562b1afe6523c03bb1e6d0e62.png",false
4,113,ef62515f60be7fd4a95e0cc0b2b3d787.png,false
5,64,"901de9372e389ef51f1f38394d2ba612.jpg",false
6,78,"4723c2d7554e3bc95f0a4feaed81f488.png",false
7,117,"9e80831442d16df6805f9276e68174b7.jpg",false
8,76,d696d84e62fb22120dc06718ecd5452e.png,false
9,84,"0726e0a1b4fa61a61ed7f68614dc05c8.png",false
10,127,"8ecf808042acd51a59f15f0bbbfc4d91.jpg",false
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_holiday_hour_202012201753.csv
3 mmg-dashboard-prod/business_holiday_hour_202012201753.csv
$ cat mmg-dashboard-prod/business_holiday_hour_202012201753.csv | head -10
"id","business_id","datetime","type","time_start","time_start_split","time_end","time_end_split"
2,346,2017-09-22 00:00:00,OPEN,"10:00 AM",,"05:00 PM",
3,346,2017-09-25 00:00:00,CLOSED,,,,
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_hour_202012201753.csv
13955 mmg-dashboard-prod/business_hour_202012201753.csv
$ cat mmg-dashboard-prod/business_hour_202012201753.csv | head -10
"id","business_id","day","type","time_start","time_start_split","time_end","time_end_split"
1,3,MONDAY,OPEN,"08:00 AM",,"04:00 PM",
2,3,TUESDAY,OPEN,"08:00 AM",,"04:00 PM",
3,3,WEDNESDAY,OPEN,"08:00 AM",,"04:00 PM",
4,3,THURSDAY,OPEN,"08:00 AM",,"04:00 PM",
5,3,FRIDAY,OPEN,"08:00 AM",,"04:00 PM",
6,2,MONDAY,OPEN,"07:00 AM",,"05:00 PM",
7,2,TUESDAY,OPEN,"07:00 AM",,"05:00 PM",
8,2,WEDNESDAY,OPEN,"07:00 AM",,"05:00 PM",
9,2,THURSDAY,OPEN,"07:00 AM",,"05:00 PM",
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_listings_202012201753.csv
5910 mmg-dashboard-prod/business_listings_202012201753.csv
$ cat mmg-dashboard-prod/business_listings_202012201753.csv | head -10
"id","business_id","date_created","type_url","url","listing_id","last_id","active"
10295,1796,2019-12-19 16:31:44,merchant_circle,https://www.merchantcircle.com/manswell-megan-a-dds-takoma-park-md,manswell-megan-a-dds-takoma-park-md,,true
3957,506,2018-05-21 02:27:03,facebook,"196039510415416","196039510415416","10216248516867463",true
9518,1691,2019-09-13 10:42:53,super_pages,https://www.superpages.com/bp/southfield-mi/the-best-braces-L2619132462.htm,bp/southfield-mi/the-best-braces-L2619132462.htm,,true
2,1,2016-02-25 04:25:43,insider_pages,http://www.insiderpages.com/b/3712194378/ewing-towing--auto-repair-newark,b/3712194378/ewing-towing--auto-repair-newark,,true
1841,5,2017-06-23 11:28:41,rate_mds,https://www.ratemds.com/doctor-ratings/3038281/Dr-HARRISON+L.-CHEN-New+York-NY.html,doctor-ratings/3038281/Dr-HARRISON+L.-CHEN-New+York-NY.html,"1d672cb4d90535441db3519f4af83c26",true
3,1,2016-02-25 04:25:43,merchant_circle,http://www.merchantcircle.com/business/Ewings.Towing.And.Auto.Repair.Newark.DE.302-366-8806,business/Ewings.Towing.And.Auto.Repair.Newark.DE.302-366-8806,,true
3458,560,2018-04-16 01:10:09,yellow_pages,https://www.yellowpages.com/rockford-il/mip/rockford-oms-23051971,rockford-il/mip/rockford-oms-23051971,,true
10126,1765,2019-11-20 11:38:48,yellow_pages,https://www.yellowpages.com/watertown-ny/mip/dr-p-ward-ian-dmd-pc-451888831,watertown-ny/mip/dr-p-ward-ian-dmd-pc-451888831,,true
32,4,2016-03-29 15:06:40,city_search,http://www.citysearch.com/profile/637980274/san_diego_ca/viveesa.html,"637980274",,true
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_logo_202012201753.csv
120 mmg-dashboard-prod/business_logo_202012201753.csv
$ cat mmg-dashboard-prod/business_logo_202012201753.csv | head -10
"id","business_id","name","is_deleted"
1,340,b7da09b42a3041a1103477178eb2f03d.png,false
2,339,"9bfa129d7917fb275b43b54d61afd2d2.png",false
3,341,"5183797453874d7109cbbc752e271d15.png",false
4,342,"9c9702e274c7f4ab8fc371fea260c8d2.png",false
24,30,"9be3f14349af0a136008d36c662241db.jpg",false
25,33,"74f9d70329c4adeafea03f8af308eefd.jpg",false
30,129,cb7b1c4cb516b7ac0b56ab13d9c36b75.jpg,false
31,132,"16cbc4d4ae6534df3d93f1670adaacfb.jpg",false
33,131,"496c236348f9379ada42a9fc6348a73d.jpg",false
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_meta_association_202012201753.csv
342 mmg-dashboard-prod/business_meta_association_202012201753.csv
$ cat mmg-dashboard-prod/business_meta_association_202012201753.csv | head -10
"id","business_id","name"
1,339,AKC
2,342,AKC
172,346,Association1
173,346,Association2
174,346,Association3
175,347,AKC
176,320,Academy of General Dentistry
177,320,American Academy of Cosmetic Dentistry
178,320,Virginia Dental Association
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_meta_brand_202012201753.csv
201 mmg-dashboard-prod/business_meta_brand_202012201753.csv
$ cat mmg-dashboard-prod/business_meta_brand_202012201753.csv | head -10
"id","business_id","name"
1,340,Seagram's
2,340,Corona
3,340,Bud light
4,340,OMME GANG
5,340,Delica
6,340,"312 Urban Wheat Ale"
7,341,Seagram's
8,341,Corona
9,341,Bud light
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_meta_keyword_202012201753.csv
1215 mmg-dashboard-prod/business_meta_keyword_202012201753.csv
$ cat mmg-dashboard-prod/business_meta_keyword_202012201753.csv | head -10
"id","business_id","name"
1,340,Restaurant
2,340,Deli
3,340,Craft Beer
4,340,Catering
5,340,Sandwiches
6,340,Specialty Hoagies
7,340,Salads
8,340,Vegetarian Sandwiches
9,340,Hamburgers
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_meta_language_202012201753.csv
165 mmg-dashboard-prod/business_meta_language_202012201753.csv
$ cat mmg-dashboard-prod/business_meta_language_202012201753.csv | head -10
"id","business_id","name"
1,340,English
2,341,English
160,459,English
164,512,English
168,545,English
169,545,Spanish
170,545,German
173,501,English
175,338,English
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_meta_product_202012201753.csv
32 mmg-dashboard-prod/business_meta_product_202012201753.csv
$ cat mmg-dashboard-prod/business_meta_product_202012201753.csv | head -10
"id","business_id","name"
1,340,Deli meats
2,340,sandwiches
3,340,craft beer
4,340,salads
5,340,hamburgers
6,340,dessert
7,341,Deli meats
8,341,sandwiches
9,341,craft beer
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_meta_service_202012201753.csv
1762 mmg-dashboard-prod/business_meta_service_202012201753.csv
$ cat mmg-dashboard-prod/business_meta_service_202012201753.csv | head -10
"id","business_id","name"
1,339,Initial Veterinary Care
2,339,Puppy Training
3,339,Pet Counseling
4,339,Pet Warranties
5,339,AKC Registration
6,342,Initial Veterinary Care
7,342,Puppy Training
8,342,Pet Counseling
9,342,Pet Warranties
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_meta_specialty_202012201753.csv
304 mmg-dashboard-prod/business_meta_specialty_202012201753.csv
$ cat mmg-dashboard-prod/business_meta_specialty_202012201753.csv | head -10
"id","business_id","name"
1,340,Specializing in craft beer
2,340,Italian sandwiches
3,340,catering
4,341,Specializing in craft beer
5,341,Italian sandwiches
6,341,catering
160,481,Dental Implants
161,481,Bone Grafting
163,481,Computer Guided Implant Surgery
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_patient_202012201753.csv
96212 mmg-dashboard-prod/business_patient_202012201753.csv
$ cat mmg-dashboard-prod/business_patient_202012201753.csv | head -10
"id","business_id","patient_id","date_created"
2,1358,"236301",2019-02-28 07:41:06
2918,416,"90015224",2019-03-16 09:24:04
2929,920,-2115490726,2019-03-16 13:06:31
12713,1019,-2115228738,2019-04-16 10:39:49
256314,1993,"204901",2020-08-19 13:05:50
22720,988,-2115278535,2019-05-06 12:16:07
311843,1925,"91701",2020-11-09 18:55:33
155319,1520,"293801",2020-01-21 12:45:23
1060,1337,"54005743",2019-03-07 10:23:39
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_photo_202012201753.csv
664 mmg-dashboard-prod/business_photo_202012201753.csv
$ cat mmg-dashboard-prod/business_photo_202012201753.csv | head -10
"id","business_id","name","is_deleted","description"
1,340,"502823f7d67691930f21592c5181aeae.jpg",false,
2,340,"1e22496237f2d55affccee9ad5c77233.jpg",false,
3,340,f24d914ecc508c1737fa6c2b69d95e39.jpg,false,
4,340,f1d133c3ff00b6eee4662339ad97379f.jpg,false,
5,340,"6969466471dacb9be2c85ddb459bc91a.jpg",false,
6,340,"1cd560b469e62a1e572e611c7ed44d3c.jpg",false,
7,340,e9fc9b45cb3870973465a87c71c3969c.jpg,false,
8,340,"308f6569dc125aac27fc8f3a1fd3152f.jpg",false,
9,340,ca5397dbca4d55701ff02922e5b18a75.jpg,false,
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_review_202012201753.csv
88392 mmg-dashboard-prod/business_review_202012201753.csv
$ cat mmg-dashboard-prod/business_review_202012201753.csv | head -10
"id","business_id","review_id","title","date","type","score","text","author","hash","created_date","status","status_date","source","patient_name","updated_date","is_recommended"
77210,360,d3319b9768506c5caff17705a911760e,,2007-06-17 00:00:00,city_search,0.0," Editorial Review – Small dentistry chain provides cosmetic services, crowns, bridges, teeth whitening, extractions and general maintenance care; emergency appointments available.",Contributor ,"6d8bca6dbebbff7e3e0903026699e6f0",2019-09-16 11:29:07,1,,,,,
77211,360,AIe9_BHkHJRvhG8n5BjqdcMSKR_FVoIfKllJUgp1iUc_jT4sLiVnr6DOpVJScKVsnoYiEPPuf_-w5AbUax28eWTUxlMOA1QcOZrt5aL3Rpbrf5RL_Bk2PDo,,2019-09-10 15:06:31,google,5.0,,Maria Goulart,"6d8bca6dbebbff7e3e0903026699e6f0",2019-09-16 11:29:08,1,,,,,
77212,360,AIe9_BHQjprpOXGeqmXihYBIHmuac2X82w6CLiIOW7_qYeOrCfqdKJSFf8eDkLsOqPPKcAoL-5vav1dQK5nVxqFnyxeheJRS226OYBSZuJx4j4JHO263I0k,,2019-08-30 01:57:32,google,5.0,,Carlos Cerqueira,"6d8bca6dbebbff7e3e0903026699e6f0",2019-09-16 11:29:08,1,,,,,
77213,360,AIe9_BEV1VP1woYvuPRixSBHlWg4_t9o4NiQnmlh3rFs_YRAuZSyg1VZX3291Hl6ArtQQed_-ayntlON08SO8IRVDNqEd-gxnCHOwucoK2hl-ubowQ0DgF8,,2019-08-29 20:03:56,google,5.0,"My experience with Gentle Dental was excellent. I have never had a dental experience that was so comfortable and I am 63 years old......40 years of emotional and physical discomfort at the dentist.
Thank you Gentle Dental Peabody!
OK ! This is my second post about Peabody Gentle Dental.
I have never been so relaxed and so confident I was being well taken care of in a dentist chair.
Dr Matteo.... Giamarco must be the best dentist on the planet. I am so sorry I forget his assistant's name. She is not a dentist but she is so talented and gentle ; most of the time I could fall asleep. They are a fantastic team. Their synergy is amazing!😄
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_review_click_202012201753.csv
16234 mmg-dashboard-prod/business_review_click_202012201753.csv
$ cat mmg-dashboard-prod/business_review_click_202012201753.csv | head -10
"id","business_id","patient_name","source","type","created_date","listing_id","is_active"
1303,687,Susan Bonthius,sms,google,2020-01-27 15:14:39,"4030338157238275396",true
1315,687,Susan Fagan,email,facebook,2020-01-28 21:22:29,"1454690621497212",true
1351,1668,Erica Bridges,sms,google,2020-01-30 22:48:00,"3974364637313439305",false
1363,689,Suzanne Brown,sms,google,2020-01-31 19:57:22,"896613067587934954",true
1399,613,Brent Lipke,sms,google,2020-02-04 13:10:16,"1240800581716011879",false
1659,687,Sean Mahoney,sms,google,2020-02-17 16:30:42,"4030338157238275396",true
1422,693,Origelsa Ligu,sms,google,2020-02-05 18:59:18,"16895130825598305260",true
1433,691,Dale Bolk,email,facebook,2020-02-05 22:17:52,"1513510038710107",true
1444,1672,Delia Jennings,sms,google,2020-02-06 14:24:12,"8991768090571944308",true
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/business_url_202012201753.csv
2136 mmg-dashboard-prod/business_url_202012201753.csv
$ cat mmg-dashboard-prod/business_url_202012201753.csv | head -10
"id","business_id","website_url","display_website_url","reservation_url","display_reservation_url","menu_url","display_menu_url","order_url","display_order_url"
1,5,http://www.oxagile.com/,http://www.oxagile.com/,,,,,,
2,158,http://mydentalworks.com/FoxValley,http://mydentalworks.com/FoxValley,,,,,,
3,81,http://boardwalk-dental.com,http://boardwalk-dental.com,,,,,,
4,6,http://congressionaldental.com,http://congressionaldental.com,,,,,,
5,104,http://www.dryanosky.com/,http://www.dryanosky.com/,,,,,,
6,82,http://smilesinmotion.com,http://smilesinmotion.com,,,,,,
7,152,http://www.bracesbyashcraft.com/,http://www.bracesbyashcraft.com/,,,,,,
8,62,http://www.lifetimedentalusa.com,http://www.lifetimedentalusa.com,,,,,,
9,86,http://www.allneedzdental.com,http://www.allneedzdental.com,,,,,,
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/email_templates_202012201753.csv
73146 mmg-dashboard-prod/email_templates_202012201753.csv
$ cat mmg-dashboard-prod/email_templates_202012201753.csv | head -10
"id","email_template_category_id","preview_image","email_content","active","created_date","updated_date","json_content","is_admin"
120,41,/images/uploads/previewImage/41/1596035646.png,"
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/email_templates_category_shared_202012201753.csv
29 mmg-dashboard-prod/email_templates_category_shared_202012201753.csv
$ cat mmg-dashboard-prod/email_templates_category_shared_202012201753.csv | head -10
"id","business_id","email_template_category_id","created_date"
688,1339,141,2020-12-18 17:53:07
661,415,141,2020-12-18 16:41:34
662,1704,141,2020-12-18 16:41:34
663,1686,141,2020-12-18 16:41:34
664,2206,141,2020-12-18 16:41:34
665,1576,141,2020-12-18 16:41:34
666,577,141,2020-12-18 16:41:34
667,1646,141,2020-12-18 16:41:34
668,1337,141,2020-12-18 16:41:34
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/email_template_categories_202012201753.csv
88 mmg-dashboard-prod/email_template_categories_202012201753.csv
$ cat mmg-dashboard-prod/email_template_categories_202012201753.csv | head -10
"id","name","active","is_admin"
4,Out of the Office,true,true
5,Insurance Benefits,true,true
6,Last Minute Openings,true,true
7,Reactivation,true,true
30,Recall-Due & Overdue,true,true
128,Operative Outreach,true,false
39,Welcome,true,true
25,Reminder + Confirmation Templates,true,true
77,Lehigh Confirmations,true,false
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/email_template_category_business_202012201753.csv
1554 mmg-dashboard-prod/email_template_category_business_202012201753.csv
$ cat mmg-dashboard-prod/email_template_category_business_202012201753.csv | head -10
"email_template_category_id","business_id"
52,443
35,1050
35,1048
35,1051
35,1049
35,1044
35,1047
35,1046
34,1432
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/fb_inbox_conversation_202012201753.csv
791 mmg-dashboard-prod/fb_inbox_conversation_202012201753.csv
$ cat mmg-dashboard-prod/fb_inbox_conversation_202012201753.csv | head -10
"id","fb_conversation_id","fb_page_id","fb_user_id","fb_user_name","fb_user_picture"
1,"141395346218247_1146374675467337","141395346218247","1146374675467337",,
2,"1057324754314662_1396581827122702","1057324754314662","1396581827122702",,
3,"144684109393641_1411917365518716","144684109393641","1411917365518716",Denis Sivenkov,https://scontent.xx.fbcdn.net/v/t31.0-1/p720x720/10506738_10150004552801856_220367501106153455_o.jpg?oh=5222658e2b8648a374d05e40165331e6&oe=59A1C28B
4,"1336116669776272_1883798981908535","1883798981908535","1336116669776272",Denis Sivenkov,https://scontent.xx.fbcdn.net/v/t31.0-1/p720x720/10506738_10150004552801856_220367501106153455_o.jpg?oh=5222658e2b8648a374d05e40165331e6&oe=59A1C28B
5,"1472067392813582_1860152850892316","1860152850892316","1472067392813582",Elena Lednik,https://scontent.xx.fbcdn.net/v/t31.0-1/12976766_633507370130413_7037561340817371092_o.jpg?oh=7e180c42c2e57f727db20f21aa7dc7ae&oe=59A76B25
6,"1373134372780891_1860152850892316","1860152850892316","1373134372780891",Denis Sivenkov,https://scontent.xx.fbcdn.net/v/t31.0-1/p720x720/10506738_10150004552801856_220367501106153455_o.jpg?oh=5222658e2b8648a374d05e40165331e6&oe=59A1C28B
7,"1272845032828100_1860152850892316","1860152850892316","1272845032828100",Дмитрий Будницкий,https://scontent.xx.fbcdn.net/v/t31.0-1/p720x720/10682322_800952663258419_2153722414257937372_o.jpg?oh=fcb91b98be7d2f88a491243730c9160d&oe=59D642D0
8,"1400371270056769_1860152850892316","1860152850892316","1400371270056769",Julia Artushkova,https://scontent.xx.fbcdn.net/v/t1.0-1/11224819_1018095344881805_1400113106430090816_n.jpg?oh=082108e0aad77aa1f6843a2c7d17d69b&oe=59A83D3D
9,"144684109393641_1735921499804384","144684109393641","1735921499804384",Elena Lednik,https://scontent.xx.fbcdn.net/v/t31.0-1/12976766_633507370130413_7037561340817371092_o.jpg?oh=7e180c42c2e57f727db20f21aa7dc7ae&oe=59A76B25
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/fb_inbox_message_202012201753.csv
11831 mmg-dashboard-prod/fb_inbox_message_202012201753.csv
$ cat mmg-dashboard-prod/fb_inbox_message_202012201753.csv | head -10
"id","conversation_id","type","message","created_at","is_echo","is_new","message_id"
1,1,text,testbfsd,2017-06-06 12:10:59,false,,
15,1,text,Hi,2017-06-06 12:54:10,true,,
2,1,text,trioiveiuvh,2017-06-06 12:12:22,false,,
3,1,text,testierfherf,2017-06-06 12:12:54,true,,
4,1,text,feiorfrf,2017-06-06 12:13:05,false,,
5,1,text,Hi,2017-06-06 12:13:18,true,,
16,1,text,тык,2017-06-06 12:57:35,false,,
7384,6,text,Hi,2017-09-15 07:51:19,false,true,mid.$cAAbBPz1utgVktqZDl1ehWD8mFTer
7087,4,text,auto_test_message_XJYmyp,2017-08-10 22:58:44,true,,
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/fos_user_202012201753.csv
3279 mmg-dashboard-prod/fos_user_202012201753.csv
$ cat mmg-dashboard-prod/fos_user_202012201753.csv | head -10
"id","admin_user_role_id","username","username_canonical","email","email_canonical","enabled","salt","password","last_login","confirmation_token","password_requested_at","roles","surname","phone","firstname","alternate_email","cell_phone","alternate_phone","fax_number","mailing_address","facebook_token","invited_code","is_admin","accont_permissions","created_date","is_login_enabled","is_email_enabled","is_deleted"
92,,xekayibek@cartelera.org,xekayibek@cartelera.org,xekayibek@cartelera.org,xekayibek@cartelera.org,true,m4hko9kzykg4000cg4s4sk4ssc4g0gs,/hpEM8ne6qcCmjI/YFlSvA==,2016-09-28 09:09:50,,,"a:1:{i:0;s:10:""ROLE_ADMIN"";}","28/09/2016","555-555-5555",Test,,,,,,,,,,2016-09-28 09:09:23,true,true,false
9,,hello@bewidgetindustries.com,hello@bewidgetindustries.com,hello@bewidgetindustries.com,hello@bewidgetindustries.com,true,l7accxjvt1c4g4cc4g4wg0oo4k888g8,qI9k+cboo+s2LNOAs4JayA==,2016-04-14 12:46:50,,,"a:1:{i:0;s:17:""ROLE_INVITED_USER"";}",Account,,Test,,,,,,,,false,,2016-04-14 12:46:49,true,true,false
11,,ash@braces-braces.com,ash@braces-braces.com,ash@braces-braces.com,ash@braces-braces.com,true,fovky6ir0dsskg8c80w00gwgoo0wogg,GCgFf1t1vsDecenUo7ObTg==,2016-04-25 20:12:47,,,"a:1:{i:0;s:17:""ROLE_INVITED_USER"";}",Toub,,Ashton,,,,,,,,false,,2016-04-25 20:12:47,true,true,false
2000,,center0140@dentalonepartners.com,center0140@dentalonepartners.com,center0140@dentalonepartners.com,center0140@dentalonepartners.com,true,nDD2BAeYNfSGwOCzgQ5WEN3k8bSvN0FYi14TXnQ2E.A,Akw34mJH5KgHH9193xi5XA==,,,,"a:1:{i:0;s:17:""ROLE_INVITED_USER"";}",Elliott,,PRC,,,,,,,,,,2019-03-22 06:31:30,true,true,false
2004,,dentist917@mmgfusion.net,dentist917@mmgfusion.net,dentist917@mmgfusion.net,dentist917@mmgfusion.net,true,,"",,,,"a:1:{i:0;s:10:""ROLE_ADMIN"";}","Rhoades, DDS",(619) 220-8545,Christopher,,,,,,,a6b047ce670038be35741b12b4694ec2,,,2019-03-25 11:00:07,true,true,false
3430,,dentist1424@mmgfusion.net,dentist1424@mmgfusion.net,dentist1424@mmgfusion.net,dentist1424@mmgfusion.net,true,,"",,,,"a:1:{i:0;s:10:""ROLE_ADMIN"";}","Goldstein, MS, DDS",(718) 428-8900,Dr. Scott,,,,,,,d4c584103e996f8f9c4d1fb4a4209509,,,2020-10-12 16:57:55,true,true,false
241,,lakedental@msn.com,lakedental@msn.com,lakedental@msn.com,lakedental@msn.com,true,.TxBkG.R1cnVH2QdAuJDkQ0YzuPaM9m4jZe5q6dSElg,fJvrnlhBt8kFWtDlB1Cq/A==,2017-06-15 14:31:57,,,"a:1:{i:0;s:17:""ROLE_INVITED_USER"";}",Weiner,,Mitchell,,,,,,,,,,2017-06-15 14:31:57,true,true,false
165,,jobo@car101.pro,jobo@car101.pro,jobo@car101.pro,jobo@car101.pro,true,"21cy7nv0ai4gwssssww4g88wgkkkgg8",NSZ3ufqoXP4hbZ1QvwAxnQ==,2017-01-31 13:46:21,,,"a:1:{i:0;s:17:""ROLE_INVITED_USER"";}",user,,test,,,,,,,,,,2017-01-31 13:41:31,true,true,false
10,,consumerfusion@gmail.com,consumerfusion@gmail.com,consumerfusion@gmail.com,consumerfusion@gmail.com,true,t40di1k79hcwcoc0cc8kw80oc4wccog,rsYt4E66pSFj4J+R4I4NVQ==,2016-04-19 16:04:58,,,"a:1:{i:0;s:10:""ROLE_ADMIN"";}",Toub,(717) 656-3051,Ashton,,,,,,,"6e31fc9883454b48001738d6e7a3e16e",false,,2016-04-14 14:01:12,true,true,false
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/general_report_202012201753.csv
257 mmg-dashboard-prod/general_report_202012201753.csv
$ cat mmg-dashboard-prod/general_report_202012201753.csv | head -10
"id","user_id","name","is_new_verified_listings","is_total_reviews","is_average_rating","is_new_reviews","is_removed_negatives_stats","is_directories_list","is_removed_negatives","is_removed_negatives_source","is_facebook_likes","is_facebook_change","is_facebook_post_reach","is_facebook_gender","is_facebook_age","is_facebook_top_cities","is_twitter_followers","is_twitter_tweets","is_ready","date_from","date_to","created_date","params","file_name","hash","is_appointments_basic","is_appointments_advanced","date_start","date_end","type_reply","business_id","report_template_id","is_communication_history","is_communication_type","appointment_type"
296,145,July 2,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,2019-07-02 00:00:00,2019-07-02 23:59:59,2019-06-28 14:08:37,"[""isAppointmentsBasic"",""isAppointmentsAdvanced""]","1561745401July+2.pdf","905e744f6b833d387deabc8b9898fb7a",true,true,,,custom,,,false,false,total
297,526,x,false,false,false,false,false,false,true,true,false,false,false,false,false,false,false,false,true,,,2019-07-09 15:21:57,"[""isRemovedNegatives"",""isRemovedNegativesSource""]","1562700122x.pdf",c3fd2571e3ee6df665244696227cb755,false,false,,,custom,,,false,false,total
134,4,Test Report,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,,,2017-07-27 09:09:32,[],"1501161001Test_Report.pdf",a736470cf1addf8938182c7928b14027,false,false,,,custom,,,false,false,
347,2777,test,true,false,false,false,false,false,true,true,true,true,true,true,true,true,true,true,true,2020-06-11 00:00:00,2020-06-25 23:59:59,2020-06-25 10:02:47,"[""isNewVerifiedListings"",""isRemovedNegatives"",""isRemovedNegativesSource"",""isAppointmentsBasic"",""isAppointmentsAdvanced"",""isFacebookLikes"",""isFacebookChange"",""isFacebookPostReach"",""isFacebookGender"",""isFacebookAge"",""isFacebookTopCities"",""isTwitterFollowers"",""isTwitterTweets""]","1593079444test.pdf","4b60973064af861655b91b55cc3a445d",true,true,,,custom,,,false,false,total
328,7,test17,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,,,2019-12-26 13:38:24,"[""isNewVerifiedListings""]","1577367564test17.pdf",e8767237ec70a490e23b1063f7aea5d1,false,false,,,custom,,,false,false,total
344,2957,Basic Patient Information,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,,,2020-05-12 16:54:17,"[""isAppointmentsBasic""]","1589302563Basic+Patient+Information.pdf","77db2982ec07d00481b98f7fd65b3401",true,false,,,custom,,,false,false,total
66,7,test 10/24,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,,,2016-10-24 08:44:12,"[""isNewVerifiedListings"",""isRemovedNegatives"",""isRemovedNegativesSource"",""isAppointmentsBasic"",""isAppointmentsAdvanced"",""isFacebookLikes"",""isFacebookChange"",""isFacebookPostReach"",""isFacebookGender"",""isFacebookAge"",""isFacebookTopCities"",""isTwitterFollowers"",""isTwitterTweets""]","1477313162test_10_24.pdf","1402a31731712b1e0424d0aa1ac96578",true,true,,,custom,,,false,false,
40,7,Tets 01/07/2016,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,2017-01-12 10:34:10,2017-01-19 10:34:09,2016-07-01 11:51:58,"[""isNewVerifiedListings"",""isRemovedNegatives"",""isRemovedNegativesSource"",""isAppointmentsBasic"",""isAppointmentsAdvanced"",""isFacebookLikes"",""isFacebookChange"",""isFacebookPostReach"",""isFacebookGender"",""isFacebookAge"",""isFacebookTopCities"",""isTwitterFollowers"",""isTwitterTweets""]","1484840162Tets_01_07_2016.pdf",c998ee53e0870a5ee64275e162183691,true,true,,,week,,,false,false,
211,466,Jolie,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,,,2017-11-08 20:57:38,"[""isNewVerifiedListings"",""isRemovedNegatives"",""isRemovedNegativesSource"",""isAppointmentsBasic"",""isAppointmentsAdvanced"",""isFacebookLikes"",""isFacebookChange"",""isFacebookPostReach"",""isFacebookGender"",""isFacebookAge"",""isFacebookTopCities"",""isTwitterFollowers"",""isTwitterTweets""]","1510192682Jolie.pdf",ef3e5bede53b37aea5055a36f536592a,true,true,,,custom,,,false,false,
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/general_report_business_202012201753.csv
1652 mmg-dashboard-prod/general_report_business_202012201753.csv
$ cat mmg-dashboard-prod/general_report_business_202012201753.csv | head -10
"id","business_id","report_id"
3036,211,159
3037,207,159
3,3,1
3038,213,159
3039,226,159
6,3,2
3040,217,159
8,3,3
9,3,4
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/general_report_contact_202012201753.csv
76 mmg-dashboard-prod/general_report_contact_202012201753.csv
$ cat mmg-dashboard-prod/general_report_contact_202012201753.csv | head -10
"id","contact_id","report_id"
1,1,3
2,1,4
190,64,299
191,66,300
192,67,301
6,3,10
7,3,11
193,67,302
194,67,303
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/message_template_202012201753.csv
49 mmg-dashboard-prod/message_template_202012201753.csv
$ cat mmg-dashboard-prod/message_template_202012201753.csv | head -10
"id","business_id","name","text","is_enabled","created_date","updated_date","type"
3,153,Template 1,Hello! This is an automated reply populated by our response templates. Have a nice day! :),true,2017-06-06 12:43:13,2017-06-06 12:43:13,Social Media
4,54,test template 1,test,true,2017-06-13 14:58:54,2017-06-13 14:58:54,Social Media
5,54,Test template 2,test test,true,2017-06-13 14:59:02,2017-06-13 14:59:02,Social Media
6,54,Test template 3,test AAA,true,2017-06-13 14:59:11,2017-06-13 14:59:11,Social Media
2,7,test template 1,Hi,true,2017-06-02 09:52:00,2017-06-27 06:57:28,Social Media
7,7,test 2,test AAA,true,2017-08-16 08:25:01,2017-08-16 08:25:01,Social Media
8,7,Test 4,asd,true,2017-08-24 11:39:09,2017-08-24 11:39:09,Social Media
9,7,Test3,asd,true,2017-08-24 11:39:16,2017-08-24 11:39:16,Social Media
11,7,Test 6,test 6,true,2017-08-28 09:01:54,2017-08-28 09:01:54,Social Media
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/migration_versions_202012201753.csv
41 mmg-dashboard-prod/migration_versions_202012201753.csv
$ cat mmg-dashboard-prod/migration_versions_202012201753.csv | head -10
"version","executed_at"
"20190520081957",
"20190502122951",
"20190502125815",
"20190610093025",
"20190610094424",
"20190725152541",
"20190819071558",
"20190801142824",
"20190813103837",
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/notifications_202012201753.csv
37 mmg-dashboard-prod/notifications_202012201753.csv
$ cat mmg-dashboard-prod/notifications_202012201753.csv | head -10
"id","business_id","date_created","date_update","type","is_resolved"
3789,2214,2020-11-25 13:43:48,2020-11-25 13:43:48,claim_new,
3790,2215,2020-11-25 13:51:03,2020-11-25 13:51:03,claim_new,
3791,2216,2020-11-25 13:57:45,2020-11-25 13:57:45,claim_new,
3792,2217,2020-11-25 17:15:27,2020-11-25 17:15:27,claim_new,
3793,2218,2020-11-30 17:04:41,2020-11-30 17:04:41,claim_new,
3794,2219,2020-11-30 17:40:03,2020-11-30 17:40:03,claim_new,
3795,2220,2020-11-30 17:52:59,2020-11-30 17:52:59,claim_new,
3796,2221,2020-11-30 19:29:08,2020-11-30 19:29:08,claim_new,
3797,2222,2020-11-30 19:36:51,2020-11-30 19:36:51,claim_new,
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/report_contact_202012201753.csv
109 mmg-dashboard-prod/report_contact_202012201753.csv
$ cat mmg-dashboard-prod/report_contact_202012201753.csv | head -10
"id","user_id","name","email","function","created_date","type"
1,4,Anton,anton.dyatlikov@oxagile.com,QA,2016-04-05 10:59:57,general
3,3,Brigitte Rubidoux,brigitte@consumerfusion.com,Test,2016-04-12 01:27:23,general
4,4,Brigitte Test,brigitte.rubidoux@gmail.com,admin,2016-05-04 20:12:14,general
8,14,Dr. Steve Tatevossian,goldenhand@roadrunner.com,Doctor,2016-07-18 11:31:21,general
11,138,Alexandra Likas,astoriadentalgroup32@yahoo.com,"",2017-03-29 14:15:19,general
12,138,Dr. Degel,drdegel@yahoo.com,"",2017-03-29 14:15:39,general
14,235,Jazmin Saenz,jazmin.saenz@dentalonepartners.com,Director of Marketing,2017-06-06 15:24:43,general
15,7,test,sivenkovdn@gmail.com,test,2017-06-14 03:41:43,general
17,235,Melissa Marquez,melissa.marquez@dentalonepartners.com,SRVP,2017-07-11 15:56:15,general
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/report_template_202012201753.csv
2 mmg-dashboard-prod/report_template_202012201753.csv
$ cat mmg-dashboard-prod/report_template_202012201753.csv | head -10
"id","user_id","is_new_verified_listings","is_total_reviews","is_average_rating","is_new_reviews","is_removed_negatives_stats","is_directories_list","is_removed_negatives","is_removed_negatives_source","is_facebook_likes","is_facebook_change","is_facebook_post_reach","is_facebook_gender","is_facebook_age","is_facebook_top_cities","is_twitter_followers","is_twitter_tweets","created_date","is_appointments_basic","is_appointments_advanced","is_communication_history","is_communication_type"
1,1,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,2016-04-05 10:26:13,true,true,false,false
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/reviews_negative_202012201753.csv
313 mmg-dashboard-prod/reviews_negative_202012201753.csv
$ cat mmg-dashboard-prod/reviews_negative_202012201753.csv | head -10
"id","business_id","directory_name","directory_url","review_date","removed_date","rating","review_user","review_text","created_date","updated_date","is_active","saleforce_id"
1,3,insider_pages,http://www.insiderpages.com/doctors/kurt-schneider-dds-mission-viejo,2005-09-27 00:00:00,2015-09-04 00:00:00,2.0,Diane L.,"This dentist appears to care more about interior decorating than his patients.
Expense: If this dentist wants to show appreciation to his patients, charging them reasonable fees instead of having a burger shindig would be appreciated. He appears to care less about his patients an more about appearances. His award winning office looks like the lobby of the Marriott. However, although he is a very competent reconstructive dentist, he lacks chair side manner and so do his hygienists.
PROS: Dentist has excellent skills
CONS: No chairside manner, office too showy, almost makes me uncomfortable.",2016-04-05 12:55:02,2016-04-05 12:55:02,true,a0gE000000q30kzIAA
2,2,insider_pages,http://www.insiderpages.com/doctors/kurt-schneider-dds-mission-viejo,2005-09-27 00:00:00,2015-09-04 00:00:00,2.0,Diane L.,"This dentist appears to care more about interior decorating than his patients.
Expense: If this dentist wants to show appreciation to his patients, charging them reasonable fees instead of having a burger shindig would be appreciated. He appears to care less about his patients an more about appearances. His award winning office looks like the lobby of the Marriott. However, although he is a very competent reconstructive dentist, he lacks chair side manner and so do his hygienists.
PROS: Dentist has excellent skills
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/social_medias_202012201753.csv
1386 mmg-dashboard-prod/social_medias_202012201753.csv
$ cat mmg-dashboard-prod/social_medias_202012201753.csv | head -10
"id","business_id","media_type","media_account_id","active","report_date","facebook_page_token","page_picture","twitter_access_token","twitter_access_token_secret","youtube_token","page_name","updated_date"
973,665,facebook,"",true,2020-11-27 08:25:03,EAAWUPjYXepEBAMKEnHlY3D87uyUPRXnPzbyFPeSGj58f1rAZAHvKe8RYmFvVP74ZCdZBJT2C3DzXvSndRmvlMPDPgb3PZAHIxDP5kwdZAoZBBeYTZAUD0QYiAc9fYQlcNwObAVREpLqCEkHqI6s3kmwLZBgwoRByZBo7PPtJZB5tRWZCAZDZD,,,,,Star Orthodontics,2020-11-27 08:25:03
2681,1926,facebook,"319246575212978",true,2020-11-28 21:00:04,,,,,,,2020-11-28 21:00:04
2365,1601,facebook,,true,2020-11-27 01:35:04,,,,,,,2020-11-27 01:35:04
2362,1590,facebook,,true,2020-11-27 01:35:04,,,,,,,2020-11-27 01:35:04
1772,1344,facebook,"",true,2020-11-27 20:00:04,,,,,,,2020-11-27 20:00:04
1604,1167,facebook,,true,2020-11-27 02:05:04,,,,,,,2020-11-27 02:05:04
2777,2225,facebook,"539855523158310",true,,EAAWUPjYXepEBAJ8epXZAucfsE5wNJILOxs7IKvSr45s8gsOMWlQg1WUk6NXSXmzstVoybCls7Er1UwjEaS2nwjcQ5xfPMepZB9R4hhZB7cKoZCtA6ByXxcbZAd3XNLzQMIFZCQZCRUbIiIeRZCRsVB5tT16BYLO7KevcbHW18wRHNrbNqCy87SkJuquZAUbHZApSkZD,https://scontent-iad3-1.xx.fbcdn.net/v/t1.0-1/p100x100/62049570_2695501940478561_4921078359871455232_n.png?_nc_cat=100&ccb=2&_nc_sid=dbb9e7&_nc_ohc=5ot686o1-iQAX_zzoPd&_nc_ht=scontent-iad3-1.xx&_nc_tp=30&oh=d9550711a5f2fa908a9c9ae2142ab3aa&oe=5FEE33F7,,,,,2020-12-20 20:00:06
12,5,twitter,"2616873506",true,2020-11-28 02:50:04,,,,,,,2020-11-28 02:50:04
2736,2062,facebook,"1492570997638780",true,2020-11-27 00:50:03,EAAWUPjYXepEBAGZCbgbKZAALEOXETDPpG8fBmkdMq0AnQgRRCGUhaJsDR4sfqZBJf8Aky4kov8MhTIZCX79Cr2LmSnR3QABKukuZAQrQdR2mEgDunzwbCegAM9W70xZBVoyOfzIZA8Q75y5EZCK7ekaQusacCqjAPZCxHK10fnh6Fi1AgZAXSnuMfbQJ2GfOJPVSEZD,https://scontent-iad3-1.xx.fbcdn.net/v/t1.0-1/p100x100/32405609_2149906198571920_2328095806004920320_n.jpg?_nc_cat=108&_nc_sid=dbb9e7&_nc_ohc=h35L9AljXYQAX8owzOQ&_nc_ht=scontent-iad3-1.xx&_nc_tp=6&oh=4ed10a454f265044ef322a76d9908588&oe=5F501E54,,,,Singer Orthodontics,2020-12-20 21:00:06
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/social_media_folder_202012201753.csv
24 mmg-dashboard-prod/social_media_folder_202012201753.csv
$ cat mmg-dashboard-prod/social_media_folder_202012201753.csv | head -10
"id","business_id","hash","name","is_default","created_date"
1,7,"592a34ea4074a2cdabf17624163ea92a",My Edited Images,true,2017-06-02 09:26:25
19,7,a0c887003cd2a9ce9b6d085cb288b965,test,false,2017-06-23 11:31:25
22,7,bc6231e358d1888be08b67eeaeb8b155,test chairfill,false,2017-08-24 09:25:11
23,7,"87a91802016c1647363e1bd550a1f617",Test A,false,2017-08-24 11:38:29
24,7,"5be38706c733e85f95a107bfa92ed85a",New Cat,false,2017-08-28 07:38:59
26,7,"065119e534c41f77f843e114499ccb8c",Test prod,false,2017-08-29 10:24:22
28,7,de95c2cda8e754ca4991572ffd1fc2ad,Test prod smoke,false,2017-09-07 08:56:10
30,122,b37da7ca08c08c60003b530d54cb0d22,My Edited Images,true,2017-09-14 11:25:55
31,7,"856ab43b25b0103d439da0912f6c62cc",prod smoke 22.09,false,2017-09-22 09:11:28
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/social_media_folder_business_202012201753.csv
26 mmg-dashboard-prod/social_media_folder_business_202012201753.csv
$ cat mmg-dashboard-prod/social_media_folder_business_202012201753.csv | head -10
"id","folder_id","business_id"
1,1,7
24,19,7
30,22,122
31,22,7
32,23,7
33,24,7
35,26,7
37,28,7
39,30,122
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/social_media_post_202012201753.csv
3955 mmg-dashboard-prod/social_media_post_202012201753.csv
$ cat mmg-dashboard-prod/social_media_post_202012201753.csv | head -10
"id","user_id","text","is_facebook","is_twitter","link","post_timestamp","post_date","post_time","period_time_start","date_created","image_name","updated_at","cron_date","video_name","is_youtube","facebook_text","facebook_update_date"
1,3,Here is a test post,true,false,,,,,,2016-03-04 14:45:27,,,,,false,,
33,6,,true,true,,2016-06-17 10:27:16,,,,2016-06-17 10:27:16,,,,"1466173636video.mp4",false,,
429,15,"October is National Dental Hygiene month! Remember to consistently practice good oral health habits, and give us a call today to set up your routine dental cleaning appointment! We look forward to speaking with you! (317) 863-2796",false,false,,2016-10-25 15:03:38,,,,2016-10-25 15:03:38,"1477422218hygiene.png",2016-10-25 15:03:38,2017-02-01 20:55:02,,false,,
35,6,test new API,true,false,,2016-06-17 10:35:43,,,,2016-06-17 10:35:43,,,2016-09-25 00:30:02,,false,,
24,25,"In 1976, Ali, w/ Frank Sinatra recorded a record called Ali & His Gang Vs. Mr. Tooth Decay? RIP Champ",false,true,,,,,,2016-06-06 10:45:10,"1465224310ali.jpg",2016-06-06 10:45:10,2016-09-13 14:10:03,,false,,
22,26,This is so true... here is some #MondayMotivation for you!,true,false,,,,,,2016-06-06 10:36:12,"1465223772mondaymotivation.png",2016-06-06 10:36:12,2016-09-13 23:25:02,,false,,
30,16,Happy Father's Day to all you awesome fathers out there. This sign says it all!,false,true,,2016-06-19 04:00:00,2016-06-19,04:00:00,1,2016-06-15 18:59:14,"1466031554fathersday3.jpg",2016-06-15 18:59:14,2016-09-26 06:35:02,,false,,
38,6,,true,true,,2016-06-17 18:00:00,2016-06-17,06:00:00,2,2016-06-17 10:48:29,"1466174909eye(1).png",2016-06-17 10:48:29,2016-09-25 01:50:03,,false,,
28,25,Happy Father's Day to all you awesome fathers out there. We hope you are all enjoying your special day.,false,true,,2016-06-19 06:00:00,2016-06-19,06:00:00,1,2016-06-15 17:36:44,"1466026604fatheresday.jpg",2016-06-15 17:36:44,2016-09-26 08:40:02,,false,,
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/social_media_post_business_202012201753.csv
8307 mmg-dashboard-prod/social_media_post_business_202012201753.csv
$ cat mmg-dashboard-prod/social_media_post_business_202012201753.csv | head -10
"id","business_id","social_media_post_id","social_media_id","is_published","post_id","post_date"
62,5,40,11,true,"141395346218247_257878231236624",2016-06-17 11:40:12
1,2,2,4,true,"1682287172050471_1683845438561311",2016-05-16 14:55:50
2,2,3,4,true,"1682287172050471_1685555165057005",2016-05-16 14:55:50
3,3,4,9,true,"1682287172050471_1694213557524499",2016-05-16 14:55:50
5,6,5,15,true,"345960752258055_513924888794973",2016-05-16 14:55:50
6,24,6,34,true,"727143437183651840",2016-05-16 14:55:50
12035,443,3234,511,true,"144684109393641_705541286641251",2019-12-26 13:58:03
8,27,7,43,true,"727909456382730241",2016-05-16 14:55:50
12037,443,3236,511,true,"1860152850892316_2578687975705463",2020-02-25 11:01:00
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/social_media_post_stats_202012201753.csv
3378 mmg-dashboard-prod/social_media_post_stats_202012201753.csv
$ cat mmg-dashboard-prod/social_media_post_stats_202012201753.csv | head -10
"id","social_media_post_id","fb_likes","fb_comments","fb_shares","fb_reach","tw_likes","tw_retweets","updated_date"
1,2,,,,,,,2016-05-20 10:35:02
2,3,,,,,,,2016-05-20 10:35:02
3,4,,,,,,,2016-05-20 10:35:02
4,5,,,,,,,2016-05-20 10:35:03
5,6,,,,,0,0,2016-05-20 10:35:03
6,7,,,,,0,0,2016-05-20 10:35:03
7,8,,,,,0,0,2016-05-20 10:35:03
8,9,,,,,0,0,2016-05-20 10:35:03
9,10,,,,,0,0,2016-05-20 10:35:04
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/social_media_stats_202012201753.csv
22390 mmg-dashboard-prod/social_media_stats_202012201753.csv
$ cat mmg-dashboard-prod/social_media_stats_202012201753.csv | head -10
"id","social_media_id","stat_name","stat_value","stat_month","stat_date"
1,3,tw_followers,"0","2016-02",2016-02-27 00:00:01
2,3,tw_tweets,"0","2016-02",2016-02-27 00:00:01
62944,1337,tw_followers,"166","2019-12",2019-12-27 01:10:04
62945,1337,tw_tweets,"235","2019-12",2019-12-27 01:10:04
5,1,fb_cities,"{""London, England, United Kingdom"":20,""Atlanta, GA"":5,""Dhaka, Dhaka Division, Bangladesh"":5,""Fort Worth, TX"":4,""Grodno, Grodno Region, Belarus"":5,""Tucson, AZ"":4,""Lagos, Lagos State, Nigeria"":4,""Kyiv, Kiev, Ukraine"":4,""Prague, Czech Republic"":4,""Brest, Brest Region, Belarus"":12,""Dublin, Ireland"":3,""Baltimore, MD"":5,""Gomel, Gomel Region, Belarus"":19,""Hrodna, Grodno Region, Belarus"":7,""Moscow, Russia"":12,""Honolulu, HI"":3,""Karachi, Sindh, Pakistan"":3,""Vilnius, Vilnius County, Lithuania"":5,""Chicago, IL"":11,""Brussels, Belgium"":3,""Rochester, NY"":5,""New Delhi, Delhi, India"":5,""Minsk, Belarus"":523,""Antwerp, Flemish Region, Belgium"":3,""Indianapolis, IN"":5,""Los Angeles, CA"":10,""Leeds, England, United Kingdom"":5,""Stockholm, Stockholm County, Sweden"":5,""Islamabad, Islamabad Capital Territory, Pakistan"":5,""Lahore, Punjab, Pakistan"":6,""Dallas, TX"":6,""Washington, DC"":4,""Detroit, MI"":8,""Vitebsk, Vitebsk Region, Belarus"":12,""San Antonio, TX"":5,""Houston, TX"":10,""Borisov, Minsk Region, Belarus"":4,""San Francisco, CA"":3,""New York, NY"":23,""Mumbai, Maharashtra, India"":3,""Rockford, IL"":5,""Mahilyow, Mogilev Region, Belarus"":4,""Hyderabad, Telangana, India"":4,""Miami, FL"":5,""San Diego, CA"":5}","2016-03",2016-03-04 09:45:08
6,1,fb_demographics,"{""M.55-64"":40,""U.35-44"":2,""F.45-54"":93,""M.18-24"":128,""M.35-44"":249,""F.25-34"":286,""M.25-34"":417,""F.13-17"":5,""F.65+"":14,""F.55-64"":44,""M.13-17"":7,""M.65+"":13,""F.35-44"":166,""U.25-34"":2,""M.45-54"":90,""F.18-24"":67}","2016-03",2016-03-04 09:45:08
7,1,fb_likes,"1622","2016-03",2016-03-04 09:45:09
8,1,fb_post_reach,"132179","2016-03",2016-03-04 09:45:09
9,6,tw_followers,"0","2016-03",2016-03-04 14:37:51
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/spatial_ref_sys_202012201753.csv
5436 mmg-dashboard-prod/spatial_ref_sys_202012201753.csv
$ cat mmg-dashboard-prod/spatial_ref_sys_202012201753.csv | head -10
"srid","auth_name","auth_srid","srtext","proj4text"
3819,EPSG,3819,"GEOGCS[""HD1909"",DATUM[""Hungarian_Datum_1909"",SPHEROID[""Bessel 1841"",6377397.155,299.1528128,AUTHORITY[""EPSG"",""7004""]],TOWGS84[595.48,121.69,515.35,4.115,-2.9383,0.853,-3.408],AUTHORITY[""EPSG"",""1024""]],PRIMEM[""Greenwich"",0,AUTHORITY[""EPSG"",""8901""]],UNIT[""degree"",0.0174532925199433,AUTHORITY[""EPSG"",""9122""]],AUTHORITY[""EPSG"",""3819""]]","+proj=longlat +ellps=bessel +towgs84=595.48,121.69,515.35,4.115,-2.9383,0.853,-3.408 +no_defs "
3821,EPSG,3821,"GEOGCS[""TWD67"",DATUM[""Taiwan_Datum_1967"",SPHEROID[""GRS 1967 Modified"",6378160,298.25,AUTHORITY[""EPSG"",""7050""]],AUTHORITY[""EPSG"",""1025""]],PRIMEM[""Greenwich"",0,AUTHORITY[""EPSG"",""8901""]],UNIT[""degree"",0.0174532925199433,AUTHORITY[""EPSG"",""9122""]],AUTHORITY[""EPSG"",""3821""]]",+proj=longlat +ellps=aust_SA +no_defs
3824,EPSG,3824,"GEOGCS[""TWD97"",DATUM[""Taiwan_Datum_1997"",SPHEROID[""GRS 1980"",6378137,298.257222101,AUTHORITY[""EPSG"",""7019""]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[""EPSG"",""1026""]],PRIMEM[""Greenwich"",0,AUTHORITY[""EPSG"",""8901""]],UNIT[""degree"",0.0174532925199433,AUTHORITY[""EPSG"",""9122""]],AUTHORITY[""EPSG"",""3824""]]","+proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs "
3889,EPSG,3889,"GEOGCS[""IGRS"",DATUM[""Iraqi_Geospatial_Reference_System"",SPHEROID[""GRS 1980"",6378137,298.257222101,AUTHORITY[""EPSG"",""7019""]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[""EPSG"",""1029""]],PRIMEM[""Greenwich"",0,AUTHORITY[""EPSG"",""8901""]],UNIT[""degree"",0.0174532925199433,AUTHORITY[""EPSG"",""9122""]],AUTHORITY[""EPSG"",""3889""]]","+proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs "
3906,EPSG,3906,"GEOGCS[""MGI 1901"",DATUM[""MGI_1901"",SPHEROID[""Bessel 1841"",6377397.155,299.1528128,AUTHORITY[""EPSG"",""7004""]],TOWGS84[682,-203,480,0,0,0,0],AUTHORITY[""EPSG"",""1031""]],PRIMEM[""Greenwich"",0,AUTHORITY[""EPSG"",""8901""]],UNIT[""degree"",0.0174532925199433,AUTHORITY[""EPSG"",""9122""]],AUTHORITY[""EPSG"",""3906""]]","+proj=longlat +ellps=bessel +towgs84=682,-203,480,0,0,0,0 +no_defs "
4001,EPSG,4001,"GEOGCS[""Unknown datum based upon the Airy 1830 ellipsoid"",DATUM[""Not_specified_based_on_Airy_1830_ellipsoid"",SPHEROID[""Airy 1830"",6377563.396,299.3249646,AUTHORITY[""EPSG"",""7001""]],AUTHORITY[""EPSG"",""6001""]],PRIMEM[""Greenwich"",0,AUTHORITY[""EPSG"",""8901""]],UNIT[""degree"",0.0174532925199433,AUTHORITY[""EPSG"",""9122""]],AUTHORITY[""EPSG"",""4001""]]",+proj=longlat +ellps=airy +no_defs
4002,EPSG,4002,"GEOGCS[""Unknown datum based upon the Airy Modified 1849 ellipsoid"",DATUM[""Not_specified_based_on_Airy_Modified_1849_ellipsoid"",SPHEROID[""Airy Modified 1849"",6377340.189,299.3249646,AUTHORITY[""EPSG"",""7002""]],AUTHORITY[""EPSG"",""6002""]],PRIMEM[""Greenwich"",0,AUTHORITY[""EPSG"",""8901""]],UNIT[""degree"",0.0174532925199433,AUTHORITY[""EPSG"",""9122""]],AUTHORITY[""EPSG"",""4002""]]",+proj=longlat +ellps=mod_airy +no_defs
4003,EPSG,4003,"GEOGCS[""Unknown datum based upon the Australian National Spheroid"",DATUM[""Not_specified_based_on_Australian_National_Spheroid"",SPHEROID[""Australian National Spheroid"",6378160,298.25,AUTHORITY[""EPSG"",""7003""]],AUTHORITY[""EPSG"",""6003""]],PRIMEM[""Greenwich"",0,AUTHORITY[""EPSG"",""8901""]],UNIT[""degree"",0.0174532925199433,AUTHORITY[""EPSG"",""9122""]],AUTHORITY[""EPSG"",""4003""]]",+proj=longlat +ellps=aust_SA +no_defs
4004,EPSG,4004,"GEOGCS[""Unknown datum based upon the Bessel 1841 ellipsoid"",DATUM[""Not_specified_based_on_Bessel_1841_ellipsoid"",SPHEROID[""Bessel 1841"",6377397.155,299.1528128,AUTHORITY[""EPSG"",""7004""]],AUTHORITY[""EPSG"",""6004""]],PRIMEM[""Greenwich"",0,AUTHORITY[""EPSG"",""8901""]],UNIT[""degree"",0.0174532925199433,AUTHORITY[""EPSG"",""9122""]],AUTHORITY[""EPSG"",""4004""]]",+proj=longlat +ellps=bessel +no_defs
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/summary_review_202012201753.csv
1250 mmg-dashboard-prod/summary_review_202012201753.csv
$ cat mmg-dashboard-prod/summary_review_202012201753.csv | head -10
"id","business_id","type","rating","total_reviews","total_rating","previous_report","last_pulled","number_of_mmg_converted"
7,7,insider_pages,5.0,22,110.0,0,2019-10-22 04:22:52,0
1,5,city_search,0.0,1,0.0,0,2019-10-22 04:22:52,0
3,7,city_search,0.0,27,0.0,0,2019-10-22 04:22:52,0
8,7,merchant_circle,5.0,11,55.0,0,2019-10-22 04:22:52,0
11,122,city_search,0.0,27,0.0,0,2019-10-22 04:22:52,0
12,122,health_grades,5.0,50,250.0,0,2019-10-22 04:22:52,0
13,122,insider_pages,5.0,2,10.0,0,2019-10-22 04:22:52,0
14,122,merchant_circle,5.0,11,55.0,0,2019-10-22 04:22:52,0
800,1677,google,4.5690607734807,181,827.0,69,2020-12-18 23:28:40,2
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/survey_202012201753.csv
609 mmg-dashboard-prod/survey_202012201753.csv
$ cat mmg-dashboard-prod/survey_202012201753.csv | head -10
"id","business","survey_id","questions","response_count","type","survey_monkey_id","survey_name","updated_date","is_enabled","survey_link"
89142,613,"2928","{""130748968"":{""question_id"":""130748968"",""heading"":""On a 5 star rating, how would you rate your experience? Please check one.
(5 stars being the most enjoyable experience and 1 star the least.)"",""position"":2,""type"":""rating"",""answers"":{""957877522"":""1"",""957877523"":""2"",""957877524"":""3"",""957877525"":""4"",""957877526"":""5""}},""130748969"":{""question_id"":""130748969"",""heading"":""Please comment on your experience below:"",""position"":3,""type"":""text"",""answers"":[]}}",39,sms,"118870769",SMS Survey 1 hour - Disabled,2019-12-04 01:10:16,false,http://bit.ly/2KXTpDB
89036,424,"2820","{""72445361"":{""question_id"":""72445361"",""heading"":""How satisfied are you with your recent experience at Gentle Dental?"",""position"":2,""type"":""text"",""answers"":{""571154058"":""Dissatisfied"",""571154059"":""Less\u00a0Satisfied"",""571154060"":""Satisfied"",""571154061"":""Very Satisfied"",""571154062"":""Extremely Satisfied""}},""72445356"":{""question_id"":""72445356"",""heading"":""Name:"",""position"":2,""type"":""text"",""answers"":[]},""72445357"":{""question_id"":""72445357"",""heading"":""Email:"",""position"":3,""type"":""text"",""answers"":[]},""72445358"":{""question_id"":""72445358"",""heading"":""Please tell us more about your experience:"",""position"":4,""type"":""text"",""answers"":[]},""72445360"":{""question_id"":""72445360"",""heading"":""How could we have improved your experience?"",""position"":5,""type"":""text"",""answers"":[]}}",841,sms,"151072115",SMS Survey,2020-12-20 13:45:21,true,https://www.research.net/r/53LXXSW
89390,443,"3448","{""272232452"":{""question_id"":""272232452"",""heading"":""How satisfied are you with your recent experience at Gentle Dental?"",""position"":2,""type"":""text"",""answers"":{""1863660750"":""Dissatisfied"",""1863660751"":""Less\u00a0Satisfied"",""1863660752"":""Satisfied"",""1863660753"":""Very Satisfied"",""1863660754"":""Extremely Satisfied""}},""272232447"":{""question_id"":""272232447"",""heading"":""Name:"",""position"":2,""type"":""text"",""answers"":[]},""272232448"":{""question_id"":""272232448"",""heading"":""Email:"",""position"":3,""type"":""text"",""answers"":[]},""272232449"":{""question_id"":""272232449"",""heading"":""Please tell us more about your experience:"",""position"":4,""type"":""text"",""answers"":[]},""272232451"":{""question_id"":""272232451"",""heading"":""How could we have improved your experience?"",""position"":5,""type"":""text"",""answers"":[]}}",134,sms,"131840094",SMS Survey 2,2019-12-04 05:15:08,false,https://www.research.net/r/FPGK2CB
89375,1131,"3325","{""355420824"":{""question_id"":""355420824"",""heading"":""On a 5 star rating, how would you rate your experience? Please check one.
(5 stars being the most enjoyable experience and 1 star the least.)"",""position"":2,""type"":""rating"",""answers"":{""2347638575"":""1"",""2347638576"":""2"",""2347638577"":""3"",""2347638578"":""4"",""2347638579"":""5""}},""355420825"":{""question_id"":""355420825"",""heading"":""If you were dissatisfied with your experience please comment on below:"",""position"":2,""type"":""text"",""answers"":[]}}",1800,email,"270671411",Email Survey,2020-12-20 17:00:32,true,https://www.surveymonkey.com/r/SMTGKRD
89235,1332,"3051","{""333679708"":{""question_id"":""333679708"",""heading"":""On a 5 star rating, how would you rate your experience? Please check one.
(5 stars being the most enjoyable experience and 1 star the least.)"",""position"":2,""type"":""rating"",""answers"":{""2205994769"":""1"",""2205994770"":""2"",""2205994771"":""3"",""2205994772"":""4"",""2205994773"":""5""}},""333679709"":{""question_id"":""333679709"",""heading"":""If you were dissatisfied with your experience please comment below:"",""position"":2,""type"":""text"",""answers"":[]}}",33,sms,"187142835",SMS Survey 1 hour,2020-03-09 19:58:42,false,https://www.surveymonkey.com/r/7K9YLCM
89453,737,"3966","{""334273954"":{""question_id"":""334273954"",""heading"":""On a 5 star rating, how would you rate your experience? Please check one.
(5 stars being the most enjoyable experience and 1 star the least.)"",""position"":2,""type"":""rating"",""answers"":{""2209789257"":""1"",""2209789258"":""2"",""2209789259"":""3"",""2209789260"":""4"",""2209789261"":""5""}},""334273955"":{""question_id"":""334273955"",""heading"":""Please comment on your experience below:"",""position"":3,""type"":""text"",""answers"":[]}}",38,email,"187231936",Email Survey,2020-12-20 13:25:08,true,https://www.surveymonkey.com/r/GMDM6TL
89593,1969,"5292",,,email,"285839188",Email Survey,2020-06-09 16:02:35,false,https://www.surveymonkey.com/r/77GNZ8H
89488,1617,"4243",,,sms,"270597850",SMS Manual Survey,2020-01-15 20:44:14,false,https://www.surveymonkey.com/r/ZG3HWDC
89203,709,"3019","{""334812816"":{""question_id"":""334812816"",""heading"":""On a 5 star rating, how would you rate your experience? Please check one.
(5 stars being the most enjoyable experience and 1 star the least.)"",""position"":2,""type"":""rating"",""answers"":{""2213228074"":""1"",""2213228075"":""2"",""2213228076"":""3"",""2213228077"":""4"",""2213228078"":""5""}},""334812817"":{""question_id"":""334812817"",""heading"":""Please comment on your experience below:"",""position"":3,""type"":""text"",""answers"":[]}}",1371,sms,"187320103",SMS Survey 1 hour,2020-11-10 14:22:50,false,https://www.surveymonkey.com/r/QKFB7X7
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/survey_response_202012201753.csv
157590 mmg-dashboard-prod/survey_response_202012201753.csv
$ cat mmg-dashboard-prod/survey_response_202012201753.csv | head -10
"id","survey","date","text","respondent_id","patient_id","patient_name","type","rating","comment"
15632250,89117,2019-06-04 13:58:10,"[{""question_id"":""283627929"",""answers"":[{""answer_id"":""1905746378"",""text"":""Extremely Satisfied""}]}]","10775937394",,,,5,
15632251,89117,2019-06-05 14:43:58,"[{""question_id"":""283627929"",""answers"":[{""answer_id"":""1905746378"",""text"":""Extremely Satisfied""}]}]","10778669914",,,,5,
15632252,89117,2019-06-06 14:36:05,"[{""question_id"":""283627929"",""answers"":[{""answer_id"":""1905746378"",""text"":""Extremely Satisfied""}]}]","10781195575",,,,5,
15632253,89117,2019-06-06 15:51:41,"[{""question_id"":""283627929"",""answers"":[{""answer_id"":""1905746378"",""text"":""Extremely Satisfied""}]}]","10781387840",,,,5,
15632254,89117,2019-06-06 16:05:32,"[{""question_id"":""283627929"",""answers"":[{""answer_id"":""1905746377"",""text"":""Very Satisfied""}]}]","10781421424",,,,4,
15632255,89117,2019-06-06 16:54:38,"[{""question_id"":""283627929"",""answers"":[{""answer_id"":""1905746378"",""text"":""Extremely Satisfied""}]}]","10781536651",,,,5,
15632256,89117,2019-06-07 16:04:41,"[{""question_id"":""283627929"",""answers"":[{""answer_id"":""1905746377"",""text"":""Very Satisfied""}]}]","10783950585",,,,4,
15632257,89117,2019-06-12 11:54:18,"[{""question_id"":""283627929"",""answers"":[{""answer_id"":""1905746378"",""text"":""Extremely Satisfied""}]}]","10793140557",,,,5,
15632258,89117,2019-06-12 11:54:38,"[{""question_id"":""283627929"",""answers"":[{""answer_id"":""1905746378"",""text"":""Extremely Satisfied""}]}]","10793141331",,,,5,
-----------------------------------------------------------------
$ wc -l mmg-dashboard-prod/user_business_202012201753.csv
7879 mmg-dashboard-prod/user_business_202012201753.csv
$ cat mmg-dashboard-prod/user_business_202012201753.csv | head -10
"id","user_id","business_id","is_owner","invited_name","invited_email","invited_code","roles","dashboard_permission"
14162,2830,1854,true,,,,"[""ROLE_ADMIN""]","[""marketingTracker"",""callAnalysis""]"
12897,2352,1686,false,Nicole O'Leary,nicole.oleary@42northdental.com,"55e3e6685ae1356fa4e63c72993ff06f","[""ROLE_INVITED_USER""]","[""patientEngagement"",""appointments"",""patientList"",""oneTimeCampaigns"",""onlineScheduling"",""textPatients"",""reputation"",""reputationSummary"",""reviewToolStats"",""completedSurveys"",""removeNegativeReviews"",""marketingTracker"",""callAnalysis""]"
13027,2411,1677,false,Adam Richards,adam.richards@lovettdental.com,"30e1a2897da3a746f1ac1b26c916e70f","[""ROLE_INVITED_USER""]","[""patientEngagement"",""appointments"",""patientList"",""oneTimeCampaigns"",""onlineScheduling"",""textPatients"",""myLocalDirectories"",""reputation"",""reputationSummary"",""completedSurveys"",""socialMedia"",""marketingTracker"",""callAnalysis"",""settings"",""patientEngagementSettings"",""reports"",""communicationOutbox"",""multipleLocationCampaigns""]"
12360,499,1563,false,Roger Squire,rsquire@gentledental.com,"2bea4097328b32eef2162c17a7586236","[""ROLE_ADMIN""]","[""patientEngagement"",""appointments"",""patientList"",""oneTimeCampaigns"",""onlineScheduling"",""textPatients"",""reputation"",""reputationSummary"",""reviewToolSettings"",""reviewToolStats"",""completedSurveys"",""removeNegativeReviews"",""marketingTracker"",""callAnalysis"",""settings"",""accountSettings"",""manageLocations"",""notificationSettings"",""patientEngagementSettings"",""appointmentReminders"",""automatedCampaigns"",""reports"",""ols"",""communicationOutbox"",""general"",""placeholderSettings""]"
7564,1770,858,true,Vinay Kaza,vinay.kaza@42northdental.com,c8ca5fdbba26a8424ef79e862a3bfbe8,"[""ROLE_ADMIN""]","[""patientEngagement"",""appointments"",""patientList"",""oneTimeCampaigns"",""onlineScheduling"",""textPatients"",""myLocalDirectories"",""reputation"",""reputationSummary"",""reviewToolSettings"",""reviewToolStats"",""completedSurveys"",""removeNegativeReviews"",""socialMedia"",""marketingTracker"",""callAnalysis"",""settings"",""accountSettings"",""manageLocations"",""notificationSettings"",""patientEngagementSettings"",""appointmentReminders"",""automatedCampaigns"",""reports"",""ols"",""communicationOutbox"",""general"",""placeholderSettings""]"
13737,,1762,false,Front Desk,fiscusandfiscus@gmail.com,da173a9f47e9c24102d2dbe95e705aac,"[""ROLE_INVITED_USER""]","[""patientEngagement"",""appointments"",""patientList"",""oneTimeCampaigns"",""onlineScheduling"",""textPatients"",""settings"",""accountSettings"",""patientEngagementSettings"",""appointmentReminders"",""automatedCampaigns"",""reports"",""communicationOutbox"",""general""]"
13810,2706,1790,false,Front Desk,addisonlenna@gmail.com,b57925e81d7dfa4547bffd99bc1540d2,"[""ROLE_INVITED_USER""]","[""patientEngagement"",""appointments"",""patientList"",""oneTimeCampaigns"",""onlineScheduling"",""textPatients"",""settings"",""accountSettings"",""patientEngagementSettings"",""appointmentReminders"",""automatedCampaigns"",""reports"",""ols"",""communicationOutbox"",""general""]"
13456,2587,1670,false,Sindy Medina,sindy.medina@lovettdental.com,"67ff64d996303929914e2ba81c85b845","[""ROLE_INVITED_USER""]","[""patientEngagement"",""appointments"",""patientList"",""onlineScheduling"",""textPatients"",""myLocalDirectories"",""reputation"",""reputationSummary"",""completedSurveys"",""socialMedia"",""marketingTracker"",""callAnalysis"",""settings"",""patientEngagementSettings"",""reports"",""communicationOutbox""]"
11893,2230,1520,false,Angie,angie@blueridgedentalcarellc.com,"254fedc34004fa0daadcc686b58459f0","[""ROLE_INVITED_USER""]","[""patientEngagement"",""appointments"",""patientList"",""onlineScheduling"",""textPatients"",""myLocalDirectories"",""reputation"",""reputationSummary"",""completedSurveys"",""socialMedia"",""marketingTracker"",""callAnalysis"",""settings"",""patientEngagementSettings"",""reports"",""communicationOutbox""]"
-----------------------------------------------------------------
$ wc -l olsnewprod/accounts_202012201813.csv
10739 olsnewprod/accounts_202012201813.csv
$ cat olsnewprod/accounts_202012201813.csv | head -10
"id","mmg_id","pms_id","email","password","first_name","last_name","gender","address","address2","city","state","zipcode","birthdate","created_at","modified_at","phone","confirmed","validation_pin","marital_status","business_id","utm_medium","utm_source","utm_campaign","utm_term","utm_content"
1,d8134cf0-219b-483a-8d01-e61a780ca293,"",fuhyli@mailinator.com,$2a$10$hJEAepRhtgS99FcyaYg0ju7pRQHZGhnDTe6svwWIUaYu.sBDuAEg2,Joel,Rodriguez,m,Est est est est Numquam dolores,"",Autem quo,FM,"66129",1992-04-16,2019-04-08 15:55:21,2019-04-08 15:55:21,"868 178-8725",true,"",married,,,,,,
17,f69cb0d1-07ea-4cf9-a94b-1eb93378b2f1,"",rmkids@optonline.net,$2a$10$tCLG9JwtKmoqV3hkzFQONuf3hlHtelZbOPDUq9AX6IpsVDDxlJDyu,Rose,Barros,f,"182 Buena Vista Drive ","",Ringwood,NJ,"07456",1969-07-31,2019-04-23 14:05:25,2019-04-23 14:05:25,"201-7392004",true,"",married,,,,,,
2,"3d36a531-7a4b-4b6d-be96-f9806affae30","",rspagnolo@me.com,$2a$10$RPvhzbk6xaQX8kKFJiavRu.iJeqmMaOzoewRPViOfFpH1/E4o2TEe,Mia,Audio,f,"111 Green St ","",Naples,FL,"34142",1997-08-12,2019-04-08 16:49:59,2019-04-08 16:49:59,"7275550001",true,"",single,,,,,,
11,"3d36a531-7a4b-4b6d-be96-f9806affae30","",marydex@rspagnolo.com,$2a$10$ngyb8s81aadNVqysysONvuPMyKF.Z7MeL2IDfxtVVWIsjWkzHaG9i,mary,dex,f,"10 Main St ","",Naples,FL,"34142",1991-02-10,2019-04-16 18:35:46,2019-04-16 18:35:46,"727-348-9747",true,"",single,,,,,,
3,f69cb0d1-07ea-4cf9-a94b-1eb93378b2f1,"",stevenvelazquez86@gmail.com,$2a$10$uAdaGHIFjJr/ORJF4wujy.PyqSBoaIz/eDkqk.cn62FbAsPBf0zxe,Steven,Velazquez,m,"22 Woodland Rd ","",Ringwood,NJ,"07456",1986-07-31,2019-04-09 18:00:36,2019-04-09 18:00:36,"973-330-2454",true,"",married,,,,,,
4,"3d36a531-7a4b-4b6d-be96-f9806affae30","",roger.squire@42northdental.com,$2a$10$qbpSg9Mxlz8XxNoLxMZox.Xo/Hi6wwxgIHQdCLqG9vR14s9OJsmrq,Cyrus,TestOLS01,m,"200 5th Ave, Apt. O-01 ","",Waltham,MA,"02451",1999-08-11,2019-04-11 01:47:33,2019-04-11 01:47:33,"7814057849",true,"",single,,,,,,
5,d9b99e0d-fbad-4386-bfca-35c200ec2677,"",Frank123456789@gmail.com,$2a$10$B8sBU0ALPLTEiSyxdwAJeu1bgEyNfRQM1QDzSdligge/eJzY69Umq,Frank,Coleman,m,"7000 Clover Lane ","",Baltimore,MD,"21239",1978-01-01,2019-04-11 18:56:46,2019-04-11 18:56:46,"6102132580",false,"1111",single,,,,,,
6,d9b99e0d-fbad-4386-bfca-35c200ec2677,"",Frank@mmgfusion.com,$2a$10$B3j38z3NGvDaBoZL5zKAyehahG7rQUCtgtBGiOi5/w46KQPWNNvPW,Frank,Coleman,m,"7000 Clover Lane ","",Baltimore,MD,"21239",1978-01-01,2019-04-11 18:57:28,2019-04-11 18:57:28,"6102132580",true,"",single,,,,,,
12,"3d36a531-7a4b-4b6d-be96-f9806affae30","",lori.dex@rspagnolo.com,$2a$10$xoiTkFBATfPgDrcLzUSzcOMQFSzJhGPbfJDDx2Tvoev73322elUni,Lori,Dex,f,"99 Trount La. ","",Naples,FL,"34142",1991-08-02,2019-04-16 18:39:07,2019-04-16 18:39:07,"727-348-9747",true,"",single,,,,,,
-----------------------------------------------------------------
$ wc -l olsnewprod/appointments_202012201813.csv
8342 olsnewprod/appointments_202012201813.csv
$ cat olsnewprod/appointments_202012201813.csv | head -10
"id","mmg_id","patient_id","provider_id","service_id","date","comment","answers","created_at","duration","is_archived","status"
5686,eb674309-f6ae-4463-95da-90394d4b5579,13050,6144,92818,2020-12-24 14:00:00,"Pain in right lower molar when chewing, possible issue with previous filling.","""All Cigna Plans""",2020-12-14 22:55:15,60,false,submitted
5630,d838500b-0ebb-44c6-b31a-eb6a496db93b,12939,6142,52028,2020-12-22 14:00:00,"","""All other Insurance Plans""",2020-12-09 22:36:37,60,false,submitted
5375,"47c19bba-fe80-4fbe-8330-e090555ff46f",12499,6308,97394,2020-12-21 09:30:00,"Christian Perez
June 23, 1989
ID# ZGA837021419
Group # 190087
Phone Number: 1-800-972-7565","""All Blue Cross Blue Shield Plans""",2020-11-22 19:30:25,60,false,submitted
5729,"3488a33a-7e37-44c8-bb05-e5023b9d6d37",13124,6305,95104,2020-12-23 09:30:00,"","""""",2020-12-17 23:14:14,60,false,submitted
5765,"3488a33a-7e37-44c8-bb05-e5023b9d6d37",13178,6305,95108,2020-12-24 10:00:00,"","""All Delta DentalPlans""",2020-12-19 23:08:16,60,false,submitted
-----------------------------------------------------------------
$ wc -l olsnewprod/approval_requests_202012201813.csv
2 olsnewprod/approval_requests_202012201813.csv
$ cat olsnewprod/approval_requests_202012201813.csv | head -10
"id","mmg_id","account_id","token","qsi_patient_id","provider_pms_id","location_id","slot_id","description","appointment","created_at","patient_id","service_id","provider_id","approve_url"
2,"3d36a531-7a4b-4b6d-be96-f9806affae30",252,cbe9a83a,"90111448","888","990","990_888_1157_2019_08_02_08_00","ZD0900, ""I have dental insurance"", sdssdsdd","{""id"":0,""patient_id"":311,""provider_id"":5,""service_id"":72,""comment"":""sdssdsdd"",""date"":""2019-08-02T08:00:00Z"",""duration"":60,""answers"":""I have dental insurance"",""posted"":""2019-07-31T16:36:50.035955045-04:00"",""is_archived"":false,""Provider"":{""id"":0,""pms_id"":"""",""first_name"":"""",""last_name"":"""",""patient_max_age"":null,""service_ids"":null},""Service"":{""id"":0,""pms_id"":""""},""Patient"":{""id"":311,""pms_id"":"""",""is_master"":true,""account_id"":252,""email"":""sidneysaxony@rspagnolo.com"",""phone"":""7273489747"",""first_name"":""sidney"",""last_name"":""saxony"",""birthdate"":""1955-01-22T00:00:00Z"",""marital_status"":""single"",""gender"":""m""}}",2019-12-13 15:32:54,,,,
-----------------------------------------------------------------
$ wc -l olsnewprod/business_appt_preferences_202012201813.csv
1 olsnewprod/business_appt_preferences_202012201813.csv
$ cat olsnewprod/business_appt_preferences_202012201813.csv | head -10
"mmg_id","show_first_opening_only"
-----------------------------------------------------------------
$ wc -l olsnewprod/columns_202012201813.csv
1672 olsnewprod/columns_202012201813.csv
$ cat olsnewprod/columns_202012201813.csv | head -10
"id","mmg_id","is_enabled","provider_id","created_at","operatory_id","name"
2,"3d36a531-7a4b-4b6d-be96-f9806affae30",true,5,2019-04-08 16:42:59,4,OP1 column 1158
3,"3d36a531-7a4b-4b6d-be96-f9806affae30",true,5,2019-04-08 16:43:32,8,Overflow 1162
4,"3d36a531-7a4b-4b6d-be96-f9806affae30",true,4,2019-04-08 16:44:06,6,ORTHO column 1163
5,"3d36a531-7a4b-4b6d-be96-f9806affae30",true,4,2019-04-08 16:44:39,7,ORTHO column 1164
6,"3f9ece01-4aef-47de-936a-23df00e8c1d9",true,80,2019-05-03 10:51:41,17,Dr. Kolbig
7,"3f9ece01-4aef-47de-936a-23df00e8c1d9",true,103,2019-05-03 11:03:07,17,Dr. Fedorciw
8,"3f9ece01-4aef-47de-936a-23df00e8c1d9",true,101,2019-05-03 11:03:27,17,Dr. Massoumi
9,"18a3de16-22cd-4dc6-bc53-7080aa94a3b7",true,193,2019-05-07 14:47:24,11,Dr. Buck's Column
10,"18a3de16-22cd-4dc6-bc53-7080aa94a3b7",true,185,2019-05-07 14:48:11,12,Dr. Johnson's Column
-----------------------------------------------------------------
$ wc -l olsnewprod/column_services_202012201813.csv
735 olsnewprod/column_services_202012201813.csv
$ cat olsnewprod/column_services_202012201813.csv | head -10
"id","column_id","service_id","created_at"
1,1,452,2019-04-08 16:42:32
2,1,775,2019-04-08 16:42:32
3,1,72,2019-04-08 16:42:32
4,2,452,2019-04-08 16:42:59
5,2,775,2019-04-08 16:42:59
6,2,72,2019-04-08 16:42:59
7,3,452,2019-04-08 16:43:32
8,3,775,2019-04-08 16:43:32
9,3,72,2019-04-08 16:43:32
-----------------------------------------------------------------
$ wc -l olsnewprod/gorp_migrations_202012201813.csv
62 olsnewprod/gorp_migrations_202012201813.csv
$ cat olsnewprod/gorp_migrations_202012201813.csv | head -10
"id","applied_at"
"1_widget_settings.sql",2019-03-20 03:47:47
"2_main_settings.sql",2019-03-20 03:47:47
"3_main_settings_mmg_uniq.sql",2019-03-20 03:47:47
"4_widget_settings_mmg_uniq.sql",2019-03-20 03:47:47
"5_columns_and_providers.sql",2019-03-20 03:47:47
"6_missing_updated_at.sql",2019-03-20 03:47:47
"7_drop_constraints.sql",2019-03-20 03:47:47
"8_update_fields.sql",2019-03-20 03:47:47
"9_alter_widget_settings.sql",2019-03-20 03:47:47
-----------------------------------------------------------------
$ wc -l olsnewprod/main_settings_202012201813.csv
389 olsnewprod/main_settings_202012201813.csv
$ cat olsnewprod/main_settings_202012201813.csv | head -10
"id","mmg_id","settings"
339,ab2bc3a4-e92f-42a2-aeff-8babbb5a3daf,"{""business"": ""0"", ""created_at"": ""00:00:00"", ""working_hours"": [{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""05:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""05:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""05:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""05:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""OPEN"", ""timeEnd"": ""05:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}], ""booking_time_max"": 9, ""booking_time_min"": 0, ""online_sched_email"": ""goo@goo.com"", ""prevent_scheduling"": false, ""new_patient_schedule"": ""automated"", ""is_allow_multi_booking"": false, ""existing_patient_schedule"": ""automated"", ""is_allow_early_time_slots"": false, ""is_allow_inactive_request"": true, ""is_allow_multi_appointment"": false, ""show_last_and_upcoming_appointments"": false}"
265,"8d444140-d638-493d-83a5-2e2da19959a7","{""business"": ""0"", ""created_at"": ""00:00:00"", ""working_hours"": [{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""07:00 PM"", ""timeStart"": ""07:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""07:00 PM"", ""timeStart"": ""07:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""07:00 PM"", ""timeStart"": ""07:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""07:00 PM"", ""timeStart"": ""07:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""OPEN"", ""timeEnd"": ""07:00 PM"", ""timeStart"": ""07:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""OPEN"", ""timeEnd"": ""07:00 PM"", ""timeStart"": ""07:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}], ""booking_time_max"": 8, ""booking_time_min"": 0, ""online_sched_email"": ""goo@goo.com"", ""prevent_scheduling"": true, ""new_patient_schedule"": ""automated"", ""is_allow_multi_booking"": false, ""existing_patient_schedule"": ""automated"", ""is_allow_early_time_slots"": false, ""is_allow_inactive_request"": false, ""is_allow_multi_appointment"": false, ""show_last_and_upcoming_appointments"": false}"
352,"3283a6ee-c670-444b-8786-440001a88a1c","{""business"": ""0"", ""created_at"": ""00:00:00"", ""working_hours"": [{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}], ""booking_time_max"": ""2"", ""booking_time_min"": ""3"", ""online_sched_email"": ""goo@goo.com"", ""prevent_scheduling"": false, ""new_patient_schedule"": ""automated"", ""is_allow_multi_booking"": false, ""existing_patient_schedule"": ""automated"", ""is_allow_early_time_slots"": true, ""is_allow_inactive_request"": true, ""is_allow_multi_appointment"": true, ""show_last_and_upcoming_appointments"": false}"
353,"59d4df65-9039-4b41-ae9d-0756cdfe6e67","{""business"": ""0"", ""created_at"": ""00:00:00"", ""working_hours"": [{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}], ""booking_time_max"": ""2"", ""booking_time_min"": ""3"", ""online_sched_email"": ""goo@goo.com"", ""prevent_scheduling"": false, ""new_patient_schedule"": ""automated"", ""is_allow_multi_booking"": false, ""existing_patient_schedule"": ""automated"", ""is_allow_early_time_slots"": true, ""is_allow_inactive_request"": true, ""is_allow_multi_appointment"": true, ""show_last_and_upcoming_appointments"": false}"
336,"0d076624-0a03-449b-8b98-bcad06bad5f1","{""business"": ""0"", ""created_at"": ""00:00:00"", ""working_hours"": [{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}], ""booking_time_max"": ""2"", ""booking_time_min"": ""3"", ""online_sched_email"": ""goo@goo.com"", ""prevent_scheduling"": false, ""new_patient_schedule"": ""automated"", ""is_allow_multi_booking"": false, ""existing_patient_schedule"": ""automated"", ""is_allow_early_time_slots"": true, ""is_allow_inactive_request"": true, ""is_allow_multi_appointment"": true, ""show_last_and_upcoming_appointments"": false}"
340,a7bbf8ac-964d-4fd9-af97-cf71e53207c8,"{""business"": ""0"", ""created_at"": ""00:00:00"", ""working_hours"": [{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}], ""booking_time_max"": ""2"", ""booking_time_min"": ""3"", ""online_sched_email"": ""goo@goo.com"", ""prevent_scheduling"": false, ""new_patient_schedule"": ""automated"", ""is_allow_multi_booking"": false, ""existing_patient_schedule"": ""automated"", ""is_allow_early_time_slots"": true, ""is_allow_inactive_request"": true, ""is_allow_multi_appointment"": true, ""show_last_and_upcoming_appointments"": false}"
334,ab240400-0ea0-4834-a408-d9446d10d5c9,"{""business"": ""0"", ""created_at"": ""00:00:00"", ""working_hours"": [{""day"": ""MONDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""05:00 PM"", ""timeStart"": ""08:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""07:00 PM"", ""timeStart"": ""08:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""07:00 PM"", ""timeStart"": ""10:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""OPEN"", ""timeEnd"": ""05:00 PM"", ""timeStart"": ""08:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""OPEN"", ""timeEnd"": ""04:30 PM"", ""timeStart"": ""08:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}], ""booking_time_max"": 8, ""booking_time_min"": 0, ""online_sched_email"": ""goo@goo.com"", ""prevent_scheduling"": false, ""new_patient_schedule"": ""approval"", ""is_allow_multi_booking"": false, ""existing_patient_schedule"": ""approval"", ""is_allow_early_time_slots"": false, ""is_allow_inactive_request"": true, ""is_allow_multi_appointment"": false, ""show_last_and_upcoming_appointments"": false}"
342,"997f29d2-eb81-4bb7-91a9-58deac30cb84","{""business"": ""0"", ""created_at"": ""00:00:00"", ""working_hours"": [{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}], ""booking_time_max"": ""2"", ""booking_time_min"": ""3"", ""online_sched_email"": ""goo@goo.com"", ""prevent_scheduling"": false, ""new_patient_schedule"": ""automated"", ""is_allow_multi_booking"": false, ""existing_patient_schedule"": ""automated"", ""is_allow_early_time_slots"": true, ""is_allow_inactive_request"": true, ""is_allow_multi_appointment"": true, ""show_last_and_upcoming_appointments"": false}"
335,"8065b8bd-e07f-45a6-bcfd-031aad447dfc","{""business"": ""0"", ""created_at"": ""00:00:00"", ""working_hours"": [{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""OPEN"", ""timeEnd"": ""17:00"", ""timeStart"": ""09:00"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}], ""booking_time_max"": ""2"", ""booking_time_min"": ""3"", ""online_sched_email"": ""goo@goo.com"", ""prevent_scheduling"": false, ""new_patient_schedule"": ""automated"", ""is_allow_multi_booking"": false, ""existing_patient_schedule"": ""automated"", ""is_allow_early_time_slots"": true, ""is_allow_inactive_request"": true, ""is_allow_multi_appointment"": true, ""show_last_and_upcoming_appointments"": false}"
-----------------------------------------------------------------
$ wc -l olsnewprod/notification_settings_202012201813.csv
127 olsnewprod/notification_settings_202012201813.csv
$ cat olsnewprod/notification_settings_202012201813.csv | head -10
"id","mmg_id","mails","email_template","sms_message","sms_out_message","is_sms_to_patient_enabled","is_email_to_patient_enabled","is_notification_to_dental_enabled","dental_email_template","template","template_type"
2,"3f9ece01-4aef-47de-936a-23df00e8c1d9",{smiledrs@smiledrs.comcastbiz.net},"",Thank you for your request. We will be in touch to confirm this appt shortly.,"Drs. Fedorciw, Massoumi & Kolbig - (860) 635-4666",true,true,true,New Requested Appointment!,"",""
3,"18a3de16-22cd-4dc6-bc53-7080aa94a3b7","{drbuckjhonston@drbuckjohnston.com,anne.cauthen@gmail.com}","",Thank you for your request! We will be in touch to confirm this appointment shortly.,Drs. Buck and Johnston - (281) 421-1100,true,true,true,New Appointment Request!,"",""
7,f6712737-eb2f-4089-b19f-9753c8ed2014,{melyndadavis2011@gmail.com},"",Thank you for your request. We will be in touch to confirm your appointment.,"Farrow Orthodontics
Center City Office
215-569-9060",true,true,true,New Appointment Request,"",""
10,aaae8304-667d-421d-92b3-234208795f8c,{melyndadavis2011@gmail.com},"",Thank you for your request. We will be in touch to confirm your,"Farrow Orthodontics - Mt Airy Office
215-247-9060",true,true,true,New Appointment Request,"",""
12,"391838b9-f486-482c-95fc-d3eddf9be006","{audrey.baldwin@42northdental.com,gentledentalmilford@42northdental.com,vada.circeo@42northdental.com}","",Thank you for using Gentle Dental online!,U to optout,false,false,true,Please check Gentle Dental Milford MMG Patient Engagement > Online Scheduling,"",""
16,"41082b0c-4844-485b-98fd-9b6f309eae7a",{melyndadavis2011@gmail.com},"",Thank you for your request. We will be in touch to confirm your appointment.,Opt Out,true,false,true,A patient has scheduled an appointment through online scheduling.,"",""
-----------------------------------------------------------------
$ wc -l olsnewprod/operatories_202012201813.csv
918 olsnewprod/operatories_202012201813.csv
$ cat olsnewprod/operatories_202012201813.csv | head -10
"id","title","mmg_id","pms_id","created_at"
1,Hyg1,"3d36a531-7a4b-4b6d-be96-f9806affae30","1160",2019-04-08 15:42:11
2,Hyg2,"3d36a531-7a4b-4b6d-be96-f9806affae30","1161",2019-04-08 15:42:55
3,OP1,"3d36a531-7a4b-4b6d-be96-f9806affae30","1157",2019-04-08 15:43:40
4,OP2,"3d36a531-7a4b-4b6d-be96-f9806affae30","1158",2019-04-08 15:44:13
5,OP3ENDO,"3d36a531-7a4b-4b6d-be96-f9806affae30","1159",2019-04-08 15:44:52
6,ORTHO1,"3d36a531-7a4b-4b6d-be96-f9806affae30","1163",2019-04-08 15:45:30
7,ORTHO2,"3d36a531-7a4b-4b6d-be96-f9806affae30","1164",2019-04-08 15:46:08
8,Overflow,"3d36a531-7a4b-4b6d-be96-f9806affae30","1162",2019-04-08 15:47:00
9,Operatory 1,"88bc9f79-5986-42c2-b9c7-ad0179bae71f","101",2019-04-11 13:50:34
-----------------------------------------------------------------
$ wc -l olsnewprod/patients_202012201813.csv
13007 olsnewprod/patients_202012201813.csv
$ cat olsnewprod/patients_202012201813.csv | head -10
"id","pms_id","is_master","account_id","email","phone","first_name","last_name","birthdate","created_at","modified_at","gender","marital_status","pms_id_given_by"
1,"",true,1,fuhyli@mailinator.com,"868 178-8725",Joel,Rodriguez,1992-04-16,2019-04-08 15:55:21,2019-04-08 15:55:21,m,married,OLS
2,"90097655",true,2,rspagnolo@me.com,"7275550001",Mia,Audio,1997-08-12,2019-04-08 16:49:59,2019-04-08 16:49:59,f,single,OLS
3,"90097770",false,2,rspagnolo@me.com,"555-777-9999",Al,Audio,2011-03-22,2019-04-09 12:55:47,2019-04-09 12:55:47,m,single,OLS
4,"",true,3,stevenvelazquez86@gmail.com,"973-330-2454",Steven,Velazquez,1986-07-31,2019-04-09 18:00:36,2019-04-09 18:00:36,m,married,OLS
5,"90098159",true,4,roger.squire@42northdental.com,"7814057849",Cyrus,TestOLS01,1999-08-11,2019-04-11 01:47:33,2019-04-11 01:47:33,m,single,OLS
6,"",true,5,Frank123456789@gmail.com,"6102132580",Frank,Coleman,1978-01-01,2019-04-11 18:56:46,2019-04-11 18:56:46,m,single,OLS
7,"",true,6,Frank@mmgfusion.com,"6102132580",Frank,Coleman,1978-01-01,2019-04-11 18:57:28,2019-04-11 18:57:28,m,single,OLS
8,"90098439",true,7,rosquire@squireventures.com,"7814057849",Bartlett,TestOLS02,1989-02-22,2019-04-12 21:59:00,2019-04-12 21:59:00,m,registered_partnership,OLS
9,"",true,8,jdean@localpatient.com,"7273489747",Jimmy,Dean,1981-08-08,2019-04-14 23:31:45,2019-04-14 23:31:45,m,divorced,OLS
-----------------------------------------------------------------
$ wc -l olsnewprod/providers_202012201813.csv
11490 olsnewprod/providers_202012201813.csv
$ cat olsnewprod/providers_202012201813.csv | head -10
"id","mmg_id","first_name","last_name","biography","working_hours","is_new_patients_enabled","is_existing_patients_enabled","specialty","pms_id","created_at","updated_at","photo","is_enabled","patient_max_age"
1,"3d36a531-7a4b-4b6d-be96-f9806affae30",Test Hyg 2,Hygiene Two,"","[{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""CLOSED"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""OPEN"", ""timeEnd"": ""04:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}]",false,false,Hygienist,"892",2019-04-08 12:31:42,2019-04-08 12:31:42,"",false,0
6,"3d36a531-7a4b-4b6d-be96-f9806affae30",Test Doctor,General,"","[{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""CLOSED"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""OPEN"", ""timeEnd"": ""04:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}]",false,false,General Dentist,TSTDR ,2019-04-08 12:31:42,2019-04-08 12:31:42,"",false,0
3,"3d36a531-7a4b-4b6d-be96-f9806affae30",Test Doctor,Endo,"","[{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""CLOSED"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""OPEN"", ""timeEnd"": ""04:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}]",false,false,Dentist,"890",2019-04-08 12:31:42,2019-04-08 12:31:42,"",false,0
2,"3d36a531-7a4b-4b6d-be96-f9806affae30",Test,Hygiene,Some test info,"[{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""OPEN"", ""timeEnd"": ""04:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}]",true,false,Hygienist,"891",2019-04-08 12:31:42,2019-04-08 12:31:42,https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Images/ols/provider/521/35557a98baaeb8e113a452868405ac06.png,false,0
5,"3d36a531-7a4b-4b6d-be96-f9806affae30",Doctor,General,top 10 dentist in US,"[{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""08:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""08:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""08:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""08:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""OPEN"", ""timeEnd"": ""03:00 PM"", ""timeStart"": ""07:30 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""OPEN"", ""timeEnd"": ""04:00 PM"", ""timeStart"": ""08:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}]",true,true,Dentist,"888",2019-04-08 12:31:42,2019-04-08 12:31:42,https://s3-us-west-1.amazonaws.com/marketing-fusion-prod/Images/ols/provider/521/357cf5aaca93238d716f5131d1ff8c63.png,true,0
7,"3d36a531-7a4b-4b6d-be96-f9806affae30",Test Doctor,Ortho,"","[{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""CLOSED"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""OPEN"", ""timeEnd"": ""04:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}]",false,false,Orthodontist,TSTDRO,2019-04-08 12:31:42,2019-04-08 12:31:42,"",false,0
9,"3d36a531-7a4b-4b6d-be96-f9806affae30",Test Hyg 1,Hygiene,"","[{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""CLOSED"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""OPEN"", ""timeEnd"": ""04:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}]",false,false,Hygienist,TSTHY ,2019-04-08 12:31:42,2019-04-08 12:31:42,"",false,0
8,"3d36a531-7a4b-4b6d-be96-f9806affae30",Test Doctor,Endo,"","[{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""CLOSED"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""OPEN"", ""timeEnd"": ""04:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}]",false,false,Endodontist,TSTDRE,2019-04-08 12:31:42,2019-04-08 12:31:42,"",false,0
11,eaf18c0e-4392-41d2-8ebd-d5b39aac4cc8,Lutfi,Nassar,"","[{""day"": ""MONDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""TUESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""WEDNESDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""THURSDAY"", ""type"": ""OPEN"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""FRIDAY"", ""type"": ""CLOSED"", ""timeEnd"": ""06:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SATURDAY"", ""type"": ""OPEN"", ""timeEnd"": ""04:00 PM"", ""timeStart"": ""09:00 AM"", ""timeEndSplit"": null, ""timeStartSplit"": null}, {""day"": ""SUNDAY"", ""type"": ""CLOSED"", ""timeEnd"": null, ""timeStart"": null, ""timeEndSplit"": null, ""timeStartSplit"": null}]",false,false,"",DL2,2019-04-10 19:40:19,2019-04-10 19:40:19,"",true,0
-----------------------------------------------------------------
$ wc -l olsnewprod/provider_services_202012201813.csv
773 olsnewprod/provider_services_202012201813.csv
$ cat olsnewprod/provider_services_202012201813.csv | head -10
"id","provider_id","service_id","created_at"
226,1439,17548,2019-07-02 14:17:26
227,1586,17548,2019-07-02 14:17:32
228,1515,17548,2019-07-02 14:17:37
766,4618,63919,2019-11-05 17:15:57
767,4618,62813,2019-11-05 17:15:57
768,4618,63894,2019-11-05 17:15:57
7,2,452,2019-04-08 16:41:34
8,2,775,2019-04-08 16:41:34
9,2,72,2019-04-08 16:41:34
-----------------------------------------------------------------
$ wc -l olsnewprod/qsi_credentials_202012201813.csv
5 olsnewprod/qsi_credentials_202012201813.csv
$ cat olsnewprod/qsi_credentials_202012201813.csv | head -10
"id","business","provider_group","username","password","secret_key","business_id"
1,gentle_dental,"1086",MMGFUSION,P!k#ix_gq^KRy,"50290975-4E54-4EF8-914A-5FE35E655643",1
9,samson_dental,"1024",QSI-SDP1024-API,}S-Ff0Po9*/p)*S,"50290975-4E54-4EF8-914A-5FE35E655643",717
10,Lovett_dental,"1011",QSI-LOV1011-API,s^txi6-onta~JYa,"50290975-4E54-4EF8-914A-5FE35E655643",718
11,sugarland_dental,"1103",QSI-GS11103-API,"G&adI2P0yT,c]sO","50290975-4E54-4EF8-914A-5FE35E655643",675
-----------------------------------------------------------------
$ wc -l olsnewprod/report_subscribers_202012201813.csv
4 olsnewprod/report_subscribers_202012201813.csv
$ cat olsnewprod/report_subscribers_202012201813.csv | head -10
"mmg_id","email","subscribed","last_sent"
"0a990630-6e32-40a9-9d69-e4a4f0c23f2e",rspagnolo@localpatient.com,true,2030-09-27 04:00:00
"4603d594-d7c7-4718-8a5b-a9343504d2f5",korotkov.filatov@gmail.com,true,2030-09-27 04:00:00
d1049fdc-f7dc-4c23-ba2d-1adc4440935d,kirsten.vonhassel@42northdental.com,true,2030-09-27 04:00:00
-----------------------------------------------------------------
$ wc -l olsnewprod/services_202012201813.csv
142721 olsnewprod/services_202012201813.csv
$ cat olsnewprod/services_202012201813.csv | head -10
"id","mmg_id","pms_id","title","description","duration","is_enabled","schedule_limit","is_new_patients_enabled","is_existing_patients_enabled","production_type"
40502,eacfa2d8-2599-41c6-91aa-7917803f2e54,ZD0900,"",New Patient Visit: Includes a comprehensive exam and necessary x-rays with the dentist prior to a hygiene visit.,60,true,14,true,true,
42623,"95230c4c-f4dd-4147-bf99-b169f2a90cac",D9310,"","Free Consultation: Meet with the General Dentist to discuss cosmetic dentistry, implants, dentures, gum disease, wisdom teeth extractions, orthodontics or other dental questions.",60,true,30,true,true,
43192,a99e1ba9-2904-47ed-8dc1-11900ba5e6f0,ZD0900,"",New Patient Visit: Includes a comprehensive exam and necessary x-rays with the dentist prior to a hygiene visit.,60,true,14,true,true,
44844,"9eb7066e-07a8-4ec3-b658-2f8a99b62773",D0140,"",Toothache: An exam and necessary x-rays with the dentist concerning a specific issue including pain or other dental emergency.,60,true,2,true,true,
44464,"9eb7066e-07a8-4ec3-b658-2f8a99b62773",ZD0900,"",New Patient Visit: Includes a comprehensive exam and necessary x-rays with the dentist prior to a hygiene visit.,60,true,14,true,true,
46439,"6960adeb-0241-42f8-b54f-fdb0aaca31cd",D9310,"","Free Consultation: Meet with the General Dentist to discuss cosmetic dentistry, implants, dentures, gum disease, wisdom teeth extractions, orthodontics or other dental questions.",60,true,30,true,true,
45736,"6960adeb-0241-42f8-b54f-fdb0aaca31cd",ZD0900,"",New Patient Visit: Includes a comprehensive exam and necessary x-rays with the dentist prior to a hygiene visit.,60,true,14,true,true,
47388,"112a77af-3b2a-4b09-b473-a0eee8a658f1",D0140,"",Toothache: An exam and necessary x-rays with the dentist concerning a specific issue including pain or other dental emergency.,60,true,2,true,true,
48983,a48bb51e-2e6d-44c1-90ef-8dc5a4626287,D9310,"","Free Consultation: Meet with the General Dentist to discuss cosmetic dentistry, implants, dentures, gum disease, wisdom teeth extractions, orthodontics or other dental questions.",60,true,30,true,true,
-----------------------------------------------------------------
$ wc -l olsnewprod/widget_settings_202012201813.csv
210 olsnewprod/widget_settings_202012201813.csv
$ cat olsnewprod/widget_settings_202012201813.csv | head -10
"id","mmg_id","settings","campaign_id"
117,"4603d594-d7c7-4718-8a5b-a9343504d2f5","{""font"": 14, ""linkText"": null, ""logotype"": null, ""question"": null, ""campaigns"": null, ""fontColor"": ""#000000"", ""widgetURL"": null, ""buttonColor"": ""#0000ff"", ""iframeWidth"": ""300px"", ""iframeBorder"": true, ""iframeHeight"": ""300px"", ""referralType"": """", ""widgetIframe"": null, ""widgetShortURL"": """", ""iframeScrolling"": true, ""isQuestionEnabled"": false, ""googleTagManagerId"": """", ""generatedLinkSource"": null, ""isMultiofficeEnabled"": false, ""engagementSettingAnswers"": []}",""
119,"20769498-e64c-436b-baf6-82832c056635","{""font"": 14, ""linkText"": null, ""logotype"": null, ""question"": null, ""campaigns"": null, ""fontColor"": ""#000000"", ""widgetURL"": null, ""buttonColor"": ""#0000ff"", ""iframeWidth"": ""300px"", ""iframeBorder"": true, ""iframeHeight"": ""300px"", ""referralType"": """", ""widgetIframe"": null, ""widgetShortURL"": """", ""iframeScrolling"": true, ""isQuestionEnabled"": false, ""googleTagManagerId"": """", ""generatedLinkSource"": null, ""isMultiofficeEnabled"": false, ""engagementSettingAnswers"": []}",""
7,d09983c5-1884-49a0-841d-4bea8086f1c2,"{""font"": 14, ""linkText"": null, ""logotype"": null, ""question"": null, ""campaigns"": null, ""fontColor"": ""#000000"", ""widgetURL"": null, ""buttonColor"": ""#0000ff"", ""iframeWidth"": ""300px"", ""iframeBorder"": true, ""iframeHeight"": ""300px"", ""referralType"": """", ""widgetIframe"": null, ""widgetShortURL"": null, ""iframeScrolling"": true, ""isQuestionEnabled"": false, ""googleTagManagerId"": """", ""prevent_scheduling"": false, ""generatedLinkSource"": null, ""isMultiofficeEnabled"": false, ""new_patient_schedule"": ""automated"", ""engagementSettingAnswers"": [], ""existing_patient_schedule"": ""automated"", ""is_allow_inactive_request"": true, ""is_allow_multi_appointment"": true, ""show_last_and_upcoming_appointments"": false}",""
36,"9aad8cf6-95ec-4857-9941-0b632c54178d","{""font"": 14, ""linkText"": null, ""logotype"": null, ""question"": null, ""campaigns"": null, ""fontColor"": ""#000000"", ""widgetURL"": null, ""buttonColor"": ""#0000ff"", ""iframeWidth"": ""300px"", ""iframeBorder"": true, ""iframeHeight"": ""300px"", ""referralType"": """", ""widgetIframe"": null, ""widgetShortURL"": """", ""iframeScrolling"": true, ""isQuestionEnabled"": false, ""googleTagManagerId"": """", ""generatedLinkSource"": null, ""isMultiofficeEnabled"": false, ""engagementSettingAnswers"": [], ""show_last_and_upcoming_appointments"": false}",""
121,"83ef97b4-7e43-49bd-a7a6-84d01388f354","{""font"": 14, ""linkText"": null, ""logotype"": null, ""question"": null, ""campaigns"": null, ""fontColor"": ""#000000"", ""widgetURL"": null, ""buttonColor"": ""#0000ff"", ""iframeWidth"": ""300px"", ""iframeBorder"": true, ""iframeHeight"": ""300px"", ""referralType"": null, ""widgetIframe"": null, ""widgetShortURL"": null, ""iframeScrolling"": true, ""isQuestionEnabled"": false, ""googleTagManagerId"": ""GTM-TN8XF6G"", ""generatedLinkSource"": null, ""isMultiofficeEnabled"": false, ""engagementSettingAnswers"": []}",""
126,"6d30d133-3cf1-47c4-9d7c-4ddba06deca5","{""font"": 14, ""linkText"": null, ""logotype"": null, ""question"": null, ""campaigns"": null, ""fontColor"": ""#000000"", ""widgetURL"": null, ""buttonColor"": ""#0000ff"", ""iframeWidth"": ""300px"", ""iframeBorder"": true, ""iframeHeight"": ""300px"", ""referralType"": """", ""widgetIframe"": null, ""widgetShortURL"": """", ""iframeScrolling"": true, ""isQuestionEnabled"": false, ""googleTagManagerId"": """", ""generatedLinkSource"": null, ""isMultiofficeEnabled"": false, ""engagementSettingAnswers"": []}",""
129,"31b97500-77c6-411e-8185-7f28adbdada9","{""font"": 14, ""linkText"": null, ""logotype"": null, ""question"": null, ""campaigns"": null, ""fontColor"": ""#000000"", ""widgetURL"": null, ""buttonColor"": ""#0000ff"", ""iframeWidth"": ""300px"", ""iframeBorder"": true, ""iframeHeight"": ""300px"", ""referralType"": """", ""widgetIframe"": null, ""widgetShortURL"": """", ""iframeScrolling"": true, ""isQuestionEnabled"": false, ""googleTagManagerId"": """", ""generatedLinkSource"": null, ""isMultiofficeEnabled"": false, ""engagementSettingAnswers"": []}",""
130,baad6339-9811-4141-8c7c-5e7388eb2aa1,"{""font"": 14, ""linkText"": null, ""logotype"": null, ""question"": null, ""campaigns"": null, ""fontColor"": ""#000000"", ""widgetURL"": null, ""buttonColor"": ""#0000ff"", ""iframeWidth"": ""300px"", ""iframeBorder"": true, ""iframeHeight"": ""300px"", ""referralType"": """", ""widgetIframe"": null, ""widgetShortURL"": """", ""iframeScrolling"": true, ""isQuestionEnabled"": false, ""googleTagManagerId"": """", ""generatedLinkSource"": null, ""isMultiofficeEnabled"": false, ""engagementSettingAnswers"": []}",""
132,c05a5478-3430-4d19-b0d5-e7c6bf4697c8,"{""font"": 14, ""linkText"": null, ""logotype"": null, ""question"": null, ""campaigns"": null, ""fontColor"": ""#000000"", ""widgetURL"": null, ""buttonColor"": ""#0000ff"", ""iframeWidth"": ""300px"", ""iframeBorder"": true, ""iframeHeight"": ""300px"", ""referralType"": """", ""widgetIframe"": null, ""widgetShortURL"": """", ""iframeScrolling"": true, ""isQuestionEnabled"": false, ""googleTagManagerId"": """", ""generatedLinkSource"": null, ""isMultiofficeEnabled"": false, ""engagementSettingAnswers"": []}",""
-----------------------------------------------------------------
$ wc -l roiprod/campaigns_202012201810.csv
2222 roiprod/campaigns_202012201810.csv
$ cat roiprod/campaigns_202012201810.csv | head -10
"id","created_at","updated_at","mmg_id","campaign_id","campaign_name","phone_calls_num","is_active","budget","chair_fill","media_type","original_name"
35903,2019-06-07 16:56:00,2019-08-09 13:06:47,"17ab3dc0-51aa-49ec-bc1c-be7275d03e23",c35903,DR 50 ,0,true,0.0,false,N/A,DR 50
35950,2019-06-16 20:29:06,2020-12-20 20:03:47,"22e20905-bb31-4bef-ba5c-c91d9026b029","3156",Globe Direct,9,true,0.0,false,N/A,Globe Direct
35851,2019-05-17 14:26:10,2019-05-17 14:26:10,cadff6f9-18a6-4a2c-969e-2484738efa0b,c35851,DR 50,0,true,0.0,false,N/A,DR 50
36238,2020-01-22 00:27:02,2020-12-20 20:04:02,"62836ba6-12a1-4429-a815-0504eb8b4063","3266",PPC New Patient,126,true,0.0,false,N/A,PPC
530,2018-05-15 07:59:56,2020-12-20 20:01:53,"95230c4c-f4dd-4147-bf99-b169f2a90cac","1996",PPC New Bedford Google,31,true,0.0,false,"",PPC New Bedford Google
1940,2019-03-26 18:00:24,2020-12-20 20:03:44,"6d51e82c-b94e-41b6-86ba-30f387381a8c","1612",Local Directories,484,true,0.0,false,"",Local Directories
35924,2019-06-12 20:04:32,2020-12-20 20:02:26,a8286813-5822-40c1-87ba-f6ce2cf2703b,"3134",Yelp,394,true,0.0,false,N/A,Yelp
674,2018-05-15 08:00:01,2020-12-20 20:02:50,"003243f7-2f2c-4aa3-ae4d-d27bd07abbc2","1756",AdWords Brand,900,true,0.0,false,"",AdWords Brand
494,2018-05-15 07:59:55,2020-12-20 20:01:39,"36386414-eb39-421b-a9a0-27d72153df23","1716",AdWords Brand,903,true,0.0,false,"",AdWords Brand
-----------------------------------------------------------------
$ wc -l roiprod/leads_202012201810.csv
440104 roiprod/leads_202012201810.csv
$ cat roiprod/leads_202012201810.csv | head -10
"id","created_at","updated_at","mmg_id","external_id","campaign_id","dr_id","call_id","disposition","duration","incoming_number","tracking_number","repeat_call","call_started","call_ended","recording_url","house_number","street_number","street_suffix","zip","consumer_business_indicator","business_name","first_name","last_name","gender","referring","referring_type","referring_url","search_words","call_created","status","converted","patient_id","is_new_patient","is_multi_matched","email","converted_at","lead_type","last_login","patient_info"
174137,2019-02-13 19:14:58,2019-02-13 19:14:58,"56c8356b-96f0-404e-a8f3-5d3a883b6ff5",186805,"2071","","0",ANSWER,222,"6038326862","6032874278",false,2019-02-13 10:36:46,0001-01-01 00:00:00,https://convirza.localpatient.com/api.php/recordings/get/186805,"","","","","","","","","","","","","",2019-02-13 12:23:54,0,false,"",false,false,"",2019-02-13 19:14:58,convirza,2019-02-13 19:14:58,"{}"
13686,2018-04-27 17:59:01,2019-01-31 00:02:54,"60d73381-0b75-4c34-b2a9-7809cd9ff9e9",11246,c119,"","","",60,"5713178176","",false,2017-11-09 14:43:25,0001-01-01 00:00:00,https://www.google.com/,"","","","","","",Kedryn,Berrian,"","","","","",2017-11-09 14:43:25,8,false,"",false,false,kedrynberrian@gmail.com,2018-08-07 03:50:19,bulk ,2018-07-31 08:27:50,"{}"
184161,2019-03-01 21:33:11,2019-03-01 21:33:11,"003243f7-2f2c-4aa3-ae4d-d27bd07abbc2",200833,"1437","","0",ANSWER,126,"5083135044","5088024301",false,2019-03-01 13:08:06,0001-01-01 00:00:00,https://convirza.localpatient.com/api.php/recordings/get/200833,"","","","","","","","","","","","","",2019-03-01 15:06:46,0,false,"",false,false,"",2019-03-01 21:33:11,convirza,2019-03-01 21:33:11,"{}"
167177,2019-02-05 19:40:56,2019-02-05 19:40:56,"83ef97b4-7e43-49bd-a7a6-84d01388f354",486171,c1780, ,"","",61,"8575045085","",false,2018-11-17 08:38:00,2018-11-17 08:38:00,"","","","","","","",Steven,Davis,"","","","","",2018-11-17 08:38:00,0,false,"",false,false,Mr.stevendavis@hotmail.com,2019-02-05 19:40:56,bulk ,2019-02-05 19:40:56,"{}"
174138,2019-02-13 19:15:39,2019-02-13 19:15:39,f093b643-a592-4db1-bc8f-8c9d741b955d,186896,"1690","","0",ANSWER,90,"8572058624","7814437995",false,2019-02-13 11:23:25,0001-01-01 00:00:00,https://convirza.localpatient.com/api.php/recordings/get/186896,"","","","","","","","","","","","","",2019-02-13 12:48:10,0,false,"",false,false,"",2019-02-13 19:15:39,convirza,2019-02-13 19:15:39,"{}"
167179,2019-02-05 19:40:56,2019-02-05 19:40:56,"83ef97b4-7e43-49bd-a7a6-84d01388f354",486173,c1780, ,"","",61,"6174476520","",false,2018-11-14 19:02:00,2018-11-14 19:02:00,"","","","","","","",jean,cineus,"","","","","",2018-11-14 19:02:00,0,false,"",false,false,Jhonrene86@gmail.com,2019-02-05 19:40:56,bulk ,2019-02-05 19:40:56,"{}"
225466,2019-05-13 20:19:09,2019-05-13 20:19:09,d22caf40-7614-406b-8d06-f45a54b8bd58,256918,"2142","","190513cb7bdf5df6",ANSWER,66,"6032251213","6033940210",false,2019-05-13 10:37:35,0001-01-01 00:00:00,https://convirza.localpatient.com/api.php/recordings/get/256918,"","","","","","","","","","","","","",2019-05-13 12:34:26,0,false,"",false,false,"",0001-01-01 00:00:00,convirza,0001-01-01 00:00:00,"{}"
184159,2019-03-01 21:31:43,2019-03-02 00:04:24,a8286813-5822-40c1-87ba-f6ce2cf2703b,200882,"1430","","0",ANSWER,18,"5138270674","6179342164",false,2019-03-01 13:37:34,0001-01-01 00:00:00,https://convirza.localpatient.com/api.php/recordings/get/200882,"","","","","","","","","","","","","",2019-03-01 15:19:40,8,false,"",false,false,"",2019-03-01 21:31:43,convirza,2019-03-01 21:31:43,"{}"
167181,2019-02-05 19:40:56,2019-02-05 19:40:56,"83ef97b4-7e43-49bd-a7a6-84d01388f354",486175,c1780, ,"","",61,"8578692796","",false,2018-11-11 21:01:00,2018-11-11 21:01:00,"","","","","","","",Javier,Regis,"","","","","",2018-11-11 21:01:00,0,false,"",false,false,javierregis96@gmail.com,2019-02-05 19:40:56,bulk ,2019-02-05 19:40:56,"{}"
-----------------------------------------------------------------
$ wc -l roiprod/lead_uncheckeds_202012201810.csv
6 roiprod/lead_uncheckeds_202012201810.csv
$ cat roiprod/lead_uncheckeds_202012201810.csv | head -10
"id","created_at","updated_at","mmg_id","external_id","campaign_id","duration","incoming_number","email","call_started","call_ended","recording_url","first_name","last_name","gender","call_created","lead_type","dr_id"
635090,2020-12-20 20:53:33,2020-12-20 20:53:33,"7d65dbff-9135-4a5e-a207-6baf72df8471",0,c36185,61,"9172070965",yahairac1122@gmail.com,2020-12-20 20:53:32,0001-01-01 00:00:00,"",Yahaira,Cruz,"",2020-12-20 20:53:32, ,"1414412"
635091,2020-12-20 21:20:23,2020-12-20 21:20:23,"8c050afb-8e83-4483-a940-f944fe3735a7",0,c36003,61,"20221526263",kimberlysgarner@yahoo.com,2020-12-20 21:20:23,0001-01-01 00:00:00,"",Kimberly,Garner,"",2020-12-20 21:20:23, ,"1414419"
635092,2020-12-20 21:36:19,2020-12-20 21:36:19,"35498577-586a-4d90-ab18-c2f85251e680",0,c1406,61,"5184748057",m-carr@hvcc.edu,2020-12-20 21:36:18,0001-01-01 00:00:00,"",Malissa,Carr,"",2020-12-20 21:36:18, ,"1414420"
635093,2020-12-20 22:51:14,2020-12-20 22:51:14,"17ab3dc0-51aa-49ec-bc1c-be7275d03e23",0,c35903,61,"5086140775",tom.lavoie@aol.com,2020-12-20 22:51:13,0001-01-01 00:00:00,"",Thomas,Lavoie,"",2020-12-20 22:51:13, ,"1414422"
635094,2020-12-20 22:53:31,2020-12-20 22:53:31,"9085ae2c-cc8d-46a8-ba02-4550d6c88e1d",0,c1392,61,"4436956600",connor_rehbein@yahoo.com,2020-12-20 22:53:30,0001-01-01 00:00:00,"",William,Rehbein,"",2020-12-20 22:53:30, ,"1414423"
-----------------------------------------------------------------
$ wc -l roiprod/migration_versions_202012201810.csv
15 roiprod/migration_versions_202012201810.csv
$ cat roiprod/migration_versions_202012201810.csv | head -10
"version"
"20190412114054"
"20190412125857"
"20190415085549"
"20190416161455"
"20190418092319"
"20190423091159"
"20190521084008"
"20190916140815"
"20190924104440"
-----------------------------------------------------------------
$ wc -l roiprod/pms_accounts_202012201810.csv
204 roiprod/pms_accounts_202012201810.csv
$ cat roiprod/pms_accounts_202012201810.csv | head -10
"id","created_at","updated_at","office_name","email","enabled","mmg_id","timezone"
276,2020-10-29 15:25:00,2020-11-04 15:03:34,Ridgetop Dental of Reston - Dr. Datta (Reston),none3@email.com,true,"688e8e98-126d-433f-9c1b-fd7c665b8517",America/New_York
277,2020-11-05 15:28:57,2020-11-05 15:28:57,Will Surgical Arts Urbana,WillSurgicalArtsUrbanaDentist@mmgfusion.net,true,"94a23479-16a4-4857-85c1-6757a93e5767",America/New_York
279,2020-11-18 18:51:15,2020-11-18 18:51:15,Arroyo Center for Aesthetic Dentistry,ArroyoCenterforAestheticDentist3@mmgfusion.net,true,e2c994fc-bece-4ab4-a5aa-1a1cb7e672b2,America/New_York
242,2020-01-02 16:32:49,2020-01-02 16:33:38,De La Rosa Comprehensive & Cosmetic Dentistry,paulina@smilesbydrd.com,false,cc6af5a6-e5a8-4082-8567-dc5f692906f9,America/New_York
245,2020-01-21 15:17:09,2020-01-21 15:17:09,Premier Dental Care - Lancaster,premierlan@dr.com,true,"62836ba6-12a1-4429-a815-0504eb8b4063",America/Los_Angeles
246,2020-01-27 09:49:10,2020-01-27 09:49:10,TEST Dentex Dental at Liberty Place,pashammgap@gmail.com,true,e52684be-67b1-43e9-a86a-75c531ce5ba2,America/New_York
247,2020-01-29 21:13:56,2020-01-29 21:13:56,Premier Dental Care - Palmdale,premierpalm@dr.com,true,f2d90d80-fb8e-44d2-9ab5-ca448c7b9d71,America/Los_Angeles
248,2020-01-30 14:43:39,2020-01-30 14:43:39,Dr. James White,whitedds@dr.com,true,"07bd1e06-b3f1-47a2-80cb-221305ae1b18",America/Los_Angeles
249,2020-02-06 16:17:27,2020-02-06 16:17:27,Hartford County Dentistry,hartcd@dr.com,true,b9e48da9-97fe-469c-be5c-f30d6cd06ce6,America/New_York
-----------------------------------------------------------------
$ wc -l roiprod/pms_account_settings_202012201810.csv
204 roiprod/pms_account_settings_202012201810.csv
$ cat roiprod/pms_account_settings_202012201810.csv | head -10
"id","account_id","dashboard_type","conversion_rule","contract_payment_type","record_service_code","contract_settings"
1,4,0,0,"","","{}"
2,9,0,0,"","","{}"
3,3,0,0,"","","{}"
4,40,0,3,"","","{}"
5,35,0,3,"","","{}"
6,10,0,3,"","","{}"
7,61,0,3,"","","{}"
8,55,0,3,"","","{}"
9,11,0,3,"","","{}"
-----------------------------------------------------------------
$ wc -l roiprod/procedures_stats_202012201810.csv
320467 roiprod/procedures_stats_202012201810.csv
$ cat roiprod/procedures_stats_202012201810.csv | head -10
"id","patient_id","mmg_id","date","proc_prod_amount","proc_planned_amount","is_contract","contract_amount","appt_made","appt_confirmed","records","updated_at"
1,"13300",c92fa731-5917-4a5b-98f1-07118b4c07fb,2019-02-28 00:00:00,179.0,0.0,false,0.0,0,0,0,2019-12-27 00:47:57
2,"13435",c92fa731-5917-4a5b-98f1-07118b4c07fb,2019-04-17 00:00:00,360.0,0.0,false,0.0,0,0,0,2019-12-27 00:47:57
3,"9724",c92fa731-5917-4a5b-98f1-07118b4c07fb,2019-03-21 00:00:00,0.0,0.0,false,0.0,0,0,0,2019-12-27 00:47:57
4,"9724",c92fa731-5917-4a5b-98f1-07118b4c07fb,2019-05-10 00:00:00,0.0,0.0,false,0.0,0,0,0,2019-12-27 00:47:57
5,"9724",c92fa731-5917-4a5b-98f1-07118b4c07fb,2019-05-16 00:00:00,436.0,99.0,false,0.0,0,0,0,2019-12-27 00:47:57
6,"9724",c92fa731-5917-4a5b-98f1-07118b4c07fb,2019-09-05 00:00:00,360.0,1974.0,false,0.0,0,0,0,2019-12-27 00:47:57
8,"11404",c92fa731-5917-4a5b-98f1-07118b4c07fb,2019-04-22 00:00:00,0.0,0.0,false,0.0,0,0,0,2019-12-27 00:47:57
10,"13298",c92fa731-5917-4a5b-98f1-07118b4c07fb,2019-02-27 00:00:00,255.0,1140.0,false,0.0,0,0,0,2019-12-27 00:47:57
11,"13298",c92fa731-5917-4a5b-98f1-07118b4c07fb,2019-03-04 00:00:00,105.0,0.0,false,0.0,0,0,0,2019-12-27 00:47:57
-----------------------------------------------------------------
$ wc -l roiprod/users_202012201810.csv
2 roiprod/users_202012201810.csv
$ cat roiprod/users_202012201810.csv | head -10
"id","created_at","updated_at","deleted_at","name","email","hashed_password","active","file_name"
3,2017-10-31 10:42:57,2017-10-31 10:42:57,,admin,demo@demo.com,,true,""
-----------------------------------------------------------------
$ wc -l smsprod/migration_versions_202012202045.csv
7 smsprod/migration_versions_202012202045.csv
$ cat smsprod/migration_versions_202012202045.csv | head -10
"version"
"20170526134715"
"20170605095537"
"20171221114835"
"20180329094513"
"20181108113501"
"20200115131518"
-----------------------------------------------------------------
$ wc -l smsprod/sms_chat_202012202045.csv
2146668 smsprod/sms_chat_202012202045.csv
$ cat smsprod/sms_chat_202012202045.csv | head -10
"id","created_date","message_twilio_sid","message","recepient_phone","patient_id","is_sent","is_read","hash_value","mmg_id","sender_phone"
530985,2019-07-02 14:01:00,SM796309691d53d1b25a2fb05422393279,C,"12543238885","33408",true,true,bd6aeda6f67d097b141c028def5e1bcf,a751228c-5a20-43cf-aac7-01810c2f0637,"3615374111"
530989,2019-07-02 14:01:00,SM2a02bfd41ead4a9f2541b8632c092748,C,"19793075098","167556",true,true,"24d2dd5f08cc65b5b42e1deea353d762","3908e223-62cb-4777-b6c0-ef443d160bb9","5016919099"
530995,2019-07-02 14:02:00,SM0b93dc543cc58aa858178c02a58405ed,C,"17873034481","1523",true,true,"8023cfb18a66db89337f1c2145d22208","8df164cc-17da-475c-97eb-754a365e0a22","7872317111"
79,2018-01-23 18:15:00,SMdbe1091cdcd16a5fcece76e0f12d0952,C,"18572148936","12005127",true,true,b74c934a51cb9e4b136b35ebba932427,"4603d594-d7c7-4718-8a5b-a9343504d2f5",""
1764721,2020-06-30 13:57:00,SM39c1387005982c1e804bf6fde99c9c7f,C,"14172223395","2471",true,true,"7081b8d58c7910a697df5bcce3dbe697","7dbb5f07-cc6b-4971-a6b8-1b05c66638b0","4175979640"
1764725,2020-06-30 13:58:00,SM128998c072c4150a86a4d55c20a6172f,C,"14432470473","5277",true,true,"4b22404f53744ac5c5506fd73fcf275e","8f4a4e22-05bc-4372-9f86-a2864262409b","4108290502"
531005,2019-07-02 14:02:00,SMef81630d71e0e000c9f9c08326b02d69,C,"17038442748","5692201",true,true,"4ea03fe4b1c858567371b27eea222174","40e20e18-a1e4-4596-bc17-cfcccc2049e7","7175787659"
531011,2019-07-02 14:03:00,SMba9432d59db790a7083551258d394aa4,C,"16014016947","170462",true,true,ce8a219e7adbaf6c209a36f1f3f4b395,"56ad1e9e-05de-4ca4-b6ee-ef0bd518f2ec","6014660619"
531016,2019-07-02 14:03:00,SM5a35b671a62b991a606c104086c386f3,C,"15802977499","319601",true,true,"039db80e3f461b35f27e83793e047aa0",e5140b2f-f7ce-4533-b87d-b6e6f9eaacca,"4054175800"
-----------------------------------------------------------------
$ wc -l smsprod/sms_stats_202012202045.csv
742706 smsprod/sms_stats_202012202045.csv
$ cat smsprod/sms_stats_202012202045.csv | head -10
"id","updated_date","all_count","new_count","last_message_date","patient_id","patient_name","patient_surname","mmg_id"
30,2020-02-01 16:07:26,6,0,2020-02-01 16:07:26,"12029381",Edna,Loredo,"4603d594-d7c7-4718-8a5b-a9343504d2f5"
751150,2020-06-26 16:23:00,1,0,2020-06-26 16:23:00,"105930",Ronald,Parillo,"8ae2db67-0088-407b-8c69-4f370a0f35fe"
277391,2019-07-06 14:56:13,2,0,2019-07-06 14:56:13,"1580",Cheryl,Rutland,"56ad1e9e-05de-4ca4-b6ee-ef0bd518f2ec"
41,2018-01-24 16:15:00,1,0,2018-01-24 16:15:00,"12008076",Robert,Perry,"4603d594-d7c7-4718-8a5b-a9343504d2f5"
57,2019-07-17 08:50:21,6,0,2019-07-17 08:50:21,"12038436",Laurie,Sirois,"4603d594-d7c7-4718-8a5b-a9343504d2f5"
751154,2020-06-26 16:24:00,1,0,2020-06-26 16:24:00,"4127912",ELI,ERICKSON,"986f97f3-299a-4f1a-acc6-4ab549104106"
751152,2020-10-11 16:03:26,2,0,2020-10-11 16:03:26,"441012",Daniel,McCario,"8c056ba1-4881-4587-832f-936c8656ad43"
35,2020-07-22 19:40:16,13,0,2020-07-22 19:40:16,"12000100",Jacquelin,Adreani,"4603d594-d7c7-4718-8a5b-a9343504d2f5"
9,2018-01-15 16:50:37,4,0,2018-01-15 16:50:37,"4903046088",Roger,Squire,"6dfa6110-74f3-4806-894e-70bdcd8128fe"
-----------------------------------------------------------------
$ wc -l storageprod/appointments_202012202210.csv
23432036 storageprod/appointments_202012202210.csv
$ cat storageprod/appointments_202012202210.csv | head -10
"id","pms_id","patient_id","provider_id","status","date","modified_at","mmg_id","last_reminder_sent","confirmation_date","confirmation_method","length","amount","initial_reason","created_at","plan_visit_id","operatory_id","confirmation_id","pms_confirmation_date"
19592931,"85345","22495",SV,Cancelled,2020-06-23 17:00:00,2020-06-18 11:38:16,f2d90d80-fb8e-44d2-9ab5-ca448c7b9d71,,,"",60,0.0,PERIO RC,2020-04-01 08:00:42,"","",0,
24860317,"263904","9193","1",Cancelled,2018-07-26 15:15:00,2020-08-20 11:31:03,"547da378-9a03-40ea-80a3-8efe092af3ad",,,"",10,0.0,Emergency,2020-08-20 15:20:10,"","3",0,
19126182,"1247203","82698","53",Checked Out,2020-03-11 14:10:00,2020-12-17 10:09:32,"70e6ac7b-2ee3-4f86-97e2-329fda873078",,,"",20,0.0,ADJ3,2020-03-11 19:19:42,"","1",0,
7103239,"9c64f40765813963df74849a9499fba6","4912601","15",Confirmed,2017-07-06 07:00:00,2020-12-19 11:21:01,d9e34375-d357-4d20-9cf7-96c9eea08993,,,"",0,150.0,"",2019-03-22 16:00:41,"","22",0,
28596524,"92682816","90151380","222",Scheduled,2021-04-03 12:20:00,2020-12-12 08:58:00,aeef11a9-bbe2-4204-a1e4-85768229b8fc,,,"",0,0.0,"",2020-12-12 14:50:46,"","",0,
25538452,"92476946","66008913","1284",Cancelled,2020-10-08 13:50:00,2020-09-16 14:23:00,b0830347-8a5a-4a73-a60d-d20ea0c08295,2020-09-09 10:03:51,,"",0,0.0,"",2020-09-09 13:26:15,"","",0,
3612718,"6ffb777b878e29b5a2ceb289a9cfa38b","590601","1",Confirmed,2017-03-27 15:00:00,2020-06-02 15:35:51,f69cb0d1-07ea-4cf9-a94b-1eb93378b2f1,,,"",0,0.0,"",2019-01-17 06:37:07,"","1",0,
13494590,"04d8eb43fa1d3ea2d46a1b37ddb49376","3359901","",Cancelled,2020-04-28 07:00:00,2020-04-25 08:36:12,d9e34375-d357-4d20-9cf7-96c9eea08993,,,"",0,0.0,"",2019-10-08 11:19:38,"","",0,
23073721,"148394","4609","1",Cancelled,2017-08-23 16:00:00,2020-07-03 11:21:41,"24a4805a-a614-45a2-9a2d-f79b6d88c820",,,"",20,0.0,Pre Treatment,2020-07-03 16:16:39,"","8",0,
-----------------------------------------------------------------
$ wc -l storageprod/businesses_202012202210.csv
619 storageprod/businesses_202012202210.csv
$ cat storageprod/businesses_202012202210.csv | head -10
"id","business_id","writeback_allowed","pms_type","pms_version","ping_date","password","alert_delay","alert_email","text_capability_checker","is_opt_outs_by_location","api_credentials","mmg_client_version"
1150,denrevbaltdenco11320,true,dentrix,"6.6",0001-01-01 00:00:00,"",2,intmonitor@mmgfusion.com,false,true,"{""dpm_creds"": {}, ""qsi_creds"": {}, ""curve_creds"": {}, ""carestream_creds"": {}, ""file_method_bucket"": """"}",""
2,oxagile,false,dentrix,"",2018-01-10 15:48:41,"",0,"",false,true,"{}",""
717,sampson_dental,true,qsi,"",2019-08-29 13:28:52,"",0,"",false,true,"{""dpm_creds"": {}, ""qsi_creds"": {""active"": true, ""api_url"": ""https://api.qsidentalweb.com/fhir/"", ""secret_key"": ""50290975-4E54-4EF8-914A-5FE35E655643"", ""practice_id"": ""1024"", ""password_qsi"": ""}S-Ff0Po9*/p)*S"", ""username_qsi"": ""QSI-SDP1024-API""}, ""curve_creds"": {}, ""carestream_creds"": {}}",""
665,plaza_dental,true,qsi,"",2019-06-28 08:31:02,"",0,"",false,true,"{""dpm_creds"": {}, ""qsi_creds"": {""active"": true, ""api_url"": ""https://api.qsidentalweb.com/fhir/"", ""secret_key"": ""50290975-4E54-4EF8-914A-5FE35E655643"", ""practice_id"": ""1088"", ""password_qsi"": ""7M:5jM5hWT`,aOl"", ""username_qsi"": ""QSI-PLZ1088-API""}, ""curve_creds"": {}, ""carestream_creds"": {}}",""
6,gentle_dental_test,true,qsi,"",2018-01-10 15:48:41,"",0,"",false,true,"{}",""
83,pospv061518,true,winoms,"9",2018-06-15 13:13:46,"",0,"",false,true,"{}",""
1,gentle_dental,true,qsi,"",2018-01-10 15:48:41,"",0,"",false,true,"{""dpm_creds"": {}, ""qsi_creds"": {""active"": true, ""api_url"": ""https://api.qsidentalweb.com/fhir/"", ""secret_key"": ""50290975-4E54-4EF8-914A-5FE35E655643"", ""practice_id"": ""1086"", ""password_qsi"": ""P!k#ix_gq^KRy"", ""username_qsi"": ""MMGFUSION""}, ""curve_creds"": {}, ""carestream_creds"": {}}",""
320,consfusmarden11218,true,dentrix,"6",2019-12-26 10:35:59,"",0,"",false,true,"{}",""
1188,defelice11112020,true,practiceworks,"7",0001-01-01 00:00:00,"",2,monitoring@mmgfusion.com,false,true,"{""dpm_creds"": {}, ""qsi_creds"": {}, ""curve_creds"": {}, ""carestream_creds"": {}, ""file_method_bucket"": """"}",""
-----------------------------------------------------------------
$ wc -l storageprod/client_update_202012202210.csv
14 storageprod/client_update_202012202210.csv
$ cat storageprod/client_update_202012202210.csv | head -10
"id","business_id","version","status","file_path","modified_at"
2,keweaver22819,"93",Updated,https://mmg-client-versions.s3.amazonaws.com/prod/mmg-client_93_20200327133123_f823b77fce2f075835f802a67b40815e545f8b816d35212da50350c1454bfcf9.exe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIPEISQHOSC7UGAKQ%2F20200327%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200327T144251Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=fe95763b4a4e2b4d8e9d788bad3b5b16598b376d8c50d45edf1d5ec7870418e6,2020-03-27 14:42:51
3,keweaver22819,"93",Updated,https://mmg-client-versions.s3.amazonaws.com/prod/mmg-client_93_20200327133123_f823b77fce2f075835f802a67b40815e545f8b816d35212da50350c1454bfcf9.exe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIPEISQHOSC7UGAKQ%2F20200327%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200327T144735Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=1583d931b2d65e5f27b80955766d6cd59beb54aa7b2a3a11db62e0c7c4dd3886,2020-03-27 14:47:35
1,"2dentsoothingdental","93",Stopped,https://mmg-client-versions.s3.amazonaws.com/prod/mmg-client_93_20200327133123_f823b77fce2f075835f802a67b40815e545f8b816d35212da50350c1454bfcf9.exe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIPEISQHOSC7UGAKQ%2F20200327%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200327T144240Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=43964852e5dfad4fd0bb026e1bc2c3a74e836c154cc10154c3c741aa93b220ac,2020-03-27 14:42:40
5,adamsan5120,"95",Stopped,https://mmg-client-versions.s3.amazonaws.com/prod/mmg-client_95_20200429120506_d8e7c93a3b0811a645e6b6feed22860ea202f32a9138757d462e01d08d3c9755.exe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIPEISQHOSC7UGAKQ%2F20200527%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200527T124612Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=1c78e376d91ce68e1d157499f655d81a074e6f5af9c0985acec55e71668516fa,2020-05-27 12:46:12
8,afd2320,"96",Stopped,https://mmg-client-versions.s3.amazonaws.com/prod/mmg-client_96_20200514182501_31e72e77c7c065958dd56aec30e1942178d100c49f158ffc260492b5390eb6e4.exe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIPEISQHOSC7UGAKQ%2F20200527%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200527T125340Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=793b3304898a2b0bc638e7ea878eed0269bf339a65df43694c77ae201c209c43,2020-05-27 12:53:40
6,adamsan5120,"96",Updated,https://mmg-client-versions.s3.amazonaws.com/prod/mmg-client_96_20200514182501_31e72e77c7c065958dd56aec30e1942178d100c49f158ffc260492b5390eb6e4.exe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIPEISQHOSC7UGAKQ%2F20200527%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200527T125153Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=eb2ef51f7dc09f93953a957c377fd4b343a85247cd00500a46d85477ad399999,2020-05-27 12:51:54
7,alabperio05520,"96",Updated,https://mmg-client-versions.s3.amazonaws.com/prod/mmg-client_96_20200514182501_31e72e77c7c065958dd56aec30e1942178d100c49f158ffc260492b5390eb6e4.exe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIPEISQHOSC7UGAKQ%2F20200527%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200527T125153Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=eb2ef51f7dc09f93953a957c377fd4b343a85247cd00500a46d85477ad399999,2020-05-27 12:51:54
35,joekelly52020,"101",Updated,https://mmg-client-versions.s3.amazonaws.com/prod/mmg-client_101_20200715135632_6342979f7f1b3d9ab85780d092b28e2156b33bb05a06b3ab0ad4f2dd59460442.exe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIPEISQHOSC7UGAKQ%2F20200922%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200922T181108Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=2371f2a14128a4b72c38a37109552af7ccc37a1cb2f40a3f0b2553e12527cb91,2020-09-22 18:11:08
70,wjoms82020,"103",Pending,https://mmg-client-versions.s3.amazonaws.com/prod/mmg-client_103_20201008202457_766d4129d87f5c28a9b740868d0034aace143f84a2fbe713e0e7eea849f7cf1b.exe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIPEISQHOSC7UGAKQ%2F20201116%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201116T204859Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=142ea496ec11bf6763e7249466f98bcc4ef6093e45149048ddd1aa1da64657b5,2020-11-16 20:49:00
-----------------------------------------------------------------
$ wc -l storageprod/contracts_202012202210.csv
1979972 storageprod/contracts_202012202210.csv
$ cat storageprod/contracts_202012202210.csv | head -10
"id","pms_id","patient_id","description_id","description","start_date","total_amount","paid_amount","mmg_id","modified_at","created_at","doctor_id","status"
2338223,"24197","11381","","10/15 #13,30",2020-10-15 00:00:00,2041.0,0.0,"17ab3dc0-51aa-49ec-bc1c-be7275d03e23",2020-10-19 19:37:51,2020-10-16 23:20:13,"",Proposed
2010449,"6555","12686","","",2018-05-21 00:00:00,252.0,0.0,c92fa731-5917-4a5b-98f1-07118b4c07fb,2020-11-03 23:00:26,2020-06-30 18:04:29,"",Created
1228205,"3888","48083","","",2019-09-19 00:00:00,2250.0,0.0,dd941026-d392-4f8f-bba0-b438e6f2a54b,2020-12-04 13:45:50,2019-09-20 02:05:04,CD,Completed
1095557,"174266","43186","",Dr Ves #15 Pre-Auth,2014-08-07 00:00:00,1526.0,0.0,a7ee2d28-bc13-4f5d-b47f-396270e7ade7,2019-08-06 08:41:17,2019-08-06 12:41:17,"",Proposed
1893319,"17032","8992","","5.21.20",2020-05-21 00:00:00,3192.0,0.0,"3473bf5d-acd7-4d06-b36e-e3197dbe5e1b",2020-05-21 13:48:04,2020-05-21 17:48:04,"",Proposed
1110269,"10701|2","10701","","",2019-07-11 00:00:00,335.0,0.0,a8b1f2ed-0f37-49a5-abc1-4a1680f130c6,2019-09-24 00:01:07,2019-08-13 16:40:14,"",""
1068386,"13820","43417","","",2018-07-05 00:00:00,244.0,0.0,"3d108962-f512-4f26-8e1a-ea95e65bc591",2019-07-30 09:58:48,2019-07-25 20:58:26,"",Printed
1436767,"247969366","2736234","","",2019-12-16 00:00:00,206.0,0.0,"52f8bff5-cfa4-43cc-bd5e-5519fddaff61",2020-02-17 14:26:21,2019-12-16 20:32:59,"",In progress
1252855,"344201|1","344201","","",2019-10-01 00:00:00,713.0,0.0,c14d76ab-d615-4863-b939-4614270e9d98,2019-10-02 07:43:18,2019-10-01 13:42:56,"",""
-----------------------------------------------------------------
$ wc -l storageprod/doctors_202012202210.csv
11740 storageprod/doctors_202012202210.csv
$ cat storageprod/doctors_202012202210.csv | head -10
"id","pms_id","first_name","last_name","modified_at","created_at","business_id","type"
6081,"3",Kelly,Acevedo,2020-11-02 12:01:57,2019-09-06 19:32:56,725,Tx Coordinator
6082,"4",Cassie,Hart,2020-11-02 12:01:57,2019-09-06 19:32:56,725,Office Manager
3754,AP,Amber,Pestoni,2020-05-12 03:00:01,2019-04-08 15:44:53,579,""
13006,"2",OT,Trainer,2020-08-26 01:00:42,2020-08-24 15:02:04,1081,OrthoTrac Trainer
13007,"3",Christopher,Nguyen,2020-08-26 01:00:42,2020-08-24 15:02:04,1081,Doctor
13008,"4",Lien,Huynh,2020-08-26 01:00:42,2020-08-24 15:02:04,1081,Office Manager
10170,ALIL,Analilia,Saldana,2020-09-29 08:00:03,2020-02-11 14:03:40,660,""
13009,"5",Kim,Phan,2020-08-26 01:00:42,2020-08-24 15:02:04,1081,Clerk
13010,"6",Nhan,Truong,2020-08-26 01:00:42,2020-08-24 15:02:04,1081,Clerk
-----------------------------------------------------------------
$ wc -l storageprod/import_counter_202012202210.csv
643 storageprod/import_counter_202012202210.csv
$ cat storageprod/import_counter_202012202210.csv | head -10
"id","count_appointments","count_patients","count_providers","count_responsible_parties","count_roi","business_id","count_services","count_contracts","count_doctors","count_providers_schedule","count_recall_dates","count_operatories"
532,105500,92096,227,80886,65275,fofsv112819,2611,12892,59,3897,849,0
87,912,699,11,699,0,test,11,0,0,0,0,0
1085,40363,15213,18,9976,85502,neigborherod71620,1061,5823,0,1874,0,0
968,321505,404042,881,158147,0,peddenasso_dental,1013,0,0,0,57085,120
527,44972,23058,71,14627,194705,cheymount12819,1282,8519,0,41922,2269,0
1121,11556,10680,34,7794,44513,fda081420,1193,2357,0,3489,962,0
1193,79704,10667,26,7976,267560,denrevbeachcities10920,946,7813,0,2481,13686,0
369,26464,23851,21,23612,132600,rockoms091918,1152,5956,21,1348,64,0
625,98991,67631,13,45221,337153,perrycounty032219,1213,18093,0,7579,11367,0
-----------------------------------------------------------------
$ wc -l storageprod/migration_versions_202012202210.csv
131 storageprod/migration_versions_202012202210.csv
$ cat storageprod/migration_versions_202012202210.csv | head -10
"version"
"20170906060632"
"20170907080906"
"20170907161844"
"20170908063216"
"20170908090439"
"20170908092229"
"20170908105815"
"20170908110711"
"20170908114306"
-----------------------------------------------------------------
$ wc -l storageprod/operatory_202012202210.csv
6958 storageprod/operatory_202012202210.csv
$ cat storageprod/operatory_202012202210.csv | head -10
"id","pms_id","operatory_name","provider_id","provider_first_name","provider_last_name","practice_id","mmg_id","business_id","created_at","provider_type","provider_specialty"
2471,"1419","144DGENERAL5","1061",Patrick,Townsend,"144",e2bc03aa-fff0-4980-a79e-ce70bf733889,1,2019-09-12 10:29:43,Dentist,General Dentist
1314972,"304",Hygiene1,"503",LTD,Pediatric Dental Associates,"213",ae1ce122-8229-4c83-84ce-e93cc1e1dc61,925,2020-12-02 09:10:15,Dentist,Pedodontics-Pediatrics
212572,"208",DrTrujillo-Exams,"150",Diana,Zardouz,"105","5d977bcf-49a8-48a9-a037-5641a266874a",675,2019-12-13 10:04:27,Dentist,General Practice
719678,"200",DrEckerHyg1,"143",Hygiene 1,Ecker,"101",d598ea71-0e8d-461e-9529-973274b8cb67,977,2020-06-08 14:00:41,Hygienist,Independent Hygienist
128326,"191",Ortho-Starts,"139",Allison,Olex,"105","5d977bcf-49a8-48a9-a037-5641a266874a",675,2019-11-15 00:56:01,Dentist,General Practice
128331,"199",NPPedoErDelPoCk,"139",Allison,Olex,"105","5d977bcf-49a8-48a9-a037-5641a266874a",675,2019-11-15 00:56:01,Dentist,General Practice
59106,"1014",HygMary,"983",Melissa,Tardif,"142","3d8b2d72-1b1e-42b0-9abb-bad0930a7ff3",1,2019-10-12 10:29:43,Hygienist,Hygienist
59113,"1087",TempDentist,"983",Melissa,Tardif,"142","3d8b2d72-1b1e-42b0-9abb-bad0930a7ff3",1,2019-10-12 10:29:43,Hygienist,Hygienist
59118,"1088",HygHygiene,"983",Melissa,Tardif,"142","3d8b2d72-1b1e-42b0-9abb-bad0930a7ff3",1,2019-10-12 10:29:43,Hygienist,Hygienist
-----------------------------------------------------------------
$ wc -l storageprod/patients_202012202210.csv
15550164 storageprod/patients_202012202210.csv
$ cat storageprod/patients_202012202210.csv | head -10
"id","pms_id","first_name","last_name","email_communication","phone_communication","sms_communication","email","cell_phone","home_phone","work_phone","birthday","address","modified_at","mmg_id","address2","city","state","zip","resp_party_id","prefered_email","prefered_text","prefered_voice","created_at","status","business_id","sex"
12448089,"187709",Dominique,McBroom,false,false,false,"","","3523316185","",1997-06-02 00:00:00,P.o box 142021,2020-11-25 06:01:40,"277861c6-831e-4244-8b39-56154934af26","",Gainesville,FL,"32614 ","","","","",2020-01-28 20:36:05,Active,662,F
10939092,"35631",Zachary,Harper,false,false,false,"","","8042719332","8043052953",1988-04-29 00:00:00,"7601 Middlefield Court",2020-12-08 10:11:34,be99c618-ad87-4e6a-ada0-80ef7712fb6e,"",Chesterfield,VA,"23832 ","","","","",2019-10-14 19:11:02,Active,761,M
10915625,"1610258312",Wendy,Holt,false,false,false,wendy.holt.sc@gmail.com,"8038148653","8038148653","",1991-06-25 00:00:00,"25 Adams Ave #403",2020-12-07 10:25:25,f7ddbdcc-2848-4fc3-b7f2-a816e4628416,"",Stamford,CT,"06902","","","","",2019-10-11 20:19:12,Active,615,F
3854119,"26820",Thomas,Wininger,false,false,false,"","4022748925","402","402",1988-02-23 00:00:00,"2315 Stone Creek Loop S",2020-12-09 08:36:10,b0d0ad6a-e74d-4efb-9f84-92d87aac84a4,"",Lincoln,NE,"68512 ","","","","",2019-01-18 17:28:50,Active,422,M
10158727,"900443767",Mariah,Schroder,false,false,false,"","4402859683","","",2003-12-09 00:00:00,"13825 Montclair Dr",2019-10-11 13:58:00,b8e46fd4-4a6f-439a-a046-1039eb602782,"",Chardon,OH,"44024","900442418","","","",2019-10-06 16:55:34,Active,717,""
5553149,"27608",Bette,Skertich,false,false,false,"","","5635832662","",1943-07-01 00:00:00,"870 Sussex",2020-11-25 12:01:41,daf4fd78-af99-43e3-a86e-cd96b759f43f,"",Crete,IL,"60417 ","","","","",2019-02-26 16:00:11,Active,480,F
10158726,"900443772",Mohamed,Ibrahem,false,false,false,"","","2163947888","",1980-04-04 00:00:00,"18817 Parkmount Ave",2019-10-06 13:42:00,b8e46fd4-4a6f-439a-a046-1039eb602782,"",Cleveland,OH,"44135","","","","",2019-10-06 16:55:34,Active,717,""
13804229,"1034789",Allante,Boles,false,false,false,"","","5592417301","",1994-02-18 00:00:00,"",2020-12-08 12:50:13,dbc7be61-3a81-458a-a2c9-81f12776163c,"","","","","","","","",2020-04-13 15:48:14,Inactive,902,M
6631585,"92678",Robert,Isgro,false,false,false,"","4404945117","4404945117","",1955-11-17 00:00:00,"120 Falling Rock Way",2020-12-11 06:33:59,"0dc986fc-82cf-4029-bb2d-c132d1fde40a","",Berea,OH,"44017 ","","","","",2019-04-03 20:03:59,Active,573,""
-----------------------------------------------------------------
$ wc -l storageprod/phones_202012202210.csv
19513863 storageprod/phones_202012202210.csv
$ cat storageprod/phones_202012202210.csv | head -10
"id","phone","text_capability","created_at","checked_at"
11859428,"8147066880",true,2019-10-03 09:10:13,2019-10-03 09:10:13
12013532,"3178530425",true,2019-10-08 16:11:24,2019-10-08 16:11:24
12013534,"3176794802",true,2019-10-08 16:11:24,2019-10-08 16:11:24
12013535,"3179376537",true,2019-10-08 16:11:24,2019-10-08 16:11:24
12013537,"3177481100",true,2019-10-08 16:11:24,2019-10-08 16:11:24
12013543,"3174953390",true,2019-10-08 16:11:24,2019-10-08 16:11:24
12013546,"3172233559",true,2019-10-08 16:11:24,2019-10-08 16:11:24
12013548,"3174983634",true,2019-10-08 16:11:24,2019-10-08 16:11:24
12013549,"3175170508",true,2019-10-08 16:11:24,2019-10-08 16:11:24
-----------------------------------------------------------------
$ wc -l storageprod/practices_202012202210.csv
1056 storageprod/practices_202012202210.csv
$ cat storageprod/practices_202012202210.csv | head -10
"id","business_id","mmg_id","practice_id","practice_name","practice_email","practice_address1","practice_address2","practice_city","practice_state","practice_zip","practice_phone1","practice_phone2","twilio_phone","timezone","has_own_services","pdf_report_path","created_at","twilio_shortcode","last_sync_date","pdf_confirm_path","pdf_ols_appointment_path","is_united","email_for_reply","responsible_type"
2140,1133,f645cace-428d-4171-8528-5451ef7b9c1e,"2",Marietta,"","1305 Greene Street","",Marietta,OH,"45750 ","7403760555","7403760555","17402762840",America/New_York,false,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_task_of_1133_2_Marietta_2020-12-20.pdf,2020-10-08 20:41:30,"51099",2020-12-19 17:08:33,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_confirmations_of_Marietta_2020-12-20.pdf,"",false,"",false
1551,730,"112984f3-bf05-40ff-b8a5-080cb1fb6152","101","Robert Lawrence Wilson DDS, P.A.",wilsor@sbcglobal.net,"708 West Quitman","",Heber Springs,AR,"72543","15013625897","","15012144689",America/Chicago,false,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_task_of_730_101_Robert_Lawrence_Wilson_DDS%2C_P.A._2020-12-20.pdf,2019-09-13 19:17:04,"51099",2020-12-20 22:29:06,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_confirmations_of_Robert_Lawrence_Wilson_DDS%2C_P.A._2020-12-20.pdf,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2FWeekly_appointment_report_of_Robert_Lawrence_Wilson_DDS%2C_P.A._2020-12-14.pdf,false,"",false
1189,455,fca49801-d0f5-43fa-bee7-7d99ed9ff65d,"101","Springwood Dental Associates,P.C.","","2084 Springwood Road","",York,PA,"17403","7178543310","","12676224426",America/New_York,false,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_task_of_455_101_Springwood_Dental_Associates%2CP.C._2020-12-20.pdf,2019-03-19 15:20:41,"51099",2020-12-20 22:00:54,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_confirmations_of_Springwood_Dental_Associates%2CP.C._2020-12-20.pdf,"",false,"",false
1063,442,bb8ebac9-29bc-4062-a25d-6f8c32eee7f8,"101",Astoria Dental Group,astoriadentalgroup32@yahoo.com,"32-17 Broadway","",Astoria NY/10021 ,NY,"11106","17182781123","","16466814248",America/New_York,false,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_task_of_442_101_Astoria_Dental_Group_2020-12-20.pdf,2019-01-24 16:10:31,"51099",2020-12-20 19:35:13,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_confirmations_of_Astoria_Dental_Group_2020-12-20.pdf,"",false,"",false
2031,1048,"86eb5e15-224d-4679-9d3e-1584fdca32fb","1",Pickens Dental Associates PA,hmoffice@pickens dental.com,"504 Hampton Ave","",Pickens,SC,"29671","864-313-7915","864-313-7915","18642516940",America/New_York,false,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_task_of_1048_1_Pickens_Dental_Associates_PA_2020-12-20.pdf,2020-07-29 19:38:22,"51099",2020-12-20 22:57:53,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_confirmations_of_Pickens_Dental_Associates_PA_2020-12-02.pdf,"",false,"",false
1960,990,"366a9346-899d-4949-9f59-a446cfcc7cef","101",Main Street Dental,dr@openyourmouth.com,"1048 South Street","",Phila,PA,"19147","12156271995","","12676425905",America/New_York,false,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_task_of_990_101_Main_Street_Dental_2020-12-20.pdf,2020-06-11 13:18:32,"51099",2020-12-20 21:28:25,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_confirmations_of_Main_Street_Dental_2020-12-20.pdf,"",false,"",false
1069,449,ccbf437e-5757-4c45-b11f-98bdd3d77b22,"101","Parkway Periodontal Group, P.C.",parkwayperiodontal@gmail.com,"6600 Westown Pkwy Ste 170","",WDM,IA,"50266","5152239700","","15154445661",America/Chicago,false,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_task_of_449_101_Parkway_Periodontal_Group%2C_P.C._2020-12-20.pdf,2019-01-25 15:10:49,"51099",2020-12-20 23:21:53,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_confirmations_of_Parkway_Periodontal_Group%2C_P.C._2020-12-20.pdf,"",false,"",false
2151,1138,"555c5666-45e3-4fcc-8b4f-b815fa2c51fc","1",Bayside Office,scottgold1@hotmail.com,"33-04 Bell Blvd.","",Bayside,NY,"11361 ","7184288900","7184288900","17188653935",America/New_York,false,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_task_of_1138_1_Bayside_Office_2020-12-20.pdf,2020-10-13 15:53:09,"51099",2020-12-20 21:02:02,https%3A%2F%2Fs3.amazonaws.com%2Fpdf-storage-prod%2Fdaily_confirmations_of_Bayside_Office_2020-12-20.pdf,"",false,"",false
2022,1042,"1f088cd9-4bc1-4ead-930a-40b9375d39ac","1",Laurel Smiles Dental Care - Dr. Sahil Goyal,none@localpatient.com,"14440 Cherry Lane Court, Suite 209","",Laurel,MD,"20707","3014907007","3014907007","",America/New_York,false,"",2020-07-24 18:18:36,"51099",2020-12-20 18:54:05,"","",false,"",false
-----------------------------------------------------------------
$ wc -l storageprod/practice_settings_202012202210.csv
1055 storageprod/practice_settings_202012202210.csv
$ cat storageprod/practice_settings_202012202210.csv | head -10
"id","practice_id","mailjet_creds","confirmation_period","use_active_patients","patient_communication_allowed","family_grouping_enabled","campaigns_overlap","email_notification_for_chat","emails_notification","description","is_appointments_for_specific_day"
979,1003,"{""mailjet_public_key"":""88940122151a3f927ce27bcbd3ff31f5"",""mailjet_secret_key"":""74d127befe56fb0e33f64958e19d6f06""}",4320,true,1,false,"{""manual"": false, ""recall"": false, ""welcome"": false, ""birthday"": false, ""reactivation"": false}",true,"[""info@nashuaoms.com""]","{""logo"": """", ""website"": """", ""providers"": [], ""legal_entity"": """"}",true
1157,1181,"{""mailjet_public_key"":""d380b8f2762a5dd4139bff761d130a65"",""mailjet_secret_key"":""1f9691e1ffc877e09cca6d700f89e816""}",4320,true,0,false,"{}",false,"[]","{""logo"": """", ""website"": """", ""providers"": [], ""legal_entity"": """"}",true
5,23,"{""mailjet_public_key"":""31547f670648f61408bea312106c6cc9"",""mailjet_secret_key"":""df62600850d83782c40fc1c8ddbca1a4""}",480,true,0,true,"{""manual"": false, ""recall"": false, ""survey"": true, ""welcome"": false, ""birthday"": false, ""reactivation"": false}",true,"[""gentledentalbeverly@42northdental.com"", ""holli.medeiros@42northdental.com"", """"]","{""logo"": ""https://mmg-fusion-prod.s3.amazonaws.com/Images/placeholders/logo/placeholderLogo607e2b4f-52fa-4a07-89d3-db23925f2121.png"", ""website"": ""https://www.gentledental.com/location/beverly"", ""providers"": [""""], ""logo_width"": 0, ""landing_url"": ""https://www.gentledental.com/request-an-appointment"", ""logo_height"": 0, ""legal_entity"": """", ""privacy_policy"": ""https://www.gentledental.com/privacy-policy/"", ""business_website"": ""https://www.gentledental.com"", ""contact_us_email"": ""gentledentalbeverly@42northdental.com"", ""landing_url_text"": ""request-an-appointment"", ""alternative_phone"": """", ""extra_placeholder"": ""https://www.gentledental.com/invisalign-treatment-999"", ""office_directions"": """", ""landing_url_choice"": 2}",false
918,942,"{""mailjet_public_key"":""fe6400e386158577ac17e5e73c1c94f3"",""mailjet_secret_key"":""765e639b3e0724fe45c41451808cc053""}",4320,true,1,true,"{""manual"": false, ""recall"": false, ""survey"": true, ""welcome"": false, ""birthday"": false, ""reactivation"": false}",false,"[]","{""logo"": ""https://mmg-fusion-prod.s3.us-east-1.amazonaws.com/Images/placeholders/logo/placeholderLogo8aa55a78-c882-4d07-8f76-d8627baf34cd.jpeg"", ""website"": ""https://www.universityorthodontics.net"", ""providers"": [""""], ""legal_entity"": ""University Orthodontics - Cranston""}",true
1646,1671,"{""mailjet_public_key"":""202c3b328d8253f4d1c33d89ac1cb798"",""mailjet_secret_key"":""ca6040c574269113f2839bb9e7677009""}",4320,true,0,false,"{}",false,"[]","{}",true
3,34,"{""mailjet_public_key"":""02535909f3caac665df015a094301231"",""mailjet_secret_key"":""d953bcf614b7946af46a19335d6ca795""}",480,true,0,true,"{""manual"": false, ""recall"": false, ""survey"": true, ""welcome"": false, ""birthday"": false, ""reactivation"": false}",false,"[]","{""logo"": ""https://mmg-fusion-prod.s3.amazonaws.com/Images/placeholders/logo/placeholderLogoc05a5478-3430-4d19-b0d5-e7c6bf4697c8.png"", ""website"": ""https://www.gentledental.com/location/norwooddentist"", ""providers"": [""""], ""logo_width"": 0, ""landing_url"": ""https://www.gentledental.com/request-an-appointment"", ""logo_height"": 0, ""legal_entity"": """", ""privacy_policy"": ""https://www.gentledental.com/privacy-policy/"", ""business_website"": ""https://www.gentledental.com"", ""contact_us_email"": ""gentledentalnorwood@42northdental.com"", ""landing_url_text"": ""request-an-appointment"", ""alternative_phone"": """", ""extra_placeholder"": ""https://www.gentledental.com/invisalign-treatment-999"", ""office_directions"": """", ""landing_url_choice"": 2}",false
2195,2222,"{""mailjet_public_key"":"""",""mailjet_secret_key"":""""}",4320,true,0,false,"{}",false,"[]","{}",true
1672,1697,"{""mailjet_public_key"":"""",""mailjet_secret_key"":""""}",4320,true,1,true,"{""manual"": false, ""recall"": false, ""survey"": false, ""welcome"": false, ""birthday"": false, ""reactivation"": false}",false,"[]","{}",true
49,26,"{""mailjet_public_key"":""752d2d1c22d06d788041efa16eda64dd"",""mailjet_secret_key"":""1ad0fffb8ab68c5f6708632b39140ad9""}",480,true,0,true,"{""manual"": false, ""recall"": false, ""survey"": true, ""welcome"": false, ""birthday"": false, ""reactivation"": false}",false,"[]","{""logo"": ""https://mmg-fusion-prod.s3.amazonaws.com/Images/placeholders/logo/placeholderLogoa8286813-5822-40c1-87ba-f6ce2cf2703b.png"", ""website"": ""https://www.gentledental.com/location/somerville"", ""providers"": [""""], ""logo_width"": 0, ""landing_url"": ""https://www.gentledental.com/request-an-appointment"", ""logo_height"": 0, ""legal_entity"": """", ""privacy_policy"": ""https://www.gentledental.com/privacy-policy/"", ""business_website"": ""https://www.gentledental.com"", ""contact_us_email"": ""gentledentalsomerville@42northdental.com"", ""landing_url_text"": ""request-an-appointment"", ""alternative_phone"": """", ""extra_placeholder"": ""https://www.gentledental.com/invisalign-treatment-999"", ""office_directions"": """", ""landing_url_choice"": 2}",false
-----------------------------------------------------------------
$ wc -l storageprod/practice_settings_backup_202012202210.csv
1053 storageprod/practice_settings_backup_202012202210.csv
$ cat storageprod/practice_settings_backup_202012202210.csv | head -10
"id","practice_id","mailjet_creds","confirmation_period","use_active_patients","patient_communication_allowed","family_grouping_enabled","campaigns_overlap","email_notification_for_chat","emails_notification","description","is_appointments_for_specific_day"
979,1003,"{""mailjet_public_key"":""88940122151a3f927ce27bcbd3ff31f5"",""mailjet_secret_key"":""c0620442e8e8ef126ea690b153b5d942""}",4320,true,1,false,"{""manual"": false, ""recall"": false, ""welcome"": false, ""birthday"": false, ""reactivation"": false}",true,"[""info@nashuaoms.com""]","{""logo"": """", ""website"": """", ""providers"": [], ""legal_entity"": """"}",true
918,942,"{""mailjet_public_key"":""fe6400e386158577ac17e5e73c1c94f3"",""mailjet_secret_key"":""7ac96a4d6cf9530c3ffbe66e604f8481""}",4320,true,1,true,"{""manual"": false, ""recall"": false, ""survey"": true, ""welcome"": false, ""birthday"": false, ""reactivation"": false}",false,"[]","{""logo"": ""https://mmg-fusion-prod.s3.us-east-1.amazonaws.com/Images/placeholders/logo/placeholderLogo8aa55a78-c882-4d07-8f76-d8627baf34cd.jpeg"", ""website"": ""https://www.universityorthodontics.net"", ""providers"": [""""], ""legal_entity"": ""University Orthodontics - Cranston""}",true
1755,1780,"{""mailjet_public_key"":""c893114396f2c169bc9893f7f73c6245"",""mailjet_secret_key"":""58b46afbdcd501d994080851069fc968""}",4320,true,0,true,"{""manual"": false, ""recall"": false, ""survey"": false, ""welcome"": false, ""birthday"": false, ""reactivation"": false}",true,"[""kyla.drchumbley@yahoo.com""]","{}",true
1756,1781,"{""mailjet_public_key"":""f5f5b8ab81ae9fddd99deae59830fe37"",""mailjet_secret_key"":""949c737cb2e450fa7aeaba34c6b0ae5f""}",4320,true,0,false,"{}",false,"[]","{}",true
2037,2062,"{""mailjet_public_key"":""c6ae6eead94dd01d200022487a4dbea7"",""mailjet_secret_key"":""da7d6e360795f0eb56eb9d6d6aef29f7""}",4320,true,0,false,"{}",false,"[]","{}",true
1484,1508,"{""mailjet_public_key"":""b30680800266e3b9c57049489323eb5f"",""mailjet_secret_key"":""70f7437f0ec4077d138ccb4abc902044""}",4320,true,0,true,"{""manual"": false, ""recall"": false, ""survey"": true, ""welcome"": false, ""birthday"": false, ""reactivation"": false}",true,"[""managerbaytown@lovettdental.com""]","{""logo"": """", ""website"": """", ""providers"": [""""], ""landing_url"": """", ""legal_entity"": """", ""privacy_policy"": """", ""business_website"": """", ""contact_us_email"": """", ""landing_url_text"": """", ""alternative_phone"": """", ""extra_placeholder"": ""https://ols.mmgfusion.com/FnM7W3druk9xLst0Iv-B3XVYqbzj8kH3RSsQcbIrcudNIb0KIGrxboszDZ5g1xqsVvJi_xIF2bB-SuY08u_jbg=="", ""office_directions"": """", ""landing_url_choice"": 0}",true
1771,1796,"{""mailjet_public_key"":""90a170c44205e5c1d662647cc656de4a"",""mailjet_secret_key"":""1a9d5ac3717ab270499ec8a5993997b7""}",4320,true,0,true,"{""manual"": false, ""recall"": false, ""survey"": false, ""welcome"": false, ""birthday"": false, ""reactivation"": false}",true,"[""info@smileycuse.com""]","{}",true
1645,1670,"{""mailjet_public_key"":""637fa369863c2b6c41630278aaadec2a"",""mailjet_secret_key"":""80c899b88599465988ab684377f5d517""}",4320,true,0,true,"{""manual"": false, ""recall"": false, ""survey"": false, ""welcome"": false, ""birthday"": false, ""reactivation"": false}",true,"[""northwoodfamilydentistry@gmail.com""]","{}",true
1753,1778,"{""mailjet_public_key"":""b35f57fff0bbe6bb73b6bd6e3b6040a5"",""mailjet_secret_key"":""fa2523cae2fac96b4cbab3fd51839b56""}",4320,true,0,false,"{}",false,"[]","{}",true
-----------------------------------------------------------------
$ wc -l storageprod/practice_settings_reports_202012202210.csv
2106 storageprod/practice_settings_reports_202012202210.csv
$ cat storageprod/practice_settings_reports_202012202210.csv | head -10
"id","practice_id","setting","type"
2752,2183,"{""emails"": [""teresa@lightwayfamilydentistry.com""], ""sorting"": ""appointment_time"", ""schedule"": ""one_day_in_advance"", ""time_to_send"": ""09:00 AM""}",dtl
17,1551,"{""emails"": [""wilsor@sbcglobal.net""], ""schedule"": ""Weekly"", ""time_to_send"": ""08:00 AM"", ""day_of_the_week"": 1, ""day_of_the_month"": 0}",ols_appointment
1863,1134,"{""emails"": [""dentist904@mmgfusion.net""], ""sorting"": """", ""schedule"": ""same_day"", ""time_to_send"": ""07:00 AM""}",dtl
146,56,"{""emails"": [""carolyn.borghesi@42northdental.com"", ""torrington@42northdental.com""], ""sorting"": ""patient"", ""schedule"": ""same_day"", ""time_to_send"": ""08:00 AM""}",confirmation
1865,1482,"{""emails"": [""managerhwy6@lovettdental.com""], ""sorting"": ""appointment_time"", ""schedule"": ""same_day"", ""time_to_send"": ""07:00 AM""}",dtl
24,1480,"{""emails"": [""appointment_request@lovettdental.com"", ""shannon.mason@lovettdental.com""], ""schedule"": ""Daily"", ""time_to_send"": ""11:30 PM"", ""day_of_the_week"": 0, ""day_of_the_month"": 0}",ols_appointment
26,1526,"{""emails"": [""appointment_request@lovettdental.com"", ""shannon.mason@lovettdental.com""], ""schedule"": ""Weekly"", ""time_to_send"": ""11:30 PM"", ""day_of_the_week"": 1, ""day_of_the_month"": 0}",ols_appointment
15,1500,"{""emails"": [""Shannon.mason@lovettdental.com"", ""appointment_request@lovettdental.com""], ""schedule"": ""Daily"", ""time_to_send"": ""11:30 PM"", ""day_of_the_week"": 0, ""day_of_the_month"": 0}",ols_appointment
6,1490,"{""emails"": [""Shannon.mason@lovettdental.com"", ""appointment_request@lovettdental.com""], ""schedule"": ""Daily"", ""time_to_send"": ""11:30 PM"", ""day_of_the_week"": 0, ""day_of_the_month"": 0}",ols_appointment
-----------------------------------------------------------------
$ wc -l storageprod/providers_202012202210.csv
33833 storageprod/providers_202012202210.csv
$ cat storageprod/providers_202012202210.csv | head -10
"id","pms_id","first_name","last_name","type","specialty","modified_at","mmg_id","created_at","business_id"
48421,"1",Steve,Gwaltney,Dentist,Dentist,2020-12-09 12:27:26,e1cebabc-0d6c-4108-a9d2-ca1e667ff906,2020-12-09 17:27:26,1185
33133,"1",Cynthia,Burnell,Dentist,Dentist,2019-11-06 14:10:27,"7d080060-98eb-4df1-8db0-2ab1e9f2ce0e",2019-11-06 19:10:17,789
48422,"10",Amber,Crane,Hygenist,Dentist,2020-12-09 12:27:26,e1cebabc-0d6c-4108-a9d2-ca1e667ff906,2020-12-09 17:27:26,1185
43808,"22",Neda,Azadivatan,Dentist,Periodontics,2020-12-03 11:51:11,a8b1f2ed-0f37-49a5-abc1-4a1680f130c6,2020-07-11 01:18:03,699
33075,"1",John,"Arroyo, Jr.",Dentist,"",2019-01-15 09:09:36,e2c994fc-bece-4ab4-a5aa-1a1cb7e672b2,2019-11-06 15:59:40,788
25168,"11","",OFM1 ,Unknown,Unknown,2019-11-04 15:48:43,ba895729-3dae-406a-a9f5-e372a4fa164a,2019-06-24 16:14:15,656
33134,"2",Dawn,Demakis,Dentist,Dentist,2019-11-06 14:10:27,"7d080060-98eb-4df1-8db0-2ab1e9f2ce0e",2019-11-06 19:10:17,789
33050,"18",Steven ,Reff ,Dentist,Unknown,2019-11-04 15:48:43,ba895729-3dae-406a-a9f5-e372a4fa164a,2019-11-04 20:48:45,656
32978,"11",Heather ,Seyle ,Hygenist,Independent Hyg.,2019-10-30 09:18:57,"1dc8b3b5-0497-4322-be34-820e1e61216c",2019-10-30 16:18:57,507
-----------------------------------------------------------------
$ wc -l storageprod/providers_schedule_202012202210.csv
3090140 storageprod/providers_schedule_202012202210.csv
$ cat storageprod/providers_schedule_202012202210.csv | head -10
"id","provider_id","date","day_start","day_end","breaks","mmg_id","created_at"
280410,"4",2019-09-02 00:00:00,2019-09-02 08:15:00,2019-09-02 15:00:00,"[{""start"":""2019-09-02T12:30:00Z"",""end"":""2019-09-02T13:00:00Z""}]",d5cba530-1c0f-4b5a-b7de-d7a4ac99656e,2019-07-06 06:19:02
466960,NURSE,2019-12-02 00:00:00,2019-12-02 07:00:00,2019-12-02 18:00:00,"null","737dae3f-ec8b-4b70-86d8-40418e950e72",2019-09-03 06:59:50
466961,CJ,2019-12-02 00:00:00,2019-12-02 06:00:00,2019-12-02 18:00:00,"null","737dae3f-ec8b-4b70-86d8-40418e950e72",2019-09-03 06:59:50
475377,GHW,2019-12-03 00:00:00,2019-12-03 07:00:00,2019-12-03 18:00:00,"null","56ad1e9e-05de-4ca4-b6ee-ef0bd518f2ec",2019-09-04 10:12:31
73517,TMM1,2019-07-23 00:00:00,2019-07-23 09:00:00,2019-07-23 16:30:00,"[{""start"":""2019-07-23T12:00:00Z"",""end"":""2019-07-23T13:00:00Z""}]","571cfc74-9005-47e2-acc9-079034c9334f",2019-04-28 05:05:10
475378,CMB,2019-12-03 00:00:00,2019-12-03 07:00:00,2019-12-03 18:00:00,"null","56ad1e9e-05de-4ca4-b6ee-ef0bd518f2ec",2019-09-04 10:12:31
475379,BVY,2019-12-03 00:00:00,2019-12-03 07:00:00,2019-12-03 18:00:00,"null","56ad1e9e-05de-4ca4-b6ee-ef0bd518f2ec",2019-09-04 10:12:31
475380,BPN,2019-12-03 00:00:00,2019-12-03 07:00:00,2019-12-03 18:00:00,"null","56ad1e9e-05de-4ca4-b6ee-ef0bd518f2ec",2019-09-04 10:12:31
2813264,"1",2020-12-04 00:00:00,2020-12-04 09:00:00,2020-12-04 17:00:00,"[]","94d73ed0-1738-422c-bdf7-c4a0e991e306",2020-10-06 04:47:45
-----------------------------------------------------------------
$ wc -l storageprod/recall_dates_202012202210.csv
3328624 storageprod/recall_dates_202012202210.csv
$ cat storageprod/recall_dates_202012202210.csv | head -10
"id","recall_id","patient_id","recall_type","recall_date","mmg_id","modified_at","created_at","status"
1106374,"11000021622406","1100002",hygiene,2020-11-28 00:00:00,a15ee8c2-ba7b-47de-ab60-12693f3e621d,2020-11-26 18:55:20,2019-04-03 15:03:40,Active
2755240,R2280,"2280",recall,2021-03-15 00:00:00,"990e0b8c-7661-491d-a0c4-7b502ce552bd",2020-10-20 10:50:39,2019-12-19 16:07:23,Active
413731,"4804","27132",PRN,2019-10-04 00:00:00,"2d7b6c84-2cb2-4f99-9950-651b26ed1fa8",2019-10-03 05:00:50,2019-01-26 13:51:56,Active
413732,"4805","21073",PRN,2019-10-04 00:00:00,"2d7b6c84-2cb2-4f99-9950-651b26ed1fa8",2019-10-03 05:00:50,2019-01-26 13:51:56,Active
2556887,"1","16777","",2019-03-22 00:00:00,"8c050afb-8e83-4483-a940-f944fe3735a7",2019-10-03 07:39:54,2019-10-03 11:39:57,Active
3010002,"11","17788",Exam Fmx ,2023-02-28 00:00:00,"68c25089-88c5-4ed4-9884-f3702fb7c6ec",2020-02-27 18:44:07,2020-02-28 03:28:45,Active
2574737,"11","26272",FMX ,2019-10-11 00:00:00,"9da8d40d-2c10-4787-a7b0-b166ecb7f74f",2019-10-10 12:50:20,2019-10-10 16:54:51,Active
2594379,"37846","12406",RET,2020-05-01 00:00:00,c4927a78-f388-4dd9-83eb-e8c00f3bff37,2019-10-21 17:42:25,2019-10-22 00:42:25,Active
3860530,"","90038462",D0120,2021-01-31 00:00:00,"2a6dcec4-441c-403c-8336-b35fd2f7743e",2020-12-09 08:49:55,2020-07-30 19:51:39,Active
-----------------------------------------------------------------
$ wc -l storageprod/responsible_parties_202012202210.csv
12106665 storageprod/responsible_parties_202012202210.csv
$ cat storageprod/responsible_parties_202012202210.csv | head -10
"id","pms_id","first_name","last_name","email","cell_phone","address1","address2","city","home_phone","zip","modified_at","mmg_id","work_phone","state","created_at","business_id"
11743848,"28082",Angelina,Pesha,lisapesha@gmail.com,"7738994528","852 Pleasant ","",Highland Park,"847","60035 ",2020-07-02 09:00:03,"533a4d8c-9ca0-481f-ba92-9e0a40cc1aaa","",IL,2020-07-02 14:00:04,727
12256251,"1060900",James,Motes,"","7179502","4479 CR 634","",Cardwell MOF78228 ,"","63829",2020-12-15 16:45:04,"48dd278f-fc03-42c9-9ca0-f5048022ce54","",MO,2020-07-29 19:47:01,1050
11571114,"1529",Helga,Pawelka,"","","","","","","",2020-11-16 11:57:47,"00f26251-8dad-4688-b660-587b94e00b3b","","",2020-06-15 18:49:22,231
8472443,"3315900",Charlene,Crump,"","","","",Lynchburg,"4342006301","24502",2020-12-18 19:20:25,e96616ec-11fe-4679-a3b1-e4bad92f4cf5,"",VA,2019-10-14 21:47:44,476
579788,"20480",Mark,Newton,"","","16 Stonewall Way","",Durham,"6035832607","03824 ",2020-10-22 05:30:29,"011bd9ec-d347-4563-91e3-a841ce819089","",NH,2018-06-20 18:09:11,89
10556023,"90001075",TATIANA,MARTINEZ-ROSARIO,"","4439416439","7324 Palmetto Street","",Philadelphia,"","19111",2020-08-13 10:48:00,"2d654758-c92d-4e42-9678-282eaf574c83","",PA,2020-04-29 23:28:48,925
12973039,"1411",Sheri,Adams,ADASH01,"","167 North Hwy 89 A-3","",N.S.L.,"604-3179","84054",2020-12-10 09:40:07,b774cd0e-de0a-4c39-9511-3ffd1352710f,"755-9260",UT,2020-09-24 16:32:08,1117
3425629,"30923",Leslie,Sousa,"","","1648 Woodcrest Drive Apt 4","",Daytona Beach,"3862904752","32119 ",2020-12-03 06:15:06,d54f58e3-885f-4c96-81a8-d44b5325a325,"3866150611",FL,2019-01-28 19:41:37,464
9014066,"265400",Ronald,Queen,"","",RR 1 Box 490-D,"",Mount Clare WV26416 ,"","26408",2020-12-04 12:57:04,a7c0bbfb-3070-4f04-9e25-b25ae519a95f,"",WV,2019-12-13 14:44:43,810
-----------------------------------------------------------------
$ wc -l storageprod/services_202012202210.csv
584155 storageprod/services_202012202210.csv
$ cat storageprod/services_202012202210.csv | head -10
"id","pms_id","description","modified_at","business_id","practice_id","ada_code","ada_title","created_at"
656355,D9330,Removal of bony spic,2020-10-20 16:30:17,1105,0,D9330,Removal of bony spic,2020-09-11 14:30:39
473210,"254400",Onlay - Metallic - 4+ Surfaces,2020-11-20 16:20:26,874,0,ND2544,Onlay - Metallic - 4+ Surfaces,2020-02-24 15:04:46
256750,"797900",sialolithotomy,2020-07-01 12:27:50,507,0,AD7979,sialolithotomy,2019-05-08 21:15:36
173978,"798000",surgical sialolithotomy,2020-07-01 12:27:50,507,0,ND7980,Sialolithotomy,2019-02-06 15:45:47
719122,"869500",fixed ortho removal,2020-12-08 00:15:30,474,0,AD8695,fixed ortho removal,2020-12-08 05:15:30
656356,D9610,Therapeutic drug injection,2020-10-20 16:30:17,1105,0,D9610,Therapeutic drug injection,2020-09-11 14:30:39
173979,"798100","Excision of Salivary Gland, By Report",2020-07-01 12:27:50,507,0,ND7981,"Excision of Salivary Gland, By Report",2019-02-06 15:45:47
655497,D9910,Sock-It gel,2020-10-20 16:30:17,1105,0,D9910,Sock-It gel,2020-09-11 14:30:39
173980,"798200",Sialodochoplasty,2020-07-01 12:27:50,507,0,ND7982,Sialodochoplasty,2019-02-06 15:45:47
-----------------------------------------------------------------