In this task, you are given text for US Congressional and California state bills, your task is to generate a summary for this bill.

Ex Input:
SECTION 1. SHORT TITLE.

This Act may be cited as the ''Safe and Secure Federal Websites Act
of 2015''.

SEC. 2. ENSURING FUNCTIONALITY AND SECURITY OF NEW FEDERAL WEBSITES
THAT COLLECT PERSONALLY IDENTIFIABLE INFORMATION.

(a) Certification Requirement.--
(1) In general.--Except as otherwise provided under this
subsection, an agency may not deploy or make available to the
public a new Federal PII website until the date on which the
chief information officer of the agency submits a certification
to Congress that the website is fully functional and secure.
(2) Transition.--In the case of a new Federal PII website
that is operational on the date of the enactment of this Act,
paragraph (1) shall not apply until the end of the 90-day
period beginning on such date of enactment. If the
certification required under paragraph (1) for such website has
not been submitted to Congress before the end of such period,
the head of the responsible agency shall render the website
inaccessible to the public until such certification is
submitted to Congress.
(3) Exception for beta website with explicit permission.--
Paragraph (1) shall not apply to a website (or portion thereof)
that is in a development or testing phase, if the following
conditions are met:
(A) A member of the public may access PII-related
portions of the website only after executing an
agreement that acknowledges the risks involved.
(B) No agency compelled, enjoined, or otherwise
provided incentives for such a member to access the
website for such purposes.
(4) Construction.--Nothing in this section shall be
construed as applying to a website that is operated entirely by
an entity (such as a State or locality) that is independent of
the Federal Government, regardless of the receipt of funding in
support of such website from the Federal Government.
(b) Definitions.--In this section:
(1) Agency.--The term ''agency'' has the meaning given that
term under section 551 of title 5, United States Code.
(2) Fully functional.--The term ''fully functional'' means,
with respect to a new Federal PII website, that the website can
fully support the activities for which it is designed or
intended with regard to the eliciting, collection, storage, or
maintenance of personally identifiable information, including
handling a volume of queries relating to such information
commensurate with the purpose for which the website is
designed.
(3) New federal personally identifiable information website
(new federal pii website).--The terms ''new Federal personally
identifiable information website'' and ''new Federal PII
website'' mean a website that--
(A) is operated by (or under a contract with) an
agency;
(B) elicits, collects, stores, or maintains
personally identifiable information of individuals and
is accessible to the public; and
(C) is first made accessible to the public and
collects or stores personally identifiable information
of individuals, on or after October 1, 2012.
(4) Operational.--The term ''operational'' means, with
respect to a website, that such website elicits, collects,
stores, or maintains personally identifiable information of
members of the public and is accessible to the public.
(5) Personally identifiable information (pii).--The terms
''personally identifiable information'' and ''PII'' mean any
information about an individual elicited, collected, stored, or
maintained by an agency, including--
(A) any information that can be used to distinguish
or trace the identity of an individual, such as a name,
a social security number, a date and place of birth, a
mother's maiden name, or biometric records; and
(B) any other information that is linked or
linkable to an individual, such as medical,
educational, financial, and employment information.
(6) Responsible agency.--The term ''responsible agency''
means, with respect to a new Federal PII website, the agency
that is responsible for the operation (whether directly or
through contracts with other entities) of the website.
(7) Secure.--The term ''secure'' means, with respect to a
new Federal PII website, that the following requirements are
met:
(A) The website is in compliance with subchapter II
of chapter 35 of title 44, United States Code.
(B) The website ensures that personally
identifiable information elicited, collected, stored,
or maintained in connection with the website is
captured at the latest possible step in a user input
sequence.
(C) The responsible agency for the website has
encrypted, masked, or taken other similar actions to
protect personally identifiable information elicited,
collected, stored, or maintained in connection with the
website.
(D) The responsible agency for the website has
taken reasonable efforts to minimize domain name
confusion, including through additional domain
registrations.
(E) The responsible agency requires all personnel
who have access to personally identifiable information
in connection with the website to have completed a
Standard Form 85P and signed a non-disclosure agreement
with respect to personally identifiable information,
and the agency takes proper precautions to ensure that
only the fewest reasonable number of trustworthy
persons may access such information.
(F) The responsible agency maintains (either
directly or through contract) sufficient personnel to
respond in a timely manner to issues relating to the
proper functioning and security of the website, and to
monitor on an ongoing basis existing and emerging
security threats to the website.
(8) State.--The term ''State'' means each State of the
United States, the District of Columbia, each territory or
possession of the United States, and each federally recognized
Indian tribe.

