From e8644f3d22e55568fb10dba2590e75bf87474f14 Mon Sep 17 00:00:00 2001 From: Benjamin Rosenbaum Date: Wed, 16 Nov 2016 03:59:42 +0200 Subject: [PATCH] refreshed dates, changed handling of renewal_in_progress --- .../employers_list/response/example.json | 58 +++++++-------- .../employee_roster/response/example_0.json | 6 +- .../employee_roster/response/example_1.json | 72 ++++++++++++++++++- .../employee_roster/response/example_10.json | 2 +- .../employee_roster/response/example_2.json | 58 ++++++++++++++- .../employee_roster/response/example_3.json | 4 +- .../employee_roster/response/example_4.json | 6 +- .../employee_roster/response/example_5.json | 2 +- .../employee_roster/response/example_7.json | 4 +- .../employer_details/response/example_0.json | 14 ++-- .../employer_details/response/example_1.json | 54 +++++++++++++- .../employer_details/response/example_10.json | 2 +- .../employer_details/response/example_2.json | 54 +++++++++++++- .../employer_details/response/example_3.json | 2 +- .../employer_details/response/example_4.json | 14 ++-- .../employer_details/response/example_5.json | 2 +- .../employer_details/response/example_6.json | 10 +-- .../employer_details/response/example_7.json | 2 +- .../employer_details/response/example_8.json | 2 +- .../employer_details/response/example_9.json | 2 +- scripts/brokers-list-demo-gen.rb | 4 +- 21 files changed, 300 insertions(+), 74 deletions(-) diff --git a/enroll/broker/employers_list/response/example.json b/enroll/broker/employers_list/response/example.json index 5edb74d..1286ed1 100644 --- a/enroll/broker/employers_list/response/example.json +++ b/enroll/broker/employers_list/response/example.json @@ -7,15 +7,15 @@ { "employer_name": "Courageous Consulting, LLC", - "open_enrollment_begins": "2016-10-01", - "open_enrollment_ends": "2016-11-13", - "plan_year_begins": "2016-12-01", - "renewal_in_progress": false, - "renewal_application_available": "2016-09-01", - "renewal_application_due": "2016-11-10", + "open_enrollment_begins": "2016-11-01", + "open_enrollment_ends": "2016-12-13", + "plan_year_begins": "2017-01-01", + "renewal_in_progress": true, + "renewal_application_available": "2016-10-01", + "renewal_application_due": "2016-12-10", "binder_payment_due": null, "minimum_participation_required": 3, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": "Betadyne General Agency, Inc.", "employees_total": 5, "employees_enrolled": 1, @@ -61,12 +61,12 @@ "open_enrollment_begins": "2016-11-01", "open_enrollment_ends": "2016-12-13", "plan_year_begins": "2017-01-01", - "renewal_in_progress": false, + "renewal_in_progress": true, "renewal_application_available": "2016-10-01", "renewal_application_due": "2016-12-10", "binder_payment_due": null, "minimum_participation_required": 3, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": "Betadyne General Agency, Inc.", "employees_total": 5, "employees_enrolled": 1, @@ -111,12 +111,12 @@ "open_enrollment_begins": "2016-11-01", "open_enrollment_ends": "2016-12-13", "plan_year_begins": "2017-01-01", - "renewal_in_progress": false, + "renewal_in_progress": true, "renewal_application_available": "2016-10-01", "renewal_application_due": "2016-12-10", "binder_payment_due": null, "minimum_participation_required": 2, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": null, "employees_total": 4, "employees_enrolled": 1, @@ -166,7 +166,7 @@ "renewal_application_due": "2017-03-10", "binder_payment_due": null, "minimum_participation_required": 4, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": "Betadyne General Agency, Inc.", "employees_total": 6, "employees_enrolled": 2, @@ -208,15 +208,15 @@ { "employer_name": "OPEN Art Studio", - "open_enrollment_begins": "2016-10-01", - "open_enrollment_ends": "2016-11-13", - "plan_year_begins": "2016-12-01", - "renewal_in_progress": false, - "renewal_application_available": "2016-09-01", - "renewal_application_due": "2016-11-10", + "open_enrollment_begins": "2016-11-01", + "open_enrollment_ends": "2016-12-13", + "plan_year_begins": "2017-01-01", + "renewal_in_progress": true, + "renewal_application_available": "2016-10-01", + "renewal_application_due": "2016-12-10", "binder_payment_due": null, "minimum_participation_required": 4, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": "Betadyne General Agency, Inc.", "employees_total": 6, "employees_enrolled": 2, @@ -280,7 +280,7 @@ "renewal_application_due": "2016-12-10", "binder_payment_due": null, "minimum_participation_required": 2, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": null, "employees_total": 4, "employees_enrolled": 1, @@ -351,14 +351,14 @@ "employer_name": "Bistrot Du Monde", "open_enrollment_begins": null, - "open_enrollment_ends": "2016-11-13", - "plan_year_begins": "2016-12-01", + "open_enrollment_ends": "2016-12-13", + "plan_year_begins": "2017-01-01", "renewal_in_progress": true, - "renewal_application_available": "2016-09-01", - "renewal_application_due": "2016-11-10", + "renewal_application_available": "2016-10-01", + "renewal_application_due": "2016-12-10", "binder_payment_due": null, "minimum_participation_required": 2, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": null, "employees_total": 3, "employees_enrolled": 1, @@ -422,7 +422,7 @@ "renewal_application_due": "2017-01-10", "binder_payment_due": null, "minimum_participation_required": 4, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": "Betadyne General Agency, Inc.", "employees_total": 6, "employees_enrolled": 2, @@ -486,7 +486,7 @@ "renewal_application_due": "2017-06-10", "binder_payment_due": null, "minimum_participation_required": 2, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": null, "employees_total": 3, "employees_enrolled": 1, @@ -536,7 +536,7 @@ "renewal_application_due": "2017-05-10", "binder_payment_due": null, "minimum_participation_required": 2, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": null, "employees_total": 3, "employees_enrolled": 1, @@ -600,7 +600,7 @@ "renewal_application_due": "2017-04-10", "binder_payment_due": null, "minimum_participation_required": 2, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": null, "employees_total": 4, "employees_enrolled": 1, diff --git a/enroll/employer/employee_roster/response/example_0.json b/enroll/employer/employee_roster/response/example_0.json index 7e4630a..eeafc0c 100644 --- a/enroll/employer/employee_roster/response/example_0.json +++ b/enroll/employer/employee_roster/response/example_0.json @@ -27,7 +27,7 @@ "plan_type": "HMO", "metal_level": "Silver", "benefit_group_name": "Other Employees", - "terminated_on": "2016-11-08", + "terminated_on": "2016-11-16", "terminate_reason": "I have coverage through an individual market health plan" } } @@ -75,7 +75,7 @@ "plan_type": "HMO", "metal_level": "Silver", "benefit_group_name": "Closers", - "terminated_on": "2016-11-08", + "terminated_on": "2016-11-16", "terminate_reason": "I have coverage through an individual market health plan" } }, @@ -232,7 +232,7 @@ "plan_type": "HMO", "metal_level": "Silver", "benefit_group_name": "Other Employees", - "terminated_on": "2016-11-08", + "terminated_on": "2016-11-16", "terminate_reason": "I have coverage through an individual market health plan" } } diff --git a/enroll/employer/employee_roster/response/example_1.json b/enroll/employer/employee_roster/response/example_1.json index e36b593..cb3b1bd 100644 --- a/enroll/employer/employee_roster/response/example_1.json +++ b/enroll/employer/employee_roster/response/example_1.json @@ -16,6 +16,20 @@ "health": { "status": "Not Enrolled" } + }, + "renewal": { + "health": { + "status": "Terminated", + "employer_contribution": 0.0, + "employee_cost": 0.0, + "total_premium": 0.0, + "plan_name": "KP DC Silver 2000/35", + "plan_type": "HMO", + "metal_level": "Silver", + "benefit_group_name": "Other Employees", + "terminated_on": "2016-11-16", + "terminate_reason": "I have coverage through an individual market health plan" + } } }, "is_business_owner": false, @@ -61,9 +75,31 @@ "plan_type": "HMO", "metal_level": "Silver", "benefit_group_name": "Closers", - "terminated_on": "2016-11-08", + "terminated_on": "2016-11-16", "terminate_reason": "I have coverage through an individual market health plan" } + }, + "renewal": { + "health": { + "status": "Enrolled", + "employer_contribution": 2284.09, + "employee_cost": 1216.32, + "total_premium": 3500.41, + "plan_name": "KP DC Silver 2000/35", + "plan_type": "HMO", + "metal_level": "Silver", + "benefit_group_name": "Closers" + }, + "dental": { + "status": "Enrolled", + "employer_contribution": 2284.09, + "employee_cost": 1216.32, + "total_premium": 3500.41, + "plan_name": "KP DC Silver 2000/35", + "plan_type": "HMO", + "metal_level": "Silver", + "benefit_group_name": "Closers" + } } }, "is_business_owner": true, @@ -103,6 +139,21 @@ "metal_level": "Silver", "benefit_group_name": "Other Employees" } + }, + "renewal": { + "health": { + "status": "Waived", + "employer_contribution": 0.0, + "employee_cost": 0.0, + "total_premium": 0.0, + "plan_name": "KP DC Silver 2000/35", + "plan_type": "HMO", + "metal_level": "Silver", + "benefit_group_name": "Other Employees" + }, + "dental": { + "status": "Not Enrolled" + } } }, "is_business_owner": false, @@ -135,6 +186,11 @@ "dental": { "status": "Not Enrolled" } + }, + "renewal": { + "health": { + "status": "Not Enrolled" + } } }, "is_business_owner": false, @@ -165,6 +221,20 @@ "health": { "status": "Not Enrolled" } + }, + "renewal": { + "health": { + "status": "Terminated", + "employer_contribution": 0.0, + "employee_cost": 0.0, + "total_premium": 0.0, + "plan_name": "KP DC Silver 2000/35", + "plan_type": "HMO", + "metal_level": "Silver", + "benefit_group_name": "Other Employees", + "terminated_on": "2016-11-16", + "terminate_reason": "I have coverage through an individual market health plan" + } } }, "is_business_owner": false, diff --git a/enroll/employer/employee_roster/response/example_10.json b/enroll/employer/employee_roster/response/example_10.json index 496906f..c3af544 100644 --- a/enroll/employer/employee_roster/response/example_10.json +++ b/enroll/employer/employee_roster/response/example_10.json @@ -93,7 +93,7 @@ "plan_type": "HMO", "metal_level": "Silver", "benefit_group_name": "Other Employees", - "terminated_on": "2016-11-08", + "terminated_on": "2016-11-16", "terminate_reason": "I have coverage through an individual market health plan" } } diff --git a/enroll/employer/employee_roster/response/example_2.json b/enroll/employer/employee_roster/response/example_2.json index 3e2428a..442e8a3 100644 --- a/enroll/employer/employee_roster/response/example_2.json +++ b/enroll/employer/employee_roster/response/example_2.json @@ -26,6 +26,11 @@ "dental": { "status": "Not Enrolled" } + }, + "renewal": { + "health": { + "status": "Not Enrolled" + } } }, "is_business_owner": false, @@ -65,6 +70,20 @@ "health": { "status": "Not Enrolled" } + }, + "renewal": { + "health": { + "status": "Terminated", + "employer_contribution": 0.0, + "employee_cost": 0.0, + "total_premium": 0.0, + "plan_name": "KP DC Silver 2000/35", + "plan_type": "HMO", + "metal_level": "Silver", + "benefit_group_name": "Closers", + "terminated_on": "2016-11-16", + "terminate_reason": "I have coverage through an individual market health plan" + } } }, "is_business_owner": true, @@ -93,9 +112,31 @@ "plan_type": "HMO", "metal_level": "Silver", "benefit_group_name": "Other Employees", - "terminated_on": "2016-11-08", + "terminated_on": "2016-11-16", "terminate_reason": "I have coverage through an individual market health plan" } + }, + "renewal": { + "health": { + "status": "Enrolled", + "employer_contribution": 5222.93, + "employee_cost": 2803.96, + "total_premium": 8026.89, + "plan_name": "KP DC Silver 2000/35", + "plan_type": "HMO", + "metal_level": "Silver", + "benefit_group_name": "Other Employees" + }, + "dental": { + "status": "Enrolled", + "employer_contribution": 5222.93, + "employee_cost": 2803.96, + "total_premium": 8026.89, + "plan_name": "KP DC Silver 2000/35", + "plan_type": "HMO", + "metal_level": "Silver", + "benefit_group_name": "Other Employees" + } } }, "is_business_owner": false, @@ -135,6 +176,21 @@ "metal_level": "Silver", "benefit_group_name": "Other Employees" } + }, + "renewal": { + "health": { + "status": "Waived", + "employer_contribution": 0.0, + "employee_cost": 0.0, + "total_premium": 0.0, + "plan_name": "KP DC Silver 2000/35", + "plan_type": "HMO", + "metal_level": "Silver", + "benefit_group_name": "Other Employees" + }, + "dental": { + "status": "Not Enrolled" + } } }, "is_business_owner": false, diff --git a/enroll/employer/employee_roster/response/example_3.json b/enroll/employer/employee_roster/response/example_3.json index 7db1854..8f9bec2 100644 --- a/enroll/employer/employee_roster/response/example_3.json +++ b/enroll/employer/employee_roster/response/example_3.json @@ -22,7 +22,7 @@ "plan_type": "HMO", "metal_level": "Silver", "benefit_group_name": "Other Employees", - "terminated_on": "2016-11-08", + "terminated_on": "2016-11-16", "terminate_reason": "I have coverage through an individual market health plan" } } @@ -171,7 +171,7 @@ "plan_type": "HMO", "metal_level": "Silver", "benefit_group_name": "Other Employees", - "terminated_on": "2016-11-08", + "terminated_on": "2016-11-16", "terminate_reason": "I have coverage through an individual market health plan" } } diff --git a/enroll/employer/employee_roster/response/example_4.json b/enroll/employer/employee_roster/response/example_4.json index a757aca..7eb1f2c 100644 --- a/enroll/employer/employee_roster/response/example_4.json +++ b/enroll/employer/employee_roster/response/example_4.json @@ -22,7 +22,7 @@ "plan_type": "HMO", "metal_level": "Silver", "benefit_group_name": "Other Employees", - "terminated_on": "2016-11-08", + "terminated_on": "2016-11-16", "terminate_reason": "I have coverage through an individual market health plan" } }, @@ -188,7 +188,7 @@ "plan_type": "HMO", "metal_level": "Silver", "benefit_group_name": "Other Employees", - "terminated_on": "2016-11-08", + "terminated_on": "2016-11-16", "terminate_reason": "I have coverage through an individual market health plan" } } @@ -227,7 +227,7 @@ "plan_type": "HMO", "metal_level": "Silver", "benefit_group_name": "Other Employees", - "terminated_on": "2016-11-08", + "terminated_on": "2016-11-16", "terminate_reason": "I have coverage through an individual market health plan" } }, diff --git a/enroll/employer/employee_roster/response/example_5.json b/enroll/employer/employee_roster/response/example_5.json index 74b3575..1bdac7c 100644 --- a/enroll/employer/employee_roster/response/example_5.json +++ b/enroll/employer/employee_roster/response/example_5.json @@ -93,7 +93,7 @@ "plan_type": "HMO", "metal_level": "Silver", "benefit_group_name": "Other Employees", - "terminated_on": "2016-11-08", + "terminated_on": "2016-11-16", "terminate_reason": "I have coverage through an individual market health plan" } } diff --git a/enroll/employer/employee_roster/response/example_7.json b/enroll/employer/employee_roster/response/example_7.json index e493b88..8440132 100644 --- a/enroll/employer/employee_roster/response/example_7.json +++ b/enroll/employer/employee_roster/response/example_7.json @@ -22,7 +22,7 @@ "plan_type": "HMO", "metal_level": "Silver", "benefit_group_name": "Other Employees", - "terminated_on": "2016-11-08", + "terminated_on": "2016-11-16", "terminate_reason": "I have coverage through an individual market health plan" } } @@ -171,7 +171,7 @@ "plan_type": "HMO", "metal_level": "Silver", "benefit_group_name": "Other Employees", - "terminated_on": "2016-11-08", + "terminated_on": "2016-11-16", "terminate_reason": "I have coverage through an individual market health plan" } } diff --git a/enroll/employer/employer_details/response/example_0.json b/enroll/employer/employer_details/response/example_0.json index 2975a16..f007f10 100644 --- a/enroll/employer/employer_details/response/example_0.json +++ b/enroll/employer/employer_details/response/example_0.json @@ -1,14 +1,14 @@ { "employer_name": "Courageous Consulting, LLC", - "open_enrollment_begins": "2016-10-01", - "open_enrollment_ends": "2016-11-13", - "plan_year_begins": "2016-12-01", - "renewal_in_progress": false, - "renewal_application_available": "2016-09-01", - "renewal_application_due": "2016-11-10", + "open_enrollment_begins": "2016-11-01", + "open_enrollment_ends": "2016-12-13", + "plan_year_begins": "2017-01-01", + "renewal_in_progress": true, + "renewal_application_available": "2016-10-01", + "renewal_application_due": "2016-12-10", "binder_payment_due": null, "minimum_participation_required": 3, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": "Betadyne General Agency, Inc.", "plan_offerings": { "active": [ diff --git a/enroll/employer/employer_details/response/example_1.json b/enroll/employer/employer_details/response/example_1.json index a4d1288..8abe605 100644 --- a/enroll/employer/employer_details/response/example_1.json +++ b/enroll/employer/employer_details/response/example_1.json @@ -3,12 +3,12 @@ "open_enrollment_begins": "2016-11-01", "open_enrollment_ends": "2016-12-13", "plan_year_begins": "2017-01-01", - "renewal_in_progress": false, + "renewal_in_progress": true, "renewal_application_available": "2016-10-01", "renewal_application_due": "2016-12-10", "binder_payment_due": null, "minimum_participation_required": 3, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": "Betadyne General Agency, Inc.", "plan_offerings": { "active": [ @@ -122,6 +122,56 @@ "estimated_plan_participant_max_monthly_cost": 54 } } + ], + "renewal": [ + { + "benefit_group_name": "FULL-TIME EMPLOYEES", + "eligibility_rule": "First of the month following or coinciding with date of hire", + "health": { + "reference_plan_name": "UHC CHOICE PLUS POS GOLD 0 B", + "reference_plan_HIOS_id": "78606AB0440009-05", + "carrier_name": "United Health Care", + "plan_type": "POS", + "metal_level": "Gold", + "plan_option_kind": "single_plan", + "plans_by": "A Single Plan", + "plans_by_summary_text": "Reference Plan Only", + "employer_contribution_by_relationship": { + "employee": 50, + "spouse": null, + "domestic_partner": null, + "child_under_26": 0 + }, + "estimated_employer_max_monthly_cost": 6000, + "estimated_plan_participant_min_monthly_cost": 312, + "estimated_plan_participant_max_monthly_cost": 954 + }, + "dental": null + }, + { + "benefit_group_name": "PART-TIME EMPLOYEES", + "eligibility_rule": "First of the month following or coinciding with date of hire", + "health": { + "reference_plan_name": "UHC CHOICE PLUS POS GOLD 0 B", + "reference_plan_HIOS_id": "78606AB0440009-05", + "carrier_name": "United Health Care", + "plan_type": "POS", + "metal_level": "Gold", + "plan_option_kind": "single_plan", + "plans_by": "A Single Plan", + "plans_by_summary_text": "Reference Plan Only", + "employer_contribution_by_relationship": { + "employee": 40, + "spouse": null, + "domestic_partner": null, + "child_under_26": 0 + }, + "estimated_employer_max_monthly_cost": 5880, + "estimated_plan_participant_min_monthly_cost": 292, + "estimated_plan_participant_max_monthly_cost": 934 + }, + "dental": null + } ] } } \ No newline at end of file diff --git a/enroll/employer/employer_details/response/example_10.json b/enroll/employer/employer_details/response/example_10.json index de89a36..b0fe414 100644 --- a/enroll/employer/employer_details/response/example_10.json +++ b/enroll/employer/employer_details/response/example_10.json @@ -8,7 +8,7 @@ "renewal_application_due": "2017-04-10", "binder_payment_due": null, "minimum_participation_required": 2, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": null, "plan_offerings": { "active": [ diff --git a/enroll/employer/employer_details/response/example_2.json b/enroll/employer/employer_details/response/example_2.json index 20b40ff..1e4ecd1 100644 --- a/enroll/employer/employer_details/response/example_2.json +++ b/enroll/employer/employer_details/response/example_2.json @@ -3,12 +3,12 @@ "open_enrollment_begins": "2016-11-01", "open_enrollment_ends": "2016-12-13", "plan_year_begins": "2017-01-01", - "renewal_in_progress": false, + "renewal_in_progress": true, "renewal_application_available": "2016-10-01", "renewal_application_due": "2016-12-10", "binder_payment_due": null, "minimum_participation_required": 2, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": null, "plan_offerings": { "active": [ @@ -122,6 +122,56 @@ "estimated_plan_participant_max_monthly_cost": 54 } } + ], + "renewal": [ + { + "benefit_group_name": "FULL-TIME EMPLOYEES", + "eligibility_rule": "First of the month following or coinciding with date of hire", + "health": { + "reference_plan_name": "UHC CHOICE PLUS POS GOLD 0 B", + "reference_plan_HIOS_id": "78606AB0440009-05", + "carrier_name": "United Health Care", + "plan_type": "POS", + "metal_level": "Gold", + "plan_option_kind": "single_plan", + "plans_by": "A Single Plan", + "plans_by_summary_text": "Reference Plan Only", + "employer_contribution_by_relationship": { + "employee": 50, + "spouse": null, + "domestic_partner": null, + "child_under_26": 0 + }, + "estimated_employer_max_monthly_cost": 6000, + "estimated_plan_participant_min_monthly_cost": 312, + "estimated_plan_participant_max_monthly_cost": 954 + }, + "dental": null + }, + { + "benefit_group_name": "PART-TIME EMPLOYEES", + "eligibility_rule": "First of the month following or coinciding with date of hire", + "health": { + "reference_plan_name": "UHC CHOICE PLUS POS GOLD 0 B", + "reference_plan_HIOS_id": "78606AB0440009-05", + "carrier_name": "United Health Care", + "plan_type": "POS", + "metal_level": "Gold", + "plan_option_kind": "single_plan", + "plans_by": "A Single Plan", + "plans_by_summary_text": "Reference Plan Only", + "employer_contribution_by_relationship": { + "employee": 40, + "spouse": null, + "domestic_partner": null, + "child_under_26": 0 + }, + "estimated_employer_max_monthly_cost": 5880, + "estimated_plan_participant_min_monthly_cost": 292, + "estimated_plan_participant_max_monthly_cost": 934 + }, + "dental": null + } ] } } \ No newline at end of file diff --git a/enroll/employer/employer_details/response/example_3.json b/enroll/employer/employer_details/response/example_3.json index d280698..4cc565f 100644 --- a/enroll/employer/employer_details/response/example_3.json +++ b/enroll/employer/employer_details/response/example_3.json @@ -8,7 +8,7 @@ "renewal_application_due": "2017-03-10", "binder_payment_due": null, "minimum_participation_required": 4, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": "Betadyne General Agency, Inc.", "plan_offerings": { "active": [ diff --git a/enroll/employer/employer_details/response/example_4.json b/enroll/employer/employer_details/response/example_4.json index 380885a..ab96269 100644 --- a/enroll/employer/employer_details/response/example_4.json +++ b/enroll/employer/employer_details/response/example_4.json @@ -1,14 +1,14 @@ { "employer_name": "OPEN Art Studio", - "open_enrollment_begins": "2016-10-01", - "open_enrollment_ends": "2016-11-13", - "plan_year_begins": "2016-12-01", - "renewal_in_progress": false, - "renewal_application_available": "2016-09-01", - "renewal_application_due": "2016-11-10", + "open_enrollment_begins": "2016-11-01", + "open_enrollment_ends": "2016-12-13", + "plan_year_begins": "2017-01-01", + "renewal_in_progress": true, + "renewal_application_available": "2016-10-01", + "renewal_application_due": "2016-12-10", "binder_payment_due": null, "minimum_participation_required": 4, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": "Betadyne General Agency, Inc.", "plan_offerings": { "active": [ diff --git a/enroll/employer/employer_details/response/example_5.json b/enroll/employer/employer_details/response/example_5.json index c70dfd9..e324868 100644 --- a/enroll/employer/employer_details/response/example_5.json +++ b/enroll/employer/employer_details/response/example_5.json @@ -8,7 +8,7 @@ "renewal_application_due": "2016-12-10", "binder_payment_due": null, "minimum_participation_required": 2, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": null, "plan_offerings": { "active": [ diff --git a/enroll/employer/employer_details/response/example_6.json b/enroll/employer/employer_details/response/example_6.json index ed142e8..db8c2f6 100644 --- a/enroll/employer/employer_details/response/example_6.json +++ b/enroll/employer/employer_details/response/example_6.json @@ -1,14 +1,14 @@ { "employer_name": "Bistrot Du Monde", "open_enrollment_begins": null, - "open_enrollment_ends": "2016-11-13", - "plan_year_begins": "2016-12-01", + "open_enrollment_ends": "2016-12-13", + "plan_year_begins": "2017-01-01", "renewal_in_progress": true, - "renewal_application_available": "2016-09-01", - "renewal_application_due": "2016-11-10", + "renewal_application_available": "2016-10-01", + "renewal_application_due": "2016-12-10", "binder_payment_due": null, "minimum_participation_required": 2, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": null, "plan_offerings": { "active": [ diff --git a/enroll/employer/employer_details/response/example_7.json b/enroll/employer/employer_details/response/example_7.json index 3e0f3c7..9d8c882 100644 --- a/enroll/employer/employer_details/response/example_7.json +++ b/enroll/employer/employer_details/response/example_7.json @@ -8,7 +8,7 @@ "renewal_application_due": "2017-01-10", "binder_payment_due": null, "minimum_participation_required": 4, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": "Betadyne General Agency, Inc.", "plan_offerings": { "active": [ diff --git a/enroll/employer/employer_details/response/example_8.json b/enroll/employer/employer_details/response/example_8.json index 024ee72..8e50865 100644 --- a/enroll/employer/employer_details/response/example_8.json +++ b/enroll/employer/employer_details/response/example_8.json @@ -8,7 +8,7 @@ "renewal_application_due": "2017-06-10", "binder_payment_due": null, "minimum_participation_required": 2, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": null, "plan_offerings": { "active": [ diff --git a/enroll/employer/employer_details/response/example_9.json b/enroll/employer/employer_details/response/example_9.json index b9ed9b6..01569c7 100644 --- a/enroll/employer/employer_details/response/example_9.json +++ b/enroll/employer/employer_details/response/example_9.json @@ -8,7 +8,7 @@ "renewal_application_due": "2017-05-10", "binder_payment_due": null, "minimum_participation_required": 2, - "billing_report_date": "2016-12-08", + "billing_report_date": "2016-12-16", "active_general_agency": null, "plan_offerings": { "active": [ diff --git a/scripts/brokers-list-demo-gen.rb b/scripts/brokers-list-demo-gen.rb index 9fdbb31..053cce8 100755 --- a/scripts/brokers-list-demo-gen.rb +++ b/scripts/brokers-list-demo-gen.rb @@ -61,7 +61,7 @@ def plan_year_begins end def in_renewal_OE - @in_open_enrollment && (@start_date.month > 6) + @in_open_enrollment && (@start_date.month % 2 > 0) end def date_fields @@ -207,7 +207,7 @@ def participation(employer_name, total, enrolled, waived, plan_year) open_enrollment_begins: fmt(plan_year.open_enrollment_begins), open_enrollment_ends: fmt(plan_year.end_of_open_enrollment), plan_year_begins: fmt(plan_year.plan_year_begins), - renewal_in_progress: plan_year.in_pending_renewal, + renewal_in_progress: plan_year.in_pending_renewal || plan_year.in_renewal_OE, renewal_application_available: fmt(plan_year.renewal_begins), renewal_application_due: fmt(plan_year.renewal_deadline), binder_payment_due: nil,