SEC. 3. PRIVACY BREACH REQUIREMENTS.

(a) Information Security Amendment.--Subchapter II of chapter 35 of
title 44, United States Code, is amended by adding at the end the
following:
''Sec. 3559. Privacy breach requirements
''(a) Policies and Procedures.--The Director of the Office of
Management and Budget shall establish and oversee policies and
procedures for agencies to follow in the event of a breach of
information security involving the disclosure of personally
identifiable information, including requirements for--
''(1) not later than 72 hours after the agency discovers
such a breach, or discovers evidence that reasonably indicates
such a breach has occurred, notice to the individuals whose
personally identifiable information could be compromised as a
result of such breach;
''(2) timely reporting to a Federal cybersecurity center,
as designated by the Director of the Office of Management and
Budget; and
''(3) any additional actions that the Director finds
necessary and appropriate, including data breach analysis,
fraud resolution services, identity theft insurance, and credit
protection or monitoring services.
''(b) Required Agency Action.--The head of each agency shall ensure
that actions taken in response to a breach of information security
involving the disclosure of personally identifiable information under
the authority or control of the agency comply with policies and
procedures established by the Director of the Office of Management and
Budget under subsection (a).
''(c) Report.--Not later than March 1 of each year, the Director of
the Office of Management and Budget shall report to Congress on agency
compliance with the policies and procedures established under
subsection (a).
''(d) Federal Cybersecurity Center Defined.--The term 'Federal
cybersecurity center' means any of the following:
''(1) The Department of Defense Cyber Crime Center.
''(2) The Intelligence Community Incident Response Center.
''(3) The United States Cyber Command Joint Operations
Center.
''(4) The National Cyber Investigative Joint Task Force.
''(5) Central Security Service Threat Operations Center of
the National Security Agency.
''(6) The United States Computer Emergency Readiness Team.
''(7) Any successor to a center, team, or task force
described in paragraphs (1) through (6).
''(8) Any center that the Director of the Office of
Management and Budget determines is appropriate to carry out
the requirements of this section.''.
(b) Technical and Conforming Amendment.--The table of sections for
subchapter II of chapter 35 of title 44, United States Code, is amended
by adding at the end the following:

''3559. Privacy breach requirements.''.

Ex Output:
Safe and Secure Federal Websites Act of 2015 This bill establishes security and privacy requirements for new federal websites that collect personally identifiable information (PII) (i.e., information that can be used to distinguish or trace the identity of an individual or that is linked or linkable to an individual). (Sec. 2) A federal agency may not deploy or make available to the public a new federal PII website until the agency's chief information officer (CIO) certifies to Congress that the website is fully functional and secure. The CIO must make such certification within 90 days after enactment of this Act. After such 90-day period, any new federal PII website that has not been certified must be rendered inaccessible until certification is submitted. The prohibition does not apply to a website that is: (1) operated entirely by an entity that is independent of the federal government, or (2) in a development or testing phase (beta website). The exemption for beta websites applies only if: (1) a member of the public may access PII-related portions of the website only after executing an agreement that acknowledges the risks involved; and (2) no agency compelled, enjoined, or otherwise provided incentives for a member of the public to access such website. The bill defines a "new federal PII website" as a website that: (1) is operated by (or under contract with) an agency; (2) elicits, collects, stores, or maintains PII and is accessible to the public; and (3) is first made accessible to the public and collects or stores PII on or after October 1, 2012. The bill also sets forth requirements that must be met to deem a new federal PII website as "secure." (Sec. 3) The Director of the Office of Management and Budget (OMB) must establish and oversee policies and procedures for federal agencies to follow in the event of a breach of information security involving the disclosure of PII, including: (1) notice, not later than 72 hours after discovery of a breach or possible breach, to individuals whose PII could be compromised; and (2) timely reporting to a federal cybersecurity center designated by the OMB and defined in this Act. Agency heads must ensure that agency actions taken in response to a breach of information security involving the disclosure of PII comply with OMB policies and procedures established by this Act. The OMB must report to Congress, not later than March 1 of each year, on agency compliance with such policies and procedures. A "federal cybersecurity center" is defined to include: (1) the Department of Defense Cyber Crime Center, (2) the Intelligence Community Incident Response Center, (3) the U.S. Cyber Command Joint Operations Center, (4) the National Cyber Investigative Task Force, (5) the Central Security Service Threat Operations Center of the National Security Agency, (6) the U.S. Computer Emergency Readiness Team, and (7) any center that the OMB determines is appropriate to carry out privacy breach notice and reporting requirements.

Ex Input:
SECTION 1. SHORT TITLE.

This Act may be cited as the ''Services, Education, and
Rehabilitation for Veterans Act'' or the ''SERV Act''.

SEC. 2. VETERAN'S TREATMENT COURTS.

(a) Delegation.--The Director of the Office of National Drug
Control Policy (referred to in this Act as the ''Director'') shall
delegate the authority to administer the program and other such
activities necessary to carry out this Act to the Department of
Justice.
(b) Grants.--The Attorney General may make grants to States, State
courts, local courts, units of local government, and Indian tribal
governments acting directly or through agreements with other public or
private entities, for the purpose of developing, implementing, or
enhancing veteran's treatment courts or expanding operational drug
courts to serve veterans.
(c) Eligibility.--Grants under this Act shall be made to veteran's
treatment courts and drug courts serving veterans that effectively
integrate substance abuse treatment, mental health treatment, mandatory
drug testing, sanctions and incentives, and transitional services, in a
judicially supervised court setting with jurisdiction over nonviolent,
substance-abusing offenders that have served in the United States
military.

SEC. 3. GRANT AUTHORITY.

The Attorney General may make grants to States, State courts, local
courts, units of local government, and Indian tribal governments,
acting directly or through agreements with other public or private
entities, for programs that involve--
(1) continuing judicial supervision over offenders with
substance abuse or mental health problems who are not violent
offenders and have served in the United States military; and
(2) the integrated administration of other sanctions and
services, which shall include--
(A) mandatory periodic testing for the use of
controlled substances or other addictive substances
during any period of supervised release or probation
for each participant;
(B) substance abuse and mental health treatment
(such as treatment for depression and post-traumatic
stress disorder) for each participant;
(C) diversion, probation, or other supervised
release involving the possibility of prosecution,
confinement, or incarceration based on noncompliance
with program requirements or failure to show
satisfactory progress; and
(D) programmatic, offender management, and
aftercare services such as relapse prevention, health
care, education, vocational training, job placement,
housing placement, and child care or other family
support services for each participant who requires such
services.

SEC. 4. APPLICATIONS.

(a) In General.--To request a grant under this Act, a State, State
court, local court, unit of local government, or Indian tribal
government shall submit an application to the Attorney General in such
form and containing such information as the Attorney General may
reasonably require.
(b) Applications.--In addition to any other requirements that may
be specified by the Attorney General, an application for a grant under
this Act shall--
(1) include a long-term strategy and detailed
implementation plan;
(2) explain the applicant's inability to fund the program
adequately without Federal assistance;
(3) certify that the Federal support provided will be used
to supplement, and not supplant, State, Indian tribal, and
local sources of funding that would otherwise be available;
(4) identify related governmental or community initiatives
which complement or will be coordinated with the proposal;
(5) certify that there has been appropriate consultation
with all affected agencies, specifically the Department of
Veterans Affairs and the Department of Health and Human
Services, and that there will be appropriate coordination with
all affected agencies in the implementation of the program;
(6) certify that participating offenders will be supervised
by 1 or more designated judges with responsibility for the
veteran's treatment court program;
(7) specify plans for obtaining necessary support and
continuing the proposed program following the conclusion of
Federal support; and
(8) describe the methodology that will be used in
evaluating the program.
(c) Certifications.--Each such application shall contain the
certification that the program for which the grant is requested shall
meet each of the requirements of this Act.

SEC. 5. FEDERAL SHARE.

The Federal share of a grant made under this Act may not exceed 75
percent of the total costs of the program described in the application
submitted under section 4 for the fiscal year for which the program
receives assistance under this Act, unless the Attorney General waives,
wholly or in part, the requirement of a matching contribution under
this section. In-kind contributions may constitute a portion of the
non-Federal share of a grant.

SEC. 6. REPORTS AND EVALUATIONS.

(a) Report to Attorney General and the Director.--For each fiscal
year, each recipient of a grant under this Act during that fiscal year
shall submit to the Attorney General, the Director, and the Secretary
for Veterans Affairs a report regarding the effectiveness of activities
carried out using that grant. Each report shall include an evaluation
in such form and containing such information as the Attorney General
may reasonably require. The Attorney General shall specify the dates on
which such reports shall be submitted.
(b) Report to Congress.--The Director, in consultation with the
Attorney General, shall submit a yearly report on the effectiveness on
the activities carried out under this Act to the House and Senate
Committees on the Judiciary and the House and Senate Committees on
Veterans Affairs.

SEC. 7. DEFINITIONS.

In this Act:
(1) Veteran.--The term ''veteran'' means a person who
served in the active military, naval, or air service, and who
was discharged or released therefrom under conditions other
than dishonorable.
(2) Veteran's treatment court.--The term ''veteran's
treatment court'' means a program specifically for veterans
that meets the drug court criteria established by the Violent
Crime Control and Law Enforcement Act of 1994 (Public Law 103-
322).
(3) Violent offender.--The term ''violent offender'' means
a person who--
(A) is charged with or convicted of an offense,
during the course of which offense or conduct--
(i) the person carried, possessed, or used
a firearm or dangerous weapon;
(ii) there occurred the death of or serious
bodily injury to any person; or
(iii) there occurred the use of force
against the person of another, without regard
to whether any of the circumstances described
in clause (i) or (ii) is an element of the
offense or conduct of which or for which the
person is charged or convicted.
(B) has 1 or more prior convictions for a felony
crime of violence involving the use or attempted use of
force against a person with the intent to cause death
or serious bodily harm.

SEC. 8. ADMINISTRATION.

(a) Consultation.--The Attorney General shall consult with the
Secretary of Veterans Affairs, the Secretary of Health and Human
Services, and any other appropriate officials in carrying out this Act.
(b) Regulatory Authority.--
(1) In general.--The Attorney General may issue regulations
and guidelines necessary to carry out this Act.
(2) Participation limits.--In additional to the general
authority provided under paragraph (1), the Attorney General
shall--
(A) issue regulations and guidelines to ensure that
programs authorized in this Act do not permit
participation by violent offenders; and
(B) immediately suspend funding for any grant under
this part, pending compliance, if the Attorney General
finds that violent offenders are participating in any
program funded under this part.
(c) Geographic Distribution.--The Attorney General shall ensure
that, to the extent practicable, an equitable geographic distribution
of grant awards is made under this Act.

SEC. 9. TECHNICAL ASSISTANCE, TRAINING, AND EVALUATION.

(a) Technical Assistance and Training.--The Attorney General may
provide technical assistance and training in furtherance of the
purposes of this Act.
(b) Evaluations.--The Attorney General may provide for evaluations
in furtherance of the purposes of this Act.

SEC. 10. FUNDING FOR THE NATIONAL DRUG COURT INSTITUTE.

(a) Comprehensive, National Training and Technical Assistance for
Drug Courts.--The National Drug Court Institute in Alexandria, Virginia
shall--
(1) conduct national, comprehensive training programs for
State and local communities for the purpose of improving the
professional skills of drug court practitioners and enhancing
the ability of State and local communities to expand drug
courts to reach all addicted citizens in need of their
resources; and
(2) provide national, comprehensive Technical Assistance to
adult, juvenile and family dependency drug courts including a
combination of information gathering, needs assessment,
cultural proficiency, analysis, problem solving, action
planning, referral and follow-up.
(b) Ancillary Projects.--The National Drug Court Institute in
Alexandria, Virginia shall complete ancillary programs designed to
facilitate the expansion and improvement of drug courts nationwide
including--
(1) a Judicial Task Force to develop a transition plan for
new drug court judges;
(2) a resource center to maintain and distribute drug court
evaluations reviewed in the National Drug Court Institute
Review, and to request new research and evaluations for the
drug court field;
(3) publishing annually the National Drug Court Institute
Review to provide research, analysis, and commentary of
importance to the drug court field; and
(4) searching drug court literature and identify, reprint,
and disseminate important and relevant scholarship to the drug
court field.
(c) Authorization of Appropriations.--There are authorized to be
appropriated to the Attorney General to carry out this section
$10,000,000 for each of the fiscal years 2009 through 2014 to remain
available until expended.

SEC. 11. AUTHORIZATION OF APPROPRIATIONS.

Except for section 10, there are authorized to be appropriated to
the Director to carry out this Act $25,000,000 for each of fiscal years
2009 to 2014.

Ex Output:
Services, Education, and Rehabilitation for Veterans Act or the SERV Act - Requires the Director of the Office of National Drug Control Policy to delegate to the Department of Justice (DOJ) the authority to administer the veteran's treatment courts program established by this Act.

Authorizes the Attorney General to make grants to states and other entities: (1) to develop, implement, or enhance veteran's treatment courts or to expand operational drug courts to serve veterans; and (2) for programs that involve continuing judicial supervision over nonviolent offenders with substance abuse or mental health problems who have served in the U.S. military. Requires such programs to include mandatory periodic testing for the use of drugs, substance abuse and mental health treatment, opportunities for diversion, probation, or supervised release, and programmatic, offender management, and aftercare services.

Directs the National Drug Court Institute to conduct national training programs for state and local communities to improve the professional skills of drug court practitioners and provide comprehensive technical assistance to adult, juvenile, and family dependency drug courts.

Ex Input:
SECTION 1. SHORT TITLE.

This Act may be cited as the ''Beneficiary Enrollment Notification
and Eligibility Simplification Act of 2017'' or the ''BENES Act of
2017''.

SEC. 2. ELIGIBILITY AND ENROLLMENT NOTIFICATION.

(a) Notification Requirements.--Section 1804 of the Social Security
Act (42 U.S.C. 1395b-2) is amended by adding at the end the following
new subsection:
''(d) Eligibility Information.--
''(1) Coordination of notice.--The Secretary, in
consultation with representatives of each of the groups
described in paragraph (2)(A), and in coordination with the
Commissioner of Social Security and the Secretary of the
Treasury, shall prepare and distribute a notice, in accordance
with this subsection, to potentially eligible Medicare
individuals.
''(2) Groups for consultation.--
''(A) In general.--For purposes of paragraph (1),
the groups described in this subparagraph include the
following:
''(i) Individuals who are more than 60
years of age.
''(ii) Individuals with disabilities.
''(iii) Individuals with end stage renal
disease.
''(iv) Low-income individuals and families.
''(v) Employers (including human resources
professionals).
''(vi) States (including representatives of
State-run Health Insurance Exchanges, Medicaid
offices, and Departments of Insurance).
''(vii) State Health Insurance Assistance
Programs.
''(viii) Health insurers.
''(ix) Health insurance agents and brokers.
''(x) Such other groups as specified by the
Secretary.
''(B) Nonapplication of faca.--The Federal Advisory
Committee Act shall not apply to consultations made
pursuant to paragraph (1) with groups described in
subparagraph (A).
''(3) Contents of notice.--The notice required under
paragraph (1) shall contain information on (including a clear,
simple explanation of)--
''(A)(i) eligibility for benefits under this title,
and in particular benefits under part B;
''(ii) the possibility of a late enrollment penalty
for failure to timely enroll (including the
availability of equitable relief); and
''(iii) how to access the Webpage described in
paragraph (5); and
''(B) the need for coordination of benefits under
part B (including secondary and primary coverage
scenarios) imposed under this title, including the
effects of enrollment in retiree health coverage; group
health coverage; coverage under a group health plan
provided by an employer pursuant to title XXII of the
Public Health Service Act, section 4980B of the
Internal Revenue Code of 1986, or title VI of the
Employee Retirement Income Security Act of 1974;
coverage under a qualified health plan offered through
an Exchange established under title I of the Patient
Protection and Affordable Care Act; and other widely
available coverage which may be available to
potentially eligible Medicare individuals.
''(4) Timing of notice to potential enrollees.--Beginning
one year after the date of the enactment of this subsection, a
notice required under paragraph (1) shall be mailed to each
potentially eligible Medicare individual no less than two times
in accordance with the following:
''(A) The notice shall be provided to such
individual on the same schedule and in combination with
the individual's Social Security statement.
''(B) In the case that the individual does not
receive a Social Security statement, such notice shall
be mailed no later than 3 months prior to the date of
such individual's initial enrollment period as provided
under section 1837 and shall subsequently be provided
to such individual no later than one month prior to
such date.
''(5) Creation of a centralized enrollment webpage.--The
information contained in notices required under this subsection
shall be made available through a new Webpage to be maintained
by the Secretary. Such Webpage shall include both Social
Security and Medicare online tools in a coordinated and
organized manner, and shall also contain, or link to, such
other eligibility tools, services, notices (including with
respect to the availability of equitable relief), and other
information as determined by the Secretary, in consultation
with groups described in paragraph (2) for the purposes of
being available to potentially eligible Medicare individuals.
''(6) Interagency coordination.--Beginning not later than 2
months after the date of the enactment of this subsection, the
Secretary, along with the Secretary of the Treasury and the
Commissioner of the Social Security Administration, shall
undertake all necessary action and coordination to identify
potentially eligible individuals and in order to provide such
individuals with notifications under this subsection in
accordance with paragraph (4).
''(7) Notification improvement.--The Secretary shall, no
less than once every fiscal year, review the content of the
notices required under this subsection and the practices of
providing such notices to individuals, and shall update and
revise such notices and practices as the Secretary deems
appropriate.
''(8) Potentially eligible medicare individual defined.--
For purposes of this subsection, the term 'potentially eligible
Medicare individual' means an individual, with respect to a
month, who is expected to satisfy the description in paragraph
(1) or (2) of section 1836 during such month or during any of
the subsequent 11 months.''.
(b) Disclosure Authority.--Section 6103(l) of the Internal Revenue
Code of 1986 is amended by adding at the end the following new
paragraph:
''(23) Disclosure of return information to carry out
eligibility notification requirements for certain programs.--
''(A) In general.--The Secretary, upon request from
the Secretary of Health and Human Services, shall
disclose to officers, employees, and contractors of the
Department of Health and Human Services and the Social
Security Administration return information of any
taxpayer who is a potentially eligible Medicare
individual (as defined in section 1804(d)(8) of the
Social Security Act). Such return information shall be
limited to--
''(i) taxpayer identity information with
respect to such taxpayer, including the age and
address or other location of such taxpayer,
''(ii) the filing status of such taxpayer,
''(iii) such other information as is
prescribed by the Secretary of Health and Human
Services by regulation as might indicate
whether the taxpayer is eligible for coverage
under such title, and
''(iv) the taxable year with respect to
which the preceding information relates or, if
applicable, the fact that such information is
not available.
''(B) Restriction on use of disclosed
information.--Return information disclosed under
subparagraph (A) may be used by officers, employees,
and contractors of the Department of Health and Human
Services or the Social Security Administration only for
the purposes of, and to the extent necessary in,
establishing potential eligibility for benefits under
title XVIII of the Social Security Act.''.
(c) Computer Matching Agreement.--Not later than 6 months after the
date of the enactment of this Act, the Secretary of Health and Human
Services, the Secretary of the Treasury, and the Commissioner of Social
Security shall enter into a computer matching agreement pursuant to
section 552a(o) of title 5 of the United States Code for the purposes
of implementing section 1804(d) of the Social Security Act, as added by
subsection (a), and section 6103(l)(23) of the Internal Revenue Code of
1986, as added by subsection (b).
(d) Report to Congress.--Not later than 4 years after the date of
the enactment of this Act, the Secretary of Health and Human Services,
the Secretary of the Treasury, and the Commissioner of Social Security
shall submit to Congress a report on the process taken by the relevant
agencies in implementing the notice requirement under subsection (d) of
section 1804 of the Social Security Act (42 U.S.C. 1395b-2), as added
by subsection (a) of this section, the status of notices created
pursuant to such section, and an evaluation of the effect of such
notices on enrollment under title XVIII of the Social Security Act.
Such report shall be made publicly available.

SEC. 3. BENEFICIARY MEDICARE PART B ENROLLMENT PERIODS AND EFFECTIVE
DATE OF COVERAGE.

(a) Effective Dates.--Section 1838(a) of the Social Security Act
(42 U.S.C. 1395q(a)) is amended--
(1) by amending paragraph (2) to read as follows:
''(2)(A) in the case of an individual who enrolls pursuant
to subsection (d) of section 1837 before the month in which he
first satisfies paragraph (1) or (2) of section 1836, the first
day of such month,
''(B) in the case of an individual not described in
subparagraph (A) who first satisfies such paragraph in a month
beginning before January 2019 and who enrolls--
''(i) pursuant to such subsection (d) in such month
in which he first satisfies such paragraph, the first
day of the month following the month in which he so
enrolls,
''(ii) pursuant to such subsection (d) in the month
following such month in which he first satisfies such
paragraph, the first day of the second month following
the month in which he so enrolls, or
''(iii) pursuant to such subsection (d) more than
one month following such month in which he satisfies
such paragraph, the first day of the third month
following the month in which he so enrolls,
''(C) in the case of an individual not described in
subparagraph (A) who enrolls pursuant to subsection (e) of
section 1837 in a month beginning before January 2019, the July
1 following the month in which he so enrolls,
''(D) in the case of an individual not described in
subparagraph (A) who first satisfies such paragraph in a month
beginning on or after January 1, 2019, and who enrolls pursuant
to such subsection (d) in such month in which he first
satisfies such paragraph or in any subsequent month, the first
day of the month following the month in which he so enrolls, or
''(E) in the case of an individual not described in
subparagraph (A) who enrolls pursuant to subsection (e) of
section 1837 in a month beginning on or after October 15, 2018,
the first day of the month following the month in which he so
enrolls.''; and
(2) by amending paragraph (3) to read as follows:
''(3)(A) in the case of an individual who is deemed to have
enrolled on or before the last day of the third month of his
initial enrollment period beginning before January 1, 2019, the
first day of the month in which he first meets the applicable
requirements of section 1836 or July 1, 1973, whichever is
later, or
''(B) in the case of an individual who is deemed to have
enrolled on or after the first day of the fourth month of his
initial enrollment period beginning before January 1, 2019, as
prescribed under subparagraphs (B)(i), (B)(ii), (B)(iii), and
(C) of paragraph (2) of this subsection.''.
(b) General and Special Enrollment Periods.--Section 1837(e) of the
Social Security Act (42 U.S.C. 1395p(e)) is amended to read as follows:
''(e) Enrollment Periods.--
''(1) For coverage during years before 2019.--There shall
be a general enrollment period during the period beginning on
January 1 and ending on March 31 of each year before 2019.
''(2) For coverage during years beginning with 2019.--For
2019 and each subsequent year:
''(A) In general.--Subject to subparagraph (B),
there shall be a general enrollment period beginning on
October 15 of the previous year through December 31 of
such previous year.
''(B) Exceptional circumstances.--The Secretary
shall establish special enrollment periods in the case
of a potentially eligible Medicare individual (as
defined in section 1804(d)(8)) who meets such
exceptional conditions as the Secretary may provide.''.
(c) Technical Correction.--Section 1839(b) of the Social Security
Act (42 U.S.C. 1395r(b)) is amended by striking ''close of the
enrollment period'' each place it appears and inserting ''close of the
month''.

Ex Output:
Beneficiary Enrollment Notification and Eligibility Simplification Act of 2017 or the BENES Act of 2017 This bill amends title XVIII (Medicare) of the Social Security Act and the Internal Revenue Code to: establish requirements for the Centers for Medicare & Medicaid Services (CMS) to notify individuals of their potential eligibility for Medicare, require the Internal Revenue Service to disclose to CMS specified taxpayer information for the purpose of establishing individuals' potential Medicare eligibility, and restructure Medicare enrollment periods and coverage periods